nat-monitor 3.0.2 → 3.0.3

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: 315203815c7dd4fc9da5e93863d8e60c35210345
4
- data.tar.gz: a5b7e4d4f832aa886ea42cc307006251098067ea
3
+ metadata.gz: bd97a59fe0d857bc533e90a9289cc2c6c768aa0d
4
+ data.tar.gz: a11eb00222e671afcb573ae6ed3e634463ca656e
5
5
  SHA512:
6
- metadata.gz: 145c813f3f679b9f900954d77cc231ca6fe6e194281291a8c61d3aae48b992c479aaf10519bb037e130a1d449c54f48aa27f5b5bd53e0055aa358c3bf9231920
7
- data.tar.gz: 29041c12082d9aee515a571eeff4de0b2ded78fd4a4cec14116a67136a075467fee0b7fb320a2b12f427e6dbd3cf24e7311ce804ed4d6db8db5b7ffa1007e371
6
+ metadata.gz: 55e8a5c468d5a988dba0caee029a07a9a541f4ac47f24a22902118d7ffb8f92c86ff89a5365812be251fa945d277a19fe1ff95b9df9b8c292547aef176157656
7
+ data.tar.gz: bd13db4544f13e715a1fe31faec68202194301a108915316b96870fa1d3027fc1ba582375d1e187046875509d8469daa8594c5861a5c9670177ebc851944331b
data/lib/nat-monitor.rb CHANGED
@@ -160,11 +160,11 @@ module EtTools
160
160
  output msg
161
161
  return unless @conf['monitor_enabled']
162
162
  url = @conf['monitor_urls'][status]
163
- url += "?msg=#{url_encode msg}" if status == 'fail' && !msg.nil?
163
+ url += "?msg=#{msg}" if status == 'fail' && !msg.nil?
164
164
 
165
165
  output 'Notifying external heartbeat monitor'
166
166
 
167
- Net::HTTP.get(URI url)
167
+ Net::HTTP.get(URI.escape url)
168
168
  end
169
169
 
170
170
  private
@@ -1,5 +1,5 @@
1
1
  module EtTools
2
2
  class NatMonitor
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.3'
4
4
  end
5
5
  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: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot