rubocop-packs 0.0.41 → 0.0.43

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: 91926f35d00feb9edb0741acae2c7179e88e12151aeae9e046a16b218b5dca03
4
+ data.tar.gz: 82ef1061aa8ae9e617ba68caa115f88d12be041cb6986e017994c864c9939745
5
5
  SHA512:
6
- metadata.gz: 0f53c5cd2a4b42c23c3974de5cbfec3b3b13a60f9fb04f98b6417a05a5da25957d40df9084882e0d68b0f02814139f01f00fe4f9800a7b358d01efd83ed16afb
7
- data.tar.gz: b3c17fd5db8be8175aeaeed10e82c844ed5029a1ba04aca29149a44dd017d91dd7472f224a9335d4e8075674a74c7965b8f308f1e00e8d522c936a9b8d1d9ef4
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 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.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-07-26 00:00:00.000000000 Z
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