rack-rscript 1.1.5 → 1.2.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
  SHA256:
3
- metadata.gz: '0929ad598b28b90a80b39b3d406e7b3c3d054ef8e8009740272e0c4efa871a0f'
4
- data.tar.gz: 4d61e887c6c4c1d1630f282beec390f4f6cb2e7489bd94d6ffabe0d1e7afe623
3
+ metadata.gz: 35ab3661aa2c2f191b140e28dbda3805f32a97e6a3eaf6c1f410e30f411d6b6c
4
+ data.tar.gz: b6d2ba9fd30c7ae71571f69918583c8206cd0d5dbebd89dd796e4f35d44662d0
5
5
  SHA512:
6
- metadata.gz: 206d6635be3d06be5c51a3d8ca93e15d2dea9cbcd3c52b1f62ce3600a4e23be54f93559384a47381a1c208ba051b35f01a2f3b75d3f16b965d6f270bf259ebec
7
- data.tar.gz: 4c05d931033a0c8b8f6fa45a3662c7aa59a73a78f470100eabba4ef00e5b5edfb284c965879a571a6ff64c8619ee9e29876a662dd8e12dcaa45727883dc317b4
6
+ metadata.gz: 216dc0e7c0e24231bf0e0fbb7d6cd5550cf9bf027a37b860102f909a378c608c78c806f51ab1b170a4b5880d0fc021311cd23d2d42782b56dc200ffa15eacde4
7
+ data.tar.gz: da45f89a5e37161bf83a9c63cdc8830e69ed949241f004990db59e67e7d21d33d9533932df96de08f5136339d1d61b81589d73fa9814149a0fe20997a93f0845
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -26,16 +26,22 @@ end
26
26
  class RackRscriptError < Exception
27
27
  end
28
28
 
29
+
30
+
31
+
29
32
  class RackRscript
30
33
  include AppRoutes
31
34
  include RXFHelperModule
35
+ using ColouredText
36
+
37
+ attr_reader :req, :rsc
32
38
 
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: {})
39
+
40
+ def initialize(log: nil, pkg_src: '', cache: 5, rsc_host: nil,
41
+ pxlinks: nil, debug: false, root: '', static: {})
36
42
 
37
43
  @log, @debug, @static = log, debug, static
38
-
44
+ #=begin
39
45
  puts '@app_root: ' + @app_root.inspect if @debug
40
46
  puts 'root: ' + root.inspect if @debug
41
47
 
@@ -43,7 +49,8 @@ class RackRscript
43
49
 
44
50
  @templates = {}
45
51
 
46
- @rrscript = RScript.new log: log, pkg_src: pkg_src, cache: cache
52
+ @rscript = RScriptRW.new log: log, pkg_src: pkg_src, cache: cache, debug: true
53
+ @render = NThrut.new(self)
47
54
 
48
55
  @url_base = pkg_src # web server serving the RSF files
49
56
  @url_base += '/' unless @url_base[-1] == '/'
@@ -66,28 +73,37 @@ class RackRscript
66
73
  end
67
74
 
68
75
  super() # required for app-routes initialize method to exectue
69
- default_routes(@env, @params)
76
+ default_routes(@env, @params || {})
70
77
 
71
78
  @rsc = nil
72
- @rsc = RSC.new rsc_host, rsc_package_src if rsc_package_src
79
+
80
+ @rsc = RSC.new rsc_host if rsc_host and rsc_host.length > 0
73
81
 
74
82
  @filetype = {xml: 'application/xml', html: 'text/html', png: 'image/png',
75
83
  jpg: 'image/jpeg', txt: 'text/plain', css: 'text/css',
76
84
  xsl: 'application/xml', svg: 'image/svg+xml'}
77
85
 
78
86
  @root, @static = root, static
79
-
87
+ @initialized = {}
88
+ #=end
80
89
  end
81
90
 
82
- def call(env)
83
-
91
+ def call(env, testmode: false)
92
+
93
+
84
94
  @env = env
85
- raw_request = env['REQUEST_URI'][/https?:\/\/[^\/]+(.*)/,1]
95
+ raw_request = env['REQUEST_URI'][/\/\/[^\/]+(.*)/,1]
96
+ #raw_request = env['REQUEST_PATH']
86
97
 
87
98
  @log.info 'RackRscript/call: ' + env.inspect if @log
88
- @req = Rack::Request.new(env)
89
-
90
- @req_params = @req.params
99
+
100
+ if testmode == false then
101
+
102
+ @req = Rack::Request.new(env)
103
+ @req_params = @req.params
104
+
105
+ end
106
+
91
107
  default_routes(env,@params)
92
108
 
93
109
  request = if @pxlinks then
@@ -97,15 +113,24 @@ class RackRscript
97
113
  raw_request
98
114
  end
99
115
 
116
+ @log.info 'RackRscript/call/request: ' + request.inspect if @log
117
+ #=begin
118
+ puts 'request: ' + request.inspect if @debug
100
119
  run_request(request)
120
+ #=end
121
+ # [200, {"Content-Type" => "text/plain"}, [env.inspect]]
101
122
  end
102
123
 
103
124
  def clear_cache()
104
- @rrscript.reset
125
+ @rscript.reset
105
126
  end
106
127
 
107
- def run_job(url, jobs, params={}, *qargs)
128
+ def run_job(url, job, params={}, type=:get, *qargs)
108
129
 
130
+ puts 'inside run_job' if @debug
131
+ @log.debug 'RackRscript/run_job/params: ' + params.inspect if @log
132
+ @log.debug 'RackRscript/run_job/qargs: ' + qargs.inspect if @log
133
+
109
134
  if @params[:splat] then
110
135
  @params.each do |k,v|
111
136
  @params.delete k unless k == :splat or k == :package \
@@ -121,8 +146,20 @@ class RackRscript
121
146
  @params.merge! h
122
147
  end
123
148
 
124
- @params.merge! @req.params
125
- result, args = @rrscript.read([url, jobs.split(/\s/), \
149
+ @params.merge! @req.params if @req
150
+ @rscript.type = type
151
+
152
+ if not @rscript.jobs(url).include?(job.to_sym) then
153
+
154
+ if @rscript.jobs(url).include?(:job_missing) then
155
+ job = 'job_missing'
156
+ else
157
+ [404, 'job not found']
158
+ end
159
+
160
+ end
161
+
162
+ result, args = @rscript.read([url, '//job:' + job, \
126
163
  qargs].flatten)
127
164
 
128
165
  rws = self
@@ -130,7 +167,29 @@ class RackRscript
130
167
  req = @req if @req
131
168
 
132
169
  begin
170
+
171
+ if @debug then
172
+ puts @rscript.jobs(url).inspect
173
+ puts 'job: ' + job.inspect
174
+ puts 'url: ' + url.inspect
175
+ puts '@initialized: ' + @initialized.inspect
176
+ bflag = @rscript.jobs(url).include?(:initialize) and \
177
+ !@initialized[url] and job != 'initialize'
178
+ puts 'bflag: ' + bflag.inspect
179
+ end
180
+
181
+ if @rscript.jobs(url).include?(:initialize) and
182
+ !@initialized[url] and job != 'initialize' then
183
+ puts 'before run initialize' if @debug
184
+ r2 = @rscript.read([url, '//job:initialize'])
185
+ puts 'r2: ' + r2.inspect if @debug
186
+ eval r2.join
187
+ @initialized[url] = true
188
+ end
189
+
190
+
133
191
  r = eval result
192
+
134
193
  return r
135
194
 
136
195
  rescue Exception => e
@@ -154,47 +213,53 @@ class RackRscript
154
213
  Rexslt.new(xsl, xml).to_s
155
214
  end
156
215
 
157
- def haml(name,options={})
158
- render name, :haml, options
216
+ def haml(name,options={})
217
+ @render.haml name, options
159
218
  end
160
219
 
161
220
  def slim(name,options={})
162
- render name, :slim, options
221
+ @render.slim name, options
163
222
  end
164
223
 
165
224
  protected
166
225
 
167
226
  def default_routes(env, params)
168
227
 
169
-
228
+ @log.info 'RackRscript/default_routes: ' + params.inspect if @log
229
+
170
230
  get '/do/:package/:job' do |package,job|
171
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
231
+ @log.info 'RackRscript/route/do/package/job: ' + [package, job].inspect if @log
232
+ run_job("%s%s.rsf" % [@url_base, package], job, params)
172
233
  end
173
234
 
174
- get /\/(.*)\/do\/(\w+)\/(\w+)/ do |d, package,job|
175
- run_job(("%s%s/%s.rsf" % [@url_base, d, package]),
176
- "//job:" + job, params)
235
+ get /\/(.*)\/do\/(\w+)\/(\w+)$/ do |d, package,job|
236
+ run_job(("%s%s/%s.rsf" % [@url_base, d, package]), job, params)
177
237
  end
238
+
239
+ get /\/(.*)\/do\/(\w+)\/(\w+)\/(.*)/ do |d, package, job, raw_args|
240
+ args = raw_args.split('/')
241
+ run_job(("%s%s/%s.rsf" % [@url_base, d, package]), job, params, :get, args)
242
+ end
178
243
 
179
244
  post '/do/:package/:job' do |package,job|
180
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
245
+ run_job("%s%s.rsf" % [@url_base, package], job, params, :post)
181
246
  end
182
247
 
183
248
  get '/do/:package/:job/*' do |package, job|
184
249
  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)
250
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
251
+ run_job("%s%s.rsf" % [@url_base, package], job, params, :get, args)
187
252
  end
188
253
 
189
254
  post '/do/:package/:job/*' do |package, job|
190
255
  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)
