lucid-cumulus 0.11.19 → 0.11.20
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/Gemfile.lock +1 -1
- data/lib/autoscaling/models/AutoScalingDiff.rb +3 -2
- data/lib/autoscaling/models/GroupConfig.rb +2 -1
- data/lucid-cumulus.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf2dff3ca2e3bf65f1ec247dbbb5c36b7f4313407d884322bb0335dc5942512d
|
|
4
|
+
data.tar.gz: 79a8ad73cca2379345fb61ba65131743566ad2d23c72f8617886531396390f28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0979d74b1878a1d374854c59165a2b2e3723acc133809cb0f82aa40e2710271347ae5e7440d6baa7dd0d88cf1f77c9634b165019e91d802f66f3561892c2361d
|
|
7
|
+
data.tar.gz: c2c44b31079ebef672473578fb1c71ef778d4bd210d987beffe14be54ced961fc56ed09e064f166ef60e2769eb1406db39c84332c4a2be9357c1250045c0b114
|
data/Gemfile.lock
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
require "common/models/Diff"
|
|
2
2
|
require "common/models/TagsDiff"
|
|
3
3
|
require "common/models/ListChange"
|
|
4
|
+
require "deepsort"
|
|
4
5
|
require "util/Colors"
|
|
5
6
|
|
|
6
7
|
module Cumulus
|
|
@@ -146,7 +147,7 @@ module Cumulus
|
|
|
146
147
|
#
|
|
147
148
|
# Returns an array of metrics
|
|
148
149
|
def metrics_to_disable
|
|
149
|
-
@aws.enabled_metrics - @local.enabled_metrics
|
|
150
|
+
@aws.enabled_metrics.map { |k| k.metric }.deep_sort - @local.enabled_metrics.deep_sort
|
|
150
151
|
end
|
|
151
152
|
|
|
152
153
|
# Public: Get the metrics to enable, ie. are in local configuration, but not
|
|
@@ -154,7 +155,7 @@ module Cumulus
|
|
|
154
155
|
#
|
|
155
156
|
# Returns an array of metrics
|
|
156
157
|
def metrics_to_enable
|
|
157
|
-
@local.enabled_metrics - @aws.enabled_metrics
|
|
158
|
+
@local.enabled_metrics.deep_sort - @aws.enabled_metrics.map { |k| k.metric }.deep_sort
|
|
158
159
|
end
|
|
159
160
|
|
|
160
161
|
# Public: Get the load balancers to remove, ie. are in AWS and not local
|
|
@@ -5,6 +5,7 @@ require "autoscaling/models/PolicyDiff"
|
|
|
5
5
|
require "autoscaling/models/ScheduledActionDiff"
|
|
6
6
|
require "autoscaling/models/ScheduledConfig"
|
|
7
7
|
require "common/models/UTCTimeSource"
|
|
8
|
+
require "deepsort"
|
|
8
9
|
require "ec2/EC2"
|
|
9
10
|
|
|
10
11
|
require "parse-cron"
|
|
@@ -131,7 +132,7 @@ module Cumulus
|
|
|
131
132
|
if @cooldown != aws.default_cooldown
|
|
132
133
|
diffs << AutoScalingDiff.new(AutoScalingChange::COOLDOWN, aws, self)
|
|
133
134
|
end
|
|
134
|
-
if @enabled_metrics != aws.enabled_metrics
|
|
135
|
+
if @enabled_metrics.deep_sort != aws.enabled_metrics.map { |k| k.metric }.deep_sort
|
|
135
136
|
diffs << AutoScalingDiff.new(AutoScalingChange::METRICS, aws, self)
|
|
136
137
|
end
|
|
137
138
|
if @check_type != aws.health_check_type
|
data/lucid-cumulus.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucid-cumulus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keilan Jackson
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-
|
|
12
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: aws-sdk
|