Skip to content

Commit

Permalink
Change required ruby version after upgrading rubocop-graphql (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
an-korn authored Aug 26, 2024
1 parent 5e3a698 commit 38c7047
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ The format is described in [Contributing notes](CONTRIBUTING.md#changelog-entry-

## master

## 1.6.0 (2024-08-26)

### Changed

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

## 1.5.0 (2023-09-11)

### Added
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 38c7047

Please sign in to comment.