Skip to content

Commit

Permalink
Ruby 3.1 compatibility (#147)
Browse files Browse the repository at this point in the history
* Update gemspec to support Ruby 3.1
* Add `ruby-head` to the Travis build matrix
* Drop Ruby 2.5 support (EOL)
  • Loading branch information
walski authored Jan 24, 2022
1 parent 3388ac4 commit d311a4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require: rubocop-rspec

AllCops:
NewCops: enable
TargetRubyVersion: 2.5
TargetRubyVersion: 2.6

Layout/DotPosition:
EnforcedStyle: trailing
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ rvm: 3.0

jobs:
include:
- rvm: 2.5
env: PUPPETEER_VERSION=12.0.1
- rvm: 2.6
env: PUPPETEER_VERSION=12.0.1
- rvm: 2.7
env: PUPPETEER_VERSION=12.0.1
- rvm: ruby-head
env: PUPPETEER_VERSION=12.0.1

language: ruby

Expand Down
2 changes: 1 addition & 1 deletion grover.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
SUMMARY
spec.homepage = 'https://github.com/Studiosity/grover'
spec.license = 'MIT'
spec.required_ruby_version = ['>= 2.5.0', '< 3.1.0']
spec.required_ruby_version = ['>= 2.6.0', '< 3.2.0']

spec.files = `git ls-files lib`.split("\n") + ['LICENSE']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
Expand Down

0 comments on commit d311a4c

Please sign in to comment.