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 +4 -4
- data/lib/nucop/cli.rb +4 -4
- data/lib/nucop/formatters/junit_formatter.rb +1 -1
- data/lib/nucop/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c67299dc604fd3e4c1209c9022caf447a6c5db74234a25d2f9ae241d2f82288
|
4
|
+
data.tar.gz: 272faf7c4752237c6a09ea5db531093d68307c3db56d09d8506203a9f7ba1306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
357
|
-
def
|
358
|
-
return @
|
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
|
-
@
|
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::
|
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
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.
|
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-
|
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.
|
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
|