nat-monitor 2.0.0 → 3.0.0

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: 3974f14b7e72be030eeb18f106c75cb253108ca9
4
- data.tar.gz: 78bce4f038843212f57028f8dc7f2650191ac030
3
+ metadata.gz: a1235409f5df5cccb50365d392938004356b5e3a
4
+ data.tar.gz: fb8168d52daf7dc0e80113a0b933dd70c3317348
5
5
  SHA512:
6
- metadata.gz: d18a2e90c2f7a0dfcfae9ce8a807feacd31531bb908e52a18224d8c851118654d7910ba6938e9d81974483d0daae8bce7747bad63a4789ad918f4a19e79978e9
7
- data.tar.gz: beccbe7e6d3ae70c45e2d79dfb47ebab6774ad0fa03e8370f249facdd2fcd7d86e9ed78be38a3abb4b6b6678734f2835fbba061ff1ab0e3eb3e27a8dc854c2f4
6
+ metadata.gz: a6fd10c30a009124de8724c53528645352ed6447f0348089641368303c89c5db198087388c37ff5637dad10eab9d357f0eaac0aaae923fa7828b24f9dd3dd0c3
7
+ data.tar.gz: 6b32d93860d6ce2bd44996d3168f47339daa2db8b40b84dc66af96788da8e7762d376e65a8628f06d355a33813dd9a6385ad7432bdefc6c937ac507a0a650199
@@ -1,5 +1,5 @@
1
1
  module EtTools
2
2
  class NatMonitor
3
- VERSION = '2.0.0'
3
+ VERSION = '3.0.0'
4
4
  end
5
5
  end
data/lib/nat-monitor.rb CHANGED
@@ -50,9 +50,9 @@ module EtTools
50
50
  def main_loop
51
51
  loop do
52
52
  begin
53
- notify_monitor 'begin'
53
+ notify_monitor 'run'
54
54
  heartbeat
55
- notify_monitor 'success'
55
+ notify_monitor 'complete'
56
56
  rescue => e
57
57
  msg = "Caught #{e.class} exception: #{e.message}"
58
58
  notify_monitor 'fail', msg
@@ -14,9 +14,9 @@ describe EtTools::NatMonitor do
14
14
  'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
15
15
  'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
16
16
  'monitor_urls' => {
17
- 'begin' => 'run',
18
- 'success' => 'complete',
19
- 'fail' => 'fail'
17
+ 'run' => 'run',
18
+ 'complete' => 'complete',
19
+ 'fail' => 'fail'
20
20
  },
21
21
  'nodes' => (
22
22
  { @my_instance_id => '1.1.1.1' }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nat-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot