appsignal 2.0.2 → 2.0.3

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: 9f601749cf77425917a239f3bff1b9911ce82c7b
4
- data.tar.gz: 1453a4ac204b7dba73a9df72c1a3364e7a8f052c
3
+ metadata.gz: e29c3c25c84a87e0b4c79ac4b415fb35ce9cf8cd
4
+ data.tar.gz: d60ecade3fca8316872d961745c5785cd8124f81
5
5
  SHA512:
6
- metadata.gz: 01822ca7349b66f623263eafcc56c0dc7544e7a09bfdfd6ebdfaf3516ecd6ced1f5a5bccfd00cf6c6fa80ed463600ef1dba72121be7728c324560e131401fa49
7
- data.tar.gz: 1e24a6931e772c24eafd6c7d6d7368533c676458ff7f13d9e79a765e4f14f5eec56f7d26335e42799c4ce12b96d80e0487b993b2fb259787655f0743a81afb42
6
+ metadata.gz: b2f474eff84fde5d6771f6963b54017eae2e3f4129b82b93ac52acd80fe9df5ba81a5b03ce06feba7d580518237c73be0902f0b327fdc20353698618c073cf56
7
+ data.tar.gz: 7553ea79e37867266b626c823663ca688e1f2891b284b4191e055aa450a4262764697363ce0f490cd6d373cdd9b9263f8acb8c807d66d52009e9a8d6b40f1891
@@ -1,3 +1,7 @@
1
+ # 2.0.3
2
+ * Fix JavaScript exception catcher throwing an error on finishing a
3
+ transaction. PR #210
4
+
1
5
  # 2.0.2
2
6
  * Fix Sequel instrumentation overriding existing logic from extensions. PR #209
3
7
 
@@ -47,7 +47,7 @@ module Appsignal
47
47
  end
48
48
 
49
49
  def complete!
50
- @ext.finish
50
+ @ext.finish(0)
51
51
  @ext.complete
52
52
  end
53
53
  end
@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
2
 
3
3
  module Appsignal
4
- VERSION = '2.0.2'
4
+ VERSION = '2.0.3'
5
5
  end
@@ -120,8 +120,8 @@ describe Appsignal::JSExceptionTransaction do
120
120
 
121
121
  describe "#complete!" do
122
122
  it "should call all required methods" do
123
- expect(transaction.ext).to receive(:finish)
124
- expect(transaction.ext).to receive(:complete)
123
+ expect(transaction.ext).to receive(:finish).and_call_original
124
+ expect(transaction.ext).to receive(:complete).and_call_original
125
125
  transaction.complete!
126
126
  end
127
127
  end
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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-16 00:00:00.000000000 Z
12
+ date: 2016-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack