vominator 0.0.11 → 0.0.12

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: 838a4285c80d644368f923558bba78f0bd15ff1c
4
- data.tar.gz: 8c89c085df0b45cb7a4fb54f42ec1f858b62c304
3
+ metadata.gz: 49a556d8024bcb3c4f8d9e9ab6a9875d1b48cb83
4
+ data.tar.gz: 5ac579254436230929ffc4da6b361ab8827c2fb6
5
5
  SHA512:
6
- metadata.gz: cb81c2d796cce7c58b12bf752de5ac1925483f1e9a92f59c5a75d022a2bc4bc944eb9ff481c6d11663dfb14407ccea12b10443e9793c717cd2307e7d1fba9c3d
7
- data.tar.gz: d4f8bedad5d9f09359c52b001e9c8403e421d771b107d74b2281898ac65341d7b5ec5f746657fa986536ef693a20bef3e756ae680c621b1530d2729448d27e8c
6
+ metadata.gz: 5310861bfd3dc2cf397e886c8b4cec5c59cce2026058d41b37666466214837029b23acbfd539ab3ca3d33dddab827d23a3baf36e26745bdff012d3a624e2e6c8
7
+ data.tar.gz: 8846956fca437b309df18e9350d9af6a523d604a409da34d261d37efcf0e932e916bba8f831b25dcf6dd9f400b355b8188c71109251bbedfd7980814e53256eb
data/lib/ec2/instances.rb CHANGED
@@ -348,8 +348,9 @@ instances.each do |instance|
348
348
  key = tag.split('=')[0]
349
349
  value = tag.split('=')[1]
350
350
  unless ec2_instance_tags.key?(key) || (ec2_instance_tags.key?(key) && ec2_instance_tags[key] != value)
351
- unless test?("Would create or update tag #{key}:#{value}")
351
+ unless test?("Would create or update tag #{key}:#{value} on #{fqdn}")
352
352
  Vominator::EC2.tag_resource(ec2_client, ec2_instance.id, [{key: key, value: value}])
353
+ LOGGER.success("Created or Updated tag #{key}:#{value} on #{fqdn}")
353
354
  end
354
355
  end
355
356
  end
@@ -12,7 +12,7 @@ module Vominator
12
12
 
13
13
  class InstanceInfo
14
14
  # The URI to JSON data from ec2instances.info
15
- @@uri = URI.parse('http://www.ec2instances.info/instances.json')
15
+ @@uri = URI.parse('https://www.ec2instances.info/instances.json')
16
16
  @@instances = nil
17
17
 
18
18
  attr_accessor :filepath
@@ -1,3 +1,3 @@
1
1
  module Vominator
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vominator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kelly
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-17 00:00:00.000000000 Z
13
+ date: 2017-12-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdk
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  version: '0'
268
268
  requirements: []
269
269
  rubyforge_project:
270
- rubygems_version: 2.5.1
270
+ rubygems_version: 2.6.14
271
271
  signing_key:
272
272
  specification_version: 4
273
273
  summary: Manage AWS resources from JSON templates and CLI.