Skip to content

Commit

Permalink
Added support for activesupport/rails 5
Browse files Browse the repository at this point in the history
Right now with activesupport 5, bundler will only allow access to hash_mapper 0.9. I've changed it so that it will accept any version of activesupport 4 or higher.
  • Loading branch information
iainbeeston authored Sep 9, 2016
1 parent ec24820 commit 519ee08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hash_mapper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency("activesupport", "~> 4")
s.add_runtime_dependency("activesupport", ">= 4")
else
s.add_dependency("activesupport", "~> 4")
s.add_dependency("activesupport", ">= 4")
end

# specify any dependencies here; for example:
Expand Down

0 comments on commit 519ee08

Please sign in to comment.