kuzushi 0.0.33 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/kuzushi.rb +2 -3
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.33
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
- block.call("/tmp/kuzushi/#{@name}/#{file}")
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: #{names.first}/#{file} : #{e.message}")
310
+ error("error fetching file: #{file} : #{e.message}")
312
311
  end
313
312
  end
314
313
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 33
9
- version: 0.0.33
8
+ - 34
9
+ version: 0.0.34
10
10
  platform: ruby
11
11
  authors:
12
12
  - Orion Henry