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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17defa98a11d3caa88807cae3f453ada518673b40f5995c95080a5625fadee25
4
- data.tar.gz: 7f1a52fe63b4991297bb5061ce6151d0aa76c6167e9f4211a4858ef782756930
3
+ metadata.gz: b4f6382e017b0ace92a7e815a685b2c90ff549256b6cf4d36b036b23e868c7fa
4
+ data.tar.gz: 4582dc52dc7cec33f41cb75844b81d28e7f9927367f2ed65f9095d45fbac7ded
5
5
  SHA512:
6
- metadata.gz: 4b618d55a754985965bf3bc0b21d6810d35f0f9adb5283504be3560096842cbecdcf5ccc78b2ab42dee90a68d8ef345cf36ce15d4a3866dbd7e42219029ea144
7
- data.tar.gz: 17d8709a6ef3103535269977bea8ebb16bd6436d009cb12925ec3bc2d169ab9716ef0c75be8d20f94785914243b73ca15b1cacc07f57edbaccf72e3d35d11530
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 stimpack (https://github.com/rubyatscale/stimpack),
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 = T.let(@config, T.nilable(Private::Configuration))
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
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require 'rubocop'
5
- require 'packs'
5
+ require 'packs-specification'
6
6
 
7
7
  require_relative 'rubocop/packs'
8
8
  require_relative 'rubocop/packs/inject'
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.40
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-07-24 00:00:00.000000000 Z
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
  - - ">="