rubocop-vendor 0.9.0 → 0.9.2

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: e0a0ab973af3d0686d5569926ca7f0187c7e2d0f99d07c1d120dc5b5d66fdc27
4
- data.tar.gz: a0ccd57f7940618b66cb39577e1ad253b779b0596fe86fd29aa27306e7ba8a3f
3
+ metadata.gz: 3aaeec03267633acaabb79d26b67a746cbf6f6c948caf17a23d09f849c848e28
4
+ data.tar.gz: ae8181215d4429dc949c8be90b2bed61edc6537a5594d303abf464609cc6020a
5
5
  SHA512:
6
- metadata.gz: '0897ba86f964e4ce2d3e6b2713b10cda03630136b24f8d4ab2dddd0bceae011917b2af9fc145386cefd77dd310e4c6c61d31ae5bb73b99ba2776d539aaa5c0ee'
7
- data.tar.gz: 9cab6bf36f9ad72bd1ce1c298bf341759439d719b56b842751a1694863cc7e2adb598bad348ab0f6a590564a38cdd9af800e927695d5715198b9aaea53e1f7da
6
+ metadata.gz: ab196d519384425d33f216d7d62c92f3d0f78a57784375ffebb920810cb40ad4e0120c1bdd9a82e0ac6192697b7e93ae0d0c4ce6866f1f945eefc35be184fd85
7
+ data.tar.gz: 5cd67595559509195643f091ef0ee35cde3e67b9b11e128360cbd76e6d0c087b568efe3055fc78a5b61aff7ab0726cb5ad6fb4da8ef246960896a22f8b0218dc
@@ -22,6 +22,7 @@ module RuboCop
22
22
 
23
23
  def on_const(node)
24
24
  return unless uses_dry_struct?(node)
25
+ return unless node.parent.class_type?
25
26
  return if uses_strict_mode?(node.parent)
26
27
 
27
28
  add_offense(node)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Vendor
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-vendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Cabello
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-03-14 00:00:00.000000000 Z
13
+ date: 2023-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop
@@ -113,14 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '2.7'
116
+ version: '3.0'
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.1.6
123
+ rubygems_version: 3.2.33
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Automatic vendor integration checking tool for Ruby code.