Skip to content

Commit

Permalink
update rubocop rspec (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
baldarn authored Jul 11, 2024
1 parent 6b271d8 commit e5a275d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
- rubocop-capybara
- rubocop-factory_bot
- rubocop-thread_safety

# TODO: team wants to have this enabled (2017-07-13)
Expand Down Expand Up @@ -541,7 +544,7 @@ RSpec/EmptyLineAfterSubject:
Exclude:
- spec/models/siebel/activity_spec.rb

RSpec/FilePath:
Rails/FilePath:
Enabled: true

Rails/InverseOf:
Expand Down Expand Up @@ -874,7 +877,7 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
Enabled: true
RSpec/SubjectDeclaration: # new in 2.5
Enabled: true
RSpec/Rails/AvoidSetupHook: # new in 2.4
RSpecRails/AvoidSetupHook: # new in 2.4
Enabled: true
Layout/LineContinuationLeadingSpace: # new in 1.31
Enabled: true
Expand Down Expand Up @@ -989,7 +992,7 @@ RSpec/VerifiedDoubleReference: # new in 2.10.0
Enabled: true
FactoryBot/SyntaxMethods: # new in 2.7
Enabled: true
RSpec/Rails/HaveHttpStatus: # new in 2.12
RSpecRails/HaveHttpStatus: # new in 2.12
Enabled: true
# Both were moved out from the RSpec namespace
Capybara/SpecificFinders: # new in 2.13
Expand Down
2 changes: 1 addition & 1 deletion lib/scc/codestyle/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Scc
module Codestyle
VERSION = '0.6.6'.freeze
VERSION = '0.7.0'.freeze
end
end
5 changes: 4 additions & 1 deletion scc-codestyle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_dependency 'rubocop', '~> 1.37'
spec.add_dependency 'rubocop-capybara', '~> 2.21'
spec.add_dependency 'rubocop-factory_bot', '~> 2.26'
spec.add_dependency 'rubocop-performance', '~> 1.15'
spec.add_dependency 'rubocop-rails', '~> 2.16'
spec.add_dependency 'rubocop-rake', '~> 0.6'
spec.add_dependency 'rubocop-rspec', '~> 2.13'
spec.add_dependency 'rubocop-rspec', '~> 3.0.2'
spec.add_dependency 'rubocop-rspec_rails', '~> 2.30'
spec.add_dependency 'rubocop-thread_safety', '~> 0.4'
spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_development_dependency 'rake', '~> 13.0'
Expand Down

0 comments on commit e5a275d

Please sign in to comment.