Skip to content

Commit ad94f54

Browse files
committed
Publishing Version 0.9.5
1 parent 67b8bc9 commit ad94f54

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Readme.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Ryan Bates has put together an excellent RailsCast on Draper based on the 0.8.0
3030

3131
### Version 0.9.X
3232

33+
* `.5`: Render the `decorate` helper, passing a source object and a block in a view template to auto-decorate and render the block (ISSUE: see https://github.com/jcasimir/draper/issues/32)
34+
* `.5`: `ArticleDecorator.first` and `ArticleDecorator.last` will return decorated instances as you'd expect
35+
* `.5`: Calling `ArticleDecorator.all` will now return a `DecoratedEnumerableProxy` of the objects from `Article.all`
36+
* `.5`: More love for `DecoratedEnumerableProxy` including better use of `respond_to`, `include?`, and overriding `.all` to return a
3337
* `.4`: Improved the collection proxy's `respond_to` and `to_ary` to play nicely with Rails' `render`
3438
* `.3`: Helpers are available from the decorator class level, so you could write a `ArticleDecorator.new_article_link` that uses `h.link_to`
3539
* `.2`: Automatically generate a named accessor for the wrapped object, so now inside of `ArticleDecorator` you can use `article` instead of just `model`

lib/draper/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Draper
2-
VERSION = "0.9.4"
2+
VERSION = "0.9.5"
33
end

0 commit comments

Comments
 (0)