Skip to content

Commit

Permalink
Change required ruby version after upgrading rubocop-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
an-korn committed Dec 8, 2023
1 parent 5e3a698 commit a41797d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Ruby 2.7
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.0'
bundler-cache: true

- name: Run linter
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inherit_mode:
- Exclude

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0

# for checking cops with interpolation
Lint/InterpolationCheck:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The format is described in [Contributing notes](CONTRIBUTING.md#changelog-entry-

### Changed

* **(Breaking)** Support Ruby >= 2.7.0
* **(Breaking)** Support Ruby >= 3.0.0

* Update rubocop to `1.56.3`. ([@Set27])
* Update rubocop-rails to `2.21.0`. ([@Set27])
Expand Down
2 changes: 1 addition & 1 deletion datarockets-style.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/datarockets/datarockets-style"
spec.license = "MIT"

spec.required_ruby_version = ">= 2.7.0"
spec.required_ruby_version = ">= 3.0.0"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
Expand Down

0 comments on commit a41797d

Please sign in to comment.