riddl 0.123 → 0.125
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby/riddl/constants.rb +4 -4
- data/lib/ruby/riddl/protocols/http/generator.rb +1 -1
- data/lib/ruby/riddl/protocols/http/parser.rb +2 -1
- data/riddl.gemspec +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: 260b0959b5e3cd03e5346a8e6002e6e7ab35ac81a90c099fabed18667b724f51
|
4
|
+
data.tar.gz: 163523a732236a6e81fce5976437e2e7610f2a3fd171e2425b7eac36e7f6fe32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a4e14075147239fd64cf140c2d5feb563c2076ac7ffe2fd3d799ac7d66c58e44bcb3945a676a5e04d255e23c0c4a4bcd86283a88ae9292c3a3e938a1de0d45
|
7
|
+
data.tar.gz: 89f7414265c9764de654494b43b736a234a62663abd01ec88ef1bf7e26dcbdb3a7a7c3399360c105930097ff08b21491f1acec58fd9aa0144e381856691dd4ee
|
data/lib/ruby/riddl/constants.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Riddl
|
2
|
-
BOUNDARY =
|
3
|
-
EOL = "\r\n"
|
4
|
-
D = '&;'
|
5
|
-
end
|
2
|
+
BOUNDARY = 'Time_is_an_illusion._Lunchtime_doubly_so.0xriddldata'.freeze
|
3
|
+
EOL = "\r\n".freeze
|
4
|
+
D = '&;'.freeze
|
5
|
+
end
|
@@ -103,6 +103,7 @@ module Riddl
|
|
103
103
|
c = input.read(bufsize < content_length ? bufsize : content_length)
|
104
104
|
raise EOFError, "bad content body" if c.nil? || c.empty?
|
105
105
|
content_length -= c.size
|
106
|
+
|
106
107
|
buf << c
|
107
108
|
end
|
108
109
|
|
@@ -113,7 +114,7 @@ module Riddl
|
|
113
114
|
content_length = -1 if $1 == "--"
|
114
115
|
end
|
115
116
|
|
116
|
-
add_to_params(name,body,filename,ctype,head)
|
117
|
+
add_to_params(name,body,filename == '' ? nil : filename,ctype,head)
|
117
118
|
|
118
119
|
break if buf.empty? || content_length == -1
|
119
120
|
end
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.125'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen 'eTM' Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: daemonite
|