Lock nokogiri to 1.6.x
From nokogiri 1.7.0 ruby <= 2.0.0 are no longer supported. In order to support those version we must lock ourselves to 1.6.x
This commit is contained in:
parent
f38d4cdb73
commit
4c64d521a3
|
@ -18,6 +18,6 @@ Gem::Specification.new do |s|
|
||||||
s.require_path = 'lib'
|
s.require_path = 'lib'
|
||||||
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
|
||||||
|
|
||||||
s.add_dependency 'nokogiri', '~> 1.6'
|
s.add_dependency 'nokogiri', RUBY_VERSION < '2.1.0' ? '~> 1.6.0' : '~> 1'
|
||||||
s.add_development_dependency 'bundler', '~> 1.0'
|
s.add_development_dependency 'bundler', '~> 1.0'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue