diff --git a/.travis.yml b/.travis.yml index 5e21473..9c9846d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: ruby rvm: + - 2.3.0 + - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 diff --git a/Gemfile b/Gemfile index 07c3d7b..2f97435 100644 --- a/Gemfile +++ b/Gemfile @@ -12,8 +12,6 @@ group :development do gem "guard" gem "guard-rspec" gem "rb-readline", "~> 0.5.0" - gem "jeweler", ">= 1.6.2" - gem 'coveralls', require: false gem "test_construct" gem "capture-output", "~> 1.0.0" if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/ @@ -22,7 +20,25 @@ group :development do if RbConfig::CONFIG['host_os'] =~ /darwin|mac os/ gem 'terminal-notifier-guard', '~> 1.6.1' end - if RUBY_VERSION >= '1.9.2' + if RUBY_VERSION < '2.0.0' + gem "addressable", "< 2.5" + gem "json", "< 2" + gem "coveralls", "< 0.8.6", require: false + gem "tins", "< 1.3.5" + gem "term-ansicolor", "< 1.3.2" + gem "rubocop", "< 0.42" + else + gem "coveralls", require: false gem "rubocop" end + if RUBY_VERSION < '2.1.0' + gem "rdoc", "< 5" + end + if RUBY_VERSION < '2.3.0' + gem "rack", "< 2" + gem "listen", "< 3" + gem "jeweler", ">= 1.6.2", "< 2.2" + else + gem "jeweler", ">= 1.6.2" + end end