rack-rscript 1.1.4 → 1.1.9

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: cbd3eb663817e716b9659b6d9f363508eb0e4e4a348d1310d9fe9958eeb38bee
4
- data.tar.gz: 886403ab31bc13ea31a522fb7aa4617b2e950f1c210f6298af70dbcc81fdbbf6
3
+ metadata.gz: a2d9082990c984616d9a1e5df565d4691931b996646569380500cfef752ff0af
4
+ data.tar.gz: 851c3dcf2920516de03778abda5bcbee715e846a419431758fb8756992319023
5
5
  SHA512:
6
- metadata.gz: dadc9a749503aa9c456aa00ef013004e3f8a941aee9d4e9e31bfa153df474817b1b503cd06f573671c8a689b7aa2487a0725ccdfaa36e0aab68ac25637df2939
7
- data.tar.gz: 8ec1bf779f2f2367c6769f3bc1811f02a4f09f01061834bca853bbe9366e8a99499193a343f009526c4461e4cc17b28538f3fcf8b04789228bb8dde987625551
6
+ metadata.gz: e97d68f52d58c1fe00e019a51a8579b2aab3046dc4c82602f5857a88e91821542fc608f0e2f99a599a8becb9388599645911ea0c0ef46966abfa4aa553464e60
7
+ data.tar.gz: f25c004d25a0c65fc94900a1fcd3342e6f47849daf5a0ffab8f989ef172aceb5d69c0369459e2772c41928ceb9bcae74758d65d04a1380eee1a3e72422a1fe12
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
- 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
+ attr_reader :req
38
+
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] == '/'
@@ -69,20 +76,24 @@ class RackRscript
69
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
91
  def call(env)
83
-
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
99
  @req = Rack::Request.new(env)
@@ -97,15 +108,22 @@ class RackRscript
97
108
  raw_request
98
109
  end
99
110
 
111
+ @log.info 'RackRscript/call/request: ' + request.inspect if @log
112
+ #=begin
100
113
  run_request(request)
114
+ #=end
115
+ # [200, {"Content-Type" => "text/plain"}, [env.inspect]]
101
116
  end
102
117
 
103
118
  def clear_cache()
104
- @rrscript.reset
119
+ @rscript.reset
105
120
  end
106
121
 
107
- def run_job(url, jobs, params={}, *qargs)
122
+ def run_job(url, jobs, params={}, type=:get, *qargs)
108
123
 
124
+ @log.debug 'RackRscript/run_job/params: ' + params.inspect if @log
125
+ @log.debug 'RackRscript/run_job/qargs: ' + qargs.inspect if @log
126
+
109
127
  if @params[:splat] then
110
128
  @params.each do |k,v|
111
129
  @params.delete k unless k == :splat or k == :package \
@@ -122,7 +140,8 @@ class RackRscript
122
140
  end
123
141
 
124
142
  @params.merge! @req.params
125
- result, args = @rrscript.read([url, jobs.split(/\s/), \
143
+ @rscript.type = type
144
+ result, args = @rscript.read([url, jobs.split(/\s/), \
126
145
  qargs].flatten)
127
146
 
128
147
  rws = self
@@ -130,6 +149,13 @@ class RackRscript
130
149
  req = @req if @req
131
150
 
132
151
  begin
152
+
153
+ if @rscript.jobs(url).include? :initialize and
154
+ !@initialized[url] and jobs != 'initialize' then
155
+ @rscript.run([url, '//job:initialize'])
156
+ @initialized[url] = true
157
+ end
158
+
133
159
  r = eval result
134
160
  return r
135
161
 
@@ -154,20 +180,22 @@ class RackRscript
154
180
  Rexslt.new(xsl, xml).to_s
155
181
  end
156
182
 
157
- def haml(name,options={})
158
- render name, :haml, options
183
+ def haml(name,options={})
184
+ @render.haml name, options
159
185
  end
160
186
 
161
187
  def slim(name,options={})
162
- render name, :slim, options
188
+ @render.slim name, options
163
189
  end
164
190
 
165
191
  protected
166
192
 
167
193
  def default_routes(env, params)
168
194
 
169
-
195
+ @log.info 'RackRscript/default_routes: ' + params.inspect if @log
196
+
170
197
  get '/do/:package/:job' do |package,job|
198
+ @log.info 'RackRscript/route/do/package/job: ' + [package, job].inspect if @log
171
199
  run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
172
200
  end
173
201
 
@@ -177,24 +205,24 @@ class RackRscript
177
205
  end
178
206
 
179
207
  post '/do/:package/:job' do |package,job|
180
- run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params)
208
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :post)
181
209
  end
