tmb 0.0.88 → 0.0.89

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.88"
7
+ Version = "0.0.89"
8
8
 
9
9
  Echoe.new(App, Version) do |p|
10
10
  p.name = App
@@ -158,8 +158,10 @@ 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
+ unless File.exist?(self.class.searchdb_file)
162
+ f = File.open(self.class.searchdb_file,File::RDWR|File::CREAT)
163
+ f.close
164
+ end
163
165
  @results = @full_set = JSON.parse( File.read(@@search_file) )
164
166
  puts "#{@full_set.size} local results"
165
167
  @full_set.each_with_index do |r,i|
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tmb}
5
- s.version = "0.0.88"
5
+ s.version = "0.0.89"
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: 175
4
+ hash: 173
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 88
10
- version: 0.0.88
9
+ - 89
10
+ version: 0.0.89
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Thibault
metadata.gz.sig CHANGED
@@ -1,5 +1,2 @@
1
- ���X���[�e|q%z;�|MT������Ӛ�}��I{��fv^|���3�VQIZ�)$�j3X�
2
- IM�:���.
3
- ���jF:$k�!�'#���c��V
4
- F���m��e ��{�G
5
- ��v���P��v�.io��#l����N���T����{D�W:�Cu��Ox#4fI��2 �GofD�kM�X��H�o��Sp=��o=��qA��˰`�K�L���(�-t���{[��ԣ��r�p�#���ā$�ŕ��)
1
+ ����C
2
+ &�q�*��(r6��7,�0!da&�Z�w,P#�b��u"