rack-rscript 1.1.3 → 1.1.8

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
- SHA1:
3
- metadata.gz: e6bf34f921036c9bb60b380fb41e64280db27289
4
- data.tar.gz: 52f2d2b76ee05e29c1575d876b601c1ff2225a9f
2
+ SHA256:
3
+ metadata.gz: 2a89919a5c0bc41ed1f8e836aa0476baae386a1b5f4a1dd34fd69b2328584a5b
4
+ data.tar.gz: bbbbdfaff50bfa3ddc1635f5cdc7d823077105e36357ea4cf78cade5a9d20084
5
5
  SHA512:
6
- metadata.gz: a7a072f5034d81ab1ec3afeb2b803822f8c674f94784443e2fd068c6a85db5146c4363682619c8edbf07a200b796a8419eb89d22f9b519351031a6b80402f4bd
7
- data.tar.gz: d8913dcf856a2e1b08c2c04352cdcb95a70d2745b146771c547bdcfe4abc2d8934f0ce6d7ca23489170ef76b0155afdd4d39cca0b79956aef3ed2bc00c22d205
6
+ metadata.gz: de01da7bd5651a20115cce9f2309018f789bf9bf8754f94b080474bf2722ac7b30fdbf04c9e78e4be54addfa81356f9c3bd7e3b3137a538f3b12d9aeabc12258
7
+ data.tar.gz: 6d36a96685f10f3518171a0f5f1bc37e2fe42d2c622e0258877a61c8a1042890e7d92a6ca3f2ac5104f5c6a7c86693d1df729b757851f8db3ccb7ee3386c12b7
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -26,16 +26,20 @@ end
26
26
  class RackRscriptError < Exception
27
27
  end
28
28
 
29
- class RackRscript
30
- include AppRoutes
31
29
 
32
30
 
33
- def initialize(log: nil, pkg_src: '', cache: 5, rsc_host: 'rse',
34
- rsc_package_src: nil, pxlinks: nil, debug: false,
35
- root: 'www', static: [])
31
+
32
+ class RackRscript
33
+ include AppRoutes
34
+ include RXFHelperModule
35
+ using ColouredText
36
+
37
+
38
+ def initialize(log: nil, pkg_src: '', cache: 5, rsc_host: nil,
39
+ pxlinks: nil, debug: false, root: '', static: {})
36
40
 
37
41
  @log, @debug, @static = log, debug, static
38
-
42
+ #=begin
39
43
  puts '@app_root: ' + @app_root.inspect if @debug
40
44
  puts 'root: ' + root.inspect if @debug
41
45
 
@@ -43,7 +47,8 @@ class RackRscript
43
47
 
44
48
  @templates = {}
45
49
 
46
- @rrscript = RScript.new log: log, pkg_src: pkg_src, cache: cache
50
+ @rscript = RScriptRW.new log: log, pkg_src: pkg_src, cache: cache, debug: true
51
+ @render = NThrut.new(self)
47
52
 
48
53
  @url_base = pkg_src # web server serving the RSF files
49
54
  @url_base += '/' unless @url_base[-1] == '/'
@@ -69,20 +74,24 @@ class RackRscript
69
74
  default_routes(@env, @params)
70
75
 
71
76
  @rsc = nil
72
- @rsc = RSC.new rsc_host, rsc_package_src if rsc_package_src
77
+
78
+ @rsc = RSC.new rsc_host if rsc_host and rsc_host.length > 0
73
79
 
74
80
  @filetype = {xml: 'application/xml', html: 'text/html', png: 'image/png',
75
81
  jpg: 'image/jpeg', txt: 'text/plain', css: 'text/css',
76
82
  xsl: 'application/xml', svg: 'image/svg+xml'}
77
83
 
78
84
  @root, @static = root, static
79
-
85
+ @initialized = {}
86
+ #=end
80
87
  end
81
88
 
82
89
  def call(env)
83
-
90
+
91
+
84
92
  @env = env
85
- raw_request = env['REQUEST_URI'][/https?:\/\/[^\/]+(.*)/,1]
93
+ raw_request = env['REQUEST_URI'][/\/\/[^\/]+(.*)/,1]
94
+ #raw_request = env['REQUEST_PATH']
86
95
 
87
96
  @log.info 'RackRscript/call: ' + env.inspect if @log
88
97
  @req = Rack::Request.new(env)
@@ -97,15 +106,22 @@ class RackRscript
97
106
  raw_request
98
107
  end
99
108
 
109
+ @log.info 'RackRscript/call/request: ' + request.inspect if @log
110
+ #=begin
100
111
  run_request(request)
112
+ #=end
113
+ # [200, {"Content-Type" => "text/plain"}, [env.inspect]]
101
114
  end
102
115
 
103
116
  def clear_cache()
104
- @rrscript.reset
117
+ @rscript.reset
105
118
  end
106
119
 
107
- def run_job(url, jobs, params={}, *qargs)
120
+ def run_job(url, jobs, params={}, type=:get, *qargs)
108
121
 
122
+ @log.debug 'RackRscript/run_job/params: ' + params.inspect if @log
123
+ @log.debug 'RackRscript/run_job/qargs: ' + qargs.inspect if @log
124
+
109
125
  if @params[:splat] then
110
126
  @params.each do |k,v|
111
127
  @params.delete k unless k == :splat or k == :package \
@@ -122,7 +138,8 @@ class RackRscript
122
138
  end
123
139
 
124
140
  @params.merge! @req.params
125
- result, args = @rrscript.read([url, jobs.split(/\s/), \
141
+ @rscript.type = type
142
+ result, args = @rscript.read([url, jobs.split(/\s/), \
126
143
  qargs].flatten)
127
144
 
128
145
  rws = self
@@ -130,6 +147,13 @@ class RackRscript
130
147
  req = @req if @req
131
148
 
132
149
  begin
150
+
151
+ if @rscript.jobs(url).include? :initialize and
152
+ !@initialized[url] and jobs != 'initialize' then
153
+ @rscript.run([url, '//job:initialize'])
154
+ @initialized[url] = true
155
+ end
156
+
133
157
  r = eval result
134
158
  return r
135
159
 
@@ -154,20 +178,22 @@ class RackRscript
154
178
  Rexslt.new(xsl, xml).to_s
155
179
  end
156
180
 
157
- def haml(name,options={})
158
- render name, :haml, options
181
+ def haml(name,options={})
182
+ @render.haml name, options
159
183
  end
160
184
 
161
185
  def slim(name,options={})
162
- render name, :slim, options
186
+ @render.slim name, options
163
187
  end
164
188
 
165
189
  protected
166
190
 
167
191
  def default_routes(env, params)
168
192
 
169
-
193
+ @log.info 'RackRscript/default_routes: ' + params.inspect if @log
194
+
170
195
  get '/do/:package/:job' do |package,job|
196
+ @log.info 'RackRscript/route/do/package/job: ' + [package, job].inspect if @log
171
197
  run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
172
198
  end
173
199
 
@@ -177,24 +203,24 @@ class RackRscript
177
203
  end
178
204
 
179
205
  post '/do/:package/:job' do |package,job|
180
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
206
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :post)
181
207
  end
182
208
 
183
209
  get '/do/:package/:job/*' do |package, job|
184
210
  raw_args = params[:splat]
185
- args = raw_args.first[1..-1][/.\S*/].split('/')
186
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, args)
211
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
212
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :get, args)
187
213
  end
188
214
 
189
215
  post '/do/:package/:job/*' do |package, job|
190
216
  raw_args = params[:splat]
191
- args = raw_args.first[1..-1][/.\S*/].split('/')
192
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, args)
217
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
218
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :post, args)
193
219
  end
194
220
 
195
221
  get '/source/:package/:job' do |package,job|
196
222
  url = "%s%s.rsf" % [@url_base, package]
197
- [@rrscript.read([url, '//job:' + job]).first, 'text/plain']
223
+ [@rscript.read([url, '//job:' + job]).first, 'text/plain']
198
224
  end
199
225
 
200
226
  get '/source/:package' do |package,job|
