tmbundle-manager 0.1.0.pre6 → 0.1.0.pre7

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: ff1d6532d04ddcc46f5e777e28188a33c8f34a19
4
- data.tar.gz: e39249385b83b5becfb429cc9fbc6cd9042907c5
3
+ metadata.gz: 85c6a1abe366d47c6d5bbda1f191872fb9c203ce
4
+ data.tar.gz: caec0adb548a57884ea70f9a666ef9e72f24ce55
5
5
  SHA512:
6
- metadata.gz: ee43092f009f6d259bde4a38cfe330944e367b0eb323c07e03facbed472721ba1282f87202daf944181ab6fa5109db76eb819d9c0e2e6258df0c664e84711d72
7
- data.tar.gz: 9fe2d5f48c48065ff0c741f3320f4d07b72f8cdb8a77a82d4e0baf0dd760d1a8d748d3a5b159eb6188b2b1d65ab47626b83976bf9b4b3ce121379be5515c7391
6
+ metadata.gz: bc88a2c76b570b2766cc9a70a1a32a96505a7973f13605b06568d6e90463944fe7f30360ccb69c5cf722d188d003af35991ae1bb1ca879ccddf0dd0b97a3d9c5
7
+ data.tar.gz: c9635bcce1cb1b1ce69d68ec0261574b054d601fa3de27c3e33455b8576e59bb99da0f6a5f1b439cdf146dcb4bc155dc99a7c75232ab632934efcc1aaad68af0
@@ -1,5 +1,5 @@
1
1
  module Tmbundle
2
2
  module Manager
3
- VERSION = '0.1.0.pre6'
3
+ VERSION = '0.1.0.pre7'
4
4
  end
5
5
  end
data/lib/tmbundle.rb CHANGED
@@ -11,8 +11,11 @@ class TMBundle < Thor
11
11
  return false
12
12
  end
13
13
 
14
- desc 'update', 'Update installed bundles'
15
- def update
14
+ desc 'update [PARTIAL_NAME]', 'Update installed bundles'
15
+ def update(partial_name = nil)
16
+ bundle = find_bundle(partial_name) if partial_name
17
+ bundles_to_update = bundle ? [bundle] : installed_bundles
18
+
16
19
  require 'thread'
17
20
  signals = Queue.new
18
21
  trap('INT') { signals << :int }
@@ -21,7 +24,7 @@ class TMBundle < Thor
21
24
  skipped = []
22
25
  errored = []
23
26
 
24
- installed_bundles[0..4].each do |bundle|
27
+ bundles_to_update.each do |bundle|
25
28
  within bundle do
26
29
  if not(File.exist?('./.git'))
27
30
  puts "------> Skipping #{bundle.name} (not a Git repo, delta bundle?)"
metadata CHANGED
@@ -1,86 +1,86 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmbundle-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre6
4
+ version: 0.1.0.pre7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elia Schito
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
15
  requirement: !ruby/object:Gem::Requirement
21
16
  requirements:
22
- - - '>='
17
+ - - ">="
23
18
  - !ruby/object:Gem::Version
24
19
  version: '0'
25
- prerelease: false
26
20
  type: :runtime
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
21
+ prerelease: false
29
22
  version_requirements: !ruby/object:Gem::Requirement
30
23
  requirements:
31
- - - ~>
24
+ - - ">="
32
25
  - !ruby/object:Gem::Version
33
- version: '1.6'
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
34
29
  requirement: !ruby/object:Gem::Requirement
35
30
  requirements:
36
- - - ~>
31
+ - - "~>"
37
32
  - !ruby/object:Gem::Version
38
33
  version: '1.6'
39
- prerelease: false
40
34
  type: :development
41
- - !ruby/object:Gem::Dependency
42
- name: rake
35
+ prerelease: false
43
36
  version_requirements: !ruby/object:Gem::Requirement
44
37
  requirements:
45
- - - '>='
38
+ - - "~>"
46
39
  - !ruby/object:Gem::Version
47
- version: '0'
40
+ version: '1.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
44
  requirements:
50
- - - '>='
45
+ - - ">="
51
46
  - !ruby/object:Gem::Version
52
47
  version: '0'
53
- prerelease: false
54
48
  type: :development
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
49
+ prerelease: false
57
50
  version_requirements: !ruby/object:Gem::Requirement
58
51
  requirements:
59
- - - '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
62
57
  requirement: !ruby/object:Gem::Requirement
63
58
  requirements:
64
- - - '>='
59
+ - - ">="
65
60
  - !ruby/object:Gem::Version
66
61
  version: '0'
67
- prerelease: false
68
62
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- name: spectator
63
+ prerelease: false
71
64
  version_requirements: !ruby/object:Gem::Requirement
72
65
  requirements:
73
- - - ~>
66
+ - - ">="
74
67
  - !ruby/object:Gem::Version
75
- version: '1.3'
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: spectator
76
71
  requirement: !ruby/object:Gem::Requirement
77
72
  requirements:
78
- - - ~>
73
+ - - "~>"
79
74
  - !ruby/object:Gem::Version
80
75
  version: '1.3'
81
- prerelease: false
82
76
  type: :development
83
- description:
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ description:
84
84
  email:
85
85
  - elia@schito.me
86
86
  executables:
@@ -88,9 +88,9 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - .gitignore
92
- - .rspec
93
- - .travis.yml
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".travis.yml"
94
94
  - Gemfile
95
95
  - LICENSE.txt
96
96
  - README.md
@@ -109,24 +109,24 @@ homepage: ''
109
109
  licenses:
110
110
  - MIT
111
111
  metadata: {}
112
- post_install_message:
112
+ post_install_message:
113
113
  rdoc_options: []
114
114
  require_paths:
115
115
  - lib
116
116
  required_ruby_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - '>='
118
+ - - ">="
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>'
123
+ - - ">"
124
124
  - !ruby/object:Gem::Version
125
125
  version: 1.3.1
126
126
  requirements: []
127
- rubyforge_project:
128
- rubygems_version: 2.2.2
129
- signing_key:
127
+ rubyforge_project:
128
+ rubygems_version: 2.3.0
129
+ signing_key:
130
130
  specification_version: 4
131
131
  summary: TextMate 2 Bundle/Package Manager
132
132
  test_files: