build-cloud 0.0.16 → 0.0.17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e89edfc847873da470dc2cb857b9ea871353e83e
4
- data.tar.gz: 144ebaa84bc4a7e494586ac695df6bd5edf5fa55
3
+ metadata.gz: 0795ff6f2280913a1a58fbead83541e45ff54927
4
+ data.tar.gz: b136bcf8d3d872c399735f83fcc7a3f04575cee9
5
5
  SHA512:
6
- metadata.gz: 4807c0d850f5fc5f98995800c73884707d4f587065ef96e697bf85a0bc76f56348585e7bbe9df5f7db0d192649e81915dc24aab2483c5cc9fe6b126c3d3e60ee
7
- data.tar.gz: 610a9f5e311fbd67e68cd9c2a7b8f34e6b37f9c93e1c2944b044cbdc059a1356fba29cac241febb57b0e1fdb1012d5e7687b9c173a73af6554f81c8e5e566033
6
+ metadata.gz: 13f6e5666a61cea5fd9b37e5f14845a5aa987f57e09d9bce8db10abfedc7409dc4d818ce5bc1604baa28b9c8615d99d796c76cfe08efc3d6d3c96df69cc4bc20
7
+ data.tar.gz: 38224ff64e598e1cfbb4ca80f732b5ee8b52064fa324e9b8494110c3437ead1313f06b6a852d5a5c10625fb6abf34c539ccadb4133197316ee60a3b1d2edb486
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ 2016-05-04 - version 0.0.17 - allow metrics to be enabled on an asg when it's created
4
+
3
5
  2016-02-02 - version 0.0.16 - fix bug which prevented security groups containing multiple references to other security groups being updated
4
6
 
5
7
  2015-11-10 - version 0.0.15 - allow private_ip to be optional when creating an ENI
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.16"
7
+ spec.version = "0.0.17"
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}
@@ -43,6 +43,11 @@ class BuildCloud::ASGroup
43
43
 
44
44
  asg = @as.groups.new( options )
45
45
  asg.save
46
+
47
+ if options[:enabled_metrics]
48
+ @log.debug( 'metrics enabled')
49
+ asg.enable_metrics_collection('1Minute', options[:enable_metrics])
50
+ end
46
51
 
47
52
  @log.debug( asg.inspect )
48
53
 
@@ -65,4 +70,3 @@ class BuildCloud::ASGroup
65
70
  end
66
71
 
67
72
  end
68
-
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.16
4
+ version: 0.0.17
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: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler