Merge pull request #495 from stripe/brandur-kill-19

Remove support for Ruby 1.9
This commit is contained in:
Brandur 2017-02-14 12:12:03 -08:00 committed by GitHub
commit 31b0ccfb33
3 changed files with 2 additions and 17 deletions

View File

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

14
Gemfile
View File

@ -8,19 +8,7 @@ group :development do
gem 'rake' gem 'rake'
gem 'shoulda-context' gem 'shoulda-context'
gem 'test-unit' gem 'test-unit'
gem 'webmock'
# 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
platforms :mri do platforms :mri do
# to avoid problems, bring Byebug in on just versions of Ruby under which # 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 ### Requirements
* Ruby 1.9.3 or above. * Ruby 2.0+.
* rest-client
### Bundler ### Bundler