summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2019-02-23 15:23:04 +0100
committerGitHub <noreply@github.com>2019-02-23 15:23:04 +0100
commit7818585e14039e56fb279399ea0a97ee2013068d (patch)
tree91fd0352c98985277e8fed3b4f2517ae11d55b24 /Gemfile
parentd38502167541a1cd1b505a0e468e0098e3ae7538 (diff)
parentdc767fca8ae78cf5760d3bf1d7e7150fde6c5951 (diff)
downloadcoderay-7818585e14039e56fb279399ea0a97ee2013068d.tar.gz
Merge pull request #233 from junaruga/hotfix/ruby26-expression-enumerator
Add Ruby 2.6 fixing issues
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 530c0e8..c19ac08 100644
--- a/Gemfile
+++ b/Gemfile
@@ -14,5 +14,5 @@ group :development do
gem 'shoulda-context', RUBY_VERSION < '1.9' ? '= 1.2.1' : '>= 1.2.1'
gem 'test-unit', RUBY_VERSION < '1.9' ? '~> 2.0' : '>= 3.0'
gem 'json', '>= 1.8' if RUBY_VERSION < '1.9'
- gem 'rdoc', RUBY_VERSION < '1.9' ? '~> 4.2.2' : '>= 4.2.2'
+ gem 'rdoc', Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3') ? '~> 4.2.2' : Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2') ? '< 6' : '>= 6'
end