Merge pull request #7684 from chrisroberts/constraints/ruby_dep

Constrain ruby_dep gem versions to prevent constraints on ruby versions
This commit is contained in:
Seth Vargo 2016-08-08 12:05:14 -04:00 committed by GitHub
commit 5eb5f66a31
1 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,12 @@ Gem::Specification.new do |s|
# We lock this down to avoid compilation issues. # We lock this down to avoid compilation issues.
s.add_dependency "nokogiri", "= 1.6.7.1" s.add_dependency "nokogiri", "= 1.6.7.1"
# NOTE: The ruby_dep gem is an implicit dependency from the listen gem. Later versions
# of the ruby_dep gem impose an aggressive constraint on the required ruby version (>= 2.2.5).
# Explicit constraint is defined to provide required dependency to listen without imposing
# tighter restrictions on valid ruby versions
s.add_dependency "ruby_dep", "<= 1.3.1"
s.add_development_dependency "rake" s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 2.14.0" s.add_development_dependency "rspec", "~> 2.14.0"
s.add_development_dependency "webmock", "~> 1.20" s.add_development_dependency "webmock", "~> 1.20"