kuzushi 0.0.33 → 0.0.34
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/VERSION +1 -1
- data/lib/kuzushi.rb +2 -3
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.34
|
data/lib/kuzushi.rb
CHANGED
|
@@ -303,12 +303,11 @@ class Kuzushi
|
|
|
303
303
|
### this needs to be brought up to date - way last version - no need to read and filter...
|
|
304
304
|
def fetch(file, filter = lambda { |d| d }, &block)
|
|
305
305
|
begin
|
|
306
|
-
|
|
307
|
-
tmpfile(filter.call(File.read("/tmp/kuzushi/#{name}/#{file}")), file) do |tmp|
|
|
306
|
+
tmpfile(filter.call(File.read("/tmp/kuzushi/#{@name}/#{file}")), file) do |tmp|
|
|
308
307
|
block.call(tmp)
|
|
309
308
|
end
|
|
310
309
|
rescue Object => e
|
|
311
|
-
error("error fetching file: #{
|
|
310
|
+
error("error fetching file: #{file} : #{e.message}")
|
|
312
311
|
end
|
|
313
312
|
end
|
|
314
313
|
|