256
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
257
+ run_job("%s%s.rsf" % [@url_base, package], job, params, :post, args)
193
258
  end
194
259
 
195
260
  get '/source/:package/:job' do |package,job|
196
261
  url = "%s%s.rsf" % [@url_base, package]
197
- [@rrscript.read([url, '//job:' + job]).first, 'text/plain']
262
+ [@rscript.read([url, job]).first, 'text/plain']
198
263
  end
199
264
 
200
265
  get '/source/:package' do |package,job|
@@ -267,8 +332,13 @@ class RackRscript
267
332
 
268
333
  get /^\/$/ do
269
334
 
270
- file = File.join(@root, 'index.html')
271
- File.read file
335
+ if @root.length > 0 then
336
+ file = File.join(@root, 'index.html')
337
+ File.read file
338
+ else
339
+ Time.now.inspect
340
+ end
341
+
272
342
  end
273
343
 
274
344
  end
@@ -279,6 +349,9 @@ class RackRscript
279
349
  #@log.debug 'inside run_request @env: ' + @env.inspect if @log
280
350
  method_type = @env ? @env['REQUEST_METHOD'] : 'GET'
281
351
  content, content_type, status_code = run_route(request, method_type)
352
+ @log.info 'RackRscript/run_request/content: ' + content.inspect if @log
353
+ #puts 'content: ' + content.inspect if @debug
354
+
282
355
  #@log.debug 'inside run_request' if @log
283
356
  if content.is_a? Redirect then
284
357
 
@@ -337,41 +410,9 @@ class RackRscript
337
410
  alias jumpto run_request
338
411
 
339
412
  private
340
-
341
- def render(name, type, opt={})
342
-
343
- options = {locals: {}}.merge!(opt)
344
- locals = options.delete :locals
345
-
346
- unless @templates[:layout] then
347
- template(:layout, type) { File.read('views/layout.' + type.to_s) }
348
- end
349
-
350
- layout = Tilt[type.to_s].new(options) {|x| @templates[:layout][:content]}
351
-
352
- unless @templates[name] then
353
- template(name, type) { File.read("views/%s.%s" % [name.to_s, type.to_s])}
354
- end
355
-
356
- template = Tilt[type.to_s].new(options) {|x| @templates[name][:content]}
357
- layout.render{ template.render(self, locals)}
358
- end
359
-
413
+
360
414
  def template(name, type=nil, &blk)
361
- @templates.merge!({name => {content: blk.call, type: type}})
362
- @templates[name]
363
- end
364
-
365
- def tilt(name, options={})
366
-
367
- options = {locals: {}}.merge!(opt)
368
- locals = options.delete :locals
369
- layout = Tilt[@templates[:layout][:type].to_s].new(options)\
370
- {|x| @templates[:layout][:content]}
371
- template = Tilt[@templates[name][:type].to_s].new(options) \
372
- {|x| @templates[name][:content]}
373
- layout.render{ template.render(self, locals)}
374
-
375
- end
415
+ @render.template name, type, &blk
416
+ end
376
417
 
377
418
  end
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.5
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -11,31 +11,31 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwMjE2MTc1OTI3WhcN
15
- MjAwMjE2MTc1OTI3WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0YIta
17
- YodiB6EG0KVDDwfPCN3Hwh/FGtn/BbMQNfCyFBVhO5iMyrwdWeFL9zHnvypbiiT6
18
- Ex80D8s9j4iXHKj/RSKPQ0NDZ1Gms2CtrcRqUiA/Lze0mM6igwn9hgo7PZbU5S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qvVp/0qFr40orUDsiWgUri6xIAr7HN+Iu
29
+ EYDxIn873j5HorzAcrhKkfb9dNyJnpraac1Hpn9yqg7hIeW/mU0LIM9wNe4S9yTI
30
+ IOh0hhqsyeas7UwaZA220Bx23yyxque7E9P+fqn5I4RwtJXn/kDXZHiarKfvFTH1
31
+ mduzu/04uoC0dYEAL/ASvOr/EMxD+N9/vtoxR4+bj4W8WXozy9ySAlpuKwDuVXmc
32
+ twljCSdBB5QG11CH/7S+k4JMhN9vx+n4R2tNqouqyE0/Smyn+gXfYHR5jXqOzGFa
33
+ wmNbJU6Nt9ro9mFunXiNVM3t85KOb7HptOAv7uAu+yNHzDX6iDy43y1wwTN9Ca+0
34
+ 468xA07gVSZnQMLOLNcZE6qcx5MZVkhjTlWVchzBAusC2pb37Ut8jXn+q92nqCw9
35
+ tilHf4Ok7vnZYPnxQk5PY3q28lYoflnB47YIc0pdkJHI1M3YXL/HxrcZCEIHAU3W
36
+ aTCBK3Pk2/LQtqaW3yaSg73t
37
37
  -----END CERTIFICATE-----
