appsignal 0.12.beta.30 → 0.12.beta.31

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: 2dd1d2885934d8222e92085d68bcaf92a7aa30bb
4
- data.tar.gz: 9a0b13006147954c5f60d671932a35b4b790ac75
3
+ metadata.gz: eb6deacd3b946d7291c5ea4b1e7a98a4268e2867
4
+ data.tar.gz: cf0d403fefc46f4957264e0b33f2b148e8ad7ae8
5
5
  SHA512:
6
- metadata.gz: 96385a750e9dee922fb9f0af50b18c8deffa51f4bf853e17d88631114ce583b7f094102bcdabf4b78eb23940a1d9b80ff079734b26e86397a33d12c50481ea78
7
- data.tar.gz: 8ae16f3a9e68abc623fb4e9878ca88d2e0e27ae32eafb4a3661dc6f4c280b605f479f8673c6cd37367ed0763af75f771be26a761de5284b0d0070631638d8062
6
+ metadata.gz: ebd6b18c154977fb7cf24b9f6c441627f06df556676fd6dd22b8c6617ec3509a379b2ac301d187e7d49c699f7d93807ef5e3bd55d7f9b10ab0af2cc2df8840cd
7
+ data.tar.gz: 7646f9ec281d26c0075bd313f2c9d1a2ff1c65ed6d60b167276d928c9796090a4082ba138bafe278047c9a335704c20305f3c80ab54f266a25260c5ff2b5b10c
@@ -103,6 +103,11 @@ module Appsignal
103
103
  Appsignal::Transaction.complete_current!
104
104
  end
105
105
 
106
+ def add_exception(exception)
107
+ warn '[DEPRECATION] add_exception is deprecated, use set_exception instead'
108
+ set_exception(exception)
109
+ end
110
+
106
111
  def set_exception(exception)
107
112
  return if !active? ||
108
113
  Appsignal::Transaction.current.nil? ||
@@ -1,4 +1,4 @@
1
1
  module Appsignal
2
- VERSION = '0.12.beta.30'
2
+ VERSION = '0.12.beta.31'
3
3
  AGENT_VERSION = '8cdd29b'
4
4
  end
@@ -179,6 +179,12 @@ describe Appsignal do
179
179
  end
180
180
  end
181
181
 
182
+ describe ".add_exception" do
183
+ it "should alias this method" do
184
+ Appsignal.should respond_to(:add_exception)
185
+ end
186
+ end
187
+
182
188
  context "not active" do
183
189
  describe ".monitor_transaction" do
184
190
  it "should do nothing but still yield the block" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.beta.30
4
+ version: 0.12.beta.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-08-19 00:00:00.000000000 Z
15
+ date: 2015-08-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack