chillout 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/chillout.gemspec +6 -1
- data/lib/chillout/client.rb +2 -6
- data/lib/chillout/prefixed_logger.rb +0 -2
- data/lib/chillout/version.rb +1 -1
- data/test/prefixed_logger_test.rb +1 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 789a070578f2521ce6a55e03d7f3e190521bbffe
|
4
|
+
data.tar.gz: b9b533ee2cf0f043160c16d45ca76823bfa51fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84d25d97903cb160ed6931747400f6cf40c073f88f8facc05c5dd82a4a5d8e45795babb0ee5c6962ac63d3db349ae31af3fc8599675ab9ded6fc24d656568489
|
7
|
+
data.tar.gz: f99078c801434d847a28a8a5fbbc19f7471b4382d98ab2fd1609e386f13cc101f2d3fd1aae558345424b5c5ee0bdf50e783d295240b6f84a5c99f256377bf7ff
|
data/CHANGELOG.md
CHANGED
data/chillout.gemspec
CHANGED
@@ -6,7 +6,12 @@ require 'chillout/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "chillout"
|
8
8
|
gem.version = Chillout::VERSION
|
9
|
-
gem.authors = [
|
9
|
+
gem.authors = [
|
10
|
+
"Michal Lomnicki",
|
11
|
+
"Jan Filipowski",
|
12
|
+
"Pawel Pacana",
|
13
|
+
"Robert Pankowecki"
|
14
|
+
]
|
10
15
|
gem.email = [
|
11
16
|
"michal.lomnicki@gmail.com",
|
12
17
|
"jachuf@gmail.com",
|
data/lib/chillout/client.rb
CHANGED
@@ -70,12 +70,8 @@ module Chillout
|
|
70
70
|
@worker_mutex.synchronize do
|
71
71
|
return if worker_running?
|
72
72
|
@worker_thread = Thread.new do
|
73
|
-
|
74
|
-
|
75
|
-
worker.run
|
76
|
-
ensure
|
77
|
-
@logger.flush
|
78
|
-
end
|
73
|
+
worker = Worker.new(@dispatcher, @queue, @logger)
|
74
|
+
worker.run
|
79
75
|
end
|
80
76
|
end
|
81
77
|
end
|
data/lib/chillout/version.rb
CHANGED
@@ -9,12 +9,5 @@ module Chillout
|
|
9
9
|
prefixed_logger.error "Someone is wrong on the internet"
|
10
10
|
assert_includes output.string, "[Chillout] Someone is wrong on the internet"
|
11
11
|
end
|
12
|
-
|
13
|
-
def test_responds_to_flush
|
14
|
-
logger = mock("logger")
|
15
|
-
logger.expects(:flush)
|
16
|
-
prefixed_logger = PrefixedLogger.new("Chillout", logger)
|
17
|
-
prefixed_logger.flush
|
18
|
-
end
|
19
12
|
end
|
20
|
-
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chillout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Michal Lomnicki
|
8
8
|
- Jan Filipowski
|
9
|
-
-
|
9
|
+
- Pawel Pacana
|
10
10
|
- Robert Pankowecki
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|