Skip to content

Commit

Permalink
set minimum ruby to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
claytron committed Mar 6, 2024
1 parent 8024328 commit 84c6dfc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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: ['3.0', '3.1', '3.2', "3.3"]
ruby: ['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.2'
- if: matrix.os == 'ubuntu-latest' && matrix.ruby == '3.1'
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: 3.2
TargetRubyVersion: 3.1
Exclude:
- bin/**/*
- vendor/**/*
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 2.0.0 (2024-03-05)

- Test against latest Ruby 3.3 and minimum 3.0.x
- Test against latest Ruby 3.3 and minimum 3.1.x

## 1.2.0 (2022-10-26)

Expand Down
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('>= 3.0')
spec.required_ruby_version = Gem::Requirement.new('>= 3.1')

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 84c6dfc

Please sign in to comment.