nat-monitor 1.0.7 → 1.0.8

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: adec11284c0c61e72e76cf63b2ae601f09d28c3d
4
- data.tar.gz: 3298adf8587f4be487486f098e78fcabb7ee1038
3
+ metadata.gz: 4c1ae4919442fa6c4b699e1524926c262952edfe
4
+ data.tar.gz: 808675af1c80f840aac6b0e7b724e05a4c3e9686
5
5
  SHA512:
6
- metadata.gz: e35a87ccbcab8eca180b55577278349057718fff9e961b81ff120e2196409e515ef2525aaca453af160d41884c9c055cf0d5e23d2e39c642ec0390b1c0f834ef
7
- data.tar.gz: d0542f1a87f6764f4d764f469535a4b91a80319a79c81f35e83f34d200e51b52b87354cab0eca4ad151ef3e3c45e48d697c2f05ccd685f9ee52c5440480b687f
6
+ metadata.gz: e6999c408824b0b25b95c74932001ab2f63de2a47d66e25c2361b5cefe6cf076a7c6c32a005472ea76d8fc0b2001038cffcb5143d37431d99b5b077250f3e266
7
+ data.tar.gz: d748ee63fccaf8875ad6951fa7634547adff383b0f34b1bbd160450f631fd875b321dbef8f3b72edfc93f15001a6bdb76bff8a11fdfbea596b2accf520378230
data/lib/nat-monitor.rb CHANGED
@@ -74,7 +74,7 @@ module EtTools
74
74
  connection.replace_route(
75
75
  @conf['route_table_id'],
76
76
  '0.0.0.0/0',
77
- my_instance_id
77
+ 'InstanceId' => my_instance_id
78
78
  )
79
79
  end
80
80
 
@@ -1,5 +1,5 @@
1
1
  module EtTools
2
2
  class NatMonitor
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
@@ -172,7 +172,9 @@ describe EtTools::NatMonitor do
172
172
 
173
173
  it 'sends correct replace route command' do
174
174
  expect(@nat_monitor.connection).to receive(:replace_route)
175
- .with(@route_table_id, '0.0.0.0/0', @my_instance_id)
175
+ .with(@route_table_id,
176
+ '0.0.0.0/0',
177
+ 'InstanceId' => @my_instance_id)
176
178
  .and_return true
177
179
  @nat_monitor.heartbeat
178
180
  end
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: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot