audite-lib 0.4.1 → 0.4.2

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 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 041f8e7065b49fc7d94f63647ac4c1f6d584f715
4
- data.tar.gz: ccbf5a030a7523d61bf785ffa7387b9792dfcd0c
3
+ metadata.gz: 06683e6af47c5203615127b75ee4ca7467c0d414
4
+ data.tar.gz: 15971a8158265e606ac8d2ee62f08a159145d5ab
5
5
  SHA512:
6
- metadata.gz: 8ed5cc854d9472737ed0e27ca389e8be9c194480ed44b2458b84ba1f612a1af832114e15d090044b1a3a3f04206c31f02f2b402259780b035f82fe9d04770f4d
7
- data.tar.gz: 16c86468704fb1ee735c024e5884e9bf63d8c3e7b729cfb79674daf4af41704ca59f8fd6ba988601f62f937c7813c4e04fd2d550dd37ba25e0fe8a704f7718dc
6
+ metadata.gz: 4c3b61ee676643ef594621d3deb97f26f08bac11c2562f4c911a2b42731181e727c17b11bd6a2988cabc4e378b7d2f351bdda4af853fa88c848ab6d8cb14a702
7
+ data.tar.gz: c7c2e3c1075e7c086831e6a53ad8e3ae02a7bc1c5e09ffecfac1849ccd9d9ef83c23df18fe8c3b43e72579e07466f3280daeb7167cac05be07b3c9e57297709b
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.1"
5
+ s.version = "0.4.2"
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,7 +84,10 @@ class Audite
84
84
  def stop_stream
85
85
  if @active
86
86
  @active = false
87
- @thread = nil unless @thread.alive?
87
+ if @thread.alive?
88
+ @thread.kill
89
+ @thread = nil
90
+ end
88
91
  unless @stream.stopped?
89
92
  @stream.stop
90
93
  events.trigger(:toggle, @active)
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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Georgi