tmb 0.0.82 → 0.0.83

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/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.82"
7
+ Version = "0.0.83"
8
8
 
9
9
  Echoe.new(App, Version) do |p|
10
10
  p.name = App
data/lib/tmb/bundles.rb CHANGED
@@ -158,6 +158,8 @@ module TM
158
158
  end
159
159
 
160
160
  def search_local(terms)
161
+ f = File.open(self.class.searchdb_file,File::RDWR|File::CREAT) unless File.exist?(self.class.searchdb_file)
162
+ f.close
161
163
  @results = @full_set = JSON.parse( File.read(@@search_file) )
162
164
  puts "#{@full_set.size} local results"
163
165
  @full_set.each_with_index do |r,i|
@@ -188,7 +190,6 @@ module TM
188
190
  end
189
191
 
190
192
  def install(repo)
191
- search_db unless self.class.searchdb?
192
193
  puts repo
193
194
  if repo.match(/^(http|git|https):.*\.git$/)
194
195
  matching_repo = TM::Bundle.new([], :repo => repo)
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.82"
5
+ s.version = "0.0.83"
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: 187
4
+ hash: 185
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 82
10
- version: 0.0.82
9
+ - 83
10
+ version: 0.0.83
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Thibault
metadata.gz.sig CHANGED
Binary file