sapience 0.1.4 → 0.1.5

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: 2411a1710be35f13c5423466874de880dcac8115
4
- data.tar.gz: 9a31bfcf35d70a01d344b7ed655534c39e22a0c4
3
+ metadata.gz: 78c16638deb885ad6b022355c8122c6d2b04abf1
4
+ data.tar.gz: ac30e445702caf63218ee9cbe8231ae4d3136959
5
5
  SHA512:
6
- metadata.gz: 6ed4f8a2dfb3c3c13cd3511323b43e99542733b6958f33b129ebeda6fca18580484e5eaa337163e6bf8517521febce5471d2ec007a23a62a47b9ee0cd49b9085
7
- data.tar.gz: 7ed4c97d6c2cd78da549062d20f16f41282a63665a19681325c1f18a5ae6380ba5575984b2bbfcfc9c0ac7e40be65770455ba5fe882ab270cf2f25b0796eb471
6
+ metadata.gz: fa40581925e5d0f63b433f3cf845e68fc8ca36c699640cdaa64f65797dbfc3c8959d8720e0941a5754680c171692322af6a2c6bfc843ac549795709ea4277784
7
+ data.tar.gz: f14ffb78c47bd8fe3d68bd90292d4b0d04f3ff6404bc6930e86d9fe7cf876753820f7ee105671fed1a4c1a55190d762ba7c9ccae0e8b77fdd263d332717ccca9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v0.1.5
2
+
3
+ - Add missing `#time` method for datadog
4
+ - Adds coverage for previous release
5
+
1
6
  ## v0.1.4
2
7
 
3
8
  - Add missing `#count` method for datadog
@@ -84,14 +84,18 @@ module Sapience
84
84
  provider.histogram(metric, amount)
85
85
  end
86
86
 
87
- def gauge(metric, amount, hash)
87
+ def gauge(metric, amount, hash = {})
88
88
  provider.gauge(metric, amount, hash)
89
89
  end
90
90
 
91
- def count(metric, amount, hash)
91
+ def count(metric, amount, hash = {})
92
92
  provider.count(metric, amount, hash)
93
93
  end
94
94
 
95
+ def time(metric, &block)
96
+ provider.time(metric, &block)
97
+ end
98
+
95
99
  def batch
96
100
  yield provider
97
101
  end
@@ -1,3 +1,3 @@
1
1
  module Sapience
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapience
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson