riddl 0.99.140 → 0.99.141
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/consumer-secret +1 -0
- data/examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/producer-secret +1 -0
- data/examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/subscription.xml +9 -0
- data/examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/consumer-secret +1 -0
- data/examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/producer-secret +1 -0
- data/examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/subscription.xml +9 -0
- data/examples/notifications/notifications/893edd178c053a011c09f253fa85092f/consumer-secret +1 -0
- data/examples/notifications/notifications/893edd178c053a011c09f253fa85092f/producer-secret +1 -0
- data/examples/notifications/notifications/893edd178c053a011c09f253fa85092f/subscription.xml +9 -0
- data/examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/consumer-secret +1 -0
- data/examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/producer-secret +1 -0
- data/examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/subscription.xml +9 -0
- data/examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/consumer-secret +1 -0
- data/examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/producer-secret +1 -0
- data/examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/subscription.xml +9 -0
- data/lib/ruby/riddl/client.rb +44 -1
- data/riddl.gemspec +1 -1
- metadata +201 -206
- data/examples/declaration-test/main.log +0 -57
- data/examples/flickr/Exif/riddl.new.jpg +0 -0
- data/examples/flickr/Flickr/flickr.frob +0 -1
- data/examples/flickr/Flickr/flickr.token +0 -1
- data/examples/twitter/twitter.consumer_key +0 -1
- data/examples/twitter/twitter.consumer_secret +0 -1
- data/examples/twitter/twitter.token +0 -1
- data/examples/twitter/twitter.token_secret +0 -1
- data/examples/twitter/twitter.user_id +0 -1
- data/examples/xmpp/blather/description.xml +0 -981
- data/examples/xmpp/blather/direct.rb +0 -44
- data/examples/xmpp/blather/load.rb +0 -18
- data/examples/xmpp/blather/pp.rb +0 -40
- data/examples/xmpp/blather/test.rb +0 -32
- data/examples/zotero/litlist.html +0 -540
- data/examples/zotero/zotero.consumer_key +0 -1
- data/examples/zotero/zotero.consumer_secret +0 -1
- data/examples/zotero/zotero.token +0 -1
- data/examples/zotero/zotero.token_secret +0 -1
- data/examples/zotero/zotero.user_id +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
24094fd0014f42ef4210a4057dad55ae
|
@@ -0,0 +1 @@
|
|
1
|
+
9447ea91ef6ca45e0e3d60cdf49e9e06
|
@@ -0,0 +1 @@
|
|
1
|
+
142ed3fa0cca551fd7e9553211635608
|
@@ -0,0 +1 @@
|
|
1
|
+
ad5fd441282295799c6a77e7a77b0b60
|
@@ -0,0 +1 @@
|
|
1
|
+
136803eb47f6c113db622a16664fd54a
|
@@ -0,0 +1 @@
|
|
1
|
+
511169a1bc2d3b56edabd1d49efc2e3d
|
@@ -0,0 +1 @@
|
|
1
|
+
5cc5e854f490fae1a2a441c9f7f7d477
|
@@ -0,0 +1 @@
|
|
1
|
+
1b4b309a70f69aa17ead5f57c4cebc50
|
@@ -0,0 +1 @@
|
|
1
|
+
7119c6063bde0233211aa3cdba307345
|
@@ -0,0 +1 @@
|
|
1
|
+
903d923691248eab893c447f55aad0ee
|
data/lib/ruby/riddl/client.rb
CHANGED
@@ -38,12 +38,56 @@ unless Module.constants.include?('CLIENT_INCLUDED')
|
|
38
38
|
|
39
39
|
module Riddl
|
40
40
|
|
41
|
+
RIDDL_URL_PATTERN = %r{
|
42
|
+
\A
|
43
|
+
|
44
|
+
# protocol identifier
|
45
|
+
(?:(?:https?|xmpp)://)
|
46
|
+
|
47
|
+
# user:pass authentication
|
48
|
+
(?:\S+(?::\S*)?@)?
|
49
|
+
|
50
|
+
(?:
|
51
|
+
# IP address dotted notation octets
|
52
|
+
# excludes loopback network 0.0.0.0
|
53
|
+
# excludes reserved space >= 224.0.0.0
|
54
|
+
# excludes network & broacast addresses
|
55
|
+
# (first & last IP address of each class)
|
56
|
+
(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])
|
57
|
+
(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}
|
58
|
+
(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))
|
59
|
+
|
|
60
|
+
# host name
|
61
|
+
(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)
|
62
|
+
|
63
|
+
# domain name
|
64
|
+
(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*
|
65
|
+
|
66
|
+
# TLD identifier
|
67
|
+
(?:\.(?:[a-z\u00a1-\uffff]{2,}))
|
68
|
+
|
|
69
|
+
localhost
|
70
|
+
)
|
71
|
+
|
72
|
+
# port number
|
73
|
+
(?::\d{2,5})?
|
74
|
+
|
75
|
+
# resource path
|
76
|
+
(?:/[^\s]*)?
|
77
|
+
|
78
|
+
\z
|
79
|
+
}xi
|
80
|
+
|
81
|
+
|
41
82
|
class Client
|
42
83
|
#{{{
|
43
84
|
def initialize(base, riddl=nil, options={})
|
44
85
|
@base = base.nil? ? '' : base.gsub(/\/+$/,'')
|
45
86
|
@options = options
|
46
87
|
@wrapper = nil
|
88
|
+
if @base !~ RIDDL_URL_PATTERN
|
89
|
+
raise ConnectionError, 'An RFC 3986 URI as target is required. Pro tip: (http|https|xmpp)://...'
|
90
|
+
end
|
47
91
|
if URI.parse(@base).scheme == 'xmpp' && !((@options[:jid] && @options[:pass]) || @options[:xmpp].is_a?(Blather::Client))
|
48
92
|
raise ConnectionError, 'XMPP connections need jid/pass or Blather::client object passed as options to be successful.'
|
49
93
|
end
|
@@ -234,7 +278,6 @@ unless Module.constants.include?('CLIENT_INCLUDED')
|
|
234
278
|
private :extract_qparams
|
235
279
|
|
236
280
|
def exec_request(riddl_method,parameters,simulate) #{{{
|
237
|
-
parameters = [ parameters ] unless parameters.is_a? Array
|
238
281
|
parameters = parameters.dup
|
239
282
|
headers = extract_headers(parameters)
|
240
283
|
options = extract_options(parameters)
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.141
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -165,246 +165,241 @@ extensions: []
|
|
165
165
|
extra_rdoc_files:
|
166
166
|
- README.rdoc
|
167
167
|
files:
|
168
|
-
- lib/ruby/riddl/ns/
|
169
|
-
- lib/ruby/riddl/ns/common
|
170
|
-
- lib/ruby/riddl/ns/common-patterns/addon-security/response.xml
|
171
|
-
- lib/ruby/riddl/ns/common-patterns/riddl-description/show.xml
|
172
|
-
- lib/ruby/riddl/ns/common-patterns/riddl-description/resource-show.xml
|
173
|
-
- lib/ruby/riddl/ns/common-patterns/notifications-producer/1.0/producer.xml
|
174
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.schema
|
175
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.xml
|
176
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
|
177
|
-
- lib/ruby/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
168
|
+
- lib/ruby/riddl/ns/declaration/1.0/declaration.rng
|
169
|
+
- lib/ruby/riddl/ns/common/relaxng-modular.rng
|
178
170
|
- lib/ruby/riddl/ns/common/relaxng.rng
|
179
171
|
- lib/ruby/riddl/ns/common/datatypes-1_0.rng
|
180
|
-
- lib/ruby/riddl/ns/common/relaxng-modular.rng
|
181
|
-
- lib/ruby/riddl/ns/declaration/1.0/declaration.rng
|
182
172
|
- lib/ruby/riddl/ns/description/1.0/description.rng
|
183
|
-
-
|
173
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.xml
|
174
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
|
175
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.schema
|
176
|
+
- lib/ruby/riddl/ns/common-patterns/notifications-producer/1.0/producer.xml
|
177
|
+
- lib/ruby/riddl/ns/common-patterns/addon-security/request.xml
|
178
|
+
- lib/ruby/riddl/ns/common-patterns/addon-security/response.xml
|
179
|
+
- lib/ruby/riddl/ns/common-patterns/downloadify/1.0/downloadify.xml
|
180
|
+
- lib/ruby/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
181
|
+
- lib/ruby/riddl/ns/common-patterns/riddl-description/resource-show.xml
|
182
|
+
- lib/ruby/riddl/ns/common-patterns/riddl-description/show.xml
|
184
183
|
- tools/riddlprocess-1_0
|
185
184
|
- tools/flash-policy-server.rb
|
185
|
+
- tools/riddlprocess
|
186
186
|
- tools/riddlcheck
|
187
187
|
- tools/riddlcheck-1_0
|
188
|
-
- ns/
|
189
|
-
- ns/common
|
190
|
-
- ns/common-patterns/addon-security/response.xml
|
191
|
-
- ns/common-patterns/riddl-description/show.xml
|
192
|
-
- ns/common-patterns/riddl-description/resource-show.xml
|
193
|
-
- ns/common-patterns/notifications-producer/1.0/producer.xml
|
194
|
-
- ns/common-patterns/properties/1.0/properties.schema.schema
|
195
|
-
- ns/common-patterns/properties/1.0/properties.xml
|
196
|
-
- ns/common-patterns/properties/1.0/properties.schema.xsl
|
197
|
-
- ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
188
|
+
- ns/declaration/1.0/declaration.rng
|
189
|
+
- ns/common/relaxng-modular.rng
|
198
190
|
- ns/common/relaxng.rng
|
199
191
|
- ns/common/datatypes-1_0.rng
|
200
|
-
- ns/common/relaxng-modular.rng
|
201
|
-
- ns/declaration/1.0/declaration.rng
|
202
192
|
- ns/description/1.0/description.rng
|
203
|
-
-
|
204
|
-
-
|
193
|
+
- ns/common-patterns/properties/1.0/properties.xml
|
194
|
+
- ns/common-patterns/properties/1.0/properties.schema.xsl
|
195
|
+
- ns/common-patterns/properties/1.0/properties.schema.schema
|
196
|
+
- ns/common-patterns/notifications-producer/1.0/producer.xml
|
197
|
+
- ns/common-patterns/addon-security/request.xml
|
198
|
+
- ns/common-patterns/addon-security/response.xml
|
199
|
+
- ns/common-patterns/downloadify/1.0/downloadify.xml
|
200
|
+
- ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
201
|
+
- ns/common-patterns/riddl-description/resource-show.xml
|
202
|
+
- ns/common-patterns/riddl-description/show.xml
|
205
203
|
- contrib/riddl.svg
|
206
|
-
-
|
207
|
-
-
|
208
|
-
- lib/ruby/riddl/
|
209
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb
|
210
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb
|
211
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb
|
212
|
-
- lib/ruby/riddl/wrapper.rb
|
213
|
-
- lib/ruby/riddl/commonlogger.rb
|
214
|
-
- lib/ruby/riddl/error.rb
|
215
|
-
- lib/ruby/riddl/client.rb
|
204
|
+
- contrib/riddl.jpg
|
205
|
+
- contrib/riddl.png
|
206
|
+
- lib/ruby/riddl/parameter.rb
|
216
207
|
- lib/ruby/riddl/handlers/plain-type.rb
|
217
|
-
- lib/ruby/riddl/handlers/xmlschema.rb
|
218
208
|
- lib/ruby/riddl/handlers/oauth.rb
|
219
209
|
- lib/ruby/riddl/handlers/relaxng.rb
|
210
|
+
- lib/ruby/riddl/handlers/xmlschema.rb
|
211
|
+
- lib/ruby/riddl/client.rb
|
212
|
+
- lib/ruby/riddl/option.rb
|
213
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb
|
214
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb
|
215
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb
|
216
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb
|
217
|
+
- lib/ruby/riddl/roles.rb
|
218
|
+
- lib/ruby/riddl/handlers.rb
|
219
|
+
- lib/ruby/riddl/server.rb
|
220
|
+
- lib/ruby/riddl/constants.rb
|
221
|
+
- lib/ruby/riddl/wrapper.rb
|
220
222
|
- lib/ruby/riddl/implementation.rb
|
221
|
-
- lib/ruby/riddl/
|
222
|
-
- lib/ruby/riddl/
|
223
|
-
- lib/ruby/riddl/wrapper/declaration.rb
|
223
|
+
- lib/ruby/riddl/header.rb
|
224
|
+
- lib/ruby/riddl/error.rb
|
225
|
+
- lib/ruby/riddl/wrapper/declaration/tile.rb
|
226
|
+
- lib/ruby/riddl/wrapper/declaration/facade.rb
|
227
|
+
- lib/ruby/riddl/wrapper/declaration/interface.rb
|
224
228
|
- lib/ruby/riddl/wrapper/layerchecker.rb
|
229
|
+
- lib/ruby/riddl/wrapper/declaration.rb
|
225
230
|
- lib/ruby/riddl/wrapper/description.rb
|
226
|
-
- lib/ruby/riddl/wrapper/
|
227
|
-
- lib/ruby/riddl/wrapper/
|
228
|
-
- lib/ruby/riddl/wrapper/declaration/tile.rb
|
231
|
+
- lib/ruby/riddl/wrapper/resourcechecker.rb
|
232
|
+
- lib/ruby/riddl/wrapper/messageparser.rb
|
229
233
|
- lib/ruby/riddl/wrapper/description/message_and_transformation.rb
|
230
|
-
- lib/ruby/riddl/wrapper/description/resource.rb
|
231
234
|
- lib/ruby/riddl/wrapper/description/access.rb
|
232
|
-
- lib/ruby/riddl/
|
235
|
+
- lib/ruby/riddl/wrapper/description/resource.rb
|
233
236
|
- lib/ruby/riddl/utils/properties.rb
|
234
|
-
- lib/ruby/riddl/utils/
|
237
|
+
- lib/ruby/riddl/utils/xsloverlay.rb
|
235
238
|
- lib/ruby/riddl/utils/downloadify.rb
|
239
|
+
- lib/ruby/riddl/utils/notifications_producer.rb
|
236
240
|
- lib/ruby/riddl/utils/erbserve.rb
|
237
|
-
- lib/ruby/riddl/utils/xsloverlay.rb
|
238
|
-
- lib/ruby/riddl/utils/fileserve.rb
|
239
241
|
- lib/ruby/riddl/utils/description.rb
|
240
|
-
- lib/ruby/riddl/
|
241
|
-
- lib/ruby/riddl/
|
242
|
-
- lib/ruby/riddl/constants.rb
|
242
|
+
- lib/ruby/riddl/utils/fileserve.rb
|
243
|
+
- lib/ruby/riddl/commonlogger.rb
|
243
244
|
- lib/ruby/riddl/protocols/http/generator.rb
|
244
245
|
- lib/ruby/riddl/protocols/http/parser.rb
|
245
|
-
- lib/ruby/riddl/protocols/websocket.rb
|
246
246
|
- lib/ruby/riddl/protocols/xmpp/generator.rb
|
247
247
|
- lib/ruby/riddl/protocols/xmpp/parser.rb
|
248
|
-
- lib/ruby/riddl/
|
249
|
-
- examples/
|
250
|
-
- examples/
|
251
|
-
- examples/
|
252
|
-
- examples/
|
253
|
-
- examples/
|
254
|
-
- examples/downloadify/client.rb
|
255
|
-
- examples/twitter/twitter.token_secret
|
256
|
-
- examples/twitter/twitter.xml
|
257
|
-
- examples/twitter/declaration.xml
|
258
|
-
- examples/twitter/client.rb
|
259
|
-
- examples/twitter/twitter.consumer_key
|
260
|
-
- examples/twitter/README
|
261
|
-
- examples/twitter/twitpic.xml
|
262
|
-
- examples/twitter/twitter.user_id
|
263
|
-
- examples/twitter/twitter.consumer_secret
|
264
|
-
- examples/twitter/twitter.token
|
265
|
-
- examples/helloworld/declaration.xml
|
266
|
-
- examples/helloworld/description.xml
|
267
|
-
- examples/helloworld/declaration-definition_goal.xml
|
268
|
-
- examples/helloworld/rngs/hello-list.rng
|
269
|
-
- examples/helloworld/rngs/filter-hello-list.rng
|
270
|
-
- examples/helloworld/filter-description.xml
|
271
|
-
- examples/websocket/server.rb
|
272
|
-
- examples/websocket/description.xml
|
273
|
-
- examples/websocket/client.rb
|
274
|
-
- examples/websocket/sample.html
|
275
|
-
- examples/declaration-server-distributed/xsls/test/properties.xsl
|
276
|
-
- examples/declaration-server-distributed/xsls/instances.xsl
|
277
|
-
- examples/declaration-server-distributed/xsls/properties.xsl
|
278
|
-
- examples/declaration-server-distributed/xsls/info.xsl
|
279
|
-
- examples/declaration-server-distributed/xsls/values.xsl
|
280
|
-
- examples/declaration-server-distributed/properties.rb
|
281
|
-
- examples/declaration-server-distributed/xsloverlay.xml
|
282
|
-
- examples/declaration-server-distributed/declaration.xml
|
283
|
-
- examples/declaration-server-distributed/instances/1/properties.xml
|
284
|
-
- examples/declaration-server-distributed/instances/instances.xml
|
285
|
-
- examples/declaration-server-distributed/instances/properties.schema
|
286
|
-
- examples/declaration-server-distributed/instances/2/properties.xml
|
287
|
-
- examples/declaration-server-distributed/README
|
288
|
-
- examples/declaration-server-distributed/main.rb
|
289
|
-
- examples/declaration-server-distributed/declaration.rb
|
290
|
-
- examples/declaration-server-distributed/xsloverlay.rb
|
291
|
-
- examples/declaration-server-distributed/rngs/instance-info.rng
|
292
|
-
- examples/declaration-server-distributed/rngs/instances.rng
|
293
|
-
- examples/declaration-server-distributed/properties.xml
|
294
|
-
- examples/declaration-server-distributed/main.xml
|
295
|
-
- examples/flickr/Flickr/riddl.png
|
296
|
-
- examples/flickr/Flickr/flickr.xml
|
297
|
-
- examples/flickr/Flickr/flickr.token
|
298
|
-
- examples/flickr/Flickr/find.rb
|
299
|
-
- examples/flickr/Flickr/flickr.secret
|
300
|
-
- examples/flickr/Flickr/flickr.rb
|
301
|
-
- examples/flickr/Flickr/flickr.key
|
302
|
-
- examples/flickr/Flickr/flickr.frob
|
303
|
-
- examples/flickr/Flickr/authenticate.rb
|
304
|
-
- examples/flickr/Flickr/public.rb
|
305
|
-
- examples/flickr/riddl.jpg
|
306
|
-
- examples/flickr/declaration.xml
|
307
|
-
- examples/flickr/client.rb
|
308
|
-
- examples/flickr/README
|
309
|
-
- examples/flickr/rngs/rsp.rng
|
310
|
-
- examples/flickr/Exif/exif.ru
|
311
|
-
- examples/flickr/Exif/exif.xml
|
312
|
-
- examples/flickr/Exif/riddl.jpg
|
313
|
-
- examples/flickr/Exif/exif.test
|
314
|
-
- examples/flickr/Exif/riddl.new.jpg
|
315
|
-
- examples/flickr/Helpers/gps.rb
|
316
|
-
- examples/flickr/Helpers/flickr.rb
|
317
|
-
- examples/notifications/topics.xml
|
318
|
-
- examples/notifications/producer.main.xml
|
319
|
-
- examples/notifications/producer.declaration.xml
|
320
|
-
- examples/notifications/implementation/juergen.html
|
321
|
-
- examples/notifications/implementation/oliver.html
|
322
|
-
- examples/notifications/implementation/index.html
|
323
|
-
- examples/notifications/producer.rb
|
324
|
-
- examples/notifications/producer.fluff.xml
|
325
|
-
- examples/library/server.rb
|
248
|
+
- lib/ruby/riddl/protocols/websocket.rb
|
249
|
+
- examples/properties/properties.xml
|
250
|
+
- examples/properties/description.conf
|
251
|
+
- examples/properties/description.rb
|
252
|
+
- examples/properties/server.properties.schema
|
253
|
+
- examples/properties/server.properties.xml
|
326
254
|
- examples/library/static/info.txt
|
327
|
-
- examples/library/declaration.xml
|
328
255
|
- examples/library/description.xml
|
329
256
|
- examples/library/description-image-addon.xml
|
330
|
-
- examples/library/
|
257
|
+
- examples/library/server.rb
|
258
|
+
- examples/library/declaration.xml
|
331
259
|
- examples/library/rngs/list-of-loans.rng
|
260
|
+
- examples/library/rngs/customer-description.rng
|
261
|
+
- examples/library/rngs/list-of-customers.rng
|
332
262
|
- examples/library/rngs/book-description.rng
|
333
263
|
- examples/library/rngs/list-of-books.rng
|
334
|
-
- examples/
|
335
|
-
- examples/declaration-
|
336
|
-
- examples/declaration-
|
337
|
-
- examples/declaration-
|
338
|
-
- examples/declaration-
|
339
|
-
- examples/declaration-
|
264
|
+
- examples/declaration-test/client.test
|
265
|
+
- examples/declaration-test/goal/goal.txt
|
266
|
+
- examples/declaration-test/goal/goal.xml
|
267
|
+
- examples/declaration-test/over.xml
|
268
|
+
- examples/declaration-test/declaration2.xml
|
269
|
+
- examples/declaration-test/declaration0.xml
|
270
|
+
- examples/declaration-test/post.xml
|
271
|
+
- examples/declaration-test/main.xml
|
272
|
+
- examples/declaration-test/pre.ru
|
273
|
+
- examples/declaration-test/post.ru
|
274
|
+
- examples/declaration-test/declaration1.xml
|
275
|
+
- examples/declaration-test/main.rb
|
276
|
+
- examples/declaration-test/pre.xml
|
277
|
+
- examples/declaration-server-hybrid/xsloverlay.rb
|
278
|
+
- examples/declaration-server-hybrid/properties.xml
|
279
|
+
- examples/declaration-server-hybrid/declaration.rb
|
340
280
|
- examples/declaration-server-hybrid/declaration.xml
|
341
281
|
- examples/declaration-server-hybrid/instances/1/properties.xml
|
342
|
-
- examples/declaration-server-hybrid/instances/instances.xml
|
343
282
|
- examples/declaration-server-hybrid/instances/properties.schema
|
344
283
|
- examples/declaration-server-hybrid/instances/2/properties.xml
|
345
|
-
- examples/declaration-server-hybrid/
|
346
|
-
- examples/declaration-server-hybrid/
|
347
|
-
- examples/declaration-server-hybrid/xsloverlay.
|
284
|
+
- examples/declaration-server-hybrid/instances/instances.xml
|
285
|
+
- examples/declaration-server-hybrid/main.xml
|
286
|
+
- examples/declaration-server-hybrid/xsloverlay.xml
|
287
|
+
- examples/declaration-server-hybrid/xsls/values.xsl
|
288
|
+
- examples/declaration-server-hybrid/xsls/info.xsl
|
289
|
+
- examples/declaration-server-hybrid/xsls/properties.xsl
|
290
|
+
- examples/declaration-server-hybrid/xsls/instances.xsl
|
348
291
|
- examples/declaration-server-hybrid/rngs/instance-info.rng
|
349
292
|
- examples/declaration-server-hybrid/rngs/instances.rng
|
350
|
-
- examples/declaration-server-hybrid/
|
351
|
-
- examples/
|
352
|
-
- examples/
|
353
|
-
- examples/
|
354
|
-
- examples/
|
293
|
+
- examples/declaration-server-hybrid/README
|
294
|
+
- examples/flickr/client.rb
|
295
|
+
- examples/flickr/Helpers/gps.rb
|
296
|
+
- examples/flickr/Helpers/flickr.rb
|
297
|
+
- examples/flickr/declaration.xml
|
298
|
+
- examples/flickr/Flickr/flickr.secret
|
299
|
+
- examples/flickr/Flickr/public.rb
|
300
|
+
- examples/flickr/Flickr/find.rb
|
301
|
+
- examples/flickr/Flickr/authenticate.rb
|
302
|
+
- examples/flickr/Flickr/flickr.xml
|
303
|
+
- examples/flickr/Flickr/flickr.key
|
304
|
+
- examples/flickr/Flickr/riddl.png
|
305
|
+
- examples/flickr/Flickr/flickr.rb
|
306
|
+
- examples/flickr/Exif/exif.test
|
307
|
+
- examples/flickr/Exif/exif.ru
|
308
|
+
- examples/flickr/Exif/exif.xml
|
309
|
+
- examples/flickr/Exif/riddl.jpg
|
310
|
+
- examples/flickr/riddl.jpg
|
311
|
+
- examples/flickr/rngs/rsp.rng
|
312
|
+
- examples/flickr/README
|
313
|
+
- examples/client/client.rb
|
314
|
+
- examples/websocket/client.rb
|
315
|
+
- examples/websocket/sample.html
|
316
|
+
- examples/websocket/description.xml
|
317
|
+
- examples/websocket/server.rb
|
318
|
+
- examples/helloworld/filter-description.xml
|
319
|
+
- examples/helloworld/description.xml
|
320
|
+
- examples/helloworld/declaration.xml
|
321
|
+
- examples/helloworld/declaration-definition_goal.xml
|
322
|
+
- examples/helloworld/rngs/filter-hello-list.rng
|
323
|
+
- examples/helloworld/rngs/hello-list.rng
|
324
|
+
- examples/twitter/client.rb
|
325
|
+
- examples/twitter/declaration.xml
|
326
|
+
- examples/twitter/twitter.xml
|
327
|
+
- examples/twitter/twitpic.xml
|
328
|
+
- examples/twitter/README
|
329
|
+
- examples/zotero/client.rb
|
330
|
+
- examples/zotero/zotero.xml
|
331
|
+
- examples/zotero/README
|
332
|
+
- examples/notifications/producer.rb
|
333
|
+
- examples/notifications/producer.main.xml
|
334
|
+
- examples/notifications/producer.fluff.xml
|
335
|
+
- examples/notifications/producer.declaration.xml
|
336
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/consumer-secret
|
337
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/subscription.xml
|
338
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/producer-secret
|
339
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/consumer-secret
|
340
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/subscription.xml
|
341
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/producer-secret
|
342
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/consumer-secret
|
343
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/subscription.xml
|
344
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/producer-secret
|
345
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/consumer-secret
|
346
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/subscription.xml
|
347
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/producer-secret
|
348
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/consumer-secret
|
349
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/subscription.xml
|
350
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/producer-secret
|
351
|
+
- examples/notifications/implementation/oliver.html
|
352
|
+
- examples/notifications/implementation/index.html
|
353
|
+
- examples/notifications/implementation/juergen.html
|
354
|
+
- examples/notifications/topics.xml
|
355
|
+
- examples/declaration-server-local/properties.xml
|
356
|
+
- examples/declaration-server-local/declaration.rb
|
357
|
+
- examples/declaration-server-local/declaration.xml
|
358
|
+
- examples/declaration-server-local/xsls.xml
|
359
|
+
- examples/declaration-server-local/server.properties.schema
|
360
|
+
- examples/declaration-server-local/xsloverlay.xml
|
361
|
+
- examples/declaration-server-local/server.properties.xml
|
362
|
+
- examples/declaration-server-local/xsls/values.xsl
|
363
|
+
- examples/declaration-server-local/xsls/properties.xsl
|
364
|
+
- examples/declaration-server-distributed/properties.rb
|
365
|
+
- examples/declaration-server-distributed/xsloverlay.rb
|
366
|
+
- examples/declaration-server-distributed/properties.xml
|
367
|
+
- examples/declaration-server-distributed/declaration.rb
|
368
|
+
- examples/declaration-server-distributed/declaration.xml
|
369
|
+
- examples/declaration-server-distributed/instances/1/properties.xml
|
370
|
+
- examples/declaration-server-distributed/instances/properties.schema
|
371
|
+
- examples/declaration-server-distributed/instances/2/properties.xml
|
372
|
+
- examples/declaration-server-distributed/instances/instances.xml
|
373
|
+
- examples/declaration-server-distributed/main.xml
|
374
|
+
- examples/declaration-server-distributed/xsloverlay.xml
|
375
|
+
- examples/declaration-server-distributed/xsls/values.xsl
|
376
|
+
- examples/declaration-server-distributed/xsls/test/properties.xsl
|
377
|
+
- examples/declaration-server-distributed/xsls/info.xsl
|
378
|
+
- examples/declaration-server-distributed/xsls/properties.xsl
|
379
|
+
- examples/declaration-server-distributed/xsls/instances.xsl
|
380
|
+
- examples/declaration-server-distributed/rngs/instance-info.rng
|
381
|
+
- examples/declaration-server-distributed/rngs/instances.rng
|
382
|
+
- examples/declaration-server-distributed/main.rb
|
383
|
+
- examples/declaration-server-distributed/README
|
384
|
+
- examples/xmpp/client.rb
|
385
|
+
- examples/xmpp/properties.xml
|
386
|
+
- examples/xmpp/description.rb
|
387
|
+
- examples/xmpp/server.properties.schema
|
388
|
+
- examples/xmpp/server.properties.xml
|
389
|
+
- examples/downloadify/server.declaration.xml
|
390
|
+
- examples/downloadify/client.rb
|
391
|
+
- examples/downloadify/downloadify.xml
|
392
|
+
- examples/downloadify/server.rb
|
393
|
+
- examples/downloadify/server.description.xml
|
355
394
|
- examples/description-test/description3.xml
|
395
|
+
- examples/description-test/description1.xml
|
396
|
+
- examples/description-test/server.rb
|
356
397
|
- examples/description-test/description2.xml
|
398
|
+
- examples/description-test/description0.xml
|
357
399
|
- examples/description-test/description4.xml
|
358
400
|
- examples/description-test/rngs/list-of-books.rng
|
359
|
-
- examples/declaration-test/declaration0.xml
|
360
|
-
- examples/declaration-test/pre.ru
|
361
|
-
- examples/declaration-test/declaration2.xml
|
362
|
-
- examples/declaration-test/goal/goal.xml
|
363
|
-
- examples/declaration-test/goal/goal.txt
|
364
|
-
- examples/declaration-test/declaration1.xml
|
365
|
-
- examples/declaration-test/post.ru
|
366
|
-
- examples/declaration-test/main.log
|
367
|
-
- examples/declaration-test/main.rb
|
368
|
-
- examples/declaration-test/over.xml
|
369
|
-
- examples/declaration-test/post.xml
|
370
|
-
- examples/declaration-test/client.test
|
371
|
-
- examples/declaration-test/pre.xml
|
372
|
-
- examples/declaration-test/main.xml
|
373
|
-
- examples/xmpp/server.properties.xml
|
374
|
-
- examples/xmpp/server.properties.schema
|
375
|
-
- examples/xmpp/client.rb
|
376
|
-
- examples/xmpp/blather/pp.rb
|
377
|
-
- examples/xmpp/blather/test.rb
|
378
|
-
- examples/xmpp/blather/description.xml
|
379
|
-
- examples/xmpp/blather/direct.rb
|
380
|
-
- examples/xmpp/blather/load.rb
|
381
|
-
- examples/xmpp/properties.xml
|
382
|
-
- examples/xmpp/description.rb
|
383
|
-
- examples/properties/server.properties.xml
|
384
|
-
- examples/properties/server.properties.schema
|
385
|
-
- examples/properties/properties.xml
|
386
|
-
- examples/properties/description.conf
|
387
|
-
- examples/properties/description.rb
|
388
|
-
- examples/declaration-server-local/server.properties.xml
|
389
|
-
- examples/declaration-server-local/xsls/properties.xsl
|
390
|
-
- examples/declaration-server-local/xsls/values.xsl
|
391
|
-
- examples/declaration-server-local/xsls.xml
|
392
|
-
- examples/declaration-server-local/xsloverlay.xml
|
393
|
-
- examples/declaration-server-local/server.properties.schema
|
394
|
-
- examples/declaration-server-local/declaration.xml
|
395
|
-
- examples/declaration-server-local/declaration.rb
|
396
|
-
- examples/declaration-server-local/properties.xml
|
397
401
|
- examples/oauth/oauth.rb
|
398
402
|
- examples/oauth/oauth.xml
|
399
|
-
- examples/zotero/zotero.token_secret
|
400
|
-
- examples/zotero/zotero.consumer_secret
|
401
|
-
- examples/zotero/zotero.token
|
402
|
-
- examples/zotero/zotero.consumer_key
|
403
|
-
- examples/zotero/client.rb
|
404
|
-
- examples/zotero/README
|
405
|
-
- examples/zotero/zotero.xml
|
406
|
-
- examples/zotero/zotero.user_id
|
407
|
-
- examples/zotero/litlist.html
|
408
403
|
- COPYING
|
409
404
|
- Rakefile
|
410
405
|
- riddl.gemspec
|
@@ -412,14 +407,14 @@ files:
|
|
412
407
|
- TODO
|
413
408
|
- AUTHORS
|
414
409
|
- INSTALL
|
415
|
-
- test/
|
416
|
-
- test/tc_declaration-hybrid.rb
|
417
|
-
- test/tc_declaration-local.rb
|
410
|
+
- test/tc_declaration-distributed.rb
|
418
411
|
- test/tc_properties.rb
|
419
412
|
- test/tc_library.rb
|
420
|
-
- test/
|
421
|
-
- test/
|
413
|
+
- test/tc_websocket.rb
|
414
|
+
- test/tc_declaration-local.rb
|
415
|
+
- test/tc_declaration-hybrid.rb
|
422
416
|
- test/tc_helloworld.rb
|
417
|
+
- test/tc_producer.rb
|
423
418
|
- test/smartrunner.rb
|
424
419
|
homepage: http://www.wst.univie.ac.at/communities/riddl/
|
425
420
|
licenses:
|
@@ -448,12 +443,12 @@ specification_version: 3
|
|
448
443
|
summary: ! 'restful interface description and declaration language: tools and client/server
|
449
444
|
libs'
|
450
445
|
test_files:
|
451
|
-
- test/
|
452
|
-
- test/tc_declaration-hybrid.rb
|
453
|
-
- test/tc_declaration-local.rb
|
446
|
+
- test/tc_declaration-distributed.rb
|
454
447
|
- test/tc_properties.rb
|
455
448
|
- test/tc_library.rb
|
456
|
-
- test/
|
457
|
-
- test/
|
449
|
+
- test/tc_websocket.rb
|
450
|
+
- test/tc_declaration-local.rb
|
451
|
+
- test/tc_declaration-hybrid.rb
|
458
452
|
- test/tc_helloworld.rb
|
453
|
+
- test/tc_producer.rb
|
459
454
|
- test/smartrunner.rb
|