diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-10-29 17:14:22 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-10-29 17:55:24 -0600 |
| commit | 905f406e452becdbab05339e510535406bc65e13 (patch) | |
| tree | f2b6c4405a9690cf10f211f6a01d6a098812b9ea /Gemfile | |
| parent | 7c009d0bc4942e48485537d2754717ada16d1f7e (diff) | |
don't run build on unsupported versions of Ruby (part of #2764)
Diffstat (limited to 'Gemfile')
| -rw-r--r-- | Gemfile | 32 |
1 files changed, 3 insertions, 29 deletions
@@ -4,35 +4,9 @@ source 'https://rubygems.org' gemspec group :development do - ruby_version = Gem::Version.new RUBY_VERSION - gem 'concurrent-ruby', '~> 1.0.0' unless ruby_version < (Gem::Version.new '1.9.3') - if ruby_version < (Gem::Version.new '2.2.0') - if ruby_version < (Gem::Version.new '2.1.0') - if ruby_version < (Gem::Version.new '2.0.0') - gem 'haml', '~> 4.0.0' - if ruby_version < (Gem::Version.new '1.9.3') - gem 'cucumber', '~> 1.3.0' - gem 'nokogiri', '~> 1.5.0' - gem 'slim', '~> 2.1.0' - gem 'thread_safe', '0.3.6' - gem 'tilt', '2.0.7' - else - gem 'nokogiri', '~> 1.6.0' - gem 'slim', '<= 3.0.7' - end - else - gem 'nokogiri', '~> 1.6.0' - end - else - gem 'nokogiri', '~> 1.7.0' if Gem::Platform.local =~ 'x86-mingw32' || Gem::Platform.local =~ 'x64-mingw32' - # pin nokogiri because XPath behavior changed on JRuby starting in 1.8.3 (see sparklemotion/nokogiri#1803) - gem 'nokogiri', '1.8.2' if RUBY_ENGINE == 'jruby' - gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx' - end - else - # pin nokogiri because XPath behavior changed on JRuby starting in 1.8.3 (see sparklemotion/nokogiri#1803) - gem 'nokogiri', '1.8.2' if RUBY_ENGINE == 'jruby' - end + gem 'concurrent-ruby', '~> 1.0.0' + # pin nokogiri because XPath behavior changed on JRuby starting in 1.8.3 (see sparklemotion/nokogiri#1803) + gem 'nokogiri', '1.8.2' if RUBY_ENGINE == 'jruby' end group :doc do |
