protocol-rack 0.8.0 → 0.9.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/rack/body/streaming.rb +1 -1
- data/lib/protocol/rack/input.rb +8 -1
- data/lib/protocol/rack/version.rb +1 -1
- data/readme.md +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36a0633c754c61a78d6fee4b4c0e22b817d2ba12ebc3ca6c780b89c9bfbfecfd
|
|
4
|
+
data.tar.gz: b5fbe75d93826fc22f1ee4d848674cb94fcfb8bb2c3ea32ab7f3cb4626d4df96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0b1e7479f9bfad4b8183aa35095c708c91442a9aadb2dc90bcd5c873a75eff9d0f16cce06a1b3d76defdfed30390cffc1e15a4fa6a027cde2cb9c5c3e6171c7
|
|
7
|
+
data.tar.gz: 2b4d7ab1582ea8971141f1a755c88cc9ba25422f60a44e0812523181a89e2f27c4a0e598e5a4cb72a482dc7ef76b41941c5eb2f20b5263d647f3259bcbf03ea1
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/protocol/rack/input.rb
CHANGED
|
@@ -87,7 +87,14 @@ module Protocol
|
|
|
87
87
|
|
|
88
88
|
def read_next
|
|
89
89
|
if @body
|
|
90
|
-
|
|
90
|
+
# User's may forget to call #close...
|
|
91
|
+
if chunk = @body.read
|
|
92
|
+
return chunk
|
|
93
|
+
else
|
|
94
|
+
# So if we are at the end of the stream, we close it automatically:
|
|
95
|
+
@body.close
|
|
96
|
+
@body = nil
|
|
97
|
+
end
|
|
91
98
|
elsif @closed
|
|
92
99
|
raise IOError, "Stream is not readable, input has been closed!"
|
|
93
100
|
end
|
data/readme.md
CHANGED
|
@@ -73,11 +73,11 @@ We welcome contributions to this project.
|
|
|
73
73
|
|
|
74
74
|
### Developer Certificate of Origin
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
|
77
77
|
|
|
78
|
-
###
|
|
78
|
+
### Community Guidelines
|
|
79
79
|
|
|
80
|
-
This project is
|
|
80
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
|
81
81
|
|
|
82
82
|
## See Also
|
|
83
83
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: protocol-rack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
|
38
38
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
39
39
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
40
40
|
-----END CERTIFICATE-----
|
|
41
|
-
date: 2024-09-
|
|
41
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
|
42
42
|
dependencies:
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: protocol-http
|
metadata.gz.sig
CHANGED
|
Binary file
|