tmbundle-manager 0.1.0.pre7 → 0.1.0.pre8

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: 85c6a1abe366d47c6d5bbda1f191872fb9c203ce
4
- data.tar.gz: caec0adb548a57884ea70f9a666ef9e72f24ce55
3
+ metadata.gz: b4c4de74999e6bafe1e42e6079757604a4922a73
4
+ data.tar.gz: 5bea867ba434d7d88bb1a63e06886940f510f489
5
5
  SHA512:
6
- metadata.gz: bc88a2c76b570b2766cc9a70a1a32a96505a7973f13605b06568d6e90463944fe7f30360ccb69c5cf722d188d003af35991ae1bb1ca879ccddf0dd0b97a3d9c5
7
- data.tar.gz: c9635bcce1cb1b1ce69d68ec0261574b054d601fa3de27c3e33455b8576e59bb99da0f6a5f1b439cdf146dcb4bc155dc99a7c75232ab632934efcc1aaad68af0
6
+ metadata.gz: b2fcdb3693c1a99436ffe6952f188e9beb9b1874ca8610b10d68dc5a798fecc3e6019cfc76736286f576cca4f1393a54f3cc0070f94ead70bdab771143f0b6f6
7
+ data.tar.gz: ba7826dbf2647df2be35c6df0b584f5b9083e98893f3f2dff8dbe0020c14e9263e5acb39b589fe4806e7c8337f583742b4365709dae673333285feee3998a0ae
data/lib/tmbundle.rb CHANGED
@@ -123,7 +123,8 @@ class TMBundle < Thor
123
123
  if matches.size > 1
124
124
  puts "please be more specific:"
125
125
  matches.each_with_index {|m,i| puts " #{i+1}) #{m.name}"}
126
- raise NotFound
126
+ print 'Type the number> '
127
+ return(matches[$stdin.gets.to_i-1] || raise(NotFound))
127
128
  end
128
129
 
129
130
  if matches.empty?
@@ -1,5 +1,5 @@
1
1
  module Tmbundle
2
2
  module Manager
3
- VERSION = '0.1.0.pre7'
3
+ VERSION = '0.1.0.pre8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmbundle-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre7
4
+ version: 0.1.0.pre8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elia Schito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-27 00:00:00.000000000 Z
11
+ date: 2014-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor