kuzushi 0.0.31 → 0.0.32
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 +4 -3
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.32
|
data/lib/kuzushi.rb
CHANGED
|
@@ -304,9 +304,10 @@ class Kuzushi
|
|
|
304
304
|
names = config_names.clone
|
|
305
305
|
begin
|
|
306
306
|
## its important that we try each name for the script - allows for polymorphic scripts
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
block.call("/tmp/kuzushi/#{@name}/#{file}")
|
|
308
|
+
# tmpfile(filter.call(http_get("#{@base_url}/#{names.first}#{file}")), file) do |tmp|
|
|
309
|
+
# block.call(tmp)
|
|
310
|
+
# end
|
|
310
311
|
rescue RestClient::ResourceNotFound
|
|
311
312
|
names.shift
|
|
312
313
|
retry unless names.empty?
|