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 +0 -0
- data/Rakefile +1 -1
- data/lib/tmb/bundles.rb +2 -1
- data/tmb.gemspec +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Rakefile
CHANGED
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
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:
|
|
4
|
+
hash: 185
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 83
|
|
10
|
+
version: 0.0.83
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Thibault
|
metadata.gz.sig
CHANGED
|
Binary file
|