Skip to content

Commit 4e400f2

Browse files
Tatheer Fatimatatheerf02
authored andcommitted
fix #2885: Set target ruby version to 3.0 and remove references to 2.7
Co-authored-by: Ayana Siddiqui [email protected]
1 parent b5a034c commit 4e400f2

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v3
2525
- uses: ruby/setup-ruby@v1
2626
with:
27-
ruby-version: '2.7'
27+
ruby-version: '3.0'
2828

2929
- name: Install dependencies
3030
run: bundle install
@@ -38,7 +38,6 @@ jobs:
3838
fail-fast: false # don't fail all matrix builds if one fails
3939
matrix:
4040
ruby:
41-
- '2.7'
4241
- '3.0'
4342
- '3.1'
4443
- '3.2'

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require:
33
- rubocop-rake
44

55
AllCops:
6-
TargetRubyVersion: 2.7
6+
TargetRubyVersion: 3.0
77
NewCops: enable
88

99
# Suppress noise for obvious operator precedence.

MAINTAINING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you're reviewing a PR, ask yourself:
1313
## Managing libraries dependencies EOL
1414

1515
As a guideline for Ruby's End of Life (EOL) versions, a good heuristic (that's not too hard on maintainers) is to keep support for 1 EOL version.
16-
In other words, once Ruby 3.0 is EOL, drop support for 2.7.
16+
In other words, once Ruby 3.1 is EOL, drop support for 3.0.
1717

1818
## Security
1919

faker.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
1919
spec.bindir = 'bin'
2020
spec.executables = ['faker']
2121
spec.require_paths = ['lib']
22-
spec.required_ruby_version = '>= 2.7'
22+
spec.required_ruby_version = '>= 3.0'
2323

2424
spec.metadata['changelog_uri'] = 'https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md'
2525
spec.metadata['source_code_uri'] = 'https://github.com/faker-ruby/faker'

0 commit comments

Comments
 (0)