audite-lib 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/audite.gemspec +1 -1
  3. data/lib/audite.rb +4 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06683e6af47c5203615127b75ee4ca7467c0d414
4
- data.tar.gz: 15971a8158265e606ac8d2ee62f08a159145d5ab
3
+ metadata.gz: 99b2d40fb953fd716920007ca84cb2195599cc86
4
+ data.tar.gz: 6fcca48aab47388ee7af3cc368f2283d5dc745d2
5
5
  SHA512:
6
- metadata.gz: 4c3b61ee676643ef594621d3deb97f26f08bac11c2562f4c911a2b42731181e727c17b11bd6a2988cabc4e378b7d2f351bdda4af853fa88c848ab6d8cb14a702
7
- data.tar.gz: c7c2e3c1075e7c086831e6a53ad8e3ae02a7bc1c5e09ffecfac1849ccd9d9ef83c23df18fe8c3b43e72579e07466f3280daeb7167cac05be07b3c9e57297709b
6
+ metadata.gz: 35a201a1cc194250dc7716aea5a40fbc48b393141d6979a5547087ea0e09c1a2a8b59e7f31654bfdfb2a9875cf963027e4d395c27472f2f584c595b2e61dc86d
7
+ data.tar.gz: af28c8b6424f666d874dfebb8e2a0b6970c0c472e3a685348fa49dd68ea204677ea45ae414a12f5095b8a9a13e6f6a2b9227c16fade07de8c91a56017e28021a
data/audite.gemspec CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "audite-lib"
5
- s.version = "0.4.2"
5
+ s.version = "0.4.3"
6
6
  s.author = "Matthias Georgi"
7
7
  s.email = "matti.georgi@gmail.com"
8
8
  s.homepage = "http://georgi.github.com/audite"
data/lib/audite.rb CHANGED
@@ -84,14 +84,14 @@ class Audite
84
84
  def stop_stream
85
85
  if @active
86
86
  @active = false
87
- if @thread.alive?
88
- @thread.kill
89
- @thread = nil
90
- end
91
87
  unless @stream.stopped?
92
88
  @stream.stop
93
89
  events.trigger(:toggle, @active)
94
90
  end
91
+ if @thread.alive?
92
+ @thread = nil
93
+ @thread.kill
94
+ end
95
95
  end
96
96
  end
97
97
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audite-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Georgi