38
- date: 2019-02-18 00:00:00.000000000 Z
38
+ date: 2021-01-18 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rack
@@ -43,20 +43,20 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '2.0'
46
+ version: '2.2'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 2.0.6
49
+ version: 2.2.3
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '2.0'
56
+ version: '2.2'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 2.0.6
59
+ version: 2.2.3
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: app-routes
62
62
  requirement: !ruby/object:Gem::Requirement
@@ -81,22 +81,22 @@ dependencies:
81
81
  name: rscript
82
82
  requirement: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: '0.6'
87
84
  - - ">="
88
85
  - !ruby/object:Gem::Version
89
- version: 0.6.2
86
+ version: 0.8.0
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.8'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.6'
97
94
  - - ">="
98
95
  - !ruby/object:Gem::Version
99
- version: 0.6.2
96
+ version: 0.8.0
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.8'
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: tilt
102
102
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  version: '2.0'
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 2.0.9
109
+ version: 2.0.10
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
@@ -116,67 +116,47 @@ dependencies:
116
116
  version: '2.0'
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 2.0.9
119
+ version: 2.0.10
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: slim
122
122
  requirement: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - "~>"
125
- - !ruby/object:Gem::Version
126
- version: '4.0'
127
124
  - - ">="
128
125
  - !ruby/object:Gem::Version
129
- version: 4.0.1
130
- type: :runtime
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
126
+ version: 4.1.0
134
127
  - - "~>"
135
128
  - !ruby/object:Gem::Version
136
- version: '4.0'
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: 4.0.1
140
- - !ruby/object:Gem::Dependency
141
- name: json
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: 2.1.0
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '2.1'
129
+ version: '4.1'
150
130
  type: :runtime
151
131
  prerelease: false
152
132
  version_requirements: !ruby/object:Gem::Requirement
153
133
  requirements:
154
134
  - - ">="
155
135
  - !ruby/object:Gem::Version
156
- version: 2.1.0
136
+ version: 4.1.0
157
137
  - - "~>"
158
138
  - !ruby/object:Gem::Version
159
- version: '2.1'
139
+ version: '4.1'
160
140
  - !ruby/object:Gem::Dependency
161
141
  name: rexslt
162
142
  requirement: !ruby/object:Gem::Requirement
163
143
  requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.6'
167
144
  - - ">="
168
145
  - !ruby/object:Gem::Version
169
- version: 0.6.13
146
+ version: 0.7.0
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '0.7'
170
150
  type: :runtime
171
151
  prerelease: false
172
152
  version_requirements: !ruby/object:Gem::Requirement
173
153
  requirements:
174
- - - "~>"
175
- - !ruby/object:Gem::Version
176
- version: '0.6'
177
154
  - - ">="
178
155
  - !ruby/object:Gem::Version
179
- version: 0.6.13
156
+ version: 0.7.0
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.7'
180
160
  - !ruby/object:Gem::Dependency
181
161
  name: rsc
182
162
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +166,7 @@ dependencies:
186
166
  version: '0.4'
187
167
  - - ">="
188
168
  - !ruby/object:Gem::Version
189
- version: 0.4.1
169
+ version: 0.4.5
190
170
  type: :runtime
191
171
  prerelease: false
192
172
  version_requirements: !ruby/object:Gem::Requirement
@@ -196,7 +176,7 @@ dependencies:
196
176
  version: '0.4'
197
177
  - - ">="
198
178
  - !ruby/object:Gem::Version
199
- version: 0.4.1
179
+ version: 0.4.5
200
180
  - !ruby/object:Gem::Dependency
201
181
  name: polyrex-links
202
182
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +223,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
223
  - !ruby/object:Gem::Version
244
224
  version: '0'
245
225
  requirements: []
246
- rubygems_version: 3.0.1
226
+ rubyforge_project:
227
+ rubygems_version: 2.7.10
247
228
  signing_key:
248
229
  specification_version: 4
249
230
  summary: Rack-Rscript is a light-weight alternative to Sinatra-Rscript.
metadata.gz.sig CHANGED
Binary file