Tiny version bump for class-level helpers
This commit is contained in:
parent
4ead10a5b9
commit
d67b86bbcd
|
@ -22,8 +22,9 @@
|
||||||
|
|
||||||
## What's New
|
## What's New
|
||||||
|
|
||||||
### Version 0.9.2
|
### Version 0.9.3
|
||||||
|
|
||||||
|
* Helpers are available from the decorator class level, so you could call `ArticleDecorator.new_article_link`
|
||||||
* Automatically generate a named accessor for the wrapped object, so now inside of `ArticleDecorator` you can use `article` instead of just `model`
|
* Automatically generate a named accessor for the wrapped object, so now inside of `ArticleDecorator` you can use `article` instead of just `model`
|
||||||
* Removed the `lazy_helpers` method to favor using `include Draper::LazyHelpers`
|
* Removed the `lazy_helpers` method to favor using `include Draper::LazyHelpers`
|
||||||
* Refactored how methods are selected for delegation to the wrapped model
|
* Refactored how methods are selected for delegation to the wrapped model
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Draper
|
module Draper
|
||||||
VERSION = "0.9.2"
|
VERSION = "0.9.3"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue