tmb 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.0.7. Fix bug that prevented searchdb from being created if it didn't exist
1
2
  v0.0.6. We search ALL of the github repos now instead of just first 100
2
3
  v0.0.5. Bundles can now be installed with a full github repo path - avoid searching issues
3
4
  v0.0.4. Totally doing this wrong - Gem should be signed now
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'echoe'
4
4
  #Echoe.new(File.basename(File.dirname(__FILE__)))
5
5
 
6
6
  App = "tmb"
7
- Version = "0.0.6"
7
+ Version = "0.0.7"
8
8
 
9
9
  Echoe.new(App, Version) do |p|
10
10
  p.name = App
data/lib/tmb/bundle.rb CHANGED
@@ -199,8 +199,6 @@ module TM
199
199
  ].compact.reject{|s| s.strip == "" }.join
200
200
  end
201
201
 
202
-
203
-
204
202
  def display_value(key, options={})
205
203
  display_keypair(key, options)
206
204
  end
@@ -271,7 +269,6 @@ module TM
271
269
  eos
272
270
  end
273
271
 
274
-
275
272
  def git_install_script
276
273
  <<-eos
277
274
  #{common_install_script}
@@ -370,7 +367,6 @@ module TM
370
367
  puts "All done!"
371
368
  end
372
369
 
373
-
374
370
  end
375
371
  end
376
372
 
data/lib/tmb/bundles.rb CHANGED
@@ -21,7 +21,7 @@ module TM
21
21
  end
22
22
 
23
23
  def search_db(new_entries=nil)
24
- f = File.open(self.class.searchdb_file,"w+")
24
+ f = File.open(self.class.searchdb_file,File::RDWR|File::CREAT)
25
25
  file_contents = f.read
26
26
  if new_entries
27
27
 
data/lib/tmb.rb CHANGED
@@ -6,13 +6,10 @@ require 'yaml'
6
6
 
7
7
  module TMB
8
8
 
9
-
10
9
  ROOT = File.expand_path( File.join( File.dirname(__FILE__), ".."))
11
10
 
12
-
13
11
  class << self
14
12
 
15
-
16
13
  def require_lib(*paths)
17
14
  paths.each do |path|
18
15
  path = File.join([ ROOT, "lib", "tmb", path.to_s + ".rb" ].flatten)
data/tmb.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tmb}
5
- s.version = "0.0.6"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Thibault"]
9
9
  s.cert_chain = ["/Users/jvthibault/.gem/gem-public_cert.pem"]
10
- s.date = %q{2011-03-28}
10
+ s.date = %q{2011-04-29}
11
11
  s.default_executable = %q{tmb}
12
12
  s.description = %q{tmb provides a command line interface to manage your textmate bundles, allowing you to search for new bundles on github, install them, and uninstall existing local bundles.}
13
13
  s.email = %q{jvthibault@gmail.com}
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Thibault
@@ -36,7 +36,7 @@ cert_chain:
36
36
  qKZc+z33GcN0Zg==
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-03-28 00:00:00 -07:00
39
+ date: 2011-04-29 00:00:00 -07:00
40
40
  default_executable:
41
41
  dependencies: []
42
42
 
metadata.gz.sig CHANGED
Binary file