tiny_log 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiny_log.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f4ac3bead71ae6bd4b79cf5bc08a84abadd04eb35e98bfcf684077ccf7bf733
4
- data.tar.gz: 5219f6fad3b63a97e969acdaea62b6cba3d77e558bab26c83d3af837b9184d14
3
+ metadata.gz: 6b0c929818f43c13ea0abc76b487773fffaa9a41dfc9457260f39d5c53c42de5
4
+ data.tar.gz: 782f6be926f8be3420ad06a90df545946a2e94ab5e09a079bbe04d86e6ef20f7
5
5
  SHA512:
6
- metadata.gz: 3fa4c6404810d1b7aa2b4757dd3eed4f7c8ecdcb4252a84e90e60627bfc2409100e04baabb4e67904566a310b1586d0f64393b0110a46be08721e990b56247d6
7
- data.tar.gz: 550f4c186a01e3b420e737228b142a05e600fbe776c21c499881bc14a24d6d5b69dcd39e72b651b8e96f4dbf0d2bff356c47383bd6abb93f0aeacc0d0c95902a
6
+ metadata.gz: e7fcaeb0db49141f2a37c1619146564541ff4457db10aebc1a68470865bf669d98d355e9194cada4c47614e0ee52c35063a92a2218b756c21cf6eb0cc16d7409
7
+ data.tar.gz: 6893fd027e3d9b7443216385ab4e04169d1c55447af72ee8d7a64ec052356b2af336364859af47362e237f66ce73dc8b384c8e242ba405e954e555282af47fce
data/lib/tiny_log.rb CHANGED
@@ -24,7 +24,7 @@ class TinyLog
24
24
  # timestamp
25
25
  def method_missing(prefix, *msgs)
26
26
  msgs.each do |m|
27
- m.lines.each do |l|
27
+ m.to_s.lines.each do |l|
28
28
  @io.puts "#{Time.now.utc.iso8601(6)} #{Process.pid.to_s.rjust(6)} #{prefix.to_s.upcase} #{l}"
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt