protocol-http 0.23.4 → 0.23.5

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: 0a90ddbbf77b6838a596c01ff6bc77d7f67867eb91cc3560d92da5458a011af9
4
- data.tar.gz: 803a2218c2d60270c8eca75f49d1063a1b61fd45d66a0313d6e20a0abf2d0587
3
+ metadata.gz: 647e0b3ea883053a0181b4a47623893d9cf9a9effdbe4ebb001fc4788ac504fc
4
+ data.tar.gz: a8b9f1d185f320acc1f84c5af015bc28ac0cbd165bb2c92ab8c6b9f950e311db
5
5
  SHA512:
6
- metadata.gz: 36f23a497f933e91cf8ca08e367faeaba6539fdafc86587aca27d0ad7e4f2c2d7fe4f3224f9f7509f07e5fdabf733a72c875a7cb2ba29d507b3dcba5b1af6777
7
- data.tar.gz: 056d805e7795929d8af1609e490bb4ff86b7c9e083c585ed08aee68ea810ba9fddcc3beceb1ec0102e245cbf6f2a2712c03bbf8d83a153b0eac4ce369ef4f54b
6
+ metadata.gz: 7193d7634fb0a006320f6199ba3a2ac1985412f9dfe46bc6610745741088045c14ef561efb5d9efa4e9de42ac797fe4d778f28eb6c5442ae482c733a8f273e4b
7
+ data.tar.gz: 03c36e9c6f5010bdcdbc1dc4c26ea19e55169897eba6efb0b1bf0fe98498f205c364093045f44307d15c4f65bac7ccc05e4a0d4624427b319e7b9b138ea9cd39
checksums.yaml.gz.sig CHANGED
Binary file
@@ -20,7 +20,7 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  # THE SOFTWARE.
22
22
 
23
- require_relative '../headers'
23
+ require_relative '../middleware'
24
24
 
25
25
  module Protocol
26
26
  module HTTP
@@ -67,6 +67,15 @@ module Protocol
67
67
  Response[200, Headers['content-type' => 'text/plain'], ["Hello World!"]]
68
68
  end
69
69
  end
70
+
71
+ module NotFound
72
+ def self.close
73
+ end
74
+
75
+ def self.call(request)
76
+ Response[404, Headers[], []]
77
+ end
78
+ end
70
79
  end
71
80
  end
72
81
  end
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Protocol
24
24
  module HTTP
25
- VERSION = "0.23.4"
25
+ VERSION = "0.23.5"
26
26
  end
27
27
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.4
4
+ version: 0.23.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2022-08-15 00:00:00.000000000 Z
44
+ date: 2022-08-21 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bundler
metadata.gz.sig CHANGED
Binary file