rubocop-packs 0.0.44 → 0.0.45

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: acebfcad6627501dd5f15cb7e64479fe2988d3cc67aeacf798776e7242fd8889
4
- data.tar.gz: 982e5aba43fe7b523f0ba08686a2fb1f09b2710a175f58c6e556c63f3d57e5c7
3
+ metadata.gz: 7697cef47d3e7da05b21e74efca28cbe80b3a7baeabf48675ceba6fe1e0c394f
4
+ data.tar.gz: 25b5b3d3d20f5d621cae515533e26ba668df308dad2c3b0cfd0fac14f4a4ffb7
5
5
  SHA512:
6
- metadata.gz: c8b973fb212bfaf7bd05c7eaff556317334d2f4e690ee09b1a0943eef500f585757fb4037681e0d9d818f4addeb6c9a6265647b9608a28bd1d15a3cc46b8d24f
7
- data.tar.gz: eb7ffe4a3aea12f57f0b95b56b5d443ef96bff6ec511fcaff0c52ad0c616cbf8420b508408d94deb8184146c74f32c1789e1db083727c59a5a8db7540f581d21
6
+ metadata.gz: 2660e307e4541b438d4d76a79a7a19d054564bc6aba6e33b3b438f4193efeac2498e7125d40be6eea6ba51df939388531d24e5c161f233f3cd87cca8dbf6265d
7
+ data.tar.gz: e44adb56e5e53f1148b3949f7c870f80a17d9613d0a3f60938b08386b2990accea3300b59d6b3753f0ce1c9e56613539288f32d6eb98fe657eb38182bd6aefb4
@@ -39,7 +39,7 @@ module RuboCop
39
39
  sig { params(node: T.untyped).void }
40
40
  def on_def(node)
41
41
  # This cop only applies for ruby files in `app/public`
42
- return if !processed_source.file_path.include?('app/public')
42
+ return if !processed_source.file_path.include?('app/public/')
43
43
 
44
44
  # Looked at https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/MissingSuper source code as inspiration for htis part.
45
45
  class_node = node.each_ancestor(:class).first
@@ -34,8 +34,8 @@ module RuboCop
34
34
  #
35
35
  extend T::Sig
36
36
 
37
- sig { params(processed_source: T.untyped).void }
38
- def investigate(processed_source)
37
+ sig { void }
38
+ def on_new_investigation
39
39
  return unless processed_source.path.include?('app/public')
40
40
 
41
41
  super
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.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-03 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -24,6 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: base64
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bigdecimal
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: packs-specification
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +100,14 @@ dependencies:
72
100
  requirements:
73
101
  - - ">="
74
102
  - !ruby/object:Gem::Version
75
- version: '0'
103
+ version: 0.8.4
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - ">="
81
109
  - !ruby/object:Gem::Version
82
- version: '0'
110
+ version: 0.8.4
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: sorbet-runtime
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -225,7 +253,7 @@ metadata:
225
253
  source_code_uri: https://github.com/rubyatscale/rubocop-packs
226
254
  changelog_uri: https://github.com/rubyatscale/rubocop-packs/releases
227
255
  allowed_push_host: https://rubygems.org
228
- post_install_message:
256
+ post_install_message:
229
257
  rdoc_options: []
230
258
  require_paths:
231
259
  - lib
@@ -240,8 +268,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
268
  - !ruby/object:Gem::Version
241
269
  version: '0'
242
270
  requirements: []
243
- rubygems_version: 3.1.6
244
- signing_key:
271
+ rubygems_version: 3.5.16
272
+ signing_key:
245
273
  specification_version: 4
246
274
  summary: A collection of Rubocop rules for gradually modularizing a ruby codebase
247
275
  test_files: []