build-cloud 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZThjZDkyYzRlNjlkOTA5ZDJlOTkyY2RmYTQ3MTI1YzhiMTg3NWFmOA==
4
+ MThiNDI5ODkyNTAyNjc1ZjZjZjAzM2M2NzczYWU5NjRhNDI4ZWMyYg==
5
5
  data.tar.gz: !binary |-
6
- MWM3ZGRjZWUxOTgxM2I5MTdkMjI2Y2ZhZTVjNjBmYjk4OTM0Zjk4MA==
6
+ YTc1OGUzNjc3MGZmNTFlMTllYjEyZDJhMWM5YWFmNmNlODE5ZjlmMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2IxNDhlN2VhNTQyM2IyNDhlNjk4NzhlM2RkYzVkYjRhYmNkODg1NTQxY2Mz
10
- ZTljOWRkNTcxZGZlODExMzg3NzkzMGVlZDYxNzY5YzE1OTkxOTZhY2E2ZTgy
11
- NTYzODA5MmZmOTgxZjI2ZmU2MzQzN2MzNWNiYjhkMjNhYTJjNDc=
9
+ NzhmYTkwNWRiMmYxNTE2Njg4M2JmMmYzZmI2YjdhNjkxZmM2YmExZTY0ZTYx
10
+ YWE2M2Y4NTBiOTUyMjNhMWEyMWFkZjAyOTFjMzg0OTEyZDhkYzA4OGVkYjll
11
+ NDYwOTM4OTE4ZmU5MjhlNGI4ZjcyOGIyZTMxN2EyMWJmNzU3YmM=
12
12
  data.tar.gz: !binary |-
13
- MGQzMTg5YzYyZTA0NWI5NGIzYjAzZmViOGFmOGE5ODlmNTc2NjgzNGUxM2Jl
14
- NTFjNjRiMTJhMmUzY2ZmNjY4MDFiYWNhM2JlNDliZDJhYjUzMDBiMGE5MTg1
15
- NmI1YjkxYzJjMzk2MjczNjE5MDBjYWE2ODAzMzQ1NTRlYWMwZmY=
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.3"
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 = File.join( File.dirname( first_config_file ), include_file)
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}" )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Scale Factory