@@ -215,7 +241,7 @@ class RackRscript
215
241
 
216
242
  get '/ls' do
217
243
 
218
- File.exists? @url_base
244
+ FileX.exists? @url_base
219
245
  filepath = @url_base
220
246
 
221
247
  [Dir.glob(filepath + '/*.rsf').map{|x| x[/([^\/]+)\.rsf$/,1]}.to_json,\
@@ -223,44 +249,70 @@ class RackRscript
223
249
 
224
250
  end
225
251
 
226
- get /^(\/(?:#{@static.join('|')}).*)/ do |path|
227
-
228
- puts 'path: ' + path.inspect if @debug
229
- filepath = File.join(@app_root, @root, path )
230
-
231
- if @log then
232
- @log.info 'DandelionS1/default_routes: ' +
233
- "root: %s path: %s" % [@root, path]
234
- end
252
+ if @static.any? then
253
+
254
+ get /^(\/(?:#{@static.keys.join('|')}).*)/ do |raw_path|
235
255
 
236
- if path.length < 1 or path[-1] == '/' then
237
- path += 'index.html'
238
- File.read filepath
239
- elsif File.directory? filepath then
240
- Redirect.new (path + '/')
241
- elsif File.exists? filepath then
256
+ _, file, tailpath = raw_path.split('/',3)
257
+
258
+ filepath = if @static[file].empty? then
259
+
260
+ path = raw_path
261
+ puts 'path: ' + path.inspect if @debug
262
+ filepath = File.join(@app_root, @root, path )
263
+
264
+ else
265
+
266
+ File.join(@static[file], tailpath)
267
+
268
+ end
269
+
270
+ @log.debug 'RackRscript/default_routes/filepath: ' + filepath.inspect if @log
271
+
272
+
273
+ if @log then
274
+ @log.info 'DandelionS1/default_routes: ' +
275
+ "root: %s path: %s" % [@root, path]
276
+ end
277
+
278
+ if filepath.length < 1 or filepath[-1] == '/' then
279
+ filepath += 'index.html'
280
+ FileX.read filepath
281
+ elsif FileX.directory? filepath then
282
+ Redirect.new (filepath + '/')
283
+ elsif FileX.exists? filepath then
284
+
285
+ content_type = @filetype[filepath[/\w+$/].to_sym]
286
+ [FileX.read(filepath), content_type || 'text/plain']
287
+ else
288
+ 'oops, file ' + filepath + ' not found'
289
+ end
242
290
 
243
- content_type = @filetype[filepath[/\w+$/].to_sym]
244
- [File.read(filepath), content_type || 'text/plain']
245
- else
246
- 'oops, file ' + filepath + ' not found'
247
291
  end
248
-
249
292
  end
250
293
 
251
294
  get /^\/$/ do
252
295
 
253
- file = File.join(@root, 'index.html')
254
- File.read file
296
+ if @root.length > 0 then
297
+ file = File.join(@root, 'index.html')
298
+ File.read file
299
+ else
300
+ Time.now.inspect
301
+ end
302
+
255
303
  end
256
304
 
257
305
  end
258
306
 
259
307
  def run_request(request)
260
308
 
261
- content, content_type, status_code = run_route(request,
262
- @env['REQUEST_METHOD'])
309
+ #@log.debug 'inside run_request: ' + request.inspect if @log
310
+ #@log.debug 'inside run_request @env: ' + @env.inspect if @log
311
+ method_type = @env ? @env['REQUEST_METHOD'] : 'GET'
312
+ content, content_type, status_code = run_route(request, method_type)
313
+ @log.info 'RackRscript/run_request/content: ' + content.inspect if @log
263
314
 
315
+ #@log.debug 'inside run_request' if @log
264
316
  if content.is_a? Redirect then
265
317
 
266
318
  redirectx = content
@@ -319,7 +371,7 @@ class RackRscript
319
371
 
320
372
  private
321
373
 
322
- def render(name, type, opt={})
374
+ def render99(name, type, opt={})
323
375
 
324
376
  options = {locals: {}}.merge!(opt)
325
377
  locals = options.delete :locals
@@ -339,11 +391,15 @@ class RackRscript
339
391
  end
340
392
 
341
393
  def template(name, type=nil, &blk)
394
+ @render.template name, type, &blk
395
+ end
396
+
397
+ def template99(name, type=nil, &blk)
342
398
  @templates.merge!({name => {content: blk.call, type: type}})
343
399
  @templates[name]
344
400
  end
345
401
 
346
- def tilt(name, options={})
402
+ def tilt99(name, options={})
347
403
 
348
404
  options = {locals: {}}.merge!(opt)
349
405
  locals = options.delete :locals
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.1.3
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,28 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MTExMzE3MjAyMloXDTE4MTExMzE3MjAyMlowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAJ0lu7yKoB8JHYhpkCTGjdbs42TKOS0ShXkMSydVj+CoY9pdn9VyJ69IVdzY
19
- 23VV94yiNn8LG7MGTmkG39Omoz69e+/Bpbkxz6w3zZQa7/NgvnxVUiCpWxeXorLB
20
- C35bRz4op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ySAlpuKwDuVXmc
32
+ twljCSdBB5QG11CH/7S+k4JMhN9vx+n4R2tNqouqyE0/Smyn+gXfYHR5jXqOzGFa
33
+ wmNbJU6Nt9ro9mFunXiNVM3t85KOb7HptOAv7uAu+yNHzDX6iDy43y1wwTN9Ca+0
34
+ 468xA07gVSZnQMLOLNcZE6qcx5MZVkhjTlWVchzBAusC2pb37Ut8jXn+q92nqCw9
35
+ tilHf4Ok7vnZYPnxQk5PY3q28lYoflnB47YIc0pdkJHI1M3YXL/HxrcZCEIHAU3W
36
+ aTCBK3Pk2/LQtqaW3yaSg73t
33
37
  -----END CERTIFICATE-----
34
- date: 2018-07-23 00:00:00.000000000 Z
38
+ date: 2020-06-28 00:00:00.000000000 Z
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: rack
@@ -39,20 +43,20 @@ dependencies:
39
43
  requirements:
40
44
  - - "~>"
41
45
  - !ruby/object:Gem::Version
42
- version: '2.0'
46
+ version: '2.2'
43
47
  - - ">="
44
48
  - !ruby/object:Gem::Version
45
- version: 2.0.5
49
+ version: 2.2.3
46
50
  type: :runtime
47
51
  prerelease: false
48
52
  version_requirements: !ruby/object:Gem::Requirement
49
53
  requirements:
50
54
  - - "~>"
51
55
  - !ruby/object:Gem::Version
52
- version: '2.0'
56
+ version: '2.2'
53
57
  - - ">="
54
58
  - !ruby/object:Gem::Version
55
- version: 2.0.5
59
+ version: 2.2.3
56
60
  - !ruby/object:Gem::Dependency
57
61
  name: app-routes
58
62
  requirement: !ruby/object:Gem::Requirement
@@ -77,22 +81,22 @@ dependencies:
77
81
  name: rscript
78
82
  requirement: !ruby/object:Gem::Requirement
79
83
  requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.4'
83
84
  - - ">="
84
85
  - !ruby/object:Gem::Version
85
- version: 0.4.1
86
+ version: 0.8.0
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.8'
86
90
  type: :runtime
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
89
93
  requirements:
90
- - - "~>"
91
- - !ruby/object:Gem::Version
92
- version: '0.4'
93
94
  - - ">="
94
95
  - !ruby/object:Gem::Version
95
- version: 0.4.1
96
+ version: 0.8.0
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.8'
96
100
  - !ruby/object:Gem::Dependency
97
101
  name: tilt
98
102
  requirement: !ruby/object:Gem::Requirement
@@ -102,7 +106,7 @@ dependencies:
102
106
  version: '2.0'
103
107
  - - ">="
104
108
  - !ruby/object:Gem::Version
105
- version: 2.0.8
109
+ version: 2.0.10
106
110
  type: :runtime
107
111
  prerelease: false
108
112
  version_requirements: !ruby/object:Gem::Requirement
@@ -112,67 +116,47 @@ dependencies:
112
116
  version: '2.0'
113
117
  - - ">="
114
118
  - !ruby/object:Gem::Version
115
- version: 2.0.8
119
+ version: 2.0.10
116
120
  - !ruby/object:Gem::Dependency
117
121
  name: slim
118
122
  requirement: !ruby/object:Gem::Requirement
119
123
  requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '3.0'
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: 3.0.9
126
- type: :runtime
127
- prerelease: false
128
- version_requirements: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: '3.0'
133
124
  - - ">="
134
125
  - !ruby/object:Gem::Version
135
- version: 3.0.9
136
- - !ruby/object:Gem::Dependency
137
- name: json
138
- requirement: !ruby/object:Gem::Requirement
139
- requirements:
126
+ version: 4.1.0
140
127
  - - "~>"
141
128
  - !ruby/object:Gem::Version
142
- version: '2.1'
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: 2.1.0
129
+ version: '4.1'
146
130
  type: :runtime
147
131
  prerelease: false
148
132
  version_requirements: !ruby/object:Gem::Requirement
149
133
  requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '2.1'
153
134
  - - ">="
154
135
  - !ruby/object:Gem::Version
155
- version: 2.1.0
136
+ version: 4.1.0
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '4.1'
156
140
  - !ruby/object:Gem::Dependency
157
141
  name: rexslt
158
142
  requirement: !ruby/object:Gem::Requirement
159
143
  requirements:
160
- - - "~>"
161
- - !ruby/object:Gem::Version
162
- version: '0.6'
163
144
  - - ">="
164
145
  - !ruby/object:Gem::Version
165
- version: 0.6.11
146
+ version: 0.7.0
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '0.7'
166
150
  type: :runtime
167
151
  prerelease: false
168
152
  version_requirements: !ruby/object:Gem::Requirement
169
153
  requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '0.6'
173
154
  - - ">="
174
155
  - !ruby/object:Gem::Version
175
- version: 0.6.11
156
+ version: 0.7.0
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.7'
176
160
  - !ruby/object:Gem::Dependency
177
161
  name: rsc
178
162
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +166,7 @@ dependencies:
182
166
  version: '0.4'
183
167
  - - ">="
184
168
  - !ruby/object:Gem::Version
185
- version: 0.4.0
169
+ version: 0.4.4
186
170
  type: :runtime
187
171
  prerelease: false
188
172
  version_requirements: !ruby/object:Gem::Requirement
@@ -192,27 +176,27 @@ dependencies:
192
176
  version: '0.4'
193
177
  - - ">="
194
178
  - !ruby/object:Gem::Version
195
- version: 0.4.0
179
+ version: 0.4.4
196
180
  - !ruby/object:Gem::Dependency
197
181
  name: polyrex-links
198
182
  requirement: !ruby/object:Gem::Requirement
199
183
  requirements:
200
- - - "~>"
201
- - !ruby/object:Gem::Version
202
- version: '0.3'
203
184
  - - ">="
204
185
  - !ruby/object:Gem::Version
205
186
  version: 0.3.0
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '0.3'
206
190
  type: :runtime
207
191
  prerelease: false
208
192
  version_requirements: !ruby/object:Gem::Requirement
209
193
  requirements:
210
- - - "~>"
211
- - !ruby/object:Gem::Version
212
- version: '0.3'
213
194
  - - ">="
214
195
  - !ruby/object:Gem::Version
215
196
  version: 0.3.0
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: '0.3'
216
200
  description:
217
201
  email: james@jamesrobertson.eu
218
202
  executables: []
@@ -239,8 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
223
  - !ruby/object:Gem::Version
240
224
  version: '0'
241
225
  requirements: []
242
- rubyforge_project:
243
- rubygems_version: 2.6.13
226
+ rubygems_version: 3.0.3
244
227
  signing_key:
245
228
  specification_version: 4
246
229
  summary: Rack-Rscript is a light-weight alternative to Sinatra-Rscript.
metadata.gz.sig CHANGED
Binary file