appsignal 0.8.8 → 0.8.10

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: b3f7469748a2d47bd061d8f4b6375d62a41af392
4
- data.tar.gz: f5debd646d3cb4b623da9b57d41d6b74a97dad3a
3
+ metadata.gz: 0143518e3ed38672314841d554a6171695d94bdc
4
+ data.tar.gz: ae7a93a1b61816ebd9160f539bb26e19b867b588
5
5
  SHA512:
6
- metadata.gz: eef63cf79bc9256f368a46156b2d4d62aad3571b68497ddce60de961e3c5fc91056c38aa2823921b396ab08a4e85e17724075d1856daf07bfc7036bb6317d330
7
- data.tar.gz: 3a5f95f6925d637b7bef4534e1ace913ce22d30dc712a7988bbff371da5f11c1894b8f9256a62aeed663f9e70b9264a95d264963c005f037a28a403c127f89b2
6
+ metadata.gz: cca49e04e47c95ba38c81fbc1def005d733173483920f0db3bdfaab7157d8cf74e418c17e794409bf966aeb261375f15e21ea5ec890b4bfd38be49fd0b5cde78
7
+ data.tar.gz: 60c2e57c63987a89e70ed7736285555cc757effcbacd5f3e5889ae3ae895563d7accf1d31cb9b11760e1a11ac0cd9ab71d77de27856f4d863e73f2dd5bd04457
@@ -1,3 +1,9 @@
1
+ # 0.8.10
2
+ * Bugfix: Don't pause agent when it's not active
3
+
4
+ # 0.8.9
5
+ Yanked
6
+
1
7
  # 0.8.8
2
8
  * Explicitely require securerandom
3
9
 
@@ -135,10 +135,10 @@ module Appsignal
135
135
  #
136
136
  # @since 0.8.7
137
137
  def without_instrumentation
138
- agent.paused = true
138
+ agent.paused = true if agent
139
139
  yield
140
140
  ensure
141
- agent.paused = false
141
+ agent.paused = false if agent
142
142
  end
143
143
  end
144
144
  end
@@ -1,3 +1,3 @@
1
1
  module Appsignal
2
- VERSION = '0.8.8'
2
+ VERSION = '0.8.10'
3
3
  end
@@ -347,6 +347,15 @@ describe Appsignal do
347
347
  agent.should_receive(:paused=).with(false)
348
348
  end
349
349
 
350
+ context "without agent" do
351
+ let(:agent) { nil }
352
+
353
+ it "should not change paused state on agent" do
354
+ agent.should_not_receive(:paused=).with(true)
355
+ agent.should_not_receive(:paused=).with(false)
356
+ end
357
+ end
358
+
350
359
  after do
351
360
  Appsignal.without_instrumentation do
352
361
  # nothing
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.8.8
4
+ version: 0.8.10
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: 2014-04-11 00:00:00.000000000 Z
15
+ date: 2014-04-24 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport