ree_lib 1.0.52 → 1.0.53
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b6642f50a4c801c07b2e56366a2c44c39b7d6bb5e32bd63adc77dca9122b9c6
|
|
4
|
+
data.tar.gz: 2f54df5fdbb0d46018098c79bdf16ba35f885506120d84bbb9a6154d3b75f1e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f3362bffb26dd9e26b82f9de59e4ea6b3bb538c336bac8263f55bfdf1f7ed279aa6d379b5d86f2f0c19c86a129f2741b5e12b1c4ede738109ef737bbd56e994
|
|
7
|
+
data.tar.gz: 38f70aec42604a5cdd1b906e846cfddb230dd527cefdbe67fee994282d2c35573de9d75a5b7052ec75292fc38a5c13fb44b2ea61a76f95f911502e2a481dd039
|
data/Gemfile.lock
CHANGED
|
@@ -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.53
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ree
|