build-cloud 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/README.md +2 -0
- data/build-cloud.gemspec +1 -1
- data/lib/build-cloud.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MThiNDI5ODkyNTAyNjc1ZjZjZjAzM2M2NzczYWU5NjRhNDI4ZWMyYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YTc1OGUzNjc3MGZmNTFlMTllYjEyZDJhMWM5YWFmNmNlODE5ZjlmMA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzhmYTkwNWRiMmYxNTE2Njg4M2JmMmYzZmI2YjdhNjkxZmM2YmExZTY0ZTYx
|
|
10
|
+
YWE2M2Y4NTBiOTUyMjNhMWEyMWFkZjAyOTFjMzg0OTEyZDhkYzA4OGVkYjll
|
|
11
|
+
NDYwOTM4OTE4ZmU5MjhlNGI4ZjcyOGIyZTMxN2EyMWJmNzU3YmM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2VmMzFlZGI1OGJlZjE1N2EyZThiZjg5NzA3M2Y2OWM2OTQ3MTUwNWFjZTFj
|
|
14
|
+
N2RhNTgzYzQ5MDlkODQ0MGRiMDdlNzBjMjhkMjE4YWI4NTIwMjA4YjczYTA4
|
|
15
|
+
NGVjYjMwNTA4ZmQ1MzgzMGRkODEwODQ2NmNlMDUxNDk3YWE1ODM=
|
data/README.md
CHANGED
|
@@ -22,6 +22,8 @@ See the command line help for `build-cloud`.
|
|
|
22
22
|
|
|
23
23
|
## Changelog
|
|
24
24
|
|
|
25
|
+
2014-09-15 - version 0.0.4 - files can now be passed to `--config` with a path. It is no longer assumed that all files will be in the same directory.
|
|
26
|
+
|
|
25
27
|
2014-09-15 - version 0.0.3 - now accepts multiple files to `--config`. The second and subsequent files are merged into the first YAML file in order, ahead of any files specified in a `:include` list in the first YAML file.
|
|
26
28
|
|
|
27
29
|
2014-06-23 - version 0.0.2 - now accepts an array of files in the `:include` key in the given YAML config file. The files are merged in to the config file in the order that they are given.
|
data/build-cloud.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "build-cloud"
|
|
7
|
-
spec.version = "0.0.
|
|
7
|
+
spec.version = "0.0.4"
|
|
8
8
|
spec.authors = ["The Scale Factory"]
|
|
9
9
|
spec.email = ["info@scalefactory.com"]
|
|
10
10
|
spec.summary = %q{Tools for building resources in AWS}
|
data/lib/build-cloud.rb
CHANGED
|
@@ -31,7 +31,12 @@ class BuildCloud
|
|
|
31
31
|
|
|
32
32
|
include_files.each do |include_file|
|
|
33
33
|
|
|
34
|
-
include_path =
|
|
34
|
+
include_path = ''
|
|
35
|
+
if include_file.include? '/'
|
|
36
|
+
include_path = include_file
|
|
37
|
+
else
|
|
38
|
+
include_path = File.join( File.dirname( first_config_file ), include_file)
|
|
39
|
+
end
|
|
35
40
|
|
|
36
41
|
if File.exists?( include_path )
|
|
37
42
|
@log.info( "Including YAML file #{include_path}" )
|