falcon 0.47.10 → 0.48.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: b825e49f536d3fa8bb0bc337cfcc68f0b73edbf9687ff2dad5679dfa4a0b397e
4
- data.tar.gz: f1442f53f2a5dc95f9370dc40b8680f4623a9c1c4efffe03700dcc013b731a5b
3
+ metadata.gz: a0dbc89627471c80f82f8888e8cce7ab9cf3dd01621ee6f92a7b6904b33c275a
4
+ data.tar.gz: 848e0f96f5b247866d02bc9ae0fdfc1a0f2bb4a70a5dd853927e991e635950e9
5
5
  SHA512:
6
- metadata.gz: 1d41bfb63b77bff804672b092dd6df9c4c2e4fd2f0dc26bc3f5358d54d909454bb2fdae7d1b1945ac57e6f39f7cb7fe35e5527d81baf49a845b46879ba55a783
7
- data.tar.gz: 84d7853de0b47391bf15e2fc5c7ff294bb4b2c3b1d5f873a517d682cc30b9b5a487cbb8c5191e061cc88ceb80f0f57b32aa9a9e69aa77ca7d70779fe5ea531b7
6
+ metadata.gz: f454b3f224174fde4901cb85ce7cfb12b447dbcf025788d3a769cab12ce1c0d0095164f668621d604a0e295648c2a18008a995133e635205c4d2aee32cf566c6
7
+ data.tar.gz: 633db8f65e238d35a48541ba43c3490a5c398d09883f2fb6ac41f50c316549fe49426f1870f612634d39b3766709303890ad76d9e1bbbe8863d8d85d34fcfd1f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -69,11 +69,12 @@ module Falcon
69
69
  end
70
70
 
71
71
  # An endpoint suitable for connecting to the specified hostname.
72
- def host_endpoint(hostname, **options)
72
+ def host_endpoint(hostname, path: "/", **options)
73
73
  endpoint = secure_endpoint(**options)
74
74
 
75
75
  url = URI.parse(@options[:bind_secure])
76
76
  url.hostname = hostname
77
+ url.path = path
77
78
 
78
79
  return Async::HTTP::Endpoint.new(url, hostname: endpoint.hostname)
79
80
  end
@@ -17,7 +17,7 @@ module Falcon
17
17
  end
18
18
 
19
19
  def to_s
20
- "\#<#{self.class} endpoint=#{@endpoint}>"
20
+ "\#<#{self.class} protocol=#{self.protocol} endpoint=#{@endpoint}>"
21
21
  end
22
22
 
23
23
  # The actual endpoint for I/O.
@@ -25,7 +25,7 @@ module Falcon
25
25
  attr :endpoint
26
26
 
27
27
  # The protocol to use for this connection.
28
- # @returns [Async::HTTP::Protocol] A specific protocol, e.g. {Async::HTTP::P}
28
+ # @returns [Async::HTTP::Protocol] A specific protocol, e.g. {Async::HTTP::Protocol::HTTP1}
29
29
  def protocol
30
30
  @options[:protocol]
31
31
  end
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.47.10"
7
+ VERSION = "0.48.0"
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.10
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -59,7 +59,7 @@ cert_chain:
59
59
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
60
60
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
61
61
  -----END CERTIFICATE-----
62
- date: 2024-08-26 00:00:00.000000000 Z
62
+ date: 2024-09-04 00:00:00.000000000 Z
63
63
  dependencies:
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: async
@@ -95,34 +95,28 @@ dependencies:
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '0.66'
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: 0.66.3
98
+ version: '0.75'
102
99
  type: :runtime
103
100
  prerelease: false
104
101
  version_requirements: !ruby/object:Gem::Requirement
105
102
  requirements:
106
103
  - - "~>"
107
104
  - !ruby/object:Gem::Version
108
- version: '0.66'
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: 0.66.3
105
+ version: '0.75'
112
106
  - !ruby/object:Gem::Dependency
113
107
  name: async-http-cache
114
108
  requirement: !ruby/object:Gem::Requirement
115
109
  requirements:
116
110
  - - "~>"
117
111
  - !ruby/object:Gem::Version
118
- version: 0.4.0
112
+ version: '0.4'
119
113
  type: :runtime
120
114
  prerelease: false
121
115
  version_requirements: !ruby/object:Gem::Requirement
122
116
  requirements:
123
117
  - - "~>"
124
118
  - !ruby/object:Gem::Version
125
- version: 0.4.0
119
+ version: '0.4'
126
120
  - !ruby/object:Gem::Dependency
127
121
  name: async-service
128
122
  requirement: !ruby/object:Gem::Requirement
@@ -179,34 +173,48 @@ dependencies:
179
173
  - - "~>"
180
174
  - !ruby/object:Gem::Version
181
175
  version: '3.0'
176
+ - !ruby/object:Gem::Dependency
177
+ name: protocol-http
178
+ requirement: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: '0.31'
183
+ type: :runtime
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '0.31'
182
190
  - !ruby/object:Gem::Dependency
183
191
  name: process-metrics
184
192
  requirement: !ruby/object:Gem::Requirement
185
193
  requirements:
186
194
  - - "~>"
187
195
  - !ruby/object:Gem::Version
188
- version: 0.2.0
196
+ version: '0.2'
189
197
  type: :runtime
190
198
  prerelease: false
191
199
  version_requirements: !ruby/object:Gem::Requirement
192
200
  requirements:
193
201
  - - "~>"
194
202
  - !ruby/object:Gem::Version
195
- version: 0.2.0
203
+ version: '0.2'
196
204
  - !ruby/object:Gem::Dependency
197
205
  name: protocol-rack
198
206
  requirement: !ruby/object:Gem::Requirement
199
207
  requirements:
200
208
  - - "~>"
201
209
  - !ruby/object:Gem::Version
202
- version: '0.5'
210
+ version: '0.7'
203
211
  type: :runtime
204
212
  prerelease: false
205
213
  version_requirements: !ruby/object:Gem::Requirement
206
214
  requirements:
207
215
  - - "~>"
208
216
  - !ruby/object:Gem::Version
209
- version: '0.5'
217
+ version: '0.7'
210
218
  - !ruby/object:Gem::Dependency
211
219
  name: samovar
212
220
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file