nucop 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nucop/cli.rb +3 -2
- data/lib/nucop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 253482fd2e13045bcdae4ab5cac523644f8e20129fba5f2eaab2f7517804de31
|
4
|
+
data.tar.gz: 05b4f1e44edcd258a9558585336734ed949ded43d9e3adcded7b8c0de572b6c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d13e3b6cd4bee57edb965b8e814df50259edcc5295464fd5ff1b7dd72a29ae1747acba9580bd43306aab3b631d155431de5a133e0778282ce7dc67ebce5f6554
|
7
|
+
data.tar.gz: 48264a61bbd629d90465f1f13e6feac98b955fefec7ef6eb24929a2425f0f9696a63bb069a99772d963bac03dd74acef287de8ddb7a67b3b589e6833a7ee26f0
|
data/lib/nucop/cli.rb
CHANGED
@@ -14,7 +14,7 @@ module Nucop
|
|
14
14
|
def load_custom_options
|
15
15
|
@_load_custom_options ||=
|
16
16
|
if File.exist?(CONFIGURATION_FILEPATH)
|
17
|
-
default_configuration.merge(YAML.load_file(CONFIGURATION_FILEPATH))
|
17
|
+
default_configuration.merge(YAML.load_file(CONFIGURATION_FILEPATH, symbolize_names: true))
|
18
18
|
else
|
19
19
|
default_configuration
|
20
20
|
end
|
@@ -147,6 +147,7 @@ module Nucop
|
|
147
147
|
.filter { |file_data| diff_filter.call(file_data["status"]) }
|
148
148
|
.map { |file_data| file_data["filename"] }
|
149
149
|
.filter { |file_name| file_name.include?(".rb") }
|
150
|
+
.join("\n")
|
150
151
|
|
151
152
|
if files.empty?
|
152
153
|
if options[:exit]
|
@@ -159,7 +160,7 @@ module Nucop
|
|
159
160
|
end
|
160
161
|
|
161
162
|
if options[:ignore] && File.exist?(options[:diffignore_file]) && !File.empty?(options[:diffignore_file])
|
162
|
-
files, non_ignored_diff_status = Open3.capture2("grep -v -f #{options[:diffignore_file]}", stdin_data: files
|
163
|
+
files, non_ignored_diff_status = Open3.capture2("grep -v -f #{options[:diffignore_file]}", stdin_data: files)
|
163
164
|
|
164
165
|
if non_ignored_diff_status != 0
|
165
166
|
if options[:exit]
|
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.12.
|
4
|
+
version: 0.12.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-10-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|