rack-rscript 0.8.0 → 0.9.0
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.tar.gz.sig +0 -0
- data/lib/rack-rscript.rb +8 -1
- metadata +67 -27
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e911a24c908b50580a5d3bb0f20209106c9435a7
|
4
|
+
data.tar.gz: 2110eaec390ed3ee3ce0e400a89cb6b3935f8233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c52f0f65d314801aab08e38e35bd059010ac376d1760df9c808526faa19a2bdbec94aad09f57991f510af314a2f3831deb4bab23d78a6cf411387cab55407a
|
7
|
+
data.tar.gz: b110eb25d88b946b6661541a479358584933f730a79beb9a90f30b2ba9d97541bcedcabe59529966f0c3a68e619424067db41926b19f4e9fbb232bef641c20a9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rack-rscript.rb
CHANGED
@@ -9,6 +9,8 @@ require 'logger'
|
|
9
9
|
require 'haml'
|
10
10
|
require 'slim'
|
11
11
|
require 'tilt'
|
12
|
+
require 'json'
|
13
|
+
require 'rexslt'
|
12
14
|
|
13
15
|
|
14
16
|
class Redirect
|
@@ -180,9 +182,14 @@ class RackRscript
|
|
180
182
|
|
181
183
|
def default_routes(env, params)
|
182
184
|
|
185
|
+
|
183
186
|
get '/do/:package/:job' do |package,job|
|
184
187
|
run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
|
185
|
-
end
|
188
|
+
end
|
189
|
+
|
190
|
+
get /\/(.*)\/do\/(\w+)\/(\w+)/ do |d, package,job|
|
191
|
+
run_job(("%s%s/%s.rsf" % [@url_base, d, package]), "//job:" + job, params)
|
192
|
+
end
|
186
193
|
|
187
194
|
post '/do/:package/:job' do |package,job|
|
188
195
|
run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
|
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: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE2MTAzMDExMjYyMVoXDTE3MTAzMDExMjYyMVowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBANpcemozULm931aHIuW4O6k6BWMDqQVhj2Bn5lkbwkQr0sVf8RtngnahNiR9
|
19
|
+
IN2avQXmMZ9ierJ/zozZh1db+p6uyDmy8iqF5c3vNjmMmXX9+lRR2+q+ddI7pQYE
|
20
|
+
ifjllr0wwTMDAEZyhiWZeQjp8PFQ1l4KGb7UMMZ09HlC0euT69n1Y6uFuEsgFcKY
|
21
|
+
M74nX/78mjT1UAaWr6Xy/OKhG5cGPmO4QiSkYCLJ7uAJnoA/8dBwQto24SzJfRdG
|
22
|
+
baT3kdG1z7e6c4yuNvxBUZMKWl0sg9rqwLyd8LK3yvmftHCPQQfOsqFvnV5u6GuE
|
23
|
+
9r+xbv3YrqnJX/dtNYDRYj0eR00CAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQU3XodQhGfAe0Air1XJag5ffWMLycwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAa/2N7UtG
|
27
|
+
oPJFlMgwO+JIEOVkb5+ATygL9JVzzTmCEimzLAYFyOSWVPU4qhxapC/3XfMxSU3p
|
28
|
+
enjklf2wtFnD8laLat9rVdPNWAF1G5u7E92k8PAtE9hhDojXmaawzjNCQGvwp/1S
|
29
|
+
Sx1Yps6DrqQNwZOQGFj6rZTt9PUrUbVgQC405KmuOC9u2wwk27t1wmnAw0vcQX3p
|
30
|
+
Sr7TvpkrsQLI8PTmFd6PQVCo2g8M6GvVvU6Y18aHFX6c/Npf63XhxYDb+JISVqN/
|
31
|
+
Ds3gVVKTRQV/ovLdiT/BpXxGWS5/OQ4Ftl2JY1A8bBhJqZGdpMbwv+Jtn/gpmMjE
|
32
|
+
EHV4ZelB040ghg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-10-30 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rack
|
@@ -39,20 +39,20 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '2.0'
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 2.0.1
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '2.0'
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 2.0.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: app-routes
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,20 +79,20 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.3'
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.2
|
85
|
+
version: 0.3.2
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '0.
|
92
|
+
version: '0.3'
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.2
|
95
|
+
version: 0.3.2
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: haml
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
version: '2.0'
|
123
123
|
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 2.0.
|
125
|
+
version: 2.0.5
|
126
126
|
type: :runtime
|
127
127
|
prerelease: false
|
128
128
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -132,7 +132,7 @@ dependencies:
|
|
132
132
|
version: '2.0'
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: 2.0.
|
135
|
+
version: 2.0.5
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: slim
|
138
138
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,6 +153,46 @@ dependencies:
|
|
153
153
|
- - ">="
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: 3.0.7
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: json
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '2.0'
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 2.0.2
|
166
|
+
type: :runtime
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '2.0'
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: 2.0.2
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: rexslt
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - "~>"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0.6'
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 0.6.7
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.6'
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 0.6.7
|
156
196
|
description:
|
157
197
|
email: james@r0bertson.co.uk
|
158
198
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|