Skip to content

Commit

Permalink
Require Ruby 2.1.9 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jan 6, 2017
1 parent a6e9ac3 commit bd28cd4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
AllCops:
TargetRubyVersion: 2.1
Include:
- 'Gemfile'
- 'Rakefile'
Expand Down
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
bundler_args: --without development
cache: bundler
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- jruby-head
- rbx-2
- 2.1.9
- 2.2.6
- 2.3.3
- 2.4.0
- jruby-9.1.6.0
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
fast_finish: true
sudo: false
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,13 @@ Ruby wrapper for the RubyGems.org API.
This library aims to support and is [tested against][travis] the following Ruby
implementations:

* Ruby 1.9.3
* Ruby 2.0.0
* Ruby 2.1.0
* Ruby 2.2.0
* Ruby 2.1
* Ruby 2.2
* Ruby 2.3
* Ruby 2.4
* [JRuby][]
* [Rubinius][]

[jruby]: http://www.jruby.org/
[rubinius]: http://rubini.us/

If something doesn't work on one of these interpreters, it's a bug.

Expand Down
4 changes: 2 additions & 2 deletions gems.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gems/version'

Gem::Specification.new do |spec|
spec.add_dependency 'json', '~> 1.8'
spec.add_dependency 'json'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober']
spec.description = 'Ruby wrapper for the RubyGems.org API'
Expand All @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.licenses = %w(MIT)
spec.name = 'gems'
spec.require_paths = %w(lib)
spec.required_ruby_version = '>= 1.9.3'
spec.required_ruby_version = '>= 2.1.9'
spec.summary = spec.description
spec.version = Gems::VERSION
end

0 comments on commit bd28cd4

Please sign in to comment.