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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b38ad93af07976686fd384603ddda3365cbbee71
4
- data.tar.gz: ad8ae18e6339375c6fdef4dafa18a854f1b4bc8a
3
+ metadata.gz: 6cb49cbf02f0c92ad60cc2753d1772ecf133e19a
4
+ data.tar.gz: 2005d211c05f830d4c05357a3dc8d1127524f430
5
5
  SHA512:
6
- metadata.gz: 82b64f29873a98e07fc5fd6815004f52b99f0d8b129dc7ef5a1885fb44cac04463888f193f3dc4a50385371b6e6afcbb8a322413d86510f278fd624fb779265f
7
- data.tar.gz: 370d372f2dde4a5bbb0d93c3b99b287a090528d2663a0d03e122b2f1941511fe5420e36d4ce195f515604b93e72e0284d00d2df15fad04990214c5789c058f42
6
+ metadata.gz: cf62125edbdefc6f08634777e43f8528a912b42c16d1a15b8d425774c1eaa1b2f356a3594dee523ad0411db67ccb6cfb5da793548217a8f488d2c2a452f32be9
7
+ data.tar.gz: bce12f794586e98e3062f2f39d88151f1b5987c45c21009a54a83d90791285921fc2d3551c6d12d695c881b67cb70580aacc8770a925a6b9ad94e6cd112805e9
@@ -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]]
@@ -1,3 +1,3 @@
1
1
  module RuboCopter
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
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.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-01 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop