protocol-http 0.11.1 → 0.11.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: 5ce2cc646fa7b8e5431cd7f2bba4655432ba77d878c5315a4e2eff6525934cba
4
- data.tar.gz: da337684066c431542d7774b9a06b85ecc083784116d86d0989fcf2aa748291e
3
+ metadata.gz: 88089037bbc59e736f08b8df2137277f0c6cc74e5379ce9a4be1c4f7b0e4ae36
4
+ data.tar.gz: d955cf9bd433f1d39f9a4a9764a2d13ffc7db492042318c1bc28d54e76a5bbfc
5
5
  SHA512:
6
- metadata.gz: a50f6cfb0c20057872398454b0ad7362c9354454f37efeb269056ab719cb99637f89ba56bfa3844a52198f2081206d3e53fcd6fc996490da47f4f343bccce758
7
- data.tar.gz: e3b8723bec549282d2be592898024f8a6a8506971249a302ef6570107794844f9fb9358aa4a7c26cecc0f5cfbcb979cd5b3b93a2143d6004ae3a4552820e60c2
6
+ metadata.gz: 97a2cdef4dc367663d2937ec106c827d48bbb77f2641f1f0816323c530fabbb4f4dad39ec70af7c0c8d22dadbe2f6051a400fb864a9dfc5c90b26531f1de511d
7
+ data.tar.gz: b7a54a38afe7a9115146d5994e504c4d5ae054921b51a4cf905a31b41b17609bcc4d427b54b394311a6906c441f39b78b03e174015006bedc54573ede70abc20
@@ -77,7 +77,7 @@ module Protocol
77
77
  end
78
78
 
79
79
  def clear
80
- @fields = []
80
+ @fields.clear
81
81
  @indexed = nil
82
82
  end
83
83
 
@@ -254,6 +254,10 @@ module Protocol
254
254
  @all = all
255
255
  end
256
256
 
257
+ def clear
258
+ @all.clear
259
+ end
260
+
257
261
  def << headers
258
262
  @all << headers
259
263
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.11.1"
23
+ VERSION = "0.11.2"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-14 00:00:00.000000000 Z
11
+ date: 2019-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered