commander-openflighthpc 2.1.0 → 2.1.1

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
  SHA256:
3
- metadata.gz: 2de2c466191b2e6eec17147fa3f65c84910946e26986eac3b2b0542dc339ae6f
4
- data.tar.gz: b4e6443b1c09467439509b0661d4c43c6c7c324d62d900ed111a41431d8cc742
3
+ metadata.gz: a7fc6691e8844c97ef13db4d9b8eafca04d32920f1dd0cee917c16ad9af3d276
4
+ data.tar.gz: 17373b733f66051a671da4ae2f0137b6fc560806e0404ebeba0f392ed808ab7c
5
5
  SHA512:
6
- metadata.gz: b5c5216978964ac2a4e100cd37d89835ca432372ee57f760f1f9d940d4319c2d3579f980d0adf6bbd9ef77c8de1c6b9476f1c4ac2f0e504a89e84f53d98c1086
7
- data.tar.gz: 8b2650058b67db6b92d9ec19d924e171004019a6ddc730ed34f35144613bfd101509e45461b882e7213bcfcbd9899295cc10d32f5a2a76e24ac79b522d007ea8
6
+ metadata.gz: 5b7ba1a31614a256b4c4c61d39f4b7684ff6abdf07a75073b21284d3e62b8a9a24de4c85da756cd6063d1b88cb91a79a1cbdd8829cda3e7af30eec6f40ceb997
7
+ data.tar.gz: 811fbe363a0bb1f88f558b54bcfe1098c394da7f79219b71692b79a243733b64d1735ea3c9b6063d5c9202a7b1e0258136605574af99293a3d1e8d8fe82a2c76
@@ -71,7 +71,7 @@ module Commander
71
71
  remaining_args = global_parser.arguments
72
72
 
73
73
  # Parse the command slop options
74
- if active_command?
74
+ if active_command? && !active_command.skip_option_parsing(false)
75
75
  local_parser = Slop::Parser.new(active_command.slop)
76
76
  local_opts = local_parser.parse(remaining_args)
77
77
  remaining_args = local_parser.arguments
@@ -201,7 +201,7 @@ module Commander
201
201
 
202
202
  def valid_command_names_from(*args)
203
203
  commands.keys.find_all do |name|
204
- name if flagless_args_string =~ /^#{name}\b/
204
+ name if flagless_args_string =~ /^#{name}(?![[:graph:]])/
205
205
  end
206
206
  end
207
207
 
@@ -1,3 +1,3 @@
1
1
  module Commander
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commander-openflighthpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alces Flight Ltd