rubocop-packs 0.0.40 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +0 -4
- data/lib/rubocop/cop/packs/root_namespace_is_pack_name.rb +1 -1
- data/lib/rubocop/packs.rb +1 -2
- data/lib/rubocop-packs.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: b4f6382e017b0ace92a7e815a685b2c90ff549256b6cf4d36b036b23e868c7fa
|
4
|
+
data.tar.gz: 4582dc52dc7cec33f41cb75844b81d28e7f9927367f2ed65f9095d45fbac7ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d762ad8988ca7f914d6563d4137c1ce973c32a4bdc106090d48cbedd968f0551b6d27c64c043738458d3b6f8b84b5e338175f6368d21b67c1e8f2a05e673b6
|
7
|
+
data.tar.gz: 4d963f96941dec2398a6a28ce0e8199e9751a1fecb13d2bed33a5e0cc6679dc133188cee6984f35cc3d2487a1e24ce431a59c0d609a42337ccb8e847ebe63529
|
data/config/default.yml
CHANGED
@@ -6,19 +6,15 @@ Packs/ClassMethodsAsPublicApis:
|
|
6
6
|
- Struct
|
7
7
|
- OpenStruct
|
8
8
|
AcceptableMixins: []
|
9
|
-
FailureMode: default
|
10
9
|
|
11
10
|
Packs/RootNamespaceIsPackName:
|
12
11
|
Enabled: false
|
13
|
-
FailureMode: default
|
14
12
|
|
15
13
|
Packs/TypedPublicApis:
|
16
14
|
Enabled: false
|
17
|
-
FailureMode: default
|
18
15
|
|
19
16
|
Packs/DocumentedPublicApis:
|
20
17
|
Enabled: false
|
21
|
-
FailureMode: default
|
22
18
|
|
23
19
|
PackwerkLite/Privacy:
|
24
20
|
# It is recommended to use packwerk
|
@@ -8,7 +8,7 @@ module RuboCop
|
|
8
8
|
module Cop
|
9
9
|
module Packs
|
10
10
|
# This cop helps ensure that each pack exposes one namespace.
|
11
|
-
# Note that this cop doesn't necessarily expect you to be using
|
11
|
+
# Note that this cop doesn't necessarily expect you to be using packs-rails (https://github.com/rubyatscale/packs-rails),
|
12
12
|
# but it does expect packs to live in the organizational structure as described in the README.md of that gem.
|
13
13
|
#
|
14
14
|
# This allows packs to opt in and also prevent *other* files from sitting in their namespace.
|
data/lib/rubocop/packs.rb
CHANGED
@@ -26,8 +26,7 @@ module RuboCop
|
|
26
26
|
sig { returns(Private::Configuration) }
|
27
27
|
def self.config
|
28
28
|
Private.load_client_configuration
|
29
|
-
@config
|
30
|
-
@config ||= Private::Configuration.new
|
29
|
+
@config ||= T.let(Private::Configuration.new, T.nilable(Private::Configuration))
|
31
30
|
end
|
32
31
|
end
|
33
32
|
end
|
data/lib/rubocop-packs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-packs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusto Engineers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: packs
|
28
|
+
name: packs-specification
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|