summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-07-31 00:23:57 -0600
committerDan Allen <dan.j.allen@gmail.com>2018-07-31 23:57:46 -0600
commit1685c242c8581532931fa5043dc08ef20d26ce0f (patch)
tree57f9ca9722c64656b52101b3789c5e0a2aff0f89 /Gemfile
parent246fe3d81899e2b4a618eaa4ae0de9a6da04f1de (diff)
map Concurrent::Hash to ThreadSafe::Cache in Ruby 1.8.7
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile31
1 files changed, 18 insertions, 13 deletions
diff --git a/Gemfile b/Gemfile
index ba08d414..3a850be0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,25 +4,30 @@ source 'https://rubygems.org'
gemspec
group :development do
- if (ruby_version = Gem::Version.new 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 'tilt', '2.0.7'
+ 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'
- gem 'slim', '<= 3.0.7'
end
else
- gem 'nokogiri', '~> 1.6.0'
+ gem 'nokogiri', '~> 1.7.0' if Gem::Platform.local =~ 'x86-mingw32' || Gem::Platform.local =~ 'x64-mingw32'
+ gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
end
- elsif ruby_version < (Gem::Version.new '2.2.0')
- gem 'nokogiri', '~> 1.7.0' if Gem::Platform.local =~ 'x86-mingw32' || Gem::Platform.local =~ 'x64-mingw32'
end
- gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
end
group :doc do