rubocopter 0.1.1 → 0.1.2
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cb49cbf02f0c92ad60cc2753d1772ecf133e19a
|
4
|
+
data.tar.gz: 2005d211c05f830d4c05357a3dc8d1127524f430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf62125edbdefc6f08634777e43f8528a912b42c16d1a15b8d425774c1eaa1b2f356a3594dee523ad0411db67ccb6cfb5da793548217a8f488d2c2a452f32be9
|
7
|
+
data.tar.gz: bce12f794586e98e3062f2f39d88151f1b5987c45c21009a54a83d90791285921fc2d3551c6d12d695c881b67cb70580aacc8770a925a6b9ad94e6cd112805e9
|
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].start_with?('-')
|
123
|
+
if args[arg_index + 1] && 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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocopter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Basset
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|