kuzushi 0.0.17 → 0.0.18

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/kuzushi.rb +1 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.17
1
+ 0.0.18
@@ -2,7 +2,6 @@ require 'rubygems'
2
2
  require 'json'
3
3
  require 'restclient'
4
4
  require 'ostruct'
5
- require 'rush'
6
5
  require 'ohai'
7
6
  require 'erb'
8
7
 
@@ -199,7 +198,7 @@ class Kuzushi
199
198
  ## FIXME - this is getting a little silly calling tmpfile twice - should be able to pass erb to fetch as an opton...
200
199
  ## unify code for process crontabs + process files
201
200
  fetch(src) do |file|
202
- tmpfile(blk.call) do |tmp|
201
+ tmpfile(blk.call(file)) do |tmp|
203
202
  task "process crontab for #{user}" do
204
203
  shell "crontab -u #{user} #{tmp}"
205
204
  end
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.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orion Henry