ree_lib 1.0.52 → 1.0.54
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c1de406ab816861e6a42c542db02cddbc0f68f6aeca80bff9dba9e8c76ef81a
|
4
|
+
data.tar.gz: 05dba8342aa073f8198c42d051ca9783396b40bc8a939edd64b3ddc42d35a868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf9b082920297cca214ab5a21ce389d77833936d12c5b6583f2edcc34b3e794b1ac7565a1ae9c66745f0cd43010658f1bf9fbdee9af23cf82b7d7537529bc58e
|
7
|
+
data.tar.gz: ded7b6e245997cad79fbd20cfa8ad33f4b89b402985f9a133a0d55b6daee823764d5e0888cfed8eb0761f1d4108edeb176aaf61595864820d5562d516b907295
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ree_lib (1.0.
|
4
|
+
ree_lib (1.0.54)
|
5
5
|
binding_of_caller (~> 1.0.0)
|
6
6
|
i18n (~> 1.12.0)
|
7
7
|
loofah (~> 2.18.0)
|
@@ -38,8 +38,6 @@ GEM
|
|
38
38
|
crass (~> 1.0.2)
|
39
39
|
nokogiri (>= 1.5.9)
|
40
40
|
msgpack (1.6.0)
|
41
|
-
nokogiri (1.15.3-x86_64-darwin)
|
42
|
-
racc (~> 1.4)
|
43
41
|
nokogiri (1.15.3-x86_64-linux)
|
44
42
|
racc (~> 1.4)
|
45
43
|
oj (3.13.23)
|
@@ -152,6 +152,8 @@ class Roda
|
|
152
152
|
route_procs.each do |route_proc|
|
153
153
|
r.instance_exec(r, &route_proc)
|
154
154
|
end
|
155
|
+
|
156
|
+
nil
|
155
157
|
end
|
156
158
|
|
157
159
|
nil
|
@@ -168,6 +170,8 @@ class Roda
|
|
168
170
|
route_procs.each do |route_proc|
|
169
171
|
r.instance_exec(r, &route_proc)
|
170
172
|
end
|
173
|
+
|
174
|
+
nil
|
171
175
|
end
|
172
176
|
|
173
177
|
nil
|
@@ -186,6 +190,8 @@ class Roda
|
|
186
190
|
route_procs.each do |route_proc|
|
187
191
|
r.instance_exec(r, &route_proc)
|
188
192
|
end
|
193
|
+
|
194
|
+
nil
|
189
195
|
end
|
190
196
|
|
191
197
|
nil
|
@@ -196,6 +202,8 @@ class Roda
|
|
196
202
|
route_procs.each do |route_proc|
|
197
203
|
r.instance_exec(r, &route_proc)
|
198
204
|
end
|
205
|
+
|
206
|
+
nil
|
199
207
|
end
|
200
208
|
|
201
209
|
nil
|
@@ -259,4 +259,18 @@ RSpec.describe :build_routing_tree do
|
|
259
259
|
# hsh = to_hash(tree)
|
260
260
|
# expect(except(hsh, global_except: [:routes])).to eq(hsh_tree)
|
261
261
|
}
|
262
|
+
|
263
|
+
it {
|
264
|
+
class TestErrorApp < TestTreeApp
|
265
|
+
error do |e|
|
266
|
+
response["Content-Type"] = "text/plain"
|
267
|
+
response.status = 500
|
268
|
+
response.write(e.inspect)
|
269
|
+
response.finish
|
270
|
+
end
|
271
|
+
end
|
272
|
+
env = { "REQUEST_METHOD" => "GET", "PATH_INFO" => "/api/actions", "SCRIPT_NAME" => "" }
|
273
|
+
res = TestErrorApp.app.call(env)
|
274
|
+
expect(res).to eq [404, {"content-length"=>"0", "content-type"=>"text/html"}, []]
|
275
|
+
}
|
262
276
|
end
|
data/lib/ree_lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ree_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.54
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruslan Gatiyatov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ree
|