heavylog 0.0.7 → 0.0.8

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
  SHA256:
3
- metadata.gz: 055e614a6c0fc73c6621118fb43e559ce1ddda63ea985345b43d489ccde63127
4
- data.tar.gz: ca0a8fefe033be2369c50ea8dcd0d97f3d66dc539fb0c2e71599ef35f059c780
3
+ metadata.gz: bebc8d293109a91a0667703a5b242d93d68c9a2bce37ea7a641b163b1058257f
4
+ data.tar.gz: be5e75a379ab306cd05c679f9bd69435e28fa06ed1907199bbd879d472cfccc2
5
5
  SHA512:
6
- metadata.gz: bdb4fa0c09407ffa4f677b9f0e732dbfe8f634aef428cd28176a94c31cbdf9f7d00385d1acdc92df8cbb17d0cbb55cfff749b1c86ffd8db8b1d3abb9cc92b442
7
- data.tar.gz: 17e1f87ecb6bcc5bbea21f052806c0a7d2d0d24ed3e0f1f850ac70aaeb70310fea97993a96729effcd3a494eba926ab1cf7c476e803470789503c14c25250aa8
6
+ metadata.gz: 0a4dc4c47f334abde1326b0c643ca3059d33a58c4b05f211597c1ef45e656ba81e6e59e9d858613fa9f2d03a8c1062c1fb48f44e47ba5ae830e8db3e3e95f5f4
7
+ data.tar.gz: 9f78e3841a815d772cdae8789e95bd150aada4ba3137b8ac9be238ca1e918a65e712dc226ece4e6514804a3abd64eff6f3c6fb44a8a1396a5712c0d18597984c
@@ -1,3 +1,3 @@
1
1
  module Heavylog
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/lib/heavylog.rb CHANGED
@@ -110,7 +110,7 @@ module Heavylog
110
110
  def message_size(message)
111
111
  return message.bytesize if message.respond_to?(:bytesize)
112
112
  return message.map(&:to_s).sum(&:bytesize) if message.is_a?(Array)
113
- message.length
113
+ message.to_s.length
114
114
  end
115
115
  end
116
116
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heavylog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristjan Rang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-25 00:00:00.000000000 Z
11
+ date: 2018-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler