rack-rscript 1.3.1 → 1.4.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/lib/rack-rscript.rb +4 -6
- data.tar.gz.sig +0 -0
- metadata +53 -34
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9179db367dd0bf801e2734f5a3bd9ca3000105a7ee5b1340462fc61f8bda56f6
|
4
|
+
data.tar.gz: e5a0cb3510707ca6090521f9114f9875fa5657e144d6822b14a1ead00156f66a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5150189b578838c95947a8dd5f2d7934f97524a805330d0c5ba1fdd2ae6f49a59da2dc653022a8c339b8393edeb9cd7a8b3446342a8f1429e484a6ecbdf350ea
|
7
|
+
data.tar.gz: c4faabb77d7806075a732ceba3d8a7d7aa0984fd4a05fbc68beaaabd0440d6a08f341ce9ca62425a714663ee4f7869716ee0a8f7d67c0da2f05a381030ef134b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rack-rscript.rb
CHANGED
@@ -14,6 +14,7 @@ require 'app-routes'
|
|
14
14
|
require 'uri'
|
15
15
|
require 'polyrex-links'
|
16
16
|
require 'nthrut'
|
17
|
+
require 'rxfreadwrite'
|
17
18
|
|
18
19
|
|
19
20
|
class Redirect
|
@@ -27,12 +28,9 @@ end
|
|
27
28
|
class RackRscriptError < Exception
|
28
29
|
end
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
31
|
class RackRscript
|
34
32
|
include AppRoutes
|
35
|
-
include
|
33
|
+
include RXFReadWriteModule
|
36
34
|
using ColouredText
|
37
35
|
|
38
36
|
attr_reader :req, :rsc
|
@@ -60,7 +58,7 @@ class RackRscript
|
|
60
58
|
|
61
59
|
if pxlinks then
|
62
60
|
|
63
|
-
src, _ =
|
61
|
+
src, _ = RXFReader.read(pxlinks)
|
64
62
|
|
65
63
|
if src =~ /^<\?/ then
|
66
64
|
|
@@ -283,7 +281,7 @@ class RackRscript
|
|
283
281
|
|
284
282
|
begin
|
285
283
|
|
286
|
-
[
|
284
|
+
[RXFReader.read(url).first,'text/plain']
|
287
285
|
|
288
286
|
rescue
|
289
287
|
|
data.tar.gz.sig
CHANGED
Binary file
|
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.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
uQ8ts8x2DfuJYY/PmLbqwXkzMzb1EgnUBWZ3mZCdlL0UBst5ypPAFTn1b2qRUC92
|
36
36
|
UtKkOrrEmCXrBnFtpv6a1ULk
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-
|
38
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rack
|
@@ -81,22 +81,42 @@ dependencies:
|
|
81
81
|
name: rscript
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 0.8.0
|
87
84
|
- - "~>"
|
88
85
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
86
|
+
version: '0.9'
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.9.0
|
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.9'
|
94
97
|
- - ">="
|
95
98
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
99
|
+
version: 0.9.0
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: haml
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
97
104
|
- - "~>"
|
98
105
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
106
|
+
version: '5.2'
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 5.2.2
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '5.2'
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 5.2.2
|
100
120
|
- !ruby/object:Gem::Dependency
|
101
121
|
name: tilt
|
102
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,42 +141,42 @@ dependencies:
|
|
121
141
|
name: slim
|
122
142
|
requirement: !ruby/object:Gem::Requirement
|
123
143
|
requirements:
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: 4.1.0
|
127
144
|
- - "~>"
|
128
145
|
- !ruby/object:Gem::Version
|
129
146
|
version: '4.1'
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 4.1.0
|
130
150
|
type: :runtime
|
131
151
|
prerelease: false
|
132
152
|
version_requirements: !ruby/object:Gem::Requirement
|
133
153
|
requirements:
|
134
|
-
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: 4.1.0
|
137
154
|
- - "~>"
|
138
155
|
- !ruby/object:Gem::Version
|
139
156
|
version: '4.1'
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 4.1.0
|
140
160
|
- !ruby/object:Gem::Dependency
|
141
161
|
name: rexslt
|
142
162
|
requirement: !ruby/object:Gem::Requirement
|
143
163
|
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 0.7.0
|
147
164
|
- - "~>"
|
148
165
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0.
|
166
|
+
version: '0.8'
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 0.8.0
|
150
170
|
type: :runtime
|
151
171
|
prerelease: false
|
152
172
|
version_requirements: !ruby/object:Gem::Requirement
|
153
173
|
requirements:
|
154
|
-
- - ">="
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: 0.7.0
|
157
174
|
- - "~>"
|
158
175
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
176
|
+
version: '0.8'
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 0.8.0
|
160
180
|
- !ruby/object:Gem::Dependency
|
161
181
|
name: rsc
|
162
182
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,40 +203,40 @@ dependencies:
|
|
183
203
|
requirements:
|
184
204
|
- - "~>"
|
185
205
|
- !ruby/object:Gem::Version
|
186
|
-
version: '0.
|
206
|
+
version: '0.5'
|
187
207
|
- - ">="
|
188
208
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.
|
209
|
+
version: 0.5.0
|
190
210
|
type: :runtime
|
191
211
|
prerelease: false
|
192
212
|
version_requirements: !ruby/object:Gem::Requirement
|
193
213
|
requirements:
|
194
214
|
- - "~>"
|
195
215
|
- !ruby/object:Gem::Version
|
196
|
-
version: '0.
|
216
|
+
version: '0.5'
|
197
217
|
- - ">="
|
198
218
|
- !ruby/object:Gem::Version
|
199
|
-
version: 0.
|
219
|
+
version: 0.5.0
|
200
220
|
- !ruby/object:Gem::Dependency
|
201
221
|
name: nthrut
|
202
222
|
requirement: !ruby/object:Gem::Requirement
|
203
223
|
requirements:
|
204
|
-
- - ">="
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: 0.1.0
|
207
224
|
- - "~>"
|
208
225
|
- !ruby/object:Gem::Version
|
209
226
|
version: '0.1'
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.1.0
|
210
230
|
type: :runtime
|
211
231
|
prerelease: false
|
212
232
|
version_requirements: !ruby/object:Gem::Requirement
|
213
233
|
requirements:
|
214
|
-
- - ">="
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: 0.1.0
|
217
234
|
- - "~>"
|
218
235
|
- !ruby/object:Gem::Version
|
219
236
|
version: '0.1'
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
version: 0.1.0
|
220
240
|
description:
|
221
241
|
email: digital.robertson@gmail.com
|
222
242
|
executables: []
|
@@ -243,8 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
263
|
- !ruby/object:Gem::Version
|
244
264
|
version: '0'
|
245
265
|
requirements: []
|
246
|
-
|
247
|
-
rubygems_version: 2.7.10
|
266
|
+
rubygems_version: 3.2.22
|
248
267
|
signing_key:
|
249
268
|
specification_version: 4
|
250
269
|
summary: Rack-Rscript is a light-weight alternative to Sinatra-Rscript.
|
metadata.gz.sig
CHANGED
Binary file
|