Skip to content

Commit

Permalink
test against ruby 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
claytron committed Mar 6, 2024
1 parent 4fb4a59 commit 0eaf9cc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins:
enabled: true
rubocop:
enabled: true
channel: rubocop-1-31-0
channel: rubocop-1-56-3
markdownlint:
enabled: true
bundler-audit:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: [2.7, '3.0', '3.1']
ruby: ['3.0', '3.1', '3.2', "3.3"]
runs-on: ${{ matrix.os }}
env:
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
Expand All @@ -23,7 +23,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- if: matrix.os == 'ubuntu-latest' && matrix.ruby == '3.1'
- if: matrix.os == 'ubuntu-latest' && matrix.ruby == '3.2'
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.2
Exclude:
- bin/**/*
- vendor/**/*
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.6
3.3.0
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 2.0.0 (2024-03-05)

- Test against latest Ruby 3.3 and minimum 3.0.x

## 1.2.0 (2022-10-26)

- Test against latest Ruby 3.1, minimum version 2.7
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.3.24
2.5.3
2 changes: 1 addition & 1 deletion augury.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = 'This gem turns a twitter feed into a fortune file that you can use with the fortune program'
spec.homepage = 'https://github.com/claytron/augury'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
spec.required_ruby_version = Gem::Requirement.new('>= 3.0')

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
Expand Down

0 comments on commit 0eaf9cc

Please sign in to comment.