mister_bin 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mister_bin/runner.rb +1 -1
- data/lib/mister_bin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d42d5b973bc5457bf2568e6331419442d0681c7d13d8bbe6a2b5019c4fbfe81
|
4
|
+
data.tar.gz: 2f666761eda2b0da67f27826b68802eee416a20f6f9dc5701e8a3337099d05de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb141b4d66f917a243f973c37a5d642432439875c91f00007a1defdfebfe4ee12f2db5c71b9048b4923f3212c85b83c4674829819f6c30ebf2c82aee452fbe9
|
7
|
+
data.tar.gz: 600ed64a26b241db95deb41760d3ff7c541b7044fed583d1e2e8d4d8819576ae801f7c5a7d17a82c64b1c14a4bf43a9607ee845bf5f425cea9479497c8c41b56
|
data/lib/mister_bin/runner.rb
CHANGED
@@ -50,7 +50,7 @@ module MisterBin
|
|
50
50
|
|
51
51
|
def find_command(argv)
|
52
52
|
argv_line = argv.join ' '
|
53
|
-
candidates = commands.keys.select { |c| argv_line =~ /^#{c}/ }
|
53
|
+
candidates = commands.keys.select { |c| argv_line =~ /^#{c}\b/ }
|
54
54
|
candidate = candidates.first
|
55
55
|
candidate ? commands[candidate] : nil
|
56
56
|
end
|
data/lib/mister_bin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mister_bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|