summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-03-02 23:35:45 -0700
committerDan Allen <dan.j.allen@gmail.com>2017-03-03 01:25:19 -0700
commit72dd635d538c915c9e017e11c289e784a6be5d7f (patch)
tree09de7f32c771c421a28e73a77e431537659ad3c8 /Gemfile
parent540903b088b6cc56b9ce654c05ebd2fb254c54b2 (diff)
shift latest version of dep to gemspec
- use latest version of dep in gemspec - use Gemfile to override dep versions as necessary - upgrade gemspec to Nokogiri 1.7.0; override for older Ruby versions in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 2e5ddc5c..ac98e34e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,11 +4,12 @@ source 'https://rubygems.org'
gemspec
group :development do
- if (Gem::Version.new RUBY_VERSION) >= (Gem::Version.new '1.9.3')
- gem 'cucumber', '~> 2.4.0'
- else
+ if (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '1.9.3')
+ gem 'cucumber', '~> 1.3.0'
gem 'nokogiri', '~> 1.5.0'
gem 'slim', '~> 2.0.0'
+ elsif (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.1.0')
+ gem 'nokogiri', '~> 1.6.0'
end
gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
end