From 4c64d521a3088cfd06855d1b73f6714d662f7a79 Mon Sep 17 00:00:00 2001 From: jgrau Date: Tue, 28 Mar 2017 22:41:58 +0200 Subject: [PATCH] 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 --- impressionist.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impressionist.gemspec b/impressionist.gemspec index cd7867f..3fd6809 100644 --- a/impressionist.gemspec +++ b/impressionist.gemspec @@ -18,6 +18,6 @@ Gem::Specification.new do |s| s.require_path = 'lib' 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' end