Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Ruby 2.7 and support latest 3.x #30

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')
claytron marked this conversation as resolved.
Show resolved Hide resolved

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