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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e0aff98c220979881dd8ed739d626d9eb20713733126374a4a5a3221504d416
4
- data.tar.gz: 66e46df2c63d59ca390edcfc2478467bb0c56b659009e5484ca7275c30f36b45
3
+ metadata.gz: b80b70b68c03033dcda68e2661cba6ccbe10c647618cbf6068175c635288f7e4
4
+ data.tar.gz: 794956ee0b9ca5301f680fd79d3d414551284bce1f8dc218e1980da204b13689
5
5
  SHA512:
6
- metadata.gz: fc247fceacb30871f63f3172d181a93d2775b57674ded60539615435e04ccdf95480047b5450784e689de1a42980b4cddb661214b7177645a33e50aef06fd765
7
- data.tar.gz: 170d0f7f005f94412839046bd959420364f86c0fb5d668a58c4ab65c80b6a6fe55d7a054e3e356b03e56b070e8fec076cfec03df76f38de856046baae9802a71
6
+ metadata.gz: d5f81c72e557eb0888383137198f6138a52b9e043e4d2e02857419658a34407cf90bf08d4fc662fdd4ac9b0c10771aa79876dce08ded2ca61a8b2bea0561dad3
7
+ data.tar.gz: 5f8926ae82a56c9edf3fde4552d3ef84b942dbb1f317ecf603ac32b39fc08acc1bef5d8ed459ab28513b667ed901617510a72a3bf34cf8ea7b4d2ffba1ab982a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-sorbet (0.6.0)
4
+ rubocop-sorbet (0.6.1)
5
5
  rubocop
6
6
 
7
7
  GEM
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.5.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/OnedAncestorPerLine:
104
+ Sorbet/OneAncestorPerLine:
103
105
  Description: 'Enforces one ancestor per call to requires_ancestor'
104
106
  Enabled: false
105
107
  VersionAdded: '0.6.0'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module RuboCop
3
3
  module Sorbet
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
6
6
  end
@@ -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.5.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
- Enabled | Yes | Yes | - | -
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.0
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-12 00:00:00.000000000 Z
14
+ date: 2021-03-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec