tmb 0.0.81 → 0.0.82

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
@@ -1,3 +1,2 @@
1
- ��Y��sxXV2YW~=��ᣲwF
2
- NG��J/�v�oN��=��uX�_�bm���<S7z��h��{i�u�KI��@�����H���Q�,�
3
- ]_���1��-,�.��9i���l��������Hj��d��%e,Kq�a�
1
+ w����}��0��d $u?��(��¢�ss�ۡ�I1YT�ԯs(HaM3-�Zuі۳�!��_���
2
+ �Ӓz�ݰ�XV7M��AL�N\>}�����R��A0���� iF�~��Y����h^��u��<�d�?$V��^gKL���
4
- � �J�ĭ5D�΃���=����_�U)_��ud? -z�Y=��dQs��[p>f���3�JMa�8e�/ c��ѨI���`:nƦ�xKXi�,|=g!%�L
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.0.82. Force search to run if searchdb doesnt exist yet
1
2
  v0.0.81. Forced update
2
3
  v0.0.8. Fix bug that prevented installed db from being created if it didn't exist
3
4
  v0.0.7. Fix bug that prevented searchdb from being created if it didn't exist
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.81"
7
+ Version = "0.0.82"
8
8
 
9
9
  Echoe.new(App, Version) do |p|
10
10
  p.name = App
data/lib/tmb/bundles.rb CHANGED
@@ -24,7 +24,6 @@ module TM
24
24
  f = File.open(self.class.searchdb_file,File::RDWR|File::CREAT)
25
25
  file_contents = f.read
26
26
  if new_entries
27
-
28
27
  entries = file_contents.length < 2 ? [] : JSON.parse(f.read)
29
28
  all_entries = [new_entries, entries].flatten.uniq
30
29
  to_file = JSON.generate(all_entries)
@@ -189,6 +188,7 @@ module TM
189
188
  end
190
189
 
191
190
  def install(repo)
191
+ search_db unless self.class.searchdb?
192
192
  puts repo
193
193
  if repo.match(/^(http|git|https):.*\.git$/)
194
194
  matching_repo = TM::Bundle.new([], :repo => repo)
data/lib/tmb/commands.rb CHANGED
@@ -91,7 +91,6 @@ eos
91
91
  end
92
92
  searcher = TM::Bundles.new
93
93
  search_terms = args[1..-1]
94
-
95
94
  results = searcher.search_local(args[1])
96
95
  if results.size == 0
97
96
  puts "No matches found"
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.81"
5
+ s.version = "0.0.82"
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: 189
4
+ hash: 187
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 81
10
- version: 0.0.81
9
+ - 82
10
+ version: 0.0.82
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Thibault
metadata.gz.sig CHANGED
Binary file