rack-test 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +6 -0
- data/lib/rack/test/utils.rb +3 -0
- data/lib/rack/test/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a4be3c21464b7401bc021b97db2e23979488e03edaa736272d842933d090a1c
|
4
|
+
data.tar.gz: 9fee0aadcb20ca82f23194228ad0c7167ce1c45122677debf7dec772cde5279f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 512a1e0b7e2a634bec7d6598b5c54b444fadfefa89da37377bebf71064672911bcd1fdbf5d3f70fd7af2c15fca43238412be984df6dfa9f945f68425fb0d9cea
|
7
|
+
data.tar.gz: fb611a74074b3e72b4aeea11a816afa142b4b96ad2b7f2dae1d5555ad9acdd9e46c654f68c59c4db87bb21394dde7eb99f152218eff1c7dce200987fa8cb96e7
|
data/History.md
CHANGED
data/lib/rack/test/utils.rb
CHANGED
@@ -129,6 +129,8 @@ module Rack
|
|
129
129
|
"\"\r\n\r\n" <<
|
130
130
|
value.to_s <<
|
131
131
|
"\r\n"
|
132
|
+
buffer.force_encoding(Encoding::BINARY)
|
133
|
+
buffer
|
132
134
|
end
|
133
135
|
|
134
136
|
# Append the multipart fragment for a parameter that is a file upload to the buffer.
|
@@ -144,6 +146,7 @@ module Rack
|
|
144
146
|
"\r\ncontent-length: " <<
|
145
147
|
uploaded_file.size.to_s <<
|
146
148
|
"\r\n\r\n"
|
149
|
+
buffer.force_encoding(Encoding::BINARY)
|
147
150
|
|
148
151
|
# Handle old versions of Capybara::RackTest::Form::NilUploadedFile
|
149
152
|
if uploaded_file.respond_to?(:set_encoding)
|
data/lib/rack/test/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-06-
|
12
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|