racker 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +17 -0
- data/LICENSE +22 -0
- data/NOTICE +8 -0
- data/README.md +215 -0
- data/Rakefile +38 -0
- data/bin/racker +40 -0
- data/lib/racker.rb +6 -0
- data/lib/racker/builders/amazon.rb +25 -0
- data/lib/racker/builders/builder.rb +25 -0
- data/lib/racker/builders/digitalocean.rb +27 -0
- data/lib/racker/builders/docker.rb +25 -0
- data/lib/racker/builders/google.rb +27 -0
- data/lib/racker/builders/openstack.rb +27 -0
- data/lib/racker/builders/qemu.rb +25 -0
- data/lib/racker/builders/virtualbox.rb +25 -0
- data/lib/racker/builders/vmware.rb +25 -0
- data/lib/racker/cli.rb +99 -0
- data/lib/racker/processor.rb +101 -0
- data/lib/racker/smash/deep_merge_modified.rb +210 -0
- data/lib/racker/smash/mash.rb +225 -0
- data/lib/racker/smash/smash.rb +58 -0
- data/lib/racker/template.rb +84 -0
- data/lib/racker/version.rb +21 -0
- data/spec/rcov.opts +2 -0
- metadata +330 -0
@@ -0,0 +1,225 @@
|
|
1
|
+
# Copyright (c) 2009 Dan Kubb
|
2
|
+
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
# ---
|
23
|
+
# ---
|
24
|
+
|
25
|
+
# Some portions of blank.rb and mash.rb are verbatim copies of software
|
26
|
+
# licensed under the MIT license. That license is included below:
|
27
|
+
|
28
|
+
# Copyright (c) 2005-2008 David Heinemeier Hansson
|
29
|
+
|
30
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
31
|
+
# a copy of this software and associated documentation files (the
|
32
|
+
# "Software"), to deal in the Software without restriction, including
|
33
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
34
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
35
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
36
|
+
# the following conditions:
|
37
|
+
|
38
|
+
# The above copyright notice and this permission notice shall be
|
39
|
+
# included in all copies or substantial portions of the Software.
|
40
|
+
|
41
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
42
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
43
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
44
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
45
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
46
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
47
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
|
+
|
49
|
+
# This class has dubious semantics and we only have it so that people can write
|
50
|
+
# params[:key] instead of params['key'].
|
51
|
+
class Mash < Hash
|
52
|
+
|
53
|
+
# @param constructor<Object>
|
54
|
+
# The default value for the mash. Defaults to an empty hash.
|
55
|
+
#
|
56
|
+
# @details [Alternatives]
|
57
|
+
# If constructor is a Hash, a new mash will be created based on the keys of
|
58
|
+
# the hash and no default value will be set.
|
59
|
+
def initialize(constructor = {})
|
60
|
+
if constructor.is_a?(Hash)
|
61
|
+
super()
|
62
|
+
update(constructor)
|
63
|
+
else
|
64
|
+
super(constructor)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# @param orig<Object> Mash being copied
|
69
|
+
#
|
70
|
+
# @return [Object] A new copied Mash
|
71
|
+
def initialize_copy(orig)
|
72
|
+
super
|
73
|
+
# Handle nested values
|
74
|
+
each do |k,v|
|
75
|
+
if v.kind_of?(Mash) || v.is_a?(Array)
|
76
|
+
self[k] = v.dup
|
77
|
+
end
|
78
|
+
end
|
79
|
+
self
|
80
|
+
end
|
81
|
+
|
82
|
+
# @param key<Object> The default value for the mash. Defaults to nil.
|
83
|
+
#
|
84
|
+
# @details [Alternatives]
|
85
|
+
# If key is a Symbol and it is a key in the mash, then the default value will
|
86
|
+
# be set to the value matching the key.
|
87
|
+
def default(key = nil)
|
88
|
+
if key.is_a?(Symbol) && include?(key = key.to_s)
|
89
|
+
self[key]
|
90
|
+
else
|
91
|
+
super
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
alias_method :regular_writer, :[]= unless method_defined?(:regular_writer)
|
96
|
+
alias_method :regular_update, :update unless method_defined?(:regular_update)
|
97
|
+
|
98
|
+
# @param key<Object> The key to set.
|
99
|
+
# @param value<Object>
|
100
|
+
# The value to set the key to.
|
101
|
+
#
|
102
|
+
# @see Mash#convert_key
|
103
|
+
# @see Mash#convert_value
|
104
|
+
def []=(key, value)
|
105
|
+
regular_writer(convert_key(key), convert_value(value))
|
106
|
+
end
|
107
|
+
|
108
|
+
# @param other_hash<Hash>
|
109
|
+
# A hash to update values in the mash with. The keys and the values will be
|
110
|
+
# converted to Mash format.
|
111
|
+
#
|
112
|
+
# @return [Mash] The updated mash.
|
113
|
+
def update(other_hash)
|
114
|
+
other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) }
|
115
|
+
self
|
116
|
+
end
|
117
|
+
|
118
|
+
alias_method :merge!, :update
|
119
|
+
|
120
|
+
# @param key<Object> The key to check for. This will be run through convert_key.
|
121
|
+
#
|
122
|
+
# @return [Boolean] True if the key exists in the mash.
|
123
|
+
def key?(key)
|
124
|
+
super(convert_key(key))
|
125
|
+
end
|
126
|
+
|
127
|
+
# def include? def has_key? def member?
|
128
|
+
alias_method :include?, :key?
|
129
|
+
alias_method :has_key?, :key?
|
130
|
+
alias_method :member?, :key?
|
131
|
+
|
132
|
+
# @param key<Object> The key to fetch. This will be run through convert_key.
|
133
|
+
# @param *extras<Array> Default value.
|
134
|
+
#
|
135
|
+
# @return [Object] The value at key or the default value.
|
136
|
+
def fetch(key, *extras)
|
137
|
+
super(convert_key(key), *extras)
|
138
|
+
end
|
139
|
+
|
140
|
+
# @param *indices<Array>
|
141
|
+
# The keys to retrieve values for. These will be run through +convert_key+.
|
142
|
+
#
|
143
|
+
# @return [Array] The values at each of the provided keys
|
144
|
+
def values_at(*indices)
|
145
|
+
indices.collect {|key| self[convert_key(key)]}
|
146
|
+
end
|
147
|
+
|
148
|
+
# @param hash<Hash> The hash to merge with the mash.
|
149
|
+
#
|
150
|
+
# @return [Mash] A new mash with the hash values merged in.
|
151
|
+
def merge(hash)
|
152
|
+
self.dup.update(hash)
|
153
|
+
end
|
154
|
+
|
155
|
+
# @param key<Object>
|
156
|
+
# The key to delete from the mash.\
|
157
|
+
def delete(key)
|
158
|
+
super(convert_key(key))
|
159
|
+
end
|
160
|
+
|
161
|
+
# @param *rejected<Array[(String, Symbol)] The mash keys to exclude.
|
162
|
+
#
|
163
|
+
# @return [Mash] A new mash without the selected keys.
|
164
|
+
#
|
165
|
+
# @example
|
166
|
+
# { :one => 1, :two => 2, :three => 3 }.except(:one)
|
167
|
+
# #=> { "two" => 2, "three" => 3 }
|
168
|
+
def except(*keys)
|
169
|
+
super(*keys.map {|k| convert_key(k)})
|
170
|
+
end
|
171
|
+
|
172
|
+
# Used to provide the same interface as Hash.
|
173
|
+
#
|
174
|
+
# @return [Mash] This mash unchanged.
|
175
|
+
def stringify_keys!; self end
|
176
|
+
|
177
|
+
# @return [Hash] The mash as a Hash with symbolized keys.
|
178
|
+
def symbolize_keys
|
179
|
+
h = Hash.new(default)
|
180
|
+
each { |key, val| h[key.to_sym] = val }
|
181
|
+
h
|
182
|
+
end
|
183
|
+
|
184
|
+
# @return [Hash] The mash as a Hash with string keys.
|
185
|
+
def to_hash
|
186
|
+
Hash.new(default).merge(self)
|
187
|
+
end
|
188
|
+
|
189
|
+
# @return [Mash] Convert a Hash into a Mash
|
190
|
+
# The input Hash's default value is maintained
|
191
|
+
def self.from_hash(hash)
|
192
|
+
mash = Mash.new(hash)
|
193
|
+
mash.default = hash.default
|
194
|
+
mash
|
195
|
+
end
|
196
|
+
|
197
|
+
protected
|
198
|
+
# @param key<Object> The key to convert.
|
199
|
+
#
|
200
|
+
# @param [Object]
|
201
|
+
# The converted key. If the key was a symbol, it will be converted to a
|
202
|
+
# string.
|
203
|
+
#
|
204
|
+
# @api private
|
205
|
+
def convert_key(key)
|
206
|
+
key.kind_of?(Symbol) ? key.to_s : key
|
207
|
+
end
|
208
|
+
|
209
|
+
# @param value<Object> The value to convert.
|
210
|
+
#
|
211
|
+
# @return [Object]
|
212
|
+
# The converted value. A Hash or an Array of hashes, will be converted to
|
213
|
+
# their Mash equivalents.
|
214
|
+
#
|
215
|
+
# @api private
|
216
|
+
def convert_value(value)
|
217
|
+
if value.class == Hash
|
218
|
+
Mash.from_hash(value)
|
219
|
+
elsif value.is_a?(Array)
|
220
|
+
value.collect { |e| convert_value(e) }
|
221
|
+
else
|
222
|
+
value
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'racker/smash/mash'
|
2
|
+
require 'racker/smash/deep_merge_modified'
|
3
|
+
|
4
|
+
# This class wraps mash and adds extended smart functionality
|
5
|
+
class Smash < Mash
|
6
|
+
|
7
|
+
def [](key)
|
8
|
+
if !key?(key)
|
9
|
+
self[key] = self.class.new
|
10
|
+
else
|
11
|
+
super
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def compact(opts={})
|
16
|
+
inject(self.class.new) do |new_hash, (k,v)|
|
17
|
+
unless v.nil?
|
18
|
+
new_hash[k] = opts[:recurse] && v.class == self.class ? v.compact(opts) : v
|
19
|
+
end
|
20
|
+
new_hash
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def convert_value(value)
|
25
|
+
case value
|
26
|
+
when Smash
|
27
|
+
value
|
28
|
+
when Mash
|
29
|
+
self.class.new(value)
|
30
|
+
when Hash
|
31
|
+
self.class.new(value)
|
32
|
+
else
|
33
|
+
value
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def deep_merge!(source, options = {})
|
38
|
+
default_opts = {:preserve_unmergeables => false}
|
39
|
+
DeepMergeModified::deep_merge!(source, self, default_opts.merge(options))
|
40
|
+
end
|
41
|
+
|
42
|
+
def dup
|
43
|
+
self.class.new(self)
|
44
|
+
end
|
45
|
+
|
46
|
+
def method_missing(symbol, *args)
|
47
|
+
if symbol == :to_ary
|
48
|
+
super
|
49
|
+
elsif args.empty?
|
50
|
+
self[symbol]
|
51
|
+
elsif symbol.to_s =~ /=$/
|
52
|
+
key_to_set = symbol.to_s[/^(.+)=$/, 1]
|
53
|
+
self[key_to_set] = (args.length == 1 ? args[0] : args)
|
54
|
+
else
|
55
|
+
raise NoMethodError, "Undefined key or method `#{symbol}' on `Smash`."
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'racker/smash/smash'
|
3
|
+
require 'racker/builders/amazon'
|
4
|
+
require 'racker/builders/builder'
|
5
|
+
require 'racker/builders/digitalocean'
|
6
|
+
require 'racker/builders/docker'
|
7
|
+
require 'racker/builders/google'
|
8
|
+
require 'racker/builders/openstack'
|
9
|
+
require 'racker/builders/qemu'
|
10
|
+
require 'racker/builders/virtualbox'
|
11
|
+
require 'racker/builders/vmware'
|
12
|
+
|
13
|
+
module Racker
|
14
|
+
# This class handles the bulk of the legwork working with Racker templates
|
15
|
+
class Template < Smash
|
16
|
+
# This formats the template into packer format hash
|
17
|
+
def to_packer
|
18
|
+
# Get the global logger
|
19
|
+
log = Log4r::Logger['racker']
|
20
|
+
|
21
|
+
# Create the new smash
|
22
|
+
packer = Smash.new
|
23
|
+
|
24
|
+
# Variables
|
25
|
+
packer['variables'] = self['variables'].dup
|
26
|
+
|
27
|
+
# Builders
|
28
|
+
packer['builders'] = []
|
29
|
+
log.info("Processing builders...")
|
30
|
+
self['builders'].each do |name,config|
|
31
|
+
log.info("Processing builder: #{name} with type: #{config['type']}")
|
32
|
+
|
33
|
+
# Get the builder for this config
|
34
|
+
builder = get_builder(config['type'])
|
35
|
+
|
36
|
+
# Have the builder convert the config to packer format
|
37
|
+
packer['builders'] << builder.to_packer(name, config.dup)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Provisioners
|
41
|
+
packer['provisioners'] = []
|
42
|
+
log.info("Processing provisioners...")
|
43
|
+
self['provisioners'].sort.map do |index, provisioners|
|
44
|
+
provisioners.each do |name,config|
|
45
|
+
log.debug("Processing provisioner: #{name}")
|
46
|
+
packer['provisioners'] << config.dup
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# Post-Processors
|
51
|
+
packer['post-processors'] = []
|
52
|
+
log.info("Processing post-processors...")
|
53
|
+
self['postprocessors'].each do |name,config|
|
54
|
+
log.debug("Processing post-processor: #{name}")
|
55
|
+
packer['post-processors'] << config.dup unless config.nil?
|
56
|
+
end
|
57
|
+
|
58
|
+
packer
|
59
|
+
end
|
60
|
+
|
61
|
+
def get_builder(type)
|
62
|
+
case type
|
63
|
+
when /amazon/
|
64
|
+
Racker::Builders::Amazon.new
|
65
|
+
when /digitalocean/
|
66
|
+
Racker::Builders::DigitalOcean.new
|
67
|
+
when /docker/
|
68
|
+
Racker::Builders::Docker.new
|
69
|
+
when /googlecompute/
|
70
|
+
Racker::Builders::Google.new
|
71
|
+
when /openstack/
|
72
|
+
Racker::Builders::OpenStack.new
|
73
|
+
when /qemu/
|
74
|
+
Racker::Builders::QEMU.new
|
75
|
+
when /virtualbox/
|
76
|
+
Racker::Builders::Virtualbox.new
|
77
|
+
when /vmware/
|
78
|
+
Racker::Builders::VMware.new
|
79
|
+
else
|
80
|
+
Racker::Builders::Builder.new
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Racker
|
4
|
+
# This defines the version of the gem
|
5
|
+
module Version
|
6
|
+
MAJOR = 0
|
7
|
+
MINOR = 1
|
8
|
+
PATCH = 0
|
9
|
+
BUILD = nil
|
10
|
+
|
11
|
+
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
|
12
|
+
|
13
|
+
BANNER = 'Racker v%s'
|
14
|
+
|
15
|
+
module_function
|
16
|
+
|
17
|
+
def version
|
18
|
+
sprintf(BANNER, STRING)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/spec/rcov.opts
ADDED
metadata
ADDED
@@ -0,0 +1,330 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: racker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Anthony Spring
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-02-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: multi_json
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.8'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.8'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: log4r
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.10
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.10
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: bundler
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.3'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: coveralls
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.6.7
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.6.7
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: guard
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 2.2.3
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 2.2.3
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: guard-bundler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 2.0.0
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.0.0
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: guard-rspec
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '4.0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: guard-cucumber
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '1.4'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.4'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: guard-rubocop
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '1.0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rake
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rspec
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: rspec-mocks
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: rubocop
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ~>
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0.18'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ~>
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0.18'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: ruby_gntp
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ~>
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.3.4
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ~>
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 0.3.4
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: simplecov
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ~>
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: 0.7.1
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ~>
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: 0.7.1
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: yard
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
258
|
+
requirements:
|
259
|
+
- - ~>
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0.8'
|
262
|
+
type: :development
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ~>
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: '0.8'
|
270
|
+
description: ! ' Racker allows for hierarchical template definitions for Packer. '
|
271
|
+
email: tony@porkchopsandpaintchips.com
|
272
|
+
executables:
|
273
|
+
- racker
|
274
|
+
extensions: []
|
275
|
+
extra_rdoc_files: []
|
276
|
+
files:
|
277
|
+
- Rakefile
|
278
|
+
- lib/racker/builders/amazon.rb
|
279
|
+
- lib/racker/builders/builder.rb
|
280
|
+
- lib/racker/builders/digitalocean.rb
|
281
|
+
- lib/racker/builders/docker.rb
|
282
|
+
- lib/racker/builders/google.rb
|
283
|
+
- lib/racker/builders/openstack.rb
|
284
|
+
- lib/racker/builders/qemu.rb
|
285
|
+
- lib/racker/builders/virtualbox.rb
|
286
|
+
- lib/racker/builders/vmware.rb
|
287
|
+
- lib/racker/cli.rb
|
288
|
+
- lib/racker/processor.rb
|
289
|
+
- lib/racker/smash/deep_merge_modified.rb
|
290
|
+
- lib/racker/smash/mash.rb
|
291
|
+
- lib/racker/smash/smash.rb
|
292
|
+
- lib/racker/template.rb
|
293
|
+
- lib/racker/version.rb
|
294
|
+
- lib/racker.rb
|
295
|
+
- spec/rcov.opts
|
296
|
+
- README.md
|
297
|
+
- LICENSE
|
298
|
+
- NOTICE
|
299
|
+
- CHANGELOG.md
|
300
|
+
- bin/racker
|
301
|
+
homepage: https://github.com/aspring/racker
|
302
|
+
licenses:
|
303
|
+
- MIT
|
304
|
+
post_install_message:
|
305
|
+
rdoc_options: []
|
306
|
+
require_paths:
|
307
|
+
- lib
|
308
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
309
|
+
none: false
|
310
|
+
requirements:
|
311
|
+
- - ! '>='
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 1.9.2
|
314
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
315
|
+
none: false
|
316
|
+
requirements:
|
317
|
+
- - ! '>='
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: '0'
|
320
|
+
segments:
|
321
|
+
- 0
|
322
|
+
hash: 4299649763344913573
|
323
|
+
requirements: []
|
324
|
+
rubyforge_project:
|
325
|
+
rubygems_version: 1.8.23
|
326
|
+
signing_key:
|
327
|
+
specification_version: 3
|
328
|
+
summary: A lightweight template wrapper for Packer
|
329
|
+
test_files: []
|
330
|
+
has_rdoc:
|