protocol-http 0.11.0 → 0.11.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
  SHA256:
3
- metadata.gz: ec53c185b272bcb6e4252ffafea0360645d62fca011bfd13fe22f27792ecf829
4
- data.tar.gz: 9e8fd1e4edda12e5c503a257f4d2e4cc38b20653d6cbbfb2f47f8c57531fdf0c
3
+ metadata.gz: 5ce2cc646fa7b8e5431cd7f2bba4655432ba77d878c5315a4e2eff6525934cba
4
+ data.tar.gz: da337684066c431542d7774b9a06b85ecc083784116d86d0989fcf2aa748291e
5
5
  SHA512:
6
- metadata.gz: 5a1b2e0da635ca114115405ec4841411cdb3761895df4f4c4f941e65602154d2853d0c0ecce1b3ff65540ecafc321e35fa8b482be2ad71c9c7d54777910a4a3f
7
- data.tar.gz: 2ad27b1d4aae3420e34a28ff0b510755249424beb13d2412bbb87e13764427687e9425ef2e826cbf095c76e9c9468987760a5dbc49527307d76dc4c5f23c64f5
6
+ metadata.gz: a50f6cfb0c20057872398454b0ad7362c9354454f37efeb269056ab719cb99637f89ba56bfa3844a52198f2081206d3e53fcd6fc996490da47f4f343bccce758
7
+ data.tar.gz: e3b8723bec549282d2be592898024f8a6a8506971249a302ef6570107794844f9fb9358aa4a7c26cecc0f5cfbcb979cd5b3b93a2143d6004ae3a4552820e60c2
@@ -76,6 +76,11 @@ module Protocol
76
76
  self.class.new(@fields, @indexed)
77
77
  end
78
78
 
79
+ def clear
80
+ @fields = []
81
+ @indexed = nil
82
+ end
83
+
79
84
  # An array of `[key, value]` pairs.
80
85
  attr :fields
81
86
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.11.0"
23
+ VERSION = "0.11.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams