protocol-http 0.12.0 → 0.12.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: 2d04792992fd8c7fdfed955ee45bf999ea6bb32036d1d47b74d4bf69f7f630fd
4
- data.tar.gz: a79d348523228f4a7a2e11fb2e0a6930612fa0a3dd1c5847878e69b47a248361
3
+ metadata.gz: 2953e96c1addb4934e048f77b901f4d5a03b3425b0bf0100d7dff9245e6eb370
4
+ data.tar.gz: 2d4c0922cdbcca179dca6e68e35d552e8e0402726fbc7aa924e01c4ceb1ac74e
5
5
  SHA512:
6
- metadata.gz: 39098deff7282f55a8f22017252ee2c52e4860d9d690e4f8806378f4f51dfe93ae28be62eb716471916126a8b29e1e24d78ceffb11ff97b7fc041c6da951b76a
7
- data.tar.gz: 7c2c96c385a6528eb53bb069474cbf7a38b406a65abc749ad77b412db544963ff8ff17fce2e7617dcb294dc2fcdde6d2bb2d513dd236dd9d84c1a9b26f761719
6
+ metadata.gz: 9e9ba539505e9e99aa8fc7dfb91a06cad3aad67d1ad75eb77dda3bd6dacfb5af5424cdeaee863b5768c2b0fdc94a452c8657083df049d42c424909d0c2f578f5
7
+ data.tar.gz: afe556ba1f91b03406477390112123907d3e70a3f705686de0ce617389f59850cabf51aa6a1b97745697937bb8853ca3d53de5933e0a05ae39ecda0c4dcee4c8
@@ -89,7 +89,7 @@ module Protocol
89
89
  end
90
90
 
91
91
  def inspect
92
- "\#<#{self.class} #{@chunks.count} chunks, #{self.length} bytes>"
92
+ "\#<#{self.class} #{@chunks.size} chunks, #{self.length} bytes>"
93
93
  end
94
94
  end
95
95
  end
@@ -33,7 +33,7 @@ module Protocol
33
33
  end
34
34
 
35
35
  def read
36
- if @index < @chunks.count
36
+ if @index < @chunks.size
37
37
  chunk = @chunks[@index]
38
38
  @index += 1
39
39
  else
@@ -52,7 +52,7 @@ module Protocol
52
52
  end
53
53
 
54
54
  def inspect
55
- "\#<#{self.class} #{@index}/#{@chunks.count} chunks read>"
55
+ "\#<#{self.class} #{@index}/#{@chunks.size} chunks read>"
56
56
  end
57
57
  end
58
58
  end
@@ -106,7 +106,7 @@ module Protocol
106
106
  self.scan(string) do |name, value|
107
107
  keys = self.split(name)
108
108
 
109
- if keys.count > maximum
109
+ if keys.size > maximum
110
110
  raise ArgumentError, "Key length exceeded limit!"
111
111
  end
112
112
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.12.0"
23
+ VERSION = "0.12.1"
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.12.0
4
+ version: 0.12.1
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-21 00:00:00.000000000 Z
11
+ date: 2019-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered