appsignal 0.12.beta.44 → 0.12.beta.45

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: 9bdf0ccf5105539f238ae1fcde6fd2b573571f1d
4
- data.tar.gz: 4dc52cb384838949947cd1eaaa0cc31f69bd12db
3
+ metadata.gz: 7466c9133728368f216e7ee561091bc009f0e58d
4
+ data.tar.gz: f7427d9b0a68f235a897bf0e99915f7a7370cc61
5
5
  SHA512:
6
- metadata.gz: ef91010cdfe13f0dc0b44903642c19288dc38d32b70dc66137faebba99fd737929799738effc568a5a73b029c9546c9f2a6b5e9e38f668fb28b7cb2c5949a299
7
- data.tar.gz: 7e1f37f95dc8de0c9880e02eafd811b39dfa92cb3c8df78e64cd7aa8c5e363b73800ba5b6c8f48eb14bb583806ec24fb1b7cc13bf9bbc1203a4fedac99a01937
6
+ metadata.gz: 5790a218af4b455616336048e077c6090a82a2a1a992fbe478fb39620d7078dc1945db91229bda873a9e3b23d57bb97cbf6587b067a1fd66c3cbec7d21537f5b
7
+ data.tar.gz: ce25007cb2f3cafbfb4d31d790d1437a8c70c1b016095579d132fd744a9f31157fac3ae8b03f333424c8cd31176c41db9770f7effa6386c8a65f58e8f3d9ea6d
@@ -1,11 +1,11 @@
1
1
  ---
2
- :version: 3f9c434
2
+ :version: 98f290c
3
3
  :triples:
4
4
  x86_64-linux:
5
- :checksum: 1f06eee6ab72f92dc8e50d686e0df2702b96714f1b673225c1deaf19844220ff
6
- :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/3f9c434/appsignal-agent-x86_64-linux-static.tar.gz
5
+ :checksum: 46ed71e0af1efb0d7ee2b50b9032048cd9ea05f495062656f0fca9444cab3515
6
+ :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/98f290c/appsignal-agent-x86_64-linux-static.tar.gz
7
7
  :lib_filename: libappsignal.a
8
8
  x86_64-darwin:
9
- :checksum: 61d0ef9e03366b4997adcd15d4ec02c43a3aab35eee1fd47c0ace26cd943d00c
10
- :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/3f9c434/appsignal-agent-x86_64-darwin-static.tar.gz
9
+ :checksum: 1f1333c66ee11f575e15efff9722649c0e29c9bf0fb2c70fc3a38f1ae3809542
10
+ :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/98f290c/appsignal-agent-x86_64-darwin-static.tar.gz
11
11
  :lib_filename: libappsignal.a
@@ -81,8 +81,7 @@ module Appsignal
81
81
  # Wrap a transaction with appsignal monitoring.
82
82
  def monitor_transaction(name, env={})
83
83
  unless active?
84
- yield
85
- return
84
+ return yield
86
85
  end
87
86
 
88
87
  if name.start_with?('perform_job'.freeze)
@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
2
 
3
3
  module Appsignal
4
- VERSION = '0.12.beta.44'
4
+ VERSION = '0.12.beta.45'
5
5
  end
@@ -210,12 +210,12 @@ describe Appsignal do
210
210
  Appsignal::Transaction.should_not_receive(:create)
211
211
  ActiveSupport::Notifications.should_not_receive(:instrument)
212
212
  object = double
213
- object.should_receive(:some_method)
213
+ object.should_receive(:some_method).and_return(1)
214
214
 
215
215
  lambda {
216
216
  Appsignal.monitor_transaction('perform_job.nothing') do
217
217
  object.some_method
218
- end
218
+ end.should == 1
219
219
  }.should_not raise_error
220
220
  end
221
221
  end
@@ -270,7 +270,7 @@ describe Appsignal do
270
270
  ).and_yield
271
271
  Appsignal::Transaction.should_receive(:complete_current!)
272
272
  object = double
273
- object.should_receive(:some_method)
273
+ object.should_receive(:some_method).and_return(1)
274
274
 
275
275
  Appsignal.monitor_transaction(
276
276
  'perform_job.something',
@@ -280,7 +280,7 @@ describe Appsignal do
280
280
  current.namespace.should == Appsignal::Transaction::BACKGROUND_JOB
281
281
  current.request.should be_a(Appsignal::Transaction::GenericRequest)
282
282
  object.some_method
283
- end
283
+ end.should == 1
284
284
  end
285
285
 
286
286
  it "should instrument and complete for a http request" 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.44
4
+ version: 0.12.beta.45
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: 2015-10-14 00:00:00.000000000 Z
12
+ date: 2015-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack