rubocop-packs 0.0.41 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- 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 +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91926f35d00feb9edb0741acae2c7179e88e12151aeae9e046a16b218b5dca03
|
4
|
+
data.tar.gz: 82ef1061aa8ae9e617ba68caa115f88d12be041cb6986e017994c864c9939745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 016c26bb3230f63ccdc4836c772e567010ca5f7a3f5adb193d013719219a9fe725c8f4eee6a066f0d6723570188b0b789f6785e0b6f5b74b7e9ad1ad8fcba7d1
|
7
|
+
data.tar.gz: 10d27586347541cab8a81aca534df4890901ce38f7d7362b67e866775b96a2b658a8e812e2b07350c9e28cf0817b37aea26f7848f79ece7083944af042ae3c4d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# rubocop-packs
|
2
2
|
|
3
|
-
A collection of Rubocop rules for modularizing ruby applications that conform to the `packs` standard.
|
3
|
+
A collection of Rubocop rules for modularizing ruby applications that conform to the [`packs`](https://github.com/rubyatscale/packs) standard.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -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.43
|
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-21 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
|
- - ">="
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
61
|
+
version: '1.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
68
|
+
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-sorbet
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|