kuzushi 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- 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?
|