Remove support for Ruby 1.9

This has been discussed, but we'll finally be doing it for the next
major version so that we can introduce a few features that depend on
gems that don't support 1.9.
This commit is contained in:
Brandur 2017-01-19 16:37:58 -08:00
parent 32530b1ad6
commit ddaf36e00c
3 changed files with 2 additions and 17 deletions

View File

@ -1,13 +1,11 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
- jruby-19mode
- jruby-9.0.5.0
notifications:

14
Gemfile
View File

@ -8,19 +8,7 @@ group :development do
gem 'rake'
gem 'shoulda-context'
gem 'test-unit'
# mime-types has become only compatible with Ruby versions > 2 and we're
# still supporting 1.9 for the time being. Lock to old versions of
# mime-types and rest-client which are known to work in our Gemfile (it's
# fine to use newer versions in live environments so we don't have these in
# the gemspec).
#
# https://github.com/travis-ci/travis-ci/issues/5145
#
if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
gem 'mime-types', '2.6.2'
gem 'rest-client', '1.8.0'
end
gem 'webmock'
platforms :mri do
# to avoid problems, bring Byebug in on just versions of Ruby under which

View File

@ -32,8 +32,7 @@ If you want to build the gem from source:
### Requirements
* Ruby 1.9.3 or above.
* rest-client
* Ruby 2.0+.
### Bundler