cabin 0.7.1 → 0.7.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23a9c344930f27313647006b4a9a445a8d49f852
4
- data.tar.gz: 42ac4012db8a1f4acfd9a5a49ffd0f4800b91ac1
3
+ metadata.gz: 5d42c4bca378a65128dd011758c5ba0fc3427dbf
4
+ data.tar.gz: 9c2916616932b6e6a6b89aa9594f6c854075c95d
5
5
  SHA512:
6
- metadata.gz: 2ee17db0377d6fcf16088b3896f81f65edf0b3cfbad2b229a2d0331ba9f6069ef2d385e7cb5ead49ec3f1d24c39ee06b60d542d1d2a0261a88f4290ea477ea66
7
- data.tar.gz: 55f18ad6421077a8ee9b76aad0f17857156e55925ea5112b6ff948aa94b6bb83063c824c19a1c02d329efa45e3828a2bf456b9fed2fa31e4b86d835da9992370
6
+ metadata.gz: 3a6e45ba8f188e20d3fc02fe7585aecfb8574907f414aba1b028c4e3ac0707e4794e11a11d4863c3ccd3a0db92fa50918394db70fe804eaa68f375bcfab835b4
7
+ data.tar.gz: bfc18231653001bef7f445e61d4dfe52b6aeab1baa1d04839efa22d3abd109d0826150bc59c78e548cebbfc9e8b60d6c24a356a40ff6a488d80c695faee762e7
@@ -1,7 +1,7 @@
1
1
  require "cabin/namespace"
2
2
 
3
3
  # An experiment to use AD&D-style log levels, because why not? 'info' and
4
- # 'fatal' and other log levels are pretty lame anyway.
4
+ # 'fatal' and other log levels are silly anyway.
5
5
  #
6
6
  # Plus, now you can 'include Dragons' in your logger, which means it
7
7
  # has +2 against Knights and a special fire breathing attack..
@@ -50,6 +50,7 @@ class Cabin::Outputs::IO
50
50
  @lock.synchronize do
51
51
  if !tty?
52
52
  @io.puts(event.inspect)
53
+ @io.flush
53
54
  else
54
55
  tty_write(event)
55
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cabin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Sissel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-10-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is an experiment to try and make logging more flexible and more
14
14
  consumable. Plain text logs are bullshit, let's emit structured and contextual logs.
@@ -81,8 +81,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.2.2
84
+ rubygems_version: 2.4.6
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Experiments in structured and contextual logging
88
88
  test_files: []
89
+ has_rdoc: