kuzushi 0.0.19 → 0.0.20

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 +4 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.19
1
+ 0.0.20
data/lib/kuzushi.rb CHANGED
@@ -192,8 +192,10 @@ class Kuzushi
192
192
 
193
193
  def write_file(src, dest, &blk)
194
194
  fetch(src) do |file|
195
- FileUtils.mkdir_p(File.dirname(dest))
196
- File.open(dest,"w") { |f| f.write(blk.call(file)) }
195
+ task "write #{dest}" do
196
+ FileUtils.mkdir_p(File.dirname(dest))
197
+ File.open(dest,"w") { |f| f.write(blk.call(file)) }
198
+ end
197
199
  end
198
200
  end
199
201
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuzushi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orion Henry