falcon 0.39.0 → 0.40.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: 5ce7e0eb1b344a280ee69a568921c091ba8aed45f8b5d1346e5b2e49ae971a14
4
- data.tar.gz: dc90db0f936efb3ba745659a8ed0d705e6f80265ed93dcc110e0cdd5c5280548
3
+ metadata.gz: cb44add9ea622a70918ed4b2287db8db8e233b143575dbefe86e4eeb93d6215f
4
+ data.tar.gz: a63f6a8d28ca6573f1b534ce8c27622ae5ec65046b986dbb3ed238d3ed147bcc
5
5
  SHA512:
6
- metadata.gz: 54ed9701c649a1764d030cdf3e31dca114606d53cd647b275c9b77164173406b6641fcb12c474eb57e3aa84bfe1655a53a4d844cf95f43a603065a27b437f466
7
- data.tar.gz: 1fe32ec2dd8708014f285ef81119ce49c0d3bb0872f1a64be5e786c4c8fca365065f9e46b33ad7abb9ef76bc4d24514eb6188fc025233afa5548d9f56a4dd9e0
6
+ metadata.gz: 6d56ce43c1d153a1a85cebdb4c09c1da0592b7cc8a68a4c7a6d1e1df18c548c7893fb56248dbcfba4c87fa8b0b4e0e27037c75cc79d6d9f3de97ea66ba285d2f
7
+ data.tar.gz: ef744900cbc8b88ddfe9b9a107f87cde89b9067d9f9c5c9e41dadf3ace45f72aaec5261940b2fcfee5aeb683213d5476046746305fbb1e279ec82a511266600d
checksums.yaml.gz.sig ADDED
Binary file
@@ -78,7 +78,7 @@ module Falcon
78
78
 
79
79
  # Whether the body can be read immediately.
80
80
  def ready?
81
- true
81
+ body.is_a?(Array) or body.respond_to?(:to_ary)
82
82
  end
83
83
 
84
84
  # Close the response body.
@@ -157,7 +157,7 @@ module Falcon
157
157
  # Adds `root` and `authority` keys.
158
158
  # @parameter name [String] The name of the environment, usually a hostname.
159
159
  def host(name, *parents, &block)
160
- environment = merge(name, :host, *parents, &block)
160
+ environment = merge(name, *parents, &block)
161
161
 
162
162
  environment[:root] = @root
163
163
  environment[:authority] = name
@@ -21,5 +21,5 @@
21
21
  # THE SOFTWARE.
22
22
 
23
23
  module Falcon
24
- VERSION = "0.39.0"
24
+ VERSION = "0.40.0"
25
25
  end
data.tar.gz.sig ADDED
@@ -0,0 +1,4 @@
1
+ ؛Im/��Kh��L}a1޵�.����z+�؞-�<!���wp�˗�&
2
+ �yd�����S(����[��
3
+ �0̓��-L�ݖΠ���Z`˦x�P�éR��'�}'I��"�5|W
4
+ �ģz�q�𭠨�ϱ���޼D���9����Q���
metadata CHANGED
@@ -1,29 +1,74 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
+ - Janko Marohnić
9
+ - dependabot[bot]
10
+ - Bryan Powell
11
+ - Sho Ito
12
+ - claudiu
13
+ - takkanm
14
+ - tamkylet
15
+ - Colby Swandale
16
+ - Daniel Evans
17
+ - Kent Gruber
18
+ - Michael Adams
19
+ - Mikel Kew
20
+ - Olle Jonsson
21
+ - Sh Lin
22
+ - Tad Thorley
23
+ - Tasos Latsas
24
+ - deepj
8
25
  autorequire:
9
26
  bindir: bin
10
- cert_chain: []
11
- date: 2021-06-05 00:00:00.000000000 Z
27
+ cert_chain:
28
+ - |
29
+ -----BEGIN CERTIFICATE-----
30
+ MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
31
+ ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
32
+ MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
33
+ aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
34
+ AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPW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tnCGljds/aeO1Xgpn2r9HHcjwnH346iNrnHmMlC7BtHUFPDg
51
+ Ts92S47PTOXzwPBDsrFiq3VLbRjHSwf8rpqybQBH9MfzxGGxTaETQYOd6b4e4Ag6
52
+ y92abGna0bmIEb4+Tx9rQ10Uijh1POzvr/VTH4bbIPy9FbKrRsIQ24qDbNJRtOpE
53
+ RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
54
+ HiLJ8VOFx6w=
55
+ -----END CERTIFICATE-----
56
+ date: 2022-07-17 00:00:00.000000000 Z
12
57
  dependencies:
13
58
  - !ruby/object:Gem::Dependency
14
59
  name: async
15
60
  requirement: !ruby/object:Gem::Requirement
16
61
  requirements:
17
- - - "~>"
62
+ - - ">="
18
63
  - !ruby/object:Gem::Version
19
- version: '1.13'
64
+ version: '0'
20
65
  type: :runtime
21
66
  prerelease: false
22
67
  version_requirements: !ruby/object:Gem::Requirement
23
68
  requirements:
24
- - - "~>"
69
+ - - ">="
25
70
  - !ruby/object:Gem::Version
26
- version: '1.13'
71
+ version: '0'
27
72
  - !ruby/object:Gem::Dependency
28
73
  name: async-container
29
74
  requirement: !ruby/object:Gem::Requirement
@@ -283,7 +328,6 @@ files:
283
328
  - lib/falcon/endpoint.rb
284
329
  - lib/falcon/environments.rb
285
330
  - lib/falcon/environments/application.rb
286
- - lib/falcon/environments/host.rb
287
331
  - lib/falcon/environments/lets_encrypt_tls.rb
288
332
  - lib/falcon/environments/proxy.rb
289
333
  - lib/falcon/environments/rack.rb
@@ -323,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
367
  - !ruby/object:Gem::Version
324
368
  version: '0'
325
369
  requirements: []
326
- rubygems_version: 3.2.15
370
+ rubygems_version: 3.3.7
327
371
  signing_key:
328
372
  specification_version: 4
329
373
  summary: A fast, asynchronous, rack-compatible web server.
metadata.gz.sig ADDED
Binary file
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright, 2019, by Samuel G. D. Williams. <http://www.codeotaku.com>
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the "Software"), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in
13
- # all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- # THE SOFTWARE.
22
-
23
- load(:application)
24
-
25
- # Inherits directly from {application}.
26
- #
27
- # @scope Falcon Environments
28
- # @name host
29
- environment(:host, :application)