Skip to content

Commit

Permalink
Allows ActiveSupport >= 4.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Yang committed Aug 31, 2016
1 parent fb8be8c commit 2aeea97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion authorizenet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.1.0'
s.required_rubygems_version = '>= 1.3.6'

s.add_runtime_dependency 'activesupport', '= 4.2.6'
if RUBY_VERSION < '2.2'
s.add_runtime_dependency 'activesupport', '= 4.2.6'
else
s.add_runtime_dependency 'activesupport', '>= 4.2.6'
end
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.4'
s.add_runtime_dependency "roxml", "= 3.3.1"

Expand Down

0 comments on commit 2aeea97

Please sign in to comment.