protocol-http 0.4.0 → 0.4.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: 152ed75f85cb113b719ac90857bcd9e1cc0a8e87ae509c552a1de0086817295e
4
- data.tar.gz: 48b3bef0834d0eb325433b53007a44b9d57f1b327301ac427ab9ef7303e8f11e
3
+ metadata.gz: 2ffe5c98e49d6feb6ab81b7437ab5acbca2e3140b6d103844d4c99ad640e1186
4
+ data.tar.gz: 951a549c2c522305e43e4f29b48709433ab07499477dab5938f76b9cd58a1e1b
5
5
  SHA512:
6
- metadata.gz: a71ba59c41375ab3002b65a4d7bc517ccb45e5a7d44b0a9e6e7fce7bb80806ecc9c60bf102619cfb32629642d609bda5cb92ca1dee51768dc90ff32173da7ad1
7
- data.tar.gz: 7483f5278eb4d49b646eca43aabd38717f183359ef0be143c670fee21b2fcd993c721c36340923d74242c8b8cd207414fe146ab9ceea534c3e41fb8e54145671
6
+ metadata.gz: 6a08508803e99eecf84d241dd840f295b825e66affe5e0424b58858907c06d4bfffd9a1f26dbea393d681a8438d7207e1e6d801a209e1a8da6909f1f248cec26
7
+ data.tar.gz: 7269a6f639035c74b993c2135152681fbd3fd45e81b102015bab5ef45117f8bd3f4058c22dd6e4407c82639a6529463ed1dfb51e927caeada72630c1a96b9ef8
@@ -181,6 +181,10 @@ module Protocol
181
181
  field.first.downcase == key
182
182
  end
183
183
 
184
+ if deleted.empty?
185
+ return nil
186
+ end
187
+
184
188
  if @indexed
185
189
  return @indexed.delete(key)
186
190
  elsif policy = MERGE_POLICY[key]
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.4.0"
23
+ VERSION = "0.4.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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams