trivial_log_formatter 0.0.1 → 0.0.2

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: 9f1aee33f7107789514e76347044087429102839
4
- data.tar.gz: 606217e3a4a9653b5a359b9297dcf8428faf0c17
3
+ metadata.gz: 27a073c067bab40211de20d6f4c9d078c8983da8
4
+ data.tar.gz: d772185f6158ae4927f03e09cdf0c92a4ecba712
5
5
  SHA512:
6
- metadata.gz: 06c41aa1e4edf2c8676d0130ae82e0ee2e7f9ed52bc5ccf305154b27bf573cdf52a34d99d690dddece4b5a51e2c8edfc0179a9326b830f3045e58129a75d1685
7
- data.tar.gz: f2c314c77b9c0b62e07d11476b061d57f31907a4c5d89d9e7d78c3dd4c637ce68dae6e7830ce6c1bf915884a2e57eb3de9fb47d9b05cf6ec52d965250e288e00
6
+ metadata.gz: 4a9600236daaafd71f090df958ed453d72323736c81b5dbd459da9d44bc8f8ea3942046dbba792a2ed60ed73db5c36b42a3cd682d8af26511a1ab42ccf44c290
7
+ data.tar.gz: c00eec69484906292f0e03af86182483121957118bfa717ceff370b3adfb1fe2fa519205b7faf86d7321b31ff96f78edba64d6cf3b4d9ce6b10bee9910341794
data/Gemfile.lock ADDED
@@ -0,0 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ trivial_log_formatter (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ trivial_log_formatter!
@@ -1,3 +1,3 @@
1
1
  module TrivialLogFormatter
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -7,8 +7,6 @@ module TrivialLogFormatter
7
7
  FORMAT = "[%s#%d] %5s -- %s: %s\n"
8
8
 
9
9
  def call(severity, time, progname, msg)
10
- return '' if msg.respond_to?(:empty?) ? empty? : !msg
11
-
12
10
  FORMAT % [format_datetime(time), $$, severity, progname, msg2str(msg)]
13
11
  end
14
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trivial_log_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich N. Quintero
@@ -20,6 +20,7 @@ files:
20
20
  - .ruby-gemset
21
21
  - .ruby-version
22
22
  - Gemfile
23
+ - Gemfile.lock
23
24
  - LICENSE
24
25
  - LICENSE.txt
25
26
  - README.md