capchef 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -14
- data/lib/capchef.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -5,20 +5,6 @@ require 'date'
|
|
5
5
|
desc "Build gem"
|
6
6
|
task :gem do |t|
|
7
7
|
system 'gem build capchef.gemspec'
|
8
|
-
#gemspec = Gem::Specification.new('capchef.gemspec')
|
9
|
-
#gemspec = Gem::Specification.new do |s|
|
10
|
-
# s.name = 'jruby-jms'
|
11
|
-
# s.version = '0.11.0'
|
12
|
-
# s.author = 'Reid Morrison'
|
13
|
-
# s.email = 'rubywmq@gmail.com'
|
14
|
-
# s.homepage = 'https://github.com/reidmorrison/jruby-jms'
|
15
|
-
# s.date = Date.today.to_s
|
16
|
-
# s.description = 'JRuby-JMS is a Java and Ruby library that exposes the Java JMS API in a ruby friendly way. For JRuby only.'
|
17
|
-
# s.summary = 'JRuby interface into JMS'
|
18
|
-
# s.files = FileList["./**/*"].exclude('*.gem', './nbproject/*').map{|f| f.sub(/^\.\//, '')}
|
19
|
-
# s.has_rdoc = true
|
20
|
-
#end
|
21
|
-
#Gem::Builder.new(gemspec).build
|
22
8
|
end
|
23
9
|
|
24
10
|
task :test do
|
data/lib/capchef.rb
CHANGED
@@ -67,7 +67,7 @@ module Capchef
|
|
67
67
|
nodes_file = ENV['NODES_FILE'] || 'nodes.yml'
|
68
68
|
raise "No file #{nodes_file}" unless File.exist?(nodes_file)
|
69
69
|
@config_pass += 1
|
70
|
-
config = YAML.load(ERB.new(File.read(
|
70
|
+
config = YAML.load(ERB.new(File.read(nodes_file)).result(binding))
|
71
71
|
@config_pass -= 1
|
72
72
|
config
|
73
73
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Brad Pardee
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-09-
|
17
|
+
date: 2011-09-08 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|