appsignal 0.11.14 → 0.11.15

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: 2ab08b50fb3331ff32f69fcce00778a034b624b8
4
- data.tar.gz: 008af085523d5d4f14714313dbfeb296ddec8a7a
3
+ metadata.gz: e46c381bcac122c334dd4add206d31c1d0055e9e
4
+ data.tar.gz: d0fed9e09daaeef79be49f0f7239beef0140c15c
5
5
  SHA512:
6
- metadata.gz: 8fb0b6b739dc7a56352f6c90889e06b5692f55c98f91734308385fd6877391fed4c3bea0f7e028e92474a52e67fa6054eb9c00e8e2de578be5544926c1ecac26
7
- data.tar.gz: 990f0c366b2008f26cc167084bc69a3bbb26d461086069ee9aaf19c508f8878b1535c999fe2e51a09006b4a17c4b8057e42be876f50e9e476256c6056857a943
6
+ metadata.gz: 3441a4fa9552f743e0b3c4e34295b0e1a70cff16b42f7192e85cded61e199e1bfb8f2cd2910cc3ce2aefe6e1f225819a45022e68ddbf8d629e0fa65b06e580e5
7
+ data.tar.gz: ab491b0cb3fae719b4d3e57a94cf4a6f8bf128f5d58bda193c1e8a1906196b4284fb43ea430e916087660bbcb01470c16b480dd996d181945f17f5824b902dcf
@@ -1,3 +1,6 @@
1
+ # 0.11.15
2
+ * Improve Sinatra support
3
+
1
4
  # 0.11.14
2
5
  * Support ActiveJob wrapped jobs
3
6
  * Improve proxy support
@@ -30,7 +30,7 @@ module Appsignal
30
30
  ensure
31
31
  # In production newer versions of Sinatra don't raise errors, but store
32
32
  # them in the sinatra.error env var.
33
- Appsignal::Transaction.current.add_exception(env['sinatra.error']) if env['sinatra.error']
33
+ Appsignal.add_exception(env['sinatra.error']) if env['sinatra.error']
34
34
  end
35
35
 
36
36
  def raw_payload(env)
@@ -1,3 +1,3 @@
1
1
  module Appsignal
2
- VERSION = '0.11.14'
2
+ VERSION = '0.11.15'
3
3
  end
@@ -85,7 +85,7 @@ if defined?(::Sinatra)
85
85
  transaction = double
86
86
  transaction.stub(:set_process_action_event)
87
87
  transaction.stub(:add_event)
88
- transaction.should_receive(:add_exception).with(exception)
88
+ Appsignal.should_receive(:add_exception).with(exception)
89
89
  Appsignal::Transaction.stub(:current => transaction)
90
90
 
91
91
  middleware.call_with_appsignal_monitoring(env)
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.11.14
4
+ version: 0.11.15
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-09-01 00:00:00.000000000 Z
15
+ date: 2015-09-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack