Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/sgcop/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Sgcop
VERSION = '1.26.0'.freeze
VERSION = '1.26.1'.freeze
end
6 changes: 6 additions & 0 deletions rails/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,12 @@ Rails/FindByOrAssignmentMemoization: # new in 2.33
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsorderarguments
Rails/OrderArguments: # new in 2.33
Enabled: true
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railshttpstatusnameconsistency
Rails/HttpStatusNameConsistency: # new in 2.34
Enabled: true
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredirectbackorto
Rails/RedirectBackOrTo: # new in 2.34
Enabled: true

# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecidenticalequalityassertion
RSpec/IdenticalEqualityAssertion: # (new in 2.4)
Expand Down
3 changes: 3 additions & 0 deletions ruby/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,9 @@ Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
# https://docs.rubocop.org/rubocop/cops_style.html#stylearrayintersectwithsingleelement
Style/ArrayIntersectWithSingleElement: # new in 1.81
Enabled: true
# https://docs.rubocop.org/rubocop/cops_style.html#stylemodulememberexistencecheck
Style/ModuleMemberExistenceCheck: # new in 1.82
Enabled: true

# ============================================================
# Lint
Expand Down
4 changes: 2 additions & 2 deletions sgcop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'rubocop', '~> 1.81.1'
spec.add_dependency 'rubocop', '~> 1.82.0'
spec.add_dependency 'rubocop-capybara', '~> 2.22.0'
spec.add_dependency 'rubocop-factory_bot', '~> 2.28.0'
spec.add_dependency 'rubocop-performance', '~> 1.26.0'
spec.add_dependency 'rubocop-rails', '~> 2.33.3'
spec.add_dependency 'rubocop-rails', '~> 2.34.2'
spec.add_dependency 'rubocop-rake', '~> 0.7.1'
spec.add_dependency 'rubocop-rspec', '~> 3.8.0'
spec.add_dependency 'rubocop-rspec_rails', '~> 2.32.0'
Expand Down