Skip to content

Commit

Permalink
Explicitly require ActiveSupport's Hash#except
Browse files Browse the repository at this point in the history
This allows Grape to be run with ActiveSupport 3, without Rails.
In ActiveSupport 4, this file ended up being required as a
dependency of `active_support/core_ext/object/conversions`. Also,
Rails itself includes this file.
  • Loading branch information
wagenet committed Aug 4, 2015
1 parent 0dfc1cc commit 022b773
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Next Release
* [#1045](https://github.com/intridea/grape/pull/1045): Do not convert `Rack::Response` to `Rack::Response` in middleware - [@dmitry](https://github.com/dmitry).
* [#1048](https://github.com/intridea/grape/pull/1048): Only dup `InheritableValues`, remove support for `deep_dup` - [@toddmazierski](https://github.com/toddmazierski/)
* [#1052](https://github.com/intridea/grape/pull/1052): Reset `description[:params]` when resetting validations - [@marshall-lee](https://github.com/marshall-lee).
* [#1088](https://github.com/ruby-grape/grape/pull/1088): Explicitly
require ActiveSupport's Hash#except - [@wagenet](https://github.com/wagenet)

0.12.0 (6/18/2015)
==================
Expand Down
1 change: 1 addition & 0 deletions lib/grape.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
require 'active_support/core_ext/object/conversions'
require 'active_support/core_ext/array/extract_options'
require 'active_support/core_ext/hash/deep_merge'
require 'active_support/core_ext/hash/except'
require 'active_support/dependencies/autoload'
require 'multi_json'
require 'multi_xml'
Expand Down

0 comments on commit 022b773

Please sign in to comment.