182
210
 
183
211
  get '/do/:package/:job/*' do |package, job|
184
212
  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)
213
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
214
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :get, args)
187
215
  end
188
216
 
189
217
  post '/do/:package/:job/*' do |package, job|
190
218
  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)
219
+ args = raw_args.first[/[^\s\?]+/].to_s.split('/')[1..-1]
220
+ run_job("%s%s.rsf" % [@url_base, package], "//job:" + job, params, :post, args)
193
221
  end
194
222
 
195
223
  get '/source/:package/:job' do |package,job|
196
224
  url = "%s%s.rsf" % [@url_base, package]
197
- [@rrscript.read([url, '//job:' + job]).first, 'text/plain']
225
+ [@rscript.read([url, '//job:' + job]).first, 'text/plain']
198
226
  end
199
227
 
200
228
  get '/source/:package' do |package,job|
@@ -215,7 +243,7 @@ class RackRscript
215
243
 
216
244
  get '/ls' do
217
245
 
218
- File.exists? @url_base
246
+ FileX.exists? @url_base
219
247
  filepath = @url_base
220
248
 
221
249
  [Dir.glob(filepath + '/*.rsf').map{|x| x[/([^\/]+)\.rsf$/,1]}.to_json,\
@@ -225,25 +253,39 @@ class RackRscript
225
253
 
226
254
  if @static.any? then
227
255
 
228
- get /^(\/(?:#{@static.join('|')}).*)/ do |path|
256
+ get /^(\/(?:#{@static.keys.join('|')}).*)/ do |raw_path|
257
+
258
+ _, file, tailpath = raw_path.split('/',3)
259
+
260
+ filepath = if @static[file].empty? then
261
+
262
+ path = raw_path
263
+ puts 'path: ' + path.inspect if @debug
264
+ filepath = File.join(@app_root, @root, path )
265
+
266
+ else
267
+
268
+ File.join(@static[file], tailpath)
269
+
270
+ end
271
+
272
+ @log.debug 'RackRscript/default_routes/filepath: ' + filepath.inspect if @log
229
273
 
230
- puts 'path: ' + path.inspect if @debug
231
- filepath = File.join(@app_root, @root, path )
232
274
 
233
275
  if @log then
234
276
  @log.info 'DandelionS1/default_routes: ' +
235
277
  "root: %s path: %s" % [@root, path]
236
278
  end
237
279
 
238
- if path.length < 1 or path[-1] == '/' then
239
- path += 'index.html'
240
- File.read filepath
241
- elsif File.directory? filepath then
242
- Redirect.new (path + '/')
243
- elsif File.exists? filepath then
280
+ if filepath.length < 1 or filepath[-1] == '/' then
281
+ filepath += 'index.html'
282
+ FileX.read filepath
283
+ elsif FileX.directory? filepath then
284
+ Redirect.new (filepath + '/')
285
+ elsif FileX.exists? filepath then
244
286
 
245
287
  content_type = @filetype[filepath[/\w+$/].to_sym]
246
- [File.read(filepath), content_type || 'text/plain']
288
+ [FileX.read(filepath), content_type || 'text/plain']
247
289
  else
248
290
  'oops, file ' + filepath + ' not found'
249
291
  end
@@ -253,8 +295,13 @@ class RackRscript
253
295
 
254
296
  get /^\/$/ do
255
297
 
256
- file = File.join(@root, 'index.html')
257
- File.read file
298
+ if @root.length > 0 then
299
+ file = File.join(@root, 'index.html')
300
+ File.read file
301
+ else
302
+ Time.now.inspect
303
+ end
304
+
258
305
  end
259
306
 
260
307
  end
@@ -265,6 +312,8 @@ class RackRscript
265
312
  #@log.debug 'inside run_request @env: ' + @env.inspect if @log
266
313
  method_type = @env ? @env['REQUEST_METHOD'] : 'GET'
267
314
  content, content_type, status_code = run_route(request, method_type)
315
+ @log.info 'RackRscript/run_request/content: ' + content.inspect if @log
316
+
268
317
  #@log.debug 'inside run_request' if @log
269
318
  if content.is_a? Redirect then
270
319
 
@@ -324,7 +373,7 @@ class RackRscript
324
373
 
325
374
  private
326
375
 
327
- def render(name, type, opt={})
376
+ def render99(name, type, opt={})
328
377
 
329
378
  options = {locals: {}}.merge!(opt)
330
379
  locals = options.delete :locals
@@ -344,11 +393,15 @@ class RackRscript
344
393
  end
345
394
 
346
395
  def template(name, type=nil, &blk)
396
+ @render.template name, type, &blk
397
+ end
398
+
399
+ def template99(name, type=nil, &blk)
347
400
  @templates.merge!({name => {content: blk.call, type: type}})
348
401
  @templates[name]
349
402
  end
350
403
 
351
- def tilt(name, options={})
404
+ def tilt99(name, options={})
352
405
 
353
406
  options = {locals: {}}.merge!(opt)
354
407
  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.4
4
+ version: 1.1.9
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/Lze0mM6igwn9hgo7PZbU5SAO
19
- dRZf9g2Xdr5vZasnOO6zn2QyT/KtuU8TamgVzOtoELbNQ5+hwN+rt+gwLenh8vVH
20
- reB+hc1Ma8g89OwJCGYp0o9T6adq6tgdtJj5Cu6hJPBABtuzGAeleqsZ8GVkL/sj
21
- q7Lxjc9/Mp0l43msIGHJfOuzXVmQwq8KxWj4QCS6c+js2JSWswFho12dNKYb9rjX
22
- 14Dnx2qdMApKUGP7Y8XQk3dDUDHgGurAbq4EpkgpLuQw1eq2o5XkE0tIG5f0ATEi
23
- pSYyMLv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fYHR5jXqOzGFa
33
+ wmNbJU6Nt9ro9mFunXiNVM3t85KOb7HptOAv7uAu+yNHzDX6iDy43y1wwTN9Ca+0
34
+ 468xA07gVSZnQMLOLNcZE6qcx5MZVkhjTlWVchzBAusC2pb37Ut8jXn+q92nqCw9
35
+ tilHf4Ok7vnZYPnxQk5PY3q28lYoflnB47YIc0pdkJHI1M3YXL/HxrcZCEIHAU3W
36
+ aTCBK3Pk2/LQtqaW3yaSg73t
37
37
  -----END CERTIFICATE-----
38
- date: 2019-02-16 00:00:00.000000000 Z
38
+ date: 2020-07-04 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.5
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.5
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.4'
87
84
  - - ">="
88
85
  - !ruby/object:Gem::Version
89
- version: 0.4.1
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.4'
97
94
  - - ">="
98
95
  - !ruby/object:Gem::Version
99
- version: 0.4.1
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.8
109
+ version: 2.0.10
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
@@ -116,87 +116,67 @@ dependencies:
116
116
  version: '2.0'
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 2.0.8
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: '3.0'
127
124
  - - ">="
128
125
  - !ruby/object:Gem::Version
129
- version: 3.0.9
126
+ version: 4.1.0
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '4.1'
130
130
  type: :runtime
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '3.0'
137
134
  - - ">="
138
135
  - !ruby/object:Gem::Version
139
- version: 3.0.9
136
+ version: 4.1.0
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '4.1'
140
140
  - !ruby/object:Gem::Dependency
141
- name: json
141
+ name: rexslt
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: 2.1.0
146
+ version: 0.7.0
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: '2.1'
149
+ version: '0.7'
150
150
  type: :runtime
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
- version: 2.1.0
156
+ version: 0.7.0
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.1'
159
+ version: '0.7'
160
160
  - !ruby/object:Gem::Dependency
161
- name: rexslt
161
+ name: rsc
162
162
  requirement: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0.6'
166
+ version: '0.4'
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
- version: 0.6.11
169
+ version: 0.4.4
170
170
  type: :runtime
171
171
  prerelease: false
172
172
  version_requirements: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - "~>"
175
- - !ruby/object:Gem::Version
176
- version: '0.6'
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: 0.6.11
180
- - !ruby/object:Gem::Dependency
181
- name: rsc
182
- requirement: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- version: 0.4.0
187
174
  - - "~>"
188
175
  - !ruby/object:Gem::Version
189
176
  version: '0.4'
190
- type: :runtime
191
- prerelease: false
192
- version_requirements: !ruby/object:Gem::Requirement
193
- requirements:
194
177
  - - ">="
195
178
  - !ruby/object:Gem::Version
196
- version: 0.4.0
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: '0.4'
179
+ version: 0.4.4
200
180
  - !ruby/object:Gem::Dependency
201
181
  name: polyrex-links
202
182
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +223,7 @@ 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
+ rubygems_version: 3.0.3
247
227
  signing_key:
248
228
  specification_version: 4
249
229
  summary: Rack-Rscript is a light-weight alternative to Sinatra-Rscript.
metadata.gz.sig CHANGED
Binary file