logglier 0.4.1 → 0.5.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: b77d2c2a3939196bf49ce87f72dd5f5351777d74
4
- data.tar.gz: 4f111e00711293f356a38bd11701c4e0f0785499
3
+ metadata.gz: 4e5d2c709daf7637a8bf76865e8f850db8773b75
4
+ data.tar.gz: e8aa7359db0ef976c84f1d3a2bf73444c666d516
5
5
  SHA512:
6
- metadata.gz: 118bd2e176b3c95369e0167c164b55997a1620bcf020a5d095db28f1ddf5d6837520c1075e528d96e86c2b84c387d6af32017430cc72e9f32b1ee8f9254b7e0c
7
- data.tar.gz: b3929d1fe6f8c5fcd0083e0e0913089577503893359181003f753fe90337962db8da973ce3de8b42227adaa14e469e7c80534fef54f521a7b62d8cf067ec3ad3
6
+ metadata.gz: c9a50fc8e439af0ea65b8026ae4cbe3545579321a047008224490f03fa43436dcf42db0888d6af44d66880747e64c4cb28bf01339478651d559939ef755c9b69
7
+ data.tar.gz: 45bd40cd7a5c02854083a2606cb12745abcb4d4f63dec225678701f9770c9f8c9d1816b582b0e83073183ed62cb1189abc397ef5cd7934836be4000542386a78
@@ -8,7 +8,7 @@ module Logglier
8
8
  class NetHTTPProxy
9
9
 
10
10
  RETRY_EXCEPTIONS = [
11
- TimeoutError, OpenSSL::SSL::SSLError, Errno::EPIPE,
11
+ Timeout::Error, OpenSSL::SSL::SSLError, Errno::EPIPE,
12
12
  EOFError, Errno::ECONNRESET, Errno::ETIMEDOUT,
13
13
  Errno::ECONNREFUSED
14
14
  ]
@@ -44,8 +44,8 @@ module Logglier
44
44
  def write(message)
45
45
  begin
46
46
  @syslog.send(message,0)
47
- rescue TimeoutError => e
48
- $stderr.puts "WARNING: TimeoutError posting message: #{message}"
47
+ rescue Timeout::Error => e
48
+ $stderr.puts "WARNING: Timeout::Error posting message: #{message}"
49
49
  end
50
50
  end
51
51
 
@@ -1,3 +1,3 @@
1
1
  module Logglier
2
- VERSION = '0.4.1'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logglier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edward Muller (aka freeformz)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-14 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json