rack-logstasher 1.0.1 → 1.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
  SHA256:
3
- metadata.gz: d5094e6e9fe586e95d7dd08699e18c62d0019dee66ad0da6e2da1d6ac6b2d024
4
- data.tar.gz: 6bebaffb4cb498b604a78fc3a3505144578c169fd158f464fb321a16201e1668
3
+ metadata.gz: c284226cd552c5f8ad2a0fde3bbc33ff6798a58806b401b915b4530d50ae5067
4
+ data.tar.gz: 5c80aa54ba69f36bb904b6c71cd9166a2d27025b0887042fa2c2b1ab6ee0d732
5
5
  SHA512:
6
- metadata.gz: 252b77f49678629284adf356cdf662241ec7fcad6f4f773c8c974b51fab8d8c81d814ae32a252deffeb6eb5c48f8ebfcb3a74f8faa976cf45b4f296b48ad9852
7
- data.tar.gz: 19451f78071d21aeb47807d6a11c9aaa7a82c8a61f3872db8fc31e30eb26469af1abcfbe332bc46cb433e69076bc184b01c9df67f43d9bdb7cb2a1a409212571
6
+ metadata.gz: a2150a7ccd858ae23a984c746bfb552a887295cd01d36e3ff3ac7f5c0171294f3b8f107ebe4183fa08901765278270a48c5d7795b2e5cee540fa6faa92e977b3
7
+ data.tar.gz: 17877af0bb475ec61202a79f8191463f6611c51ec8fc2aa5b3b9833a1a5c05525b7c419511b59bc373c272138ac4b54f8c9e6e19c4292145385f90e014ae0043
@@ -1,3 +1,7 @@
1
+ # 1.0.2
2
+
3
+ - Fix logging error where Rack uses the system monotonic clock.
4
+
1
5
  # 1.0.1
2
6
 
3
7
  - *Changes logging format* to drop the "@fields" prefix and rename "@tags" to "tags".
@@ -13,7 +13,7 @@ module Rack
13
13
  private
14
14
 
15
15
  def log(env, status, response_headers, began_at)
16
- now = Time.now
16
+ now = Utils.clock_time
17
17
 
18
18
  data = {
19
19
  :method => env["REQUEST_METHOD"],
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Logstasher
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-logstasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-08 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.0.1
140
+ rubygems_version: 3.0.3
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Rack middleware to log requests in logstash json event format