sevencop 0.37.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -8
- data/config/default.yml +11 -14
- data/lib/rubocop/cop/sevencop/rspec_describe_http_endpoint.rb +1 -0
- data/lib/sevencop/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b16f92849b05ffb094bc39ced3a930c21cdbabc4aa95f5d0e40d2a6222969322
|
4
|
+
data.tar.gz: 24f48910c8cfab40c780c1685cf4198134cbf3cfae0ef922805edea702885318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5384a17f52b51e66f0309da2c9041e3e65fb6c7c95a8efec3d818832a70702a9e03b6be84d80b6e8af3e0686c0189b49efbad604405fe08553677f14547955b2
|
7
|
+
data.tar.gz: 5fa205dc8e7db998e2dff519cfec07efb7853dfa6b273e4022b704f55c73d20211cf0c8d755226b476415bafb88b2b092dc356c7aea348d0171a92429e69e659
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sevencop (0.
|
4
|
+
sevencop (0.39.0)
|
5
5
|
activesupport
|
6
6
|
rubocop
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (7.1.3)
|
11
|
+
activesupport (7.1.3.2)
|
12
12
|
base64
|
13
13
|
bigdecimal
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -20,17 +20,16 @@ GEM
|
|
20
20
|
tzinfo (~> 2.0)
|
21
21
|
ast (2.4.2)
|
22
22
|
base64 (0.2.0)
|
23
|
-
bigdecimal (3.1.
|
23
|
+
bigdecimal (3.1.7)
|
24
24
|
concurrent-ruby (1.2.3)
|
25
25
|
connection_pool (2.4.1)
|
26
26
|
diff-lcs (1.5.0)
|
27
|
-
drb (2.2.
|
28
|
-
|
29
|
-
i18n (1.14.1)
|
27
|
+
drb (2.2.1)
|
28
|
+
i18n (1.14.4)
|
30
29
|
concurrent-ruby (~> 1.0)
|
31
30
|
json (2.7.1)
|
32
31
|
language_server-protocol (3.17.0.3)
|
33
|
-
minitest (5.
|
32
|
+
minitest (5.22.3)
|
34
33
|
mutex_m (0.2.0)
|
35
34
|
parallel (1.24.0)
|
36
35
|
parser (3.3.0.5)
|
@@ -81,7 +80,6 @@ GEM
|
|
81
80
|
rubocop-capybara (~> 2.17)
|
82
81
|
rubocop-factory_bot (~> 2.22)
|
83
82
|
ruby-progressbar (1.13.0)
|
84
|
-
ruby2_keywords (0.0.5)
|
85
83
|
tzinfo (2.0.6)
|
86
84
|
concurrent-ruby (~> 1.0)
|
87
85
|
unicode-display_width (2.5.0)
|
data/config/default.yml
CHANGED
@@ -24,12 +24,9 @@ Sevencop/FactoryBotAssociationStyle:
|
|
24
24
|
NonImplicitAssociationMethodNames:
|
25
25
|
- skip_create
|
26
26
|
Include:
|
27
|
-
- factories.rb
|
28
|
-
- factories/*.rb
|
29
|
-
-
|
30
|
-
- spec/factories/*.rb
|
31
|
-
- test/factories.rb
|
32
|
-
- test/factories/*.rb
|
27
|
+
- "**/factories.rb"
|
28
|
+
- "**/spec/factories/*.rb"
|
29
|
+
- "**/test/factories/*.rb"
|
33
30
|
|
34
31
|
Sevencop/HashElementOrdered:
|
35
32
|
Description: |
|
@@ -103,7 +100,7 @@ Sevencop/RailsSpecificActionName:
|
|
103
100
|
- show
|
104
101
|
- update
|
105
102
|
Include:
|
106
|
-
- app/controllers/**/*.rb
|
103
|
+
- "**/app/controllers/**/*.rb"
|
107
104
|
|
108
105
|
Sevencop/RailsUniquenessValidatorExplicitCaseSensitivity:
|
109
106
|
Description: |
|
@@ -122,14 +119,14 @@ Sevencop/RSpecDescribeHttpEndpoint:
|
|
122
119
|
Pass HTTP endpoint identifier (e.g. `GET /users`) to top-level `describe` on request-specs.
|
123
120
|
Enabled: false
|
124
121
|
Include:
|
125
|
-
- spec/requests/**/*.rb
|
122
|
+
- "**/spec/requests/**/*.rb"
|
126
123
|
|
127
124
|
Sevencop/RSpecEmptyLineAfterLet:
|
128
125
|
Description: |
|
129
126
|
Insert empty line after `let`.
|
130
127
|
Enabled: false
|
131
128
|
Include:
|
132
|
-
- spec
|
129
|
+
- "**/spec/**/*.rb"
|
133
130
|
|
134
131
|
Sevencop/RSpecExamplesInSameGroup:
|
135
132
|
Description: |
|
@@ -137,20 +134,20 @@ Sevencop/RSpecExamplesInSameGroup:
|
|
137
134
|
Enabled: false
|
138
135
|
IncludeSharedExamples: false
|
139
136
|
Include:
|
140
|
-
- spec/controllers
|
141
|
-
- spec/requests
|
137
|
+
- "**/spec/controllers/**/*.rb"
|
138
|
+
- "**/spec/requests/**/*.rb"
|
142
139
|
|
143
140
|
Sevencop/RSpecMemoizedHelperBlockDelimiter:
|
144
141
|
Description: |
|
145
142
|
Use do-end block delimiter on RSpec memoized helper.
|
146
143
|
Enabled: false
|
147
144
|
Include:
|
148
|
-
- spec
|
145
|
+
- "**/spec/**/*.rb"
|
149
146
|
|
150
147
|
Sevencop/RSpecRailsHaveHttpStatus:
|
151
148
|
Description: |
|
152
149
|
Always check status code with `have_http_status`.
|
153
150
|
Enabled: false
|
154
151
|
Include:
|
155
|
-
- spec/controllers
|
156
|
-
- spec/requests
|
152
|
+
- "**/spec/controllers/**/*.rb"
|
153
|
+
- "**/spec/requests/**/*.rb"
|
data/lib/sevencop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sevencop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.3.
|
109
|
+
rubygems_version: 3.3.27
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Opinionated custom cops for RuboCop.
|