rack-rscript 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rack-rscript.rb +6 -5
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc6d60f509c07b94de63018f88797d0dd775f10fe9226fb158dc3c09c5d4638
|
4
|
+
data.tar.gz: 1f39470e360019d57bc7c9cc85f07b55dc35fd4df4b3512ac2fda7ab838d385d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b233ab991b9dfea67758660aea524a29342ca1b848d623b75bc6326d039bc93e4e7e2e07e02db6dac64149c55c539293b439f57e312d5001e063e03f27f2b992
|
7
|
+
data.tar.gz: 250e3ab7377d31bd912886a267d099d33dcdd5011c18ffc1f845d589ad205d55b478590b63189e652245d82f533ed687b79a453e447a85d50fd6ce30b9d743b8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rack-rscript.rb
CHANGED
@@ -235,13 +235,14 @@ class RackRscript
|
|
235
235
|
run_job("%s%s.rsf" % [@url_base, package], job, params)
|
236
236
|
end
|
237
237
|
|
238
|
-
get
|
239
|
-
run_job(("%s%s/%s.rsf" % [@url_base,
|
238
|
+
get '/:dir/do/:package/:job' do |dir, package, job|
|
239
|
+
run_job(("%s%s/%s.rsf" % [@url_base, dir, package]), job, params)
|
240
240
|
end
|
241
241
|
|
242
|
-
get
|
243
|
-
|
244
|
-
|
242
|
+
get '/:dir/do/:package/:job/*' do |dir, package, job|
|
243
|
+
raw_args = params[:splat]
|
244
|
+
args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
|
245
|
+
run_job(("%s%s/%s.rsf" % [@url_base, dir, package]), job, params, :get, args)
|
245
246
|
end
|
246
247
|
|
247
248
|
post '/do/:package/:job' do |package,job|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-rscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
uQ8ts8x2DfuJYY/PmLbqwXkzMzb1EgnUBWZ3mZCdlL0UBst5ypPAFTn1b2qRUC92
|
36
36
|
UtKkOrrEmCXrBnFtpv6a1ULk
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2021-12-
|
38
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rack
|
metadata.gz.sig
CHANGED
Binary file
|