dap 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dap/filter/http.rb +10 -4
- data/lib/dap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed9f67bd94ba672f1edc3bc992267aacc039211
|
4
|
+
data.tar.gz: c090c26ebc17f4e16a9eada5c36410f273c8a7dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e28f7b1cdbdc6587cc686fe8f77f078986128956ea629da49cbd6cf4a6e1d0be04c3739eeb07e41cc664015ad2278c311ba79ce672940bca32c9a7c68df7309
|
7
|
+
data.tar.gz: cb5887d3c09fc28a2476553cb30ae42e42405d9e9edab5af41ce6121885b02a30139363c13b2a42577170314b24a8110352a4ad326ed0370df833c9cb29693a3
|
data/Gemfile.lock
CHANGED
data/lib/dap/filter/http.rb
CHANGED
@@ -248,12 +248,18 @@ class FilterDecodeHTTPReply
|
|
248
248
|
headers["http_powered"] = header_value
|
249
249
|
|
250
250
|
when 'date'
|
251
|
-
|
252
|
-
|
251
|
+
begin
|
252
|
+
d = DateTime.parse(header_value)
|
253
|
+
headers["http_date"] = d.to_time.utc.strftime("%Y%m%dT%H:%M:%S%z") if d
|
254
|
+
rescue
|
255
|
+
end
|
253
256
|
|
254
257
|
when 'last-modified'
|
255
|
-
|
256
|
-
|
258
|
+
begin
|
259
|
+
d = DateTime.parse(header_value)
|
260
|
+
headers["http_modified"] = d.to_time.utc.strftime("%Y%m%dT%H:%M:%S%z") if d
|
261
|
+
rescue
|
262
|
+
end
|
257
263
|
|
258
264
|
when 'location'
|
259
265
|
headers["http_location"] = header_value
|
data/lib/dap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7 Research
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: '0'
|
256
256
|
requirements: []
|
257
257
|
rubyforge_project:
|
258
|
-
rubygems_version: 2.6.14
|
258
|
+
rubygems_version: 2.6.14.3
|
259
259
|
signing_key:
|
260
260
|
specification_version: 4
|
261
261
|
summary: 'DAP: The Data Analysis Pipeline'
|