Skip to content

Commit

Permalink
Drop support for EOL Ruby version 2.7 and 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenno committed Nov 21, 2024
1 parent 3919dd9 commit e528e9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Ruby 2.7
- name: Set up Ruby 3.1
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.1

- name: Publish to GPR
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
strategy:
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rake

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
NewCops: enable

Naming/VariableNumber:
Expand Down
2 changes: 1 addition & 1 deletion human_languages.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = 'ISO 639-3 is a set of codes that defines three-letter identifiers for all known human languages.'
spec.homepage = 'https://github.com/bbenno/languages'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.7.0'
spec.required_ruby_version = '>= 3.1.0'

# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

Expand Down

0 comments on commit e528e9a

Please sign in to comment.