franz 1.5.7 → 1.5.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
  SHA1:
3
- metadata.gz: 69a2881f66a92b5501837234d774f3fc0e830417
4
- data.tar.gz: 71488ffdeca0f212b3d0fbd0e11ac3e24d243c04
3
+ metadata.gz: 3cf1ac1563f7fefe2eaa7b8734dc4a61f994eb45
4
+ data.tar.gz: 959e4178e46f5f67d4198aafdf8edac7d1e677ec
5
5
  SHA512:
6
- metadata.gz: c1cd50b81aeef2e010b0e8f0c4659dcfca3c13feee1453c2a7a994d2411bad826a4049f5cc8104641599aa06e33b162a8db8b1f41c0506c9cf35cfeaada59477
7
- data.tar.gz: 694c4f49f17f0d769bc75215a1b1afe29765c00458d43ea35963f5079e495d394a72ca57e77b7fd11131360ea79fc91a9ab6b6f2a7a3c992fa1bae958e7735e8
6
+ metadata.gz: 4ae60dd86a2fbc863f5b2158e240fd3f6b9a819c41171a13cbed37afea872ca033a36c73760cdbd87749803cd679721c93e2547e23eb5ad2f60b63f84594a61e
7
+ data.tar.gz: c6e61eb90bc7f4fd32d900e26eb263e9af715ee048ba9473dc07f72fbd171466121ed1950e27b481c50f38fd3a624d706eb2ac4da4e4947259f27ce30d398652
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.7
1
+ 1.5.8
data/lib/franz/input.rb CHANGED
@@ -171,8 +171,7 @@ module Franz
171
171
  old_checkpoints.pop # Keep last two checkpoints
172
172
  old_checkpoints.map { |c| FileUtils.rm c }
173
173
  log.info \
174
- event: 'input checkpoint saved',
175
- checkpoint: path
174
+ event: 'input checkpoint saved'
176
175
  end
177
176
 
178
177
  private
data/lib/franz/logger.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'socket'
2
1
  require 'logger'
3
2
  require 'time'
4
3
 
@@ -6,7 +5,6 @@ require 'colorize'
6
5
 
7
6
 
8
7
  module Franz
9
- HOSTNAME = Socket.gethostname
10
8
 
11
9
  # Extending the Logger with TRACE capabilities
12
10
  class ::Logger
@@ -53,10 +51,8 @@ module Franz
53
51
  message = { message: message } unless message.is_a? Hash
54
52
 
55
53
  event = {
56
- level: severity,
57
- '@timestamp' => datetime.iso8601(3),
58
- marker: File::basename(caller[4]),
59
- host: HOSTNAME
54
+ 'level' => severity,
55
+ '@timestamp' => datetime.iso8601(3)
60
56
  }.merge message
61
57
 
62
58
  if colorize # console output
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny