Skip to content

Commit

Permalink
Restrict activesupport dependency for better Ruby 2.0.0 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdee committed Dec 29, 2017
1 parent 95e5551 commit 442dd71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pattern_patch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Gem::Specification.new do |spec|
spec.homepage = 'http://github.com/jdee/pattern_patch'
spec.license = 'MIT'

# This is necessary to support the system Ruby (2.0.0) on OS X before High Sierra.
spec.required_ruby_version = '>= 2.0.0'

spec.add_dependency 'activesupport'
# activesupport 5.x requires Ruby 2.2.
spec.add_dependency 'activesupport', '~> 4.2'

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'pry'
Expand Down

0 comments on commit 442dd71

Please sign in to comment.