protocol-http 0.26.7 → 0.26.8

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: 5821a26af6f718626313da18d47d4aba2e33f0f4ce3809551c91e1a57e10bfbd
4
- data.tar.gz: a432928361e31ca78408e444dd05622dd6853e56f40b3581a19fe97d8dac8dcc
3
+ metadata.gz: 20eddc2f7e87cb40659f99174fe456008413fdaf61841c1c366b17ded34a8dc6
4
+ data.tar.gz: 5f7b795b609e434534d1910aeb84fc7ba77dc46e1157add3e40ea2a053e1ae3c
5
5
  SHA512:
6
- metadata.gz: 025540a24e4e72ea76257cee2c3bd4039854d6bd5f0f446553ffb5843aa2a41f278860d3f047b3c0861d8b15b120cbd03e1f54c2714583aabe7556451e6df728
7
- data.tar.gz: e5b69ddfe8c874b00f6e36d03f48b71bb985f2c529df5aed4b4417ba1f10c258c768456897fdad1b63a9f257f4271472a3e56f7649664935e56ebb4a1136faf1
6
+ metadata.gz: 5b8a17aab9953fcefefea89da1913ce0fa8ce96d27dd91aad38690a21165abf42cf0b46f3f49f4b469c9af5409bffa733b69728acf0f55526b4a6bef8be041be
7
+ data.tar.gz: 2264dbd29fdbc90a82f37d503c237092f559ec42093be5b57027976aa5c1d6f7019573e8b65a3d7f2d85f7de7de307c2c71e7104be449a2835e086c1ede8fdd9
checksums.yaml.gz.sig CHANGED
Binary file
@@ -58,6 +58,8 @@ module Protocol
58
58
  # @parameter value [String] The unescaped key.
59
59
  def self.scan(string)
60
60
  string.split('&') do |assignment|
61
+ next if assignment.empty?
62
+
61
63
  key, value = assignment.split('=', 2)
62
64
 
63
65
  yield unescape(key), value.nil? ? value : unescape(value)
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP
8
- VERSION = "0.26.7"
8
+ VERSION = "0.26.8"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
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.26.7
4
+ version: 0.26.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file