ghost_reader 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,9 +53,9 @@ module GhostReader
53
53
 
54
54
  def track(missing)
55
55
  return if missings.nil? # not yet initialized
56
- config.logger.debug "tracking: #{missing.inspect}"
56
+ config.logger.debug "[#{$$}] tracking: #{missing.inspect}"
57
57
  self.missings.deep_merge!(missing)
58
- config.logger.debug "missings: #{missings.inspect}"
58
+ config.logger.debug "[#{$$}] missings: #{missings.inspect}"
59
59
  end
60
60
 
61
61
  # data, e.g. {'en' => {'this' => {'is' => {'a' => {'test' => 'This is a test.'}}}}}
@@ -107,11 +107,12 @@ module GhostReader
107
107
  sleep config.report_interval
108
108
  unless self.missings.nil?
109
109
  unless self.missings.empty?
110
- config.logger.info "Reporting request with #{self.missings.keys.size} missings."
110
+ config.logger.info "[#{$$}] Reporting request with % missings." %
111
+ self.missings.keys.size
111
112
  config.client.reporting_request(missings)
112
113
  missings.clear
113
114
  else
114
- config.logger.debug "Reporting request omitted, nothing to report."
115
+ config.logger.debug "[#{$$}] Reporting request omitted, nothing to report."
115
116
  end
116
117
  else
117
118
  config.logger.debug "Reporting request omitted, not yet initialized," +
@@ -1,3 +1,3 @@
1
1
  module GhostReader
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghost_reader
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 4
10
- version: 1.1.4
9
+ - 5
10
+ version: 1.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phil Hofmann