build-cloud 0.0.12 → 0.0.13
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 +4 -4
- data/README.md +2 -0
- data/build-cloud.gemspec +1 -1
- data/lib/build-cloud/networkinterface.rb +1 -1
- data/lib/build-cloud.rb +6 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11460ad753382b58275400b8ab414640e7fecde6
|
|
4
|
+
data.tar.gz: 15aa9df500e9794122e4f4fa00b041740b3e4cab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 062ddc2ccd009d56c7ef25da14662318c958727f6fb47f1b009a2e288609c693bf799661506138a51da35b2eee45cc2040606fa940daf7b24bc318476c3b0f0b
|
|
7
|
+
data.tar.gz: e19393aa5abe4a85021e67e105a5c8c86801df37af398043d58e4c5bca4a205fc31c6c7182bdd49cb54092dce14f7076f77b26b1a304a27349eed3913b41024d
|
data/README.md
CHANGED
|
@@ -22,6 +22,8 @@ See the command line help for `build-cloud`.
|
|
|
22
22
|
|
|
23
23
|
## Changelog
|
|
24
24
|
|
|
25
|
+
2015-09-02 - version 0.0.13 - use the same environment variables as AWS SDKs for credentials
|
|
26
|
+
|
|
25
27
|
2015-08-24 - version 0.0.12 - adds support for tagging network interfaces, permits multiple config files to be passed on the commandline, fixes a bug with S3 buckets named to contain dots.
|
|
26
28
|
|
|
27
29
|
2015-05-18 - version 0.0.11 - fixed problems with IAM roles
|
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.13"
|
|
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
|
@@ -61,7 +61,7 @@ class BuildCloud
|
|
|
61
61
|
include_files.push( File.expand_path( include_yaml, File.dirname( File.absolute_path(first_config_file) ) ) )
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
|
-
|
|
64
|
+
|
|
65
65
|
include_files.each do |include_path|
|
|
66
66
|
|
|
67
67
|
if File.exists?( include_path )
|
|
@@ -201,7 +201,7 @@ class BuildCloud
|
|
|
201
201
|
def self.search( type, options )
|
|
202
202
|
BuildCloud::dispatch[type].search(options)
|
|
203
203
|
end
|
|
204
|
-
|
|
204
|
+
|
|
205
205
|
def recursive_interpolate_config(h)
|
|
206
206
|
|
|
207
207
|
# Work through the given config replacing all strings matching
|
|
@@ -228,7 +228,7 @@ class BuildCloud
|
|
|
228
228
|
else
|
|
229
229
|
raise "Attempt to interpolate with non-existant key '#{var}'"
|
|
230
230
|
end
|
|
231
|
-
|
|
231
|
+
|
|
232
232
|
h.gsub!(/%\{#{var}\}/, val)
|
|
233
233
|
|
|
234
234
|
end
|
|
@@ -246,8 +246,8 @@ class BuildCloud
|
|
|
246
246
|
@mock and Fog.mock!
|
|
247
247
|
|
|
248
248
|
fog_options_regionless = {
|
|
249
|
-
:aws_access_key_id => @config[:aws_access_key_id] ||= ENV['
|
|
250
|
-
:aws_secret_access_key => @config[:aws_secret_access_key] ||= ENV['
|
|
249
|
+
:aws_access_key_id => @config[:aws_access_key_id] ||= ENV['AWS_ACCESS_KEY_ID'],
|
|
250
|
+
:aws_secret_access_key => @config[:aws_secret_access_key] ||= ENV['AWS_SECRET_ACCESS_KEY'],
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
fog_options = fog_options_regionless.merge( { :region => @config[:aws_region] } )
|
|
@@ -261,10 +261,9 @@ class BuildCloud
|
|
|
261
261
|
:iam => Fog::AWS::IAM.new( fog_options_regionless ),
|
|
262
262
|
:rds => Fog::AWS::RDS.new( fog_options ),
|
|
263
263
|
:elasticache => Fog::AWS::Elasticache.new( fog_options ),
|
|
264
|
-
:r53 => Fog::DNS::AWS.new( fog_options_regionless )
|
|
264
|
+
:r53 => Fog::DNS::AWS.new( fog_options_regionless )
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
end
|
|
270
|
-
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: build-cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Scale Factory
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|