micro-optparse 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ class Parser
26
26
  opt = @options.find_all{ |o| o[0] == key }.first
27
27
  key = "--" << key.to_s.gsub("_", "-")
28
28
  unless opt[2][:value_in_set].nil? || opt[2][:value_in_set].include?(value)
29
- puts "Parameter for #{key} must be in [" << opt[2][:value_in_set].join(",") << "]" ; exit(1)
29
+ puts "Parameter for #{key} must be in [" << opt[2][:value_in_set].join(", ") << "]" ; exit(1)
30
30
  end
31
31
  unless opt[2][:value_matches].nil? || opt[2][:value_matches] =~ value
32
32
  puts "Parameter for #{key} must match /" << opt[2][:value_matches].source << "/" ; exit(1)
@@ -1,5 +1,5 @@
1
1
  module Micro
2
2
  module Optparse
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: micro-optparse
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Florian Pilz