nucop 1.0.0 → 1.0.1
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 +3 -1
- data/lib/nucop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60a43ae26698ed539fb77fc3933d3ff662cd505608faa6199e9da620304a18a2
|
4
|
+
data.tar.gz: a255fad7d36bb62863b591c701ecfb42c975ed8415acf3347bdbe7b4d5477ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27f596c10a11e943dc0255751cf08c099593bb3b0bfd84c7bf64bb6ed7c2018ada52283088e5fefe495f27c3e1757b88f2e513a3fdb05c9546076936a9370817
|
7
|
+
data.tar.gz: a5c607cea7e35b761bec9c787be76e3384542d6315d45082b39a9ad4c3a6eff4b344cfbfb46e1c30d492e2f1034e095958ef8d4dce62e47c2b7586ea6f93b55f
|
data/lib/nucop/cli.rb
CHANGED
@@ -289,8 +289,10 @@ module Nucop
|
|
289
289
|
"--no-server"
|
290
290
|
]
|
291
291
|
|
292
|
-
|
292
|
+
system("rm -f #{options[:rubocop_todo_file]}")
|
293
|
+
system("touch #{options[:rubocop_todo_file]}")
|
293
294
|
|
295
|
+
rubocop_command = "DISABLE_SPRING=1 bundle exec rubocop #{rubocop_options.join(' ')} #{rubocop_gem_requires.join(' ')}"
|
294
296
|
system(rubocop_command)
|
295
297
|
|
296
298
|
# RuboCop wants to inherit from our todos (options[:rubocop_todo_file]) in our configuration file.
|
data/lib/nucop/version.rb
CHANGED