kuzushi 0.0.49 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/kuzushi-erb +3 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.50
|
data/bin/kuzushi-erb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
2
3
|
require 'erb'
|
3
4
|
require 'ohai'
|
4
5
|
require 'json'
|
5
6
|
|
6
7
|
@system = Ohai::System.new.all_plugins
|
7
|
-
@config = JSON.parse(File.read("config.json") if File.exists?("config.json")
|
8
|
+
@config = JSON.parse(File.read("config.json")) if File.exists?("config.json")
|
8
9
|
|
9
|
-
ERB.new(File.read(ARGV[0], 0, '<>').result(binding)
|
10
|
+
ERB.new(File.read(ARGV[0]), 0, '<>').result(binding)
|
10
11
|
|