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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62406440d5386dfb4cab59dcb5db22534d83c8c2
4
- data.tar.gz: bfc8e55c4b8e34a4cd3093106ce8857f00f1b4b2
3
+ metadata.gz: 5bd8f720856c16006b558a398a1123244a081a19
4
+ data.tar.gz: d5419ec697f3ad14b4c40243c5003509718478de
5
5
  SHA512:
6
- metadata.gz: 702781cb7e485aa2b9539775be5beb0bb0710085d05aa1eedc76b4fe0247ecc21ef47e68ffd736e718f7c53a665a189a7041940d4912696c84196e1108df29c6
7
- data.tar.gz: 4cfad284c0cfb8d8a9b1a1c1c5d02850efda47e7e5de5da47403af1c9513f87221e957e24e8eecbc526bfd2f6aa65080e8e21107e2ffd101904746c1fc4ec7a7
6
+ metadata.gz: c57a52fc29b718f369766646c2b01f9e4dbc3893853d97db2a997d42a28234d26c7b461d1d52065ee46080d570c5d291650f654e3e8a0fa83d8d96084a1647c5
7
+ data.tar.gz: c3532da8de1972941ba1cb254d94a9aa82a46b6c1326807999204459fc892bf409d7b95be356b1b0273da4c0cd172936b8db243fd695d08f75abb6fee8ca5a4e
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module Opbeat
2
- VERSION = "3.0.4"
2
+ VERSION = "3.0.5"
3
3
  end
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
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-19 00:00:00.000000000 Z
11
+ date: 2016-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport