sensu-transport 7.0.3 → 7.1.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: 69aff2045aa6994788830aa1fd71dd266e9af8f9
4
- data.tar.gz: aba4dc90a584b9f23b68d3f00e4b6ba98699e1de
3
+ metadata.gz: 3d0a7bf7281d8344c9f733e8b3f4b35bbaf94f90
4
+ data.tar.gz: bdc629bc7e426c81e4858c30040709f52cfd4ff3
5
5
  SHA512:
6
- metadata.gz: 8d335ef8ea8446b3f879daa8652e8a587242649a7e2a4d9b55b05438bf5ce7e9464228c4fb97eb45d3fbfa243cac77707e45c09496ba126a6e98800ee642eb45
7
- data.tar.gz: 3b0afe37f0e843d757ea78e81f1cc1d6107b556c4c2983e1ec1759df808133b822a68dc4d65a4cd95e87441337605e5144f322238ddb8e07255254f2692322e5
6
+ metadata.gz: 3e736805fb8440fc3406fd107a80308f5f0fa5e9195a9f2db509b9e6f047793d398628a88d98dc9801fb490068791640f5f732480ff1b49be84ceae518a3992e
7
+ data.tar.gz: e0f8829cdf14c594f88e7e16931b01b4e88c232b4cbbfecc111510c1bfeedee3e1fd094ea0a0cc1f0e406bca3e0e16125f1a780dbeabc104dceea5e9bd6cddf5
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -37,7 +37,7 @@ module Sensu
37
37
  #
38
38
  # @return [TrueClass, FalseClass]
39
39
  def connected?
40
- @connection.connected?
40
+ @connection && @connection.connected?
41
41
  end
42
42
 
43
43
  # Close the RabbitMQ connection.
@@ -190,9 +190,7 @@ module Sensu
190
190
  if options.is_a?(Hash) && options[:host]
191
191
  resolve_host(options[:host]) do |ip_address|
192
192
  if ip_address.nil?
193
- EM::Timer.new(3) do
194
- next_connection_options(&callback)
195
- end
193
+ reconnect
196
194
  else
197
195
  yield options.merge(:host => ip_address)
198
196
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-transport"
5
- spec.version = "7.0.3"
5
+ spec.version = "7.1.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com", "engineering@sensu.io"]
8
8
  spec.summary = "The Sensu transport abstraction library"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-transport
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.3
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -30,7 +30,7 @@ cert_chain:
30
30
  jOeGyhtQa9j4FFmsEJDg59f5v/3hECXsa3Xuml3foaFHzX3Ya/YIyd2YFxvkFKIu
31
31
  GVbe7A3YdxzdkH2Es/Ym9twdxXaIDdXzj8sWhw==
32
32
  -----END CERTIFICATE-----
33
- date: 2018-03-08 00:00:00.000000000 Z
33
+ date: 2018-03-09 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: eventmachine
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- ��LK61n5�t]
2
- �pGW��Yb��h��,~,5�d��K�����(}��(f�4�"������ǀ ��1��D�N����s�RW�@΢�w���T��|z��Ńe���_�y7_�l����k�x�I�5>J�v�l��yVDن$��.��������=���ja6*��dfU)d�91��َ]Z%����f+��?��)��VK�;'��Z֓�2�=T��6��HO���g�
1
+ ��-#�Aw�;���@����kza��v�.�!������-�@������E���Lǣ���f}��@"E��s6R]R��.M�V�·;�L�ӥ��w{ԩ�n��z[�nQ/#�|a�%y����������z�Y�:��_|��#,)����9nH�Th�b�U�l�ڄ3�X��g\y�+�_#��Z|y��dm
2
+ ���_.Dž�^9Vc��U��@uEXRjbL
3
+ �j\g��i&�5'