scc-codestyle 0.6.6 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14078f23274bc321fbaecc6789db3a82bac84a5187215c81ad52b0384b9a14ad
4
- data.tar.gz: 433cb4aa28a9c8b31adc162981f01441e8b7e71fcdaa366b28c19093a6666f49
3
+ metadata.gz: 223242828fb123e1b8d8f1639c6a3bb99aa7d2391c9c38b2a0bc6343cf2040e7
4
+ data.tar.gz: 0c62b274986efe572f572152e985ed8a3fff136f43bfeb685934177f86125c44
5
5
  SHA512:
6
- metadata.gz: 1659b6282da00d738cde0e4b77a0e834bd6f35c443403a2c475f647b0e15b7998f97b5ff2dffbfdc97d9d4cb4226e69be78c1f4686e6c1b630232c408028b53e
7
- data.tar.gz: e86ab88d4613bf199fbcff252bfc67f21a45fe7b6b86a3ff2b8b9c8c6d92a589a5aca368160c63071ec32e6946fa4833037c88433af8680a88b0b369d3029975
6
+ metadata.gz: 589442ad2e295453cbb2c22c40b6b7dc71715fce43e2dc18368d53ae46f507034a9398c87b5d85e8186ea42495b27f045947f348c7defd14b34683a3a8c37fb6
7
+ data.tar.gz: 3558f39a546916d1ea6ecc44424c57da9ea1cf31e78ba94cc94fe1450a41f32071a393f89fd041a32774fc161ba96cfde8ddf988bff20a38c675c7e7694d4758
data/default.yml CHANGED
@@ -16,6 +16,9 @@ require:
16
16
  - rubocop-performance
17
17
  - rubocop-rails
18
18
  - rubocop-rspec
19
+ - rubocop-rspec_rails
20
+ - rubocop-capybara
21
+ - rubocop-factory_bot
19
22
  - rubocop-thread_safety
20
23
 
21
24
  # TODO: team wants to have this enabled (2017-07-13)
@@ -541,7 +544,7 @@ RSpec/EmptyLineAfterSubject:
541
544
  Exclude:
542
545
  - spec/models/siebel/activity_spec.rb
543
546
 
544
- RSpec/FilePath:
547
+ Rails/FilePath:
545
548
  Enabled: true
546
549
 
547
550
  Rails/InverseOf:
@@ -874,7 +877,7 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
874
877
  Enabled: true
875
878
  RSpec/SubjectDeclaration: # new in 2.5
876
879
  Enabled: true
877
- RSpec/Rails/AvoidSetupHook: # new in 2.4
880
+ RSpecRails/AvoidSetupHook: # new in 2.4
878
881
  Enabled: true
879
882
  Layout/LineContinuationLeadingSpace: # new in 1.31
880
883
  Enabled: true
@@ -989,7 +992,7 @@ RSpec/VerifiedDoubleReference: # new in 2.10.0
989
992
  Enabled: true
990
993
  FactoryBot/SyntaxMethods: # new in 2.7
991
994
  Enabled: true
992
- RSpec/Rails/HaveHttpStatus: # new in 2.12
995
+ RSpecRails/HaveHttpStatus: # new in 2.12
993
996
  Enabled: true
994
997
  # Both were moved out from the RSpec namespace
995
998
  Capybara/SpecificFinders: # new in 2.13
@@ -1,5 +1,5 @@
1
1
  module Scc
2
2
  module Codestyle
3
- VERSION = '0.6.6'.freeze
3
+ VERSION = '0.7.0'.freeze
4
4
  end
5
5
  end
@@ -20,10 +20,13 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_dependency 'rubocop', '~> 1.37'
23
+ spec.add_dependency 'rubocop-capybara', '~> 2.21'
24
+ spec.add_dependency 'rubocop-factory_bot', '~> 2.26'
23
25
  spec.add_dependency 'rubocop-performance', '~> 1.15'
24
26
  spec.add_dependency 'rubocop-rails', '~> 2.16'
25
27
  spec.add_dependency 'rubocop-rake', '~> 0.6'
26
- spec.add_dependency 'rubocop-rspec', '~> 2.13'
28
+ spec.add_dependency 'rubocop-rspec', '~> 3.0.2'
29
+ spec.add_dependency 'rubocop-rspec_rails', '~> 2.30'
27
30
  spec.add_dependency 'rubocop-thread_safety', '~> 0.4'
28
31
  spec.add_development_dependency 'bundler', '~> 2.2'
29
32
  spec.add_development_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scc-codestyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SCC Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -24,6 +24,34 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.37'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-capybara
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.21'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.21'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-factory_bot
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.26'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.26'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rubocop-performance
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +100,28 @@ dependencies:
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '2.13'
103
+ version: 3.0.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.0.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rspec_rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.30'
76
118
  type: :runtime
77
119
  prerelease: false
78
120
  version_requirements: !ruby/object:Gem::Requirement
79
121
  requirements:
80
122
  - - "~>"
81
123
  - !ruby/object:Gem::Version
82
- version: '2.13'
124
+ version: '2.30'
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: rubocop-thread_safety
85
127
  requirement: !ruby/object:Gem::Requirement