statsd-instrument 2.0.1 → 2.0.2

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: 240e3752c38f5c2f02f186943f4ccc13d4718388
4
- data.tar.gz: c484c1d88e937d987132a82976f080a9d3a3c4bb
3
+ metadata.gz: aaad8d6663e0f3a3cb2f01701423f5b6fe482122
4
+ data.tar.gz: 608b8507b511e0fb7294e864003d9266419cc73e
5
5
  SHA512:
6
- metadata.gz: dd2dab9c51b8d18cf132908212cb3576252863896ed51a7bdf3bb0886f9a32c72c7352e4a5df9f5265aeb62177f3e80822c283b82b2f1196d5ff09158add8acc
7
- data.tar.gz: 6dc43d662fbf635a6414c74fdb34e87bcf2462376eab014a5f728d0846e4436432b01111746bdb1659683a26df28ffa29b75f14746313032fc6e300d12ff4a03
6
+ metadata.gz: d9771c8673f62f390f5fe499bac932aaf89efdbb32f7435b8f56547868c1af0fbc2cf8c63fe3be0cf65cb5e203e96832efcb690d2e96bf282bd936da22d72c8d
7
+ data.tar.gz: d9424c37124cbc75d86fe7284fe68b205750957d6c6c5ca01a4e27352f6e644480c08d56284c9eef3913080dd07502d87545ed4e49e49dea0e8e26bdfdb2ecc9
checksums.yaml.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ $&X�h4&�t!]|O����������n+�|Q��-�S)� ��I�6ő00�i�����$K��A (���@#~R�sHd]�%�$c�*����<`����XQ�Ʈ"��7����j�4F�3
2
+ f`'~�fUb��N��Ȧ�����5X�:"Cd�ϼ9��<��W�<~��E�62���`�+q1���N��z
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ���8�A\��-�x�4Ͷ��I���6&s\v�����M6��M �$�I�.��sSC���v��hCy���[۔4L��+@2x���cM�am�����`T���"V�k�.TJ���[�$����g�HD�v�b�MƎhy�x 15Ur�}��c-��9���.`����1�E��1�w��U����@��T~�R����q1��J��6;v���ob��vl���Ϻ����"&?��C�'�?lE��
2
+ L��I�`���+V���S��,r���
data/README.md CHANGED
@@ -21,12 +21,12 @@ This is the same as what Etsy uses (mentioned in the README for http://github.co
21
21
  The library comes with different backends. Based on your environment (detected using environment
22
22
  variables), it will select one of the following backends by default:
23
23
 
24
- - **Production** environment: `StatsD::Instrument::Backend::UDPBackend` will actually send UDP packets.
24
+ - **Production** environment: `StatsD::Instrument::Backends::UDPBackend` will actually send UDP packets.
25
25
  It will configure itself using environment variables: it uses `STATSD_ADDR` for the address to connect
26
26
  to (default `"localhost:8125"`), and `STATSD_IMPLEMENTATION` to set the protocol variant. (See below)
27
- - **Test** environment: `StatsD::Instrument::Backend::NullBackend` will swallow all calls. See below for
27
+ - **Test** environment: `StatsD::Instrument::Backends::NullBackend` will swallow all calls. See below for
28
28
  notes on writing tests.
29
- - **Development**, and all other, environments: `StatsD::Instrument::Backend::LoggerBackend` will log all
29
+ - **Development**, and all other, environments: `StatsD::Instrument::Backends::LoggerBackend` will log all
30
30
  calls to stdout.
31
31
 
32
32
  You can override the currently active backend by setting `StatsD.backend`:
@@ -34,10 +34,10 @@ You can override the currently active backend by setting `StatsD.backend`:
34
34
  ``` ruby
35
35
  # Sets up a UDP backend. First argument is the UDP address to send StatsD packets to,
36
36
  # second argument specifies the protocol variant (i.e. `:statsd`, `:statsite`, or `:datadog`).
37
- StatsD.backend = StatsD::Instrument::Backend::UDPBackend.new("1.2.3.4:8125", :statsite)
37
+ StatsD.backend = StatsD::Instrument::Backends::UDPBackend.new("1.2.3.4:8125", :statsite)
38
38
 
39
39
  # Sets up a logger backend
40
- StatsD.backend = StatsD::Instrument::Backend::LoggerBackend.new(Rails.logger)
40
+ StatsD.backend = StatsD::Instrument::Backends::LoggerBackend.new(Rails.logger)
41
41
  ```
42
42
 
43
43
  The other available settings, with their default, are
@@ -1,5 +1,5 @@
1
1
  module StatsD
2
2
  module Instrument
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
@@ -0,0 +1,15 @@
1
+ dependencies:
2
+ override:
3
+ - bundle install --path=./data/bundler
4
+
5
+ deploy:
6
+ override:
7
+ - |
8
+ BUILD=`bundle exec rake build`
9
+ if [ $? != 0 ]; then
10
+ echo $BUILD;
11
+ exit 1;
12
+ fi
13
+ PKG=`echo $BUILD | cut -d" " -f5 | sed -e s/\.$//`;
14
+ VERSION=`echo $BUILD | cut -d" " -f2`;
15
+ gem push $PKG
metadata CHANGED
@@ -1,56 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsd-instrument
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Storimer
8
8
  - Tobias Lutke
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2014-05-07 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZhZG1p
15
+ bnMxFzAVBgoJkiaJk/IsZAEZFgdzaG9waWZ5MRMwEQYKCZImiZPyLGQBGRYDY29t
16
+ MB4XDTE0MDUxNTIwMzM0OFoXDTE1MDUxNTIwMzM0OFowPzEPMA0GA1UEAwwGYWRt
17
+ aW5zMRcwFQYKCZImiZPyLGQBGRYHc2hvcGlmeTETMBEGCgmSJomT8ixkARkWA2Nv
18
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0/81O3e1vh5smcwp2G
19
+ MpLQ6q0kejQLa65bPYPxdzWA1SYOKyGfw+yR9LdFzsuKpwWzKq6zX35lj1IckWS4
20
+ bNBEQzxmufUxU0XPM02haFB8fOfDJzdXsWte9Ge4IFwahwn68gpMqN+BvxL+KMYz
21
+ Iut9YmN44d4LZdsENEIO5vmybuG2vYDz7R56qB0PA+Q2P2CdhymsBad2DQs69FBo
22
+ uico9V6VMYYctL9lCYdzu9IXrOYNTt88suKIVzzAlHOKeN0Ng5qdztFoTR8sfxDr
23
+ Ydg3KHl5n47wlpgd8R0f/4b5gGxW+v9pyJCgQnLlRu7DedVSvv7+GMtj3g9r3nhJ
24
+ KqECAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFI/o
25
+ maf34HXbUOQsdoLHacEKQgunMB0GA1UdEQQWMBSBEmFkbWluc0BzaG9waWZ5LmNv
26
+ bTAdBgNVHRIEFjAUgRJhZG1pbnNAc2hvcGlmeS5jb20wDQYJKoZIhvcNAQEFBQAD
27
+ ggEBADkK9aj5T0HPExsov4EoMWFnO+G7RQ28C30VAfKxnL2UxG6i4XMHVs6Xi94h
28
+ qXFw1ec9Y2eDUqaolT3bviOk9BB197+A8Vz/k7MC6ci2NE+yDDB7HAC8zU6LAx8Y
29
+ Iqvw7B/PSZ/pz4bUVFlTATif4mi1vO3lidRkdHRtM7UePSn2rUpOi0gtXBP3bLu5
30
+ YjHJN7wx5cugMEyroKITG5gL0Nxtu21qtOlHX4Hc4KdE2JqzCPOsS4zsZGhgwhPs
31
+ fl3hbtVFTqbOlwL9vy1fudXcolIE/ZTcxQ+er07ZFZdKCXayR9PPs64heamfn0fp
32
+ TConQSX2BnZdhIEYW+cKzEC/bLc=
33
+ -----END CERTIFICATE-----
34
+ date: 2014-05-20 00:00:00.000000000 Z
13
35
  dependencies:
14
36
  - !ruby/object:Gem::Dependency
15
37
  name: rake
16
38
  requirement: !ruby/object:Gem::Requirement
17
39
  requirements:
18
- - - '>='
40
+ - - ">="
19
41
  - !ruby/object:Gem::Version
20
42
  version: '0'
21
43
  type: :development
22
44
  prerelease: false
23
45
  version_requirements: !ruby/object:Gem::Requirement
24
46
  requirements:
25
- - - '>='
47
+ - - ">="
26
48
  - !ruby/object:Gem::Version
27
49
  version: '0'
28
50
  - !ruby/object:Gem::Dependency
29
51
  name: minitest
30
52
  requirement: !ruby/object:Gem::Requirement
31
53
  requirements:
32
- - - '>='
54
+ - - ">="
33
55
  - !ruby/object:Gem::Version
34
56
  version: '0'
35
57
  type: :development
36
58
  prerelease: false
37
59
  version_requirements: !ruby/object:Gem::Requirement
38
60
  requirements:
39
- - - '>='
61
+ - - ">="
40
62
  - !ruby/object:Gem::Version
41
63
  version: '0'
42
64
  - !ruby/object:Gem::Dependency
43
65
  name: mocha
44
66
  requirement: !ruby/object:Gem::Requirement
45
67
  requirements:
46
- - - '>='
68
+ - - ">="
47
69
  - !ruby/object:Gem::Version
48
70
  version: '0'
49
71
  type: :development
50
72
  prerelease: false
51
73
  version_requirements: !ruby/object:Gem::Requirement
52
74
  requirements:
53
- - - '>='
75
+ - - ">="
54
76
  - !ruby/object:Gem::Version
55
77
  version: '0'
56
78
  description: A StatsD client for Ruby appspec. Provides metaprogramming methods to
@@ -61,8 +83,8 @@ executables: []
61
83
  extensions: []
62
84
  extra_rdoc_files: []
63
85
  files:
64
- - .gitignore
65
- - .travis.yml
86
+ - ".gitignore"
87
+ - ".travis.yml"
66
88
  - Gemfile
67
89
  - LICENSE
68
90
  - README.md
@@ -78,6 +100,7 @@ files:
78
100
  - lib/statsd/instrument/environment.rb
79
101
  - lib/statsd/instrument/metric.rb
80
102
  - lib/statsd/instrument/version.rb
103
+ - shipit.rubygems.yml
81
104
  - statsd-instrument.gemspec
82
105
  - test/assertions_test.rb
83
106
  - test/capture_backend_test.rb
@@ -99,17 +122,17 @@ require_paths:
99
122
  - lib
100
123
  required_ruby_version: !ruby/object:Gem::Requirement
101
124
  requirements:
102
- - - '>='
125
+ - - ">="
103
126
  - !ruby/object:Gem::Version
104
127
  version: '0'
105
128
  required_rubygems_version: !ruby/object:Gem::Requirement
106
129
  requirements:
107
- - - '>='
130
+ - - ">="
108
131
  - !ruby/object:Gem::Version
109
132
  version: '0'
110
133
  requirements: []
111
134
  rubyforge_project:
112
- rubygems_version: 2.0.14
135
+ rubygems_version: 2.2.0
113
136
  signing_key:
114
137
  specification_version: 4
115
138
  summary: A StatsD client for Ruby apps
@@ -124,4 +147,3 @@ test_files:
124
147
  - test/statsd_test.rb
125
148
  - test/test_helper.rb
126
149
  - test/udp_backend_test.rb
127
- has_rdoc:
metadata.gz.sig ADDED
Binary file