dis 2.2.1 → 2.2.2
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
- data/lib/dis/response_body.rb +11 -1
- data/lib/dis/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2e88add7c40a81f705af816e6546930dcb13f4921b360073d3aef93d32b080c
|
|
4
|
+
data.tar.gz: d1104cfeba051647d8f15c8bbda4e669f3af68f8f2e379f4ceee2ebab938fea4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 249e4bb9c4f764baba8e4733b8b4a6d1384a93a6050829ee4eba8e649d7ea0f93454039318f0375bb1ed40d9bdcd3ee3b17e3ac6c7d463cc95339c3b6ece43d3
|
|
7
|
+
data.tar.gz: 3b643c306b9dddb9d4f0d12ecaa46918ffbd12e1186802bb38efc02b7897fd56bfa67e4230dbfcb0a60598e1cefc800820960d7bbc798e740417951fc2452f1b
|
data/lib/dis/response_body.rb
CHANGED
|
@@ -70,10 +70,20 @@ module Dis
|
|
|
70
70
|
each_part(&)
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
#
|
|
73
|
+
# Signals that no more content will be written. This does not
|
|
74
|
+
# release the file. ActionController::Live calls it as soon as the
|
|
75
|
+
# body is assigned, long before Rack iterates it.
|
|
74
76
|
#
|
|
75
77
|
# @return [void]
|
|
76
78
|
def close
|
|
79
|
+
nil
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Releases the file. Rack's end-of-response close arrives here
|
|
83
|
+
# through ActionDispatch::Response#abort.
|
|
84
|
+
#
|
|
85
|
+
# @return [void]
|
|
86
|
+
def abort
|
|
77
87
|
@file.close unless @file.closed?
|
|
78
88
|
end
|
|
79
89
|
|
data/lib/dis/version.rb
CHANGED