tmb 0.0.7 → 0.0.8

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.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.0.8. Fix bug that prevented installed db from being created if it didn't exist
1
2
  v0.0.7. Fix bug that prevented searchdb from being created if it didn't exist
2
3
  v0.0.6. We search ALL of the github repos now instead of just first 100
3
4
  v0.0.5. Bundles can now be installed with a full github repo path - avoid searching issues
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.7"
7
+ Version = "0.0.8"
8
8
 
9
9
  Echoe.new(App, Version) do |p|
10
10
  p.name = App
data/lib/tmb/bundle.rb CHANGED
@@ -120,7 +120,7 @@ module TM
120
120
  end
121
121
 
122
122
  def self.db(settings=nil)
123
- f = File.open(db_filename,"w+")
123
+ f = File.open(db_filename,File::RDWR|File::CREAT)
124
124
  unless settings.nil?
125
125
  parsed = settings.merge(YAML::parse( f.read ) || {})
126
126
  f.puts YAML::dump( parsed )
@@ -365,6 +365,7 @@ module TM
365
365
  puts "Bundle installed to #{destination}. \n\nReloading bundles..."
366
366
  run_script(:bundle_reload_script)
367
367
  puts "All done!"
368
+ update_db
368
369
  end
369
370
 
370
371
  end
data/tmb.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tmb}
5
- s.version = "0.0.7"
5
+ s.version = "0.0.8"
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"]
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: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Thibault
metadata.gz.sig CHANGED
Binary file