appsignal 1.0.2 → 1.0.3.beta.1

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: ab8531e3403c11bbe28fa214bb071a093df389a8
4
- data.tar.gz: 7fe2047f5ab29a6bcf0eb119eede9b0e41ea8529
3
+ metadata.gz: ba80509e5d18efb4b30730666654d8c6858de3b0
4
+ data.tar.gz: b3884f903cf48437d5954adea809591688d3cd85
5
5
  SHA512:
6
- metadata.gz: 6beaaca953fc808cda72ae9edeaf6acc3dce460cac66f7cef1b8bba92474f7931c83b4a1227b0a3e3bd9de9560bcfa00e33ff4be82091d47fd46fa95f1e4aaa3
7
- data.tar.gz: 9ee81acb8763ff646875df6d7e0d2204d44179c70bb5b8e0298e5173940b72fdfbb939534e61ca64925e4611a3543b3ac78ad45f8f081579d2065f2a0c55fcbe
6
+ metadata.gz: 1954fb27391021a580522a68eaf9b02aaa447b7e5529451cc969360411c376187e8c6d861b499c49c97fb122623351b6dfa6bfc02f5115e8f8adb628e3cef771
7
+ data.tar.gz: 31dd77d7a781ea791cf5e445d5d92e5f99ae0b18ce11977ec05027bbfa636c5a38c800c2f4078133df42ba090cf99ac02a90cb512ea3df6c9e004ee6c4e519d2
@@ -1,3 +1,7 @@
1
+ # 1.0.3
2
+ * Fix bug in completing JS transactions
3
+ * Make Resque integration robust for bigger payloads
4
+
1
5
  # 1.0.2
2
6
  * Bug fix in format of process memory measurements
3
7
  * Event formatter for `instantiation.active_record`
@@ -2,7 +2,7 @@ module Appsignal
2
2
  module Integrations
3
3
  module ResquePlugin
4
4
  def around_perform_resque_plugin(*args)
5
- Appsignal.monitor_transaction(
5
+ Appsignal.monitor_single_transaction(
6
6
  'perform_job.resque',
7
7
  :class => self.to_s,
8
8
  :method => 'perform'
@@ -53,6 +53,7 @@ module Appsignal
53
53
 
54
54
  def complete!
55
55
  Appsignal::Extension.finish_transaction(@transaction_index)
56
+ Appsignal::Extension.complete_transaction(@transaction_index)
56
57
  end
57
58
  end
58
59
  end
@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
2
 
3
3
  module Appsignal
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3.beta.1'
5
5
  end
@@ -31,6 +31,7 @@ if resque_present?
31
31
  before do
32
32
  transaction.stub(:complete => true)
33
33
  Appsignal::Transaction.stub(:current => transaction)
34
+ Appsignal.should_receive(:stop)
34
35
  end
35
36
 
36
37
  context "without exception" do
@@ -87,6 +87,7 @@ describe Appsignal::JSExceptionTransaction do
87
87
  describe "#complete!" do
88
88
  it "should call all required methods" do
89
89
  expect( Appsignal::Extension ).to receive(:finish_transaction).with(kind_of(Integer))
90
+ expect( Appsignal::Extension ).to receive(:complete_transaction).with(kind_of(Integer))
90
91
  transaction.complete!
91
92
  end
92
93
  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: 1.0.2
4
+ version: 1.0.3.beta.1
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-01-27 00:00:00.000000000 Z
12
+ date: 2016-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -274,9 +274,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
274
  version: '1.9'
275
275
  required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - ">="
277
+ - - ">"
278
278
  - !ruby/object:Gem::Version
279
- version: '0'
279
+ version: 1.3.1
280
280
  requirements: []
281
281
  rubyforge_project:
282
282
  rubygems_version: 2.2.5