opbeat 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opbeat.rb +8 -0
- data/lib/opbeat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bd8f720856c16006b558a398a1123244a081a19
|
4
|
+
data.tar.gz: d5419ec697f3ad14b4c40243c5003509718478de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c57a52fc29b718f369766646c2b01f9e4dbc3893853d97db2a997d42a28234d26c7b461d1d52065ee46080d570c5d291650f654e3e8a0fa83d8d96084a1647c5
|
7
|
+
data.tar.gz: c3532da8de1972941ba1cb254d94a9aa82a46b6c1326807999204459fc892bf409d7b95be356b1b0273da4c0cd172936b8db243fd695d08f75abb6fee8ca5a4e
|
data/lib/opbeat.rb
CHANGED
@@ -78,6 +78,14 @@ module Opbeat
|
|
78
78
|
client.flush_transactions
|
79
79
|
end
|
80
80
|
|
81
|
+
# Sets context for future errors
|
82
|
+
#
|
83
|
+
# @param context [Hash]
|
84
|
+
def self.set_context context
|
85
|
+
return nil unless client
|
86
|
+
client.set_context
|
87
|
+
end
|
88
|
+
|
81
89
|
# Send an exception to Opbeat
|
82
90
|
#
|
83
91
|
# @param exception [Exception]
|
data/lib/opbeat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opbeat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikkel Malmberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|