http-protocol 0.2.2 → 0.3.0

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: 10dcc79fdeb0dbfb03f4d9d8b74849fdb30e10c11265da0bde58a1f2a980d3c0
4
- data.tar.gz: 4dd9de8909a1d3bee401e71ebe7e95579ef43a6369e7789227f1ae366c04136a
3
+ metadata.gz: 151c3fea62bb2e98bfa0908d3bf92d2bde7df365eb1a18dfc1dbad3cbcbffbf7
4
+ data.tar.gz: 12e46a81b238a0dac626126e24b69465b04f52239eaa93d8437434a59ce1aaed
5
5
  SHA512:
6
- metadata.gz: 611c29c926808ac7ac6c021edaddbaec5bad026d2418da6fabb560028c1946cc5ea586a639ad6c717134baad141a744107b9b57bc62e7c1b5a1a0d73dccd2a7a
7
- data.tar.gz: 57f81e1b9d8f3bcdfcc6aef169612c7d280a93d9a243960a5ea15710298e679c9b443783cb5ea8b0722a4a4fbab5e3a1b462a89b53f3327428098789ee9ea37b
6
+ metadata.gz: a2359f552602d478d331b57681b73bc280d26031eef6c555ad95ccacd7f156277040a550007915c7ec4980d472932c32fabb5631c15a8cf7e34079c38cae3f65
7
+ data.tar.gz: 05307f4d29d0f2b43365a1c2e692f99e914f62afa70fb8b778c1af068c298ea1c8ed534eaf24ba59ea7c0d618d3b4f2e148959bcd75ee75901e868040fddcf8d
@@ -190,6 +190,10 @@ module HTTP
190
190
  @all = all
191
191
  end
192
192
 
193
+ def << headers
194
+ @all << headers
195
+ end
196
+
193
197
  def each(&block)
194
198
  @all.each do |headers|
195
199
  headers.each do |key, value|
@@ -20,6 +20,6 @@
20
20
 
21
21
  module HTTP
22
22
  module Protocol
23
- VERSION = "0.2.2"
23
+ VERSION = "0.3.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-hpack