rubocopter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocopter/cli.rb +1 -1
- data/lib/rubocopter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48ecfda67aa083e95049d8ce6d8cfe66fa5ebfad
|
4
|
+
data.tar.gz: 15efff1c5ecd02932ddafe5b1210d6cc2c92f27d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa84f314b8127b315ced9f9783de9ff17b236ce76dcf893a8751861cfb0959fbde50a8caedf1ab94eb5593f304db35b3d80b11707bfe1a35a7a9dabeb9398a1f
|
7
|
+
data.tar.gz: 5e87cf761d6220e9e76b3344ae090bc1c77b285fb30f923b83b287bc7c177810e68b6fc72676f01b591220197a07b95eea5520ab45627ed3ca6f2c5896251044
|
data/lib/rubocopter/cli.rb
CHANGED
@@ -120,7 +120,7 @@ class RuboCopter::CLI
|
|
120
120
|
rescue OptionParser::InvalidOption => e
|
121
121
|
remaining_args = e.args.map do |arg|
|
122
122
|
arg_index = args.index(arg)
|
123
|
-
if args[arg_index + 1]
|
123
|
+
if args[arg_index + 1].nil? || args[arg_index + 1].start_with?('-')
|
124
124
|
args[arg_index]
|
125
125
|
else
|
126
126
|
[args[arg_index], args[arg_index + 1]]
|
data/lib/rubocopter/version.rb
CHANGED