httplog 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: 559dce6d4408a4c64b11a0a80860f373cca08218
4
- data.tar.gz: 631b221d50a319c8ab94fabccf910d8ba1ea8d17
3
+ metadata.gz: a7a563960b35577eb712fdf298a8973b8030e01f
4
+ data.tar.gz: 3dedc8250dd7b90ee49a3047716895a4ec439efb
5
5
  SHA512:
6
- metadata.gz: 45a9cb8d87165ce54676c5946e56af35c306a19e02a9cf2f17018ac4fd03e8a2993506eae1eb71db3a5b38a3bbbea9f072b96f3c3dfb1ccd75b19ec7d516918a
7
- data.tar.gz: c1bbaf8818fd4454223b28ba62e41538d255b02354623777891a445cf584da77e15dec6e34c912f6399d172a555a10633def08e4343eccc2b40b8b339140d8de
6
+ metadata.gz: 530f311be78977ad7b5b5bb7574201b128f994996e9f4d0587938603a5c75ca6b9fdf6406d4005a09d48a0f3ee9bd2edfffa5704cecc0f4ad8952b316ff8dd07
7
+ data.tar.gz: 596e07bd67d4c1e9e83499e85abc7646a70f197f82dc2c6e6f069d3c160419add18e8212a7ac7eb60178af51cd055cd750975a6a3d477a68adecdc5786292609
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - "2.3.8"
4
- - "2.4.4"
5
- - "2.5.2"
4
+ - "2.4.5"
5
+ - "2.5.3"
6
+ - "2.6.0"
6
7
  gemfile:
7
8
  - gemfiles/http2.gemfile
8
9
  - gemfiles/http3.gemfile
@@ -1,3 +1,7 @@
1
+ ## 1.2.1 - 2019-01-28
2
+
3
+ * [#67](https://github.com/trusche/httplog/pull/67) Gracefully handling empty response headers in Ethon
4
+
1
5
  ## 1.2.0 - 2018-12-31
2
6
 
3
7
  * [#65](https://github.com/trusche/httplog/pull/65) Added JSON as an optional output format
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- httplog (1.2.0)
4
+ httplog (1.2.1)
5
5
  rack (>= 1.0)
6
6
  rainbow (>= 2.0.0)
7
7
 
@@ -28,7 +28,7 @@ if defined?(Ethon)
28
28
 
29
29
  # Hard to believe that Ethon wouldn't parse out the headers into
30
30
  # an array; probably overlooked it. Anyway, let's do it ourselves:
31
- headers = response_headers.split(/\r?\n/)[1..-1]
31
+ headers = response_headers.split(/\r?\n/).drop(1)
32
32
 
33
33
  HttpLog.call(
34
34
  method: @http_log[:method],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpLog
4
- VERSION = '1.2.0'.freeze
4
+ VERSION = '1.2.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httplog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thilo Rusche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-31 00:00:00.000000000 Z
11
+ date: 2019-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ethon