dogstatsd-ruby 4.4.0 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/datadog/statsd.rb +5 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25baf4b0dc57e8ed9a79bd2115224f22de9097200ccf4931b54fbb1e40905363
4
- data.tar.gz: a51c91dc366316b6edbadc64eb5e7383b6b100c9a2a859eb9bc31b9bef9ec7e2
3
+ metadata.gz: fde2be6b614574c2555c8cbbd2ca16ef33bcd09837502f482f5f6baf582fd67b
4
+ data.tar.gz: cc1523c5aa78643d93fc891116c46bb5322dda297f1676cd73d201c9beee2a26
5
5
  SHA512:
6
- metadata.gz: 225ef009dcb475534ec746d9eaa6e8b156ad7b50291c2894ba9171806bc91231150510a65a47ec754dbf519f80fe7381c589d34f35e983519fb8e991347e1a12
7
- data.tar.gz: e8609033506332625db4a6655adceacfb7fd1b85346020c1582dd032815ea56158d46442cecafd40fdd7bf098745e41ab1e70323b323ff63dd8bb43be3be8b88
6
+ metadata.gz: 9c96177f1ea0ab2288712cf9829cb8408687e12ce0f22f06ddbb1433447a3a4eaf05fe13f0fda8746b9f0e8fad71ea3b0b50ba7d8a028e464db334349951c64b
7
+ data.tar.gz: 11e23d434a7e88925e049484dfbb252d5c78ce12a4a07fd3c09edca57835db30224cba202f86f57352357acdf2073b8c8e93f20bd403975242b201321bef8ecc
data/README.md CHANGED
@@ -4,7 +4,7 @@ dogstatsd-ruby
4
4
 
5
5
  A client for DogStatsD, an extension of the StatsD metric server for Datadog.
6
6
 
7
- [![Build Status](https://secure.travis-ci.org/DataDog/dogstatsd-ruby.png)](http://travis-ci.org/DataDog/dogstatsd-ruby)
7
+ [![Build Status](https://secure.travis-ci.org/DataDog/dogstatsd-ruby.svg)](http://travis-ci.org/DataDog/dogstatsd-ruby)
8
8
 
9
9
  Quick Start Guide
10
10
  -----------------
@@ -44,8 +44,10 @@ module Datadog
44
44
  rescue StandardError => boom
45
45
  # Try once to reconnect if the socket has been closed
46
46
  retries ||= 1
47
- if retries <= 1 && boom.is_a?(Errno::ENOTCONN) or
48
- retries <= 1 && boom.is_a?(IOError) && boom.message =~ /closed stream/i
47
+ if retries <= 1 &&
48
+ (boom.is_a?(Errno::ENOTCONN) or
49
+ boom.is_a?(Errno::ECONNREFUSED) or
50
+ boom.is_a?(IOError) && boom.message =~ /closed stream/i)
49
51
  retries += 1
50
52
  begin
51
53
  @socket = connect
@@ -192,7 +194,7 @@ module Datadog
192
194
  DISTRIBUTION_TYPE = 'd'.freeze
193
195
  TIMING_TYPE = 'ms'.freeze
194
196
  SET_TYPE = 's'.freeze
195
- VERSION = "4.4.0".freeze
197
+ VERSION = "4.5.0".freeze
196
198
 
197
199
  # A namespace to prepend to all statsd calls. Defaults to no namespace.
198
200
  attr_reader :namespace
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogstatsd-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rein Henrichs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-15 00:00:00.000000000 Z
11
+ date: 2019-08-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby DogStastd client
14
14
  email: code@datadoghq.com