Skip to content

Commit

Permalink
Added deprecation time frame and changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwagener committed May 28, 2013
1 parent 16c013b commit 9b16e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2.1.0 [unreleased]

* Replaced Image#thumbnail geometry parameter with an options hash to support a strip option for reducing thumbnail file size. [#2261](https://github.com/refinery/refinerycms/pull/2261). [Graham Wagener](https://github.com/gwagener/)
* Removed `:before_javascript_libraries`, `:after_javascript_libraries`, and `:javascript_libraries` content blocks. [#1842](https://github.com/refinery/refinerycms/pull/1842). [Rob Yurkowski](https://github.com/robyurkowski)
* Refactored WYSIWYG fields into a partial. [#1796](https://github.com/refinery/refinerycms/pull/1796). [Rob Yurkowski](https://github.com/robyurkowski)
* Shortened all authentication helpers. [#1719](https://github.com/refinery/refinerycms/pull/1719). [Ryan Bigg](https://github.com/radar)
Expand Down
3 changes: 2 additions & 1 deletion images/app/models/refinery/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def per_page(dialog = false, has_size_options = false)
def thumbnail(options = {})
if options.is_a?(String) || options.is_a?(Symbol)
Refinery.deprecate 'Refinery::Image#thumbnail(geometry)',
:replacement => 'Refinery::Image#url(:geometry => value)'
:when => '2.2',
:replacement => 'Refinery::Image#thumbnail(:geometry => value)'
options = { :geometry => options }
end

Expand Down

0 comments on commit 9b16e49

Please sign in to comment.