diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b04dfa..b0a2989 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 - name: Publish Gem env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4b56d0d..666bb83 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,10 +7,10 @@ jobs: validate: strategy: matrix: - ruby-version: [2.7, 3.0, 3.1, 3.2] + ruby-version: [2.7, 3.0, 3.1, 3.2, 3.3] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.ruby-version b/.ruby-version index be94e6f..bea438e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 +3.3.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index f8dfad7..f75cab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ Changelog ========= +4.5.0 +----- +* Disable `Rails/WhereRange` + +4.4.2 +----- +* Adjust renamed cops +* Disable RSpec/ExampleWording + 4.4.1 ----- * Disable `HashEachMethods` style for [Style/HashEachMethods](https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods) diff --git a/gc_ruboconfig.gemspec b/gc_ruboconfig.gemspec index 84d6278..f2f0ca3 100644 --- a/gc_ruboconfig.gemspec +++ b/gc_ruboconfig.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = 'gc_ruboconfig' - spec.version = '4.4.2' + spec.version = '4.5.0' spec.summary = "GoCardless's shared Rubocop configuration, conforming to our house style" spec.authors = %w[GoCardless] spec.homepage = 'https://github.com/gocardless/ruboconfig' @@ -10,8 +10,8 @@ Gem::Specification.new do |spec| spec.license = 'MIT' spec.files = ['rubocop.yml', 'rails.yml'] - spec.add_dependency 'rubocop', '>= 1.50.0' - spec.add_dependency 'rubocop-performance', '>= 1.15' - spec.add_dependency 'rubocop-rails', '>= 2.17.2' - spec.add_dependency 'rubocop-rspec', '>= 2.22.0' + spec.add_dependency 'rubocop', '>= 1.63' + spec.add_dependency 'rubocop-performance', '>= 1.21' + spec.add_dependency 'rubocop-rails', '>= 2.25.0' + spec.add_dependency 'rubocop-rspec', '>= 2.29.2' end diff --git a/rails.yml b/rails.yml index fe3a087..d6d4f5d 100644 --- a/rails.yml +++ b/rails.yml @@ -163,3 +163,6 @@ Rails/IgnoredColumnsAssignment: # new in 2.17 # Only relevant for Rails < 6.1 Rails/WhereNotWithMultipleConditions: # new in 2.17 Enabled: false + +Rails/WhereRange: # New in 2.25 + Enabled: false