Skip to content

Commit

Permalink
Merge pull request #17 from iainbeeston/patch-1
Browse files Browse the repository at this point in the history
Added support for activesupport/rails 5
  • Loading branch information
ismasan authored Sep 14, 2016
2 parents ec24820 + 519ee08 commit b266141
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 b266141

Please sign in to comment.