From c3bdb0e4148f1cafbf76479c1197a0c854a2455e Mon Sep 17 00:00:00 2001 From: an-korn Date: Fri, 8 Dec 2023 18:49:21 +0400 Subject: [PATCH] Change required ruby version after upgrading rubocop-graphql --- .github/workflows/main.yml | 4 ++-- .rubocop.yml | 2 +- CHANGELOG.md | 6 ++++++ config/rspec.yml | 3 +++ datarockets-style.gemspec | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c511ee5..8f34434 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.rubocop.yml b/.rubocop.yml index b86fdcc..2bfe3c8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,7 +7,7 @@ inherit_mode: - Exclude AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 # for checking cops with interpolation Lint/InterpolationCheck: diff --git a/CHANGELOG.md b/CHANGELOG.md index 692c4e6..b608126 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/config/rspec.yml b/config/rspec.yml index f207192..19fed05 100644 --- a/config/rspec.yml +++ b/config/rspec.yml @@ -39,3 +39,6 @@ RSpec/NestedGroups: RSpec/PreferBeforeOverSetup: Enabled: true + +RSpec/FactoryBot/CreateList: + AutoCorrect: true diff --git a/datarockets-style.gemspec b/datarockets-style.gemspec index 5611f4e..544fb72 100644 --- a/datarockets-style.gemspec +++ b/datarockets-style.gemspec @@ -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.