nucop 0.11.1 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 957aed91fcda974f755014f939640d68c6a386b9c6a8df9ffb10a663302d3b6f
4
- data.tar.gz: 532a3c3d3fd5b3814243fe9b71440e0ea37ba7e55b705f3c9dfe2a7a6190660b
3
+ metadata.gz: 6c67299dc604fd3e4c1209c9022caf447a6c5db74234a25d2f9ae241d2f82288
4
+ data.tar.gz: 272faf7c4752237c6a09ea5db531093d68307c3db56d09d8506203a9f7ba1306
5
5
  SHA512:
6
- metadata.gz: 952c7cddb1ab8bfb14e9fc9fb7d99058d21c5e77fc95317c45bc593771b89fee3464a966d8eaec00c076f4dbf372eeab6d4cd79093de2a495b45ae25a9094a44
7
- data.tar.gz: 875d3e24c5347da87979e8c92f6abf9e7b96323c61e2025b46df6cc3378530a690f4c6c951dbd841e274fa27ba42c26f71a918846655609d08befe34ef92dac3
6
+ metadata.gz: aaff778e37e2977ee671f2c8e14179ac29da111aa717888fed5226390eb95dfb9479538dcf55d94229689bcfc5dcf7bbddd045aa1db075c80f5ed422a4aaeffb
7
+ data.tar.gz: 27a7c12de9da357908a74586c13b31f07e32b547d29388317f45864c2a7c7add8e32543de20f7eda92fc314338ac33094df63b3fe37c70354b3621dbb472407c
data/lib/nucop/cli.rb CHANGED
@@ -353,12 +353,12 @@ module Nucop
353
353
  .map(&:first)
354
354
  end
355
355
 
356
- # Override Thor's options method to include Nucop's options
357
- def options
358
- return @_options if defined?(@_options)
356
+ # Override Thor's method_options method to include Nucop's options
357
+ def method_options
358
+ return @_method_options if defined?(@_method_options)
359
359
 
360
360
  original_options = super
361
- @_options = Thor::CoreExt::HashWithIndifferentAccess.new(
361
+ @_method_options = Thor::CoreExt::HashWithIndifferentAccess.new(
362
362
  configuration_options.merge(original_options)
363
363
  )
364
364
  end
@@ -5,7 +5,7 @@ module Nucop
5
5
  class JUnitFormatter < ::RuboCop::Formatter::BaseFormatter
6
6
  # This gives all cops - we really want all _enabled_ cops, but
7
7
  # that is difficult to obtain - no access to config object here.
8
- COPS = RuboCop::Cop::Cop.all
8
+ COPS = RuboCop::Cop::Registry.all
9
9
 
10
10
  def started(_target_file)
11
11
  @document = REXML::Document.new.tap do |d|
data/lib/nucop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nucop
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nucop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Schweier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.5.10
272
+ rubygems_version: 3.4.19
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: Nulogy's implementation of RuboCop, including custom cops and additional