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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 197e690562925f6ce9309e2545460a42280ca5d9
4
- data.tar.gz: d130742ff61be6f59e38a2f389bc424f66feeeac
3
+ metadata.gz: 789a070578f2521ce6a55e03d7f3e190521bbffe
4
+ data.tar.gz: b9b533ee2cf0f043160c16d45ca76823bfa51fc6
5
5
  SHA512:
6
- metadata.gz: 1929db6e6dcc8816f58cd33760443bda3b3c201f10f207808ceb26cc4307919e67c73d7cb3d1852e05eae6f41366563f1fdaf3f3b0db568c3fc6e409e9b3630a
7
- data.tar.gz: ca1ba2c6c1e335394f303e506636a8d2bfb0126e81b366145eec930780746ad464fe3fbc67491197267e79b0d61952cafeb7ece3bbfd3c1dd94562d5949b8d5a
6
+ metadata.gz: 84d25d97903cb160ed6931747400f6cf40c073f88f8facc05c5dd82a4a5d8e45795babb0ee5c6962ac63d3db349ae31af3fc8599675ab9ded6fc24d656568489
7
+ data.tar.gz: f99078c801434d847a28a8a5fbbc19f7471b4382d98ab2fd1609e386f13cc101f2d3fd1aae558345424b5c5ee0bdf50e783d295240b6f84a5c99f256377bf7ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # chillout gem changes
2
2
 
3
+ 0.8.1
4
+ -----
5
+
6
+ - Fixed chillout logging to not `#flush` which caused minor errors.
7
+
3
8
  0.8.0
4
9
  -----
5
10
 
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 = ["Michał Łomnicki", "Jan Filipowski", "Paweł Pacana", "Robert Pankowecki"]
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",
@@ -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
- begin
74
- worker = Worker.new(@dispatcher, @queue, @logger)
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
@@ -4,8 +4,6 @@ module Chillout
4
4
  class PrefixedLogger
5
5
  extend Forwardable
6
6
 
7
- def_delegators :@logger, :flush
8
-
9
7
  attr_reader :prefix
10
8
 
11
9
  def initialize(prefix, logger)
@@ -1,3 +1,3 @@
1
1
  module Chillout
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -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.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
- - Michał Łomnicki
7
+ - Michal Lomnicki
8
8
  - Jan Filipowski
9
- - Paweł Pacana
9
+ - Pawel Pacana
10
10
  - Robert Pankowecki
11
11
  autorequire:
12
12
  bindir: bin