mettric 0.3.0 → 0.3.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: bf29224def9171b196e8989bcd132f881267b6d8
4
- data.tar.gz: 2d83a52017f9ac892171c3769cc6efbec985bdc3
3
+ metadata.gz: d08f830dfb547f14ad93a6bd3b5d7a4c04911c3c
4
+ data.tar.gz: cd463d733a96623a3af220423cdb29884ff5303a
5
5
  SHA512:
6
- metadata.gz: 6e260be235860e9cc427db18a92035a1866b260e7a5424b1115557d507c1a685426cf4a71e53ff6e51defb2fdcbb3c6a9d22f98683e2438409c7d1a45801e81d
7
- data.tar.gz: da2ade0317bc8db6c1c156774ad4405b54ad9dc2d671f274201afd636322a2bfe79c7b9488afc6c689ffe1db366b315f0b9723600d328b497f6fc2041753e4f0
6
+ metadata.gz: f3d10574f3e4fd6ae04decb90bf4b44d27cec2939695239c0498f6d04cde8ecca44a1b03b8f51da69fbade802eb6d307fe26cfeb9a991fcdc2dba42c0cad390f
7
+ data.tar.gz: 5afa53bccdd62a397d58e5463eb63bb17625159ec703698c9fa6756a2f3d2b363dd68d6d8776afa08992811bb4f5590c2a439f8f03daa303278c90bc869b7cf6
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ 0.3.1 (2016-08-09)
2
+ ==================
3
+ - Fix code for not raising Mettric::Errors
4
+
1
5
  0.3.0 (2016-07-26)
2
6
  ==================
3
7
  - Make Mettric.time return what the block returned
@@ -36,7 +36,7 @@ class Mettric::SidekiqMiddleware
36
36
  Mettric.event(service: "#{service}.success", tags: ['sidekiq'])
37
37
  rescue => e
38
38
  Mettric.event(service: "#{service}.failure", tags: ['sidekiq', 'error'], description: e.to_s)
39
- raise unless e.is_a?(Mettric::Error)
39
+ raise unless e < Mettric::Error
40
40
  end
41
41
  end
42
42
 
@@ -1,3 +1,3 @@
1
1
  class Mettric
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mettric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -175,3 +175,4 @@ signing_key:
175
175
  specification_version: 4
176
176
  summary: Count metrics
177
177
  test_files: []
178
+ has_rdoc: