logtail-ruby 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 5523213c7b76d65ee65d2cb78a7ae670bf08befe691a39d0e21314a213342026
4
- data.tar.gz: 3a2ec12ce069f3dfb65486a77547ca8e2c43be313a4493067ea3f8df2d502db6
3
+ metadata.gz: 714fec06a5b96315abe5835ea499725c543ddf24b645efb09b0348a3e25298c8
4
+ data.tar.gz: 8488c21ac1b8a6478c4d3d5186c3d6cb3412c9224e7c8a07734e0badf47d2f86
5
5
  SHA512:
6
- metadata.gz: d6ff799030c337cf62811e4a29ecee47e3141f4c7870e9686fdb7f38b071ad758b4dcea6f05b5df44b78dd3fea4fd1c82643466e9a21e2fc445908b4e34e6259
7
- data.tar.gz: 51157471d26432a6287f7ec4c3b3832609aa133fb36fa21939c8bd8a2b7f8ecd5d34100159fbbc9a129e32eb2cb8def110e11d9b938acd67ee450ee81a2ee512
6
+ metadata.gz: 3b1511f61cfa83b18924bee016297f38de49b8dd9215f016bc3767a1209313a2912e8b2652c783653245d263dc5de2fe4ce6abf9189d0d0ea30365a5ab876610
7
+ data.tar.gz: 5dc461d8399703a8d9141d55f49f45d2f299bd0656cb5d78a91d9b9bee38312ef4b5580a4dbfe91a01662ed542782de3cc2463d3aaf4ce882ef21de58e67f845
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # License
2
2
 
3
- Copyright (c) 2016, Logtail
3
+ Copyright (c) 2021, Logtail
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any purpose
6
6
  with or without fee is hereby granted, provided that the above copyright notice
@@ -147,7 +147,7 @@ module Logtail
147
147
  end
148
148
 
149
149
  # System context
150
- hostname = Socket.gethostname
150
+ hostname = Socket.gethostname.force_encoding('UTF-8')
151
151
  pid = Process.pid
152
152
  system_context = Contexts::System.new(hostname: hostname, pid: pid)
153
153
  new_hash.merge!(system_context.to_hash)
@@ -1,3 +1,3 @@
1
1
  module Logtail
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logtail-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logtail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack