http 6.0.2-java → 6.0.3-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edfd79064b9540dfcb5539c4149461c68b57fd4d39a730e4ea8b5376ddaeaeb6
4
- data.tar.gz: 22e4fad8762715d1cf5d4ab66ec09a5f9048f10c6098a53b6e9e8fe33dff97cd
3
+ metadata.gz: bd78e2ee0f4e4f093e284702cdc18ae8da252d06ee4005deb0b3eb8c4add0124
4
+ data.tar.gz: 84f0c80f3f7eec22d22a10867037a4b07c321ffae8133d853cb49436fd1497a8
5
5
  SHA512:
6
- metadata.gz: be774ea3961566f428387ef9a5be253937d81410fb57fb798d269a1811b65da48c57d0edad7bc89da703256bb18382c886057f2780da1e94357dd9f2625aaa89
7
- data.tar.gz: e0fd1ecd1b31df5661fd57a1166adfe35a94801d4e0539cda0cfcd1b57e6c23c5927bd7b6d5ca388ce17c1d4279bc419cec24467ef865401cc2c0bd753026889
6
+ metadata.gz: 1313c852143dc40626397804cbc9a996ca4788ce38dbda0473d6c815ed3c3d537f6c65ee4b2ef6392aeeb351e8ba4606abf8905a2627398992d07b395f8051d5
7
+ data.tar.gz: 52fedc4dd9a6a2141d166eaec16a1e5b8e1247e7e3b8784e7809f45f5b25ea78eed07c75d70f05e5816cf66b659d3ce1ec6128a2180de45ff342393855fd60ae
data/http.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.metadata["rubygems_mfa_required"] = "true"
27
27
 
28
28
  spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
29
- extras = %w[LICENSE.txt README.md sig/http.rbs] << File.basename(__FILE__)
29
+ extras = %w[LICENSE.txt README.md sig/http.rbs sig/llhttp.rbs sig/manifest.yaml] << File.basename(__FILE__)
30
30
 
31
31
  ls.readlines("\x0", chomp: true).select do |f|
32
32
  f.start_with?("lib/") || extras.include?(f)
@@ -254,7 +254,7 @@ module HTTP
254
254
  # @return [void]
255
255
  # @api private
256
256
  def connect_socket(req, options)
257
- @socket = options.timeout_class.new(**options.timeout_options) # steep:ignore
257
+ @socket = options.timeout_class.new(**options.timeout_options)
258
258
  @socket.connect(options.socket_class, req.socket_host, req.socket_port, nodelay: options.nodelay)
259
259
 
260
260
  send_proxy_connect_request(req)
@@ -158,7 +158,7 @@ module HTTP
158
158
  # @return [HTTP::Response::Body]
159
159
  # @api private
160
160
  def logged_body(body)
161
- formatter = (method(:format_binary) unless body.loggable?) # steep:ignore
161
+ formatter = (method(:format_binary) unless body.loggable?)
162
162
  stream = BodyLogger.new(body.instance_variable_get(:@stream), logger, formatter: formatter) # steep:ignore
163
163
  Response::Body.new(stream, encoding: body.encoding)
164
164
  end
@@ -171,11 +171,11 @@ module HTTP
171
171
  # @return [Hash] URI components
172
172
  private_class_method def self.parse_with_addressable(uri_string)
173
173
  require_addressable
174
- parsed = Addressable::URI.parse(uri_string) # steep:ignore
174
+ parsed = Addressable::URI.parse(uri_string)
175
175
  { scheme: parsed.scheme, user: parsed.user, password: parsed.password,
176
176
  host: parsed.host, port: parsed.port, path: parsed.path,
177
177
  query: parsed.query, fragment: parsed.fragment }
178
- rescue Addressable::URI::InvalidURIError # steep:ignore
178
+ rescue Addressable::URI::InvalidURIError
179
179
  raise InvalidError, "invalid URI: #{uri_string.inspect}"
180
180
  end
181
181
  end
data/lib/http/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module HTTP
4
4
  # Current library version
5
- VERSION = "6.0.2"
5
+ VERSION = "6.0.3"
6
6
  end
data/sig/llhttp.rbs ADDED
@@ -0,0 +1,20 @@
1
+ # Stubs for llhttp / llhttp-ffi, which do not ship their own RBS signatures.
2
+ # Referenced by `HTTP::Response::Parser`, which is part of the public API.
3
+
4
+ module LLHttp
5
+ class Error < StandardError
6
+ end
7
+
8
+ class Parser
9
+ def initialize: (untyped, ?type: Symbol) -> void
10
+ def reset: () -> void
11
+ def <<: (String) -> void
12
+ def status_code: () -> Integer
13
+ def http_major: () -> Integer
14
+ def http_minor: () -> Integer
15
+ end
16
+
17
+ class Delegate
18
+ def initialize: () -> void
19
+ end
20
+ end
data/sig/manifest.yaml ADDED
@@ -0,0 +1,13 @@
1
+ dependencies:
2
+ - name: base64
3
+ - name: digest
4
+ - name: forwardable
5
+ - name: openssl
6
+ - name: pathname
7
+ - name: securerandom
8
+ - name: singleton
9
+ - name: tempfile
10
+ - name: time
11
+ - name: timeout
12
+ - name: uri
13
+ - name: zlib
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Tony Arcieri
@@ -113,15 +113,17 @@ files:
113
113
  - lib/http/uri/parsing.rb
114
114
  - lib/http/version.rb
115
115
  - sig/http.rbs
116
+ - sig/llhttp.rbs
117
+ - sig/manifest.yaml
116
118
  homepage: https://github.com/httprb/http
117
119
  licenses:
118
120
  - MIT
119
121
  metadata:
120
122
  homepage_uri: https://github.com/httprb/http
121
- source_code_uri: https://github.com/httprb/http/tree/v6.0.2
123
+ source_code_uri: https://github.com/httprb/http/tree/v6.0.3
122
124
  bug_tracker_uri: https://github.com/httprb/http/issues
123
- changelog_uri: https://github.com/httprb/http/blob/v6.0.2/CHANGELOG.md
124
- documentation_uri: https://www.rubydoc.info/gems/http/6.0.2
125
+ changelog_uri: https://github.com/httprb/http/blob/v6.0.3/CHANGELOG.md
126
+ documentation_uri: https://www.rubydoc.info/gems/http/6.0.3
125
127
  rubygems_mfa_required: 'true'
126
128
  rdoc_options: []
127
129
  require_paths:
@@ -137,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
139
  - !ruby/object:Gem::Version
138
140
  version: '0'
139
141
  requirements: []
140
- rubygems_version: 4.0.8
142
+ rubygems_version: 4.0.10
141
143
  specification_version: 4
142
144
  summary: HTTP should be easy
143
145
  test_files: []