rubocop-sorbet 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/config/default.yml +4 -2
- data/lib/rubocop/sorbet/version.rb +1 -1
- data/manual/cops_sorbet.md +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b80b70b68c03033dcda68e2661cba6ccbe10c647618cbf6068175c635288f7e4
|
4
|
+
data.tar.gz: 794956ee0b9ca5301f680fd79d3d414551284bce1f8dc218e1980da204b13689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5f81c72e557eb0888383137198f6138a52b9e043e4d2e02857419658a34407cf90bf08d4fc662fdd4ac9b0c10771aa79876dce08ded2ca61a8b2bea0561dad3
|
7
|
+
data.tar.gz: 5f8926ae82a56c9edf3fde4552d3ef84b942dbb1f317ecf603ac32b39fc08acc1bef5d8ed459ab28513b667ed901617510a72a3bf34cf8ea7b4d2ffba1ab982a
|
data/Gemfile.lock
CHANGED
data/config/default.yml
CHANGED
@@ -70,7 +70,9 @@ Sorbet/ForbidSuperclassConstLiteral:
|
|
70
70
|
Description: 'Forbid superclasses which are non-literal constants.'
|
71
71
|
Enabled: false
|
72
72
|
VersionAdded: 0.2.0
|
73
|
-
VersionChanged: 0.
|
73
|
+
VersionChanged: 0.6.1
|
74
|
+
Exclude:
|
75
|
+
- db/migrate/*.rb
|
74
76
|
|
75
77
|
Sorbet/ForbidUntypedStructProps:
|
76
78
|
Description: >-
|
@@ -99,7 +101,7 @@ Sorbet/KeywordArgumentOrdering:
|
|
99
101
|
Enabled: true
|
100
102
|
VersionAdded: 0.2.0
|
101
103
|
|
102
|
-
Sorbet/
|
104
|
+
Sorbet/OneAncestorPerLine:
|
103
105
|
Description: 'Enforces one ancestor per call to requires_ancestor'
|
104
106
|
Enabled: false
|
105
107
|
VersionAdded: '0.6.0'
|
data/manual/cops_sorbet.md
CHANGED
@@ -217,10 +217,16 @@ No documentation
|
|
217
217
|
|
218
218
|
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
|
219
219
|
--- | --- | --- | --- | ---
|
220
|
-
Disabled | Yes | No | 0.2.0 | 0.
|
220
|
+
Disabled | Yes | No | 0.2.0 | 0.6.1
|
221
221
|
|
222
222
|
No documentation
|
223
223
|
|
224
|
+
### Configurable attributes
|
225
|
+
|
226
|
+
Name | Default value | Configurable values
|
227
|
+
--- | --- | ---
|
228
|
+
Exclude | `db/migrate/*.rb` | Array
|
229
|
+
|
224
230
|
## Sorbet/ForbidUntypedStructProps
|
225
231
|
|
226
232
|
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
|
@@ -296,7 +302,7 @@ def foo(b:, a: 1); end
|
|
296
302
|
|
297
303
|
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
|
298
304
|
--- | --- | --- | --- | ---
|
299
|
-
|
305
|
+
Disabled | Yes | Yes | 0.6.0 | -
|
300
306
|
|
301
307
|
This cop ensures one ancestor per requires_ancestor line
|
302
308
|
rather than chaining them as a comma-separated list.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-sorbet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ufuk Kayserilioglu
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-03-
|
14
|
+
date: 2021-03-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|