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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31ffa65b11727294cc6039058ff7d8834a0c5a5a
4
- data.tar.gz: 1db517ed4dd53d389f4a9a704d257c42093c334c
3
+ metadata.gz: e911a24c908b50580a5d3bb0f20209106c9435a7
4
+ data.tar.gz: 2110eaec390ed3ee3ce0e400a89cb6b3935f8233
5
5
  SHA512:
6
- metadata.gz: 5e0c296771d9e7813e15ce33beb89544e64f5ec60d38c6efc3db4488006f1ddb052d59e44f89d408d28208347c96e1d301d51cf7ef20d49e2df65355daa3d71c
7
- data.tar.gz: c15ffc86a08c9b0b8d1771f9cf8dbdef69927336fa2fa894d26e84a4d3afae83f807cd253e1b9e03abb4b743c36c686b2a4ce1a429830c9eeabd888ec003c3dd
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.8.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
- 8ixkARkWAmV1MB4XDTE1MDkxNzA5NDcwM1oXDTE2MDkxNjA5NDcwM1owSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE2MTAzMDExMjYyMVoXDTE3MTAzMDExMjYyMVowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBALGcfGgWzgzBat6hON+dQd5WREffbge7u+Qz/e8hL+UEGC4R9RtzJkKhF/Bl
19
- sJ+Uo3Uso+4ZX+ZJv8jVdrvQEKmX7sNy1nONCctO8yO51Ur/nvctOArqA86QQQ5x
20
- hPN7rNz/2gVL87AzPo4GSetaYU7hn0uCrZc30t6m53x5xflJe+XCbV1HKFXG638k
21
- wtYPPFlBwIDc7NiWe1+SYOLdZsMwCUn6fdUDuebB8NSvm+NeDWTK7GdzhZ5gBxXU
22
- KHl0bWt7B18hkr12KFePmNGo8QpIFrxogu1uFBZCsnJ70qrMFITQf+u+NmL22D5K
23
- lPvj0iRKp0H0tqKdar3YdTGLqOkCAwEAAaOBijCBhzAJBgN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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-06-21 00:00:00.000000000 Z
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: '1.6'
42
+ version: '2.0'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 1.6.4
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: '1.6'
52
+ version: '2.0'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.6.4
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.2'
82
+ version: '0.3'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.2.4
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.2'
92
+ version: '0.3'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.2.4
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.1
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.1
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