statsd-instrument 2.0.0 → 2.0.1

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: df07f54f21bc51b1793083e995d51930bff84567
4
- data.tar.gz: f27b3ff3d202efa2318959385113ca8f60b226b1
3
+ metadata.gz: 240e3752c38f5c2f02f186943f4ccc13d4718388
4
+ data.tar.gz: c484c1d88e937d987132a82976f080a9d3a3c4bb
5
5
  SHA512:
6
- metadata.gz: 0f71108f720c172543a5eecac8535f95f158285d9ff2642b8ae1be02deaba2ebb04e0ed760403efc0388d669b61279d63932fc0eb92e97ac920bf2717ea74ea6
7
- data.tar.gz: f3f388d3df40ec9539c2d456291e18ff0a28fb43549b84be6f21832ae178682c222a81689fd6f96814494ef649500d3a693e78d4f00bc6be74b5ae340eca0889
6
+ metadata.gz: dd2dab9c51b8d18cf132908212cb3576252863896ed51a7bdf3bb0886f9a32c72c7352e4a5df9f5265aeb62177f3e80822c283b82b2f1196d5ff09158add8acc
7
+ data.tar.gz: 6dc43d662fbf635a6414c74fdb34e87bcf2462376eab014a5f728d0846e4436432b01111746bdb1659683a26df28ffa29b75f14746313032fc6e300d12ff4a03
@@ -27,6 +27,18 @@ module StatsD::Instrument::Assertions
27
27
  assert_statsd_call(:g, metric_name, options, &block)
28
28
  end
29
29
 
30
+ def assert_statsd_histogram(metric_name, options = {}, &block)
31
+ assert_statsd_call(:h, metric_name, options, &block)
32
+ end
33
+
34
+ def assert_statsd_set(metric_name, options = {}, &block)
35
+ assert_statsd_call(:s, metric_name, options, &block)
36
+ end
37
+
38
+ def assert_statsd_key_value(metric_name, options = {}, &block)
39
+ assert_statsd_call(:kv, metric_name, options, &block)
40
+ end
41
+
30
42
  private
31
43
 
32
44
  def assert_statsd_call(metric_type, metric_name, options = {}, &block)
@@ -1,5 +1,5 @@
1
1
  module StatsD
2
2
  module Instrument
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsd-instrument
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Storimer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-29 00:00:00.000000000 Z
12
+ date: 2014-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.0.3
112
+ rubygems_version: 2.0.14
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: A StatsD client for Ruby apps
@@ -124,3 +124,4 @@ test_files:
124
124
  - test/statsd_test.rb
125
125
  - test/test_helper.rb
126
126
  - test/udp_backend_test.rb
127
+ has_rdoc: