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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6192a0143be968a6388eb8b0fe1947ab5fd804db1d27fcf4a1b111b609f949ec
4
- data.tar.gz: 93a3970de6124eb6694a41c5a7bfa3f21011330971a49f796f133bf7723b721a
3
+ metadata.gz: 8d42d5b973bc5457bf2568e6331419442d0681c7d13d8bbe6a2b5019c4fbfe81
4
+ data.tar.gz: 2f666761eda2b0da67f27826b68802eee416a20f6f9dc5701e8a3337099d05de
5
5
  SHA512:
6
- metadata.gz: a51dafe658b91c3995dac0e27cc4227151feb3386fe2505bd83d1a3bb5709ac521c892e241c9f3ec80962c96898924c97ad70143611f53b10bc2539ce38ad2bd
7
- data.tar.gz: 7c95a181e368e35140594dbe483e3be8aa96bc2a282f678e79463459ca2d3ab40e7967f84ebbd9b2f2e57905b0d5ca0da628a1fe4cab981cebe1f1b68a916954
6
+ metadata.gz: 7fb141b4d66f917a243f973c37a5d642432439875c91f00007a1defdfebfe4ee12f2db5c71b9048b4923f3212c85b83c4674829819f6c30ebf2c82aee452fbe9
7
+ data.tar.gz: 600ed64a26b241db95deb41760d3ff7c541b7044fed583d1e2e8d4d8819576ae801f7c5a7d17a82c64b1c14a4bf43a9607ee845bf5f425cea9479497c8c41b56
@@ -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
@@ -1,3 +1,3 @@
1
1
  module MisterBin
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
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.0
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-26 00:00:00.000000000 Z
11
+ date: 2018-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole