sport_ngin_aws_auditor 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de82e361c575984d1e01122170cd265345d56f0c
4
- data.tar.gz: a88b8df2c897593871c79f6cb637b81b8d928716
3
+ metadata.gz: 090362814476e197e0589a139f3fd59b9e2db77a
4
+ data.tar.gz: 52acd1544758eab7e540adf10527b34c9e824042
5
5
  SHA512:
6
- metadata.gz: 768a03ae321131c4fa4dda61a9e7311a41df2c43cb82f98652a1f8ceb9eb46d8cb559be08b592da2bea2fa2cc9466f9f7936f3bcbd557c20b3fedd0c38ad8acc
7
- data.tar.gz: 95d1340b3e0a48d080d0b8a36d17cd6cfb7d725e35a31511b8c15f80f1674f22540f34ee5e0be2cc7f118dee8df86b506f62011fc65c71a59e496ba123dcda85
6
+ metadata.gz: 31c5801043bb53c18e5904e4eacdde09065f924a43da3b4536790fb1c87e41d14728f43687ff972fc9802f33ebe854826db973631a9bdf4239c39e561d3427f6
7
+ data.tar.gz: 3ab7ab1a5dd7f4fe21e34c6e4ff05dd95303e5b9e41213e0fe4b549207b9f3365f7e4fe4bbcf34e91d0aaa09516fcfc3e70e3af6fde574a5b6fc8301175ea13d
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ #### v3.3.1
2
+ * Fixing bug where Slack will print discrepancies if there are *only* tagged instances
3
+
4
+ > Emma Sax: : https://github.com/sportngin/sport_ngin_aws_auditor/pull/13
5
+
1
6
  #### v3.3.0
2
7
  * Slack should print instances that have tags
3
8
 
@@ -88,7 +88,9 @@ module SportNginAwsAuditor
88
88
  end
89
89
  end
90
90
 
91
- if discrepancy_hash.empty?
91
+ true_discrepancies = discrepancy_hash.dup.select{ |key, value| !key.include?(" with tag")}
92
+
93
+ if true_discrepancies.empty?
92
94
  slack_job = NotifySlack.new("All #{class_type} instances for #{environment} are up to date.")
93
95
  slack_job.perform
94
96
  else
@@ -1,3 +1,3 @@
1
1
  module SportNginAwsAuditor
2
- VERSION = "3.3.0"
2
+ VERSION = "3.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sport_ngin_aws_auditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh