rubocop-packs 0.0.41 → 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: cbc3a1521c8e2f461543c85b73db1ff0dbe3e70b20a2c4903a224b2f4f8daa7e
4
- data.tar.gz: bb5f0503a0fe53fdb20eaaeeb64092916a19338e0d4755ebb2bafe1ef997fe41
3
+ metadata.gz: b4f6382e017b0ace92a7e815a685b2c90ff549256b6cf4d36b036b23e868c7fa
4
+ data.tar.gz: 4582dc52dc7cec33f41cb75844b81d28e7f9927367f2ed65f9095d45fbac7ded
5
5
  SHA512:
6
- metadata.gz: 0f53c5cd2a4b42c23c3974de5cbfec3b3b13a60f9fb04f98b6417a05a5da25957d40df9084882e0d68b0f02814139f01f00fe4f9800a7b358d01efd83ed16afb
7
- data.tar.gz: b3c17fd5db8be8175aeaeed10e82c844ed5029a1ba04aca29149a44dd017d91dd7472f224a9335d4e8075674a74c7965b8f308f1e00e8d522c936a9b8d1d9ef4
6
+ metadata.gz: 78d762ad8988ca7f914d6563d4137c1ce973c32a4bdc106090d48cbedd968f0551b6d27c64c043738458d3b6f8b84b5e338175f6368d21b67c1e8f2a05e673b6
7
+ data.tar.gz: 4d963f96941dec2398a6a28ce0e8199e9751a1fecb13d2bed33a5e0cc6679dc133188cee6984f35cc3d2487a1e24ce431a59c0d609a42337ccb8e847ebe63529
@@ -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.41
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-26 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
  - - ">="