Skip to content

Commit

Permalink
Drop support for ruby <3.1
Browse files Browse the repository at this point in the history
3.0 is at end of life since 2024-04-23
https://www.ruby-lang.org/en/downloads/branches/
  • Loading branch information
alexandre-pod committed Nov 4, 2024
1 parent a90abee commit 3992cc8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0.6', '3.1.4', '3.2.0']
ruby: ['3.1.4', '3.2.0', '3.3.5']

steps:
- uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
- name: Run private google sheet tests
if: matrix.ruby == '3.2.0' # Limit execution on latest ruby version to prevent reaching rate limits
if: matrix.ruby == '3.3.5' # Limit execution on latest ruby version to prevent reaching rate limits
run: bundle exec rake test_private_google_sheet
env:
GOOGLE_APPLICATION_CREDENTIALS: 'account_secret.json'
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
NewCops: enable
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Removed

- Drop support for for ruby <3.1

## [6.2.0] - 2023-12-12

### Added
Expand Down
2 changes: 1 addition & 1 deletion ad_localize.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ Gem::Specification.new do |spec|
spec.add_dependency 'google-apis-sheets_v4', '~> 0.9'
spec.add_dependency 'google-apis-drive_v3', '~> 0.33.0'

spec.required_ruby_version = '>= 2.7', '< 4.0'
spec.required_ruby_version = '>= 3.1', '< 4.0'
spec.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 3992cc8

Please sign in to comment.