Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Publishing Version 0.9.5

  • Loading branch information...
commit ad94f54369deabd11315fc241c66b74a30adec0a 1 parent 67b8bc9
Jeff Casimir jcasimir authored

Showing 2 changed files with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 0 Readme.markdown
  2. +1 1  lib/draper/version.rb
4 Readme.markdown
Source Rendered
@@ -30,6 +30,10 @@ Ryan Bates has put together an excellent RailsCast on Draper based on the 0.8.0
30 30
31 31 ### Version 0.9.X
32 32
  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
33 37 * `.4`: Improved the collection proxy's `respond_to` and `to_ary` to play nicely with Rails' `render`
34 38 * `.3`: Helpers are available from the decorator class level, so you could write a `ArticleDecorator.new_article_link` that uses `h.link_to`
35 39 * `.2`: Automatically generate a named accessor for the wrapped object, so now inside of `ArticleDecorator` you can use `article` instead of just `model`
2  lib/draper/version.rb
... ... @@ -1,3 +1,3 @@
1 1 module Draper
2   - VERSION = "0.9.4"
  2 + VERSION = "0.9.5"
3 3 end

0 comments on commit ad94f54

Please sign in to comment.
Something went wrong with that request. Please try again.