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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cb49cbf02f0c92ad60cc2753d1772ecf133e19a
4
- data.tar.gz: 2005d211c05f830d4c05357a3dc8d1127524f430
3
+ metadata.gz: 48ecfda67aa083e95049d8ce6d8cfe66fa5ebfad
4
+ data.tar.gz: 15efff1c5ecd02932ddafe5b1210d6cc2c92f27d
5
5
  SHA512:
6
- metadata.gz: cf62125edbdefc6f08634777e43f8528a912b42c16d1a15b8d425774c1eaa1b2f356a3594dee523ad0411db67ccb6cfb5da793548217a8f488d2c2a452f32be9
7
- data.tar.gz: bce12f794586e98e3062f2f39d88151f1b5987c45c21009a54a83d90791285921fc2d3551c6d12d695c881b67cb70580aacc8770a925a6b9ad94e6cd112805e9
6
+ metadata.gz: aa84f314b8127b315ced9f9783de9ff17b236ce76dcf893a8751861cfb0959fbde50a8caedf1ab94eb5593f304db35b3d80b11707bfe1a35a7a9dabeb9398a1f
7
+ data.tar.gz: 5e87cf761d6220e9e76b3344ae090bc1c77b285fb30f923b83b287bc7c177810e68b6fc72676f01b591220197a07b95eea5520ab45627ed3ca6f2c5896251044
@@ -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] && args[arg_index + 1].start_with?('-')
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]]
@@ -1,3 +1,3 @@
1
1
  module RuboCopter
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocopter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Basset