riddl 0.99.152 → 0.99.153
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- 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/server.rb +4 -2
- data/riddl.gemspec +1 -1
- metadata +255 -282
- 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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: aa6d2d49980bb3295964568cb4fed18e7f37c61b
|
4
|
+
data.tar.gz: a86bcad58f12f75944b705ebef27fec735b3a89e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b633c8c4af307cb2e77ea97ef22c4c60e1342f166eeb061c60a4542cf2983050420f4b15e39098324d21c51d9678671063783d597eba3cc9d594d3d44874d6d
|
7
|
+
data.tar.gz: 42a5bf5c7cb69fdb515c0830e5c3cc386afbc84fb37a4af4cd45b4f2502a8c8309fb9acbbc32b0e8540cdaa2cef0a256783aa426f2153fabad006b53893bbbbc
|
@@ -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/server.rb
CHANGED
@@ -56,11 +56,13 @@ module Riddl
|
|
56
56
|
# parse arguments
|
57
57
|
########################################################################################################################
|
58
58
|
verbose = false
|
59
|
+
http_only = false
|
59
60
|
operation = "start"
|
60
61
|
ARGV.options { |opt|
|
61
62
|
opt.summary_indent = ' ' * 4
|
62
63
|
opt.banner = "Usage:\n#{opt.summary_indent}ruby server.rb [options] start|startclean|stop|restart|info\n"
|
63
64
|
opt.on("Options:")
|
65
|
+
opt.on("--http-only", "-s", "Only http, no other protocols.") { http_only = true }
|
64
66
|
opt.on("--verbose", "-v", "Do not daemonize. Write ouput to console.") { verbose = true }
|
65
67
|
opt.on("--help", "-h", "This text.") { puts opt; exit }
|
66
68
|
opt.separator(opt.summary_indent + "start|stop|restart|info".ljust(opt.summary_width+1) + "Do operation start, stop, restart or get information.")
|
@@ -166,9 +168,9 @@ module Riddl
|
|
166
168
|
puts "Server (#{@riddl_opts[:url]}) started as PID:#{Process.pid}"
|
167
169
|
server.start
|
168
170
|
|
169
|
-
puts "XMPP support (#{@riddl_xmpp_jid}) active" if @riddl_xmpp_jid && @riddl_xmpp_pass
|
171
|
+
puts "XMPP support (#{@riddl_xmpp_jid}) active" if @riddl_xmpp_jid && @riddl_xmpp_pass && !http_only
|
170
172
|
@riddl_opts[:xmpp] = nil
|
171
|
-
if @riddl_xmpp_jid && @riddl_xmpp_pass
|
173
|
+
if @riddl_xmpp_jid && @riddl_xmpp_pass && !http_only
|
172
174
|
xmpp = Blather::Client.setup @riddl_xmpp_jid, @riddl_xmpp_pass
|
173
175
|
@riddl_opts[:xmpp] = xmpp
|
174
176
|
xmpp.register_handler(:message, '/message/ns:operation', :ns => 'http://riddl.org/ns/xmpp-rest') do |m|
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,174 +1,153 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
5
|
-
prerelease:
|
4
|
+
version: 0.99.153
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Juergen eTM Mangler
|
9
8
|
autorequire:
|
10
9
|
bindir: tools
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: xml-smart
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.3.6
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.3.6
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rdf-smart
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.0.160
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.0.160
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rack
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: thin
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 1.6.1
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.6.1
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: eventmachine
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: 1.0.0
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: 1.0.0
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: em-websocket
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: 0.4.0
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: 0.4.0
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: em-websocket-client
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: mime-types
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '0'
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - ">="
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '0'
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: minitest
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- -
|
129
|
+
- - ">="
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: 5.0.0
|
150
132
|
type: :runtime
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- -
|
136
|
+
- - ">="
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: 5.0.0
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: blather
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- -
|
143
|
+
- - ">="
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: '0'
|
166
146
|
type: :runtime
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- -
|
150
|
+
- - ">="
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: '0'
|
174
153
|
description: rest service interface definition, mixing, and evolution. supports mixed
|
@@ -181,298 +160,292 @@ extensions: []
|
|
181
160
|
extra_rdoc_files:
|
182
161
|
- README.rdoc
|
183
162
|
files:
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
- lib/ruby/riddl/ns/common-patterns/notifications-producer/1.0/producer.xml
|
191
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.schema
|
192
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.xml
|
193
|
-
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
|
194
|
-
- lib/ruby/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
195
|
-
- lib/ruby/riddl/ns/common/relaxng.rng
|
196
|
-
- lib/ruby/riddl/ns/common/datatypes-1_0.rng
|
197
|
-
- lib/ruby/riddl/ns/common/relaxng-modular.rng
|
198
|
-
- lib/ruby/riddl/ns/declaration/1.0/declaration.rng
|
199
|
-
- lib/ruby/riddl/ns/description/1.0/description.rng
|
200
|
-
- tools/riddlprocess
|
201
|
-
- tools/riddlprocess-1_0
|
202
|
-
- tools/flash-policy-server.rb
|
203
|
-
- tools/riddlcheck
|
204
|
-
- tools/riddlcheck-1_0
|
205
|
-
- ns/common-patterns/downloadify/1.0/downloadify.xml
|
206
|
-
- ns/common-patterns/addon-security/request.xml
|
207
|
-
- ns/common-patterns/addon-security/response.xml
|
208
|
-
- ns/common-patterns/riddl-description/show.xml
|
209
|
-
- ns/common-patterns/riddl-description/resource-show.xml
|
210
|
-
- ns/common-patterns/turtle/1.0/turtle.xml
|
211
|
-
- ns/common-patterns/notifications-producer/1.0/producer.xml
|
212
|
-
- ns/common-patterns/properties/1.0/properties.schema.schema
|
213
|
-
- ns/common-patterns/properties/1.0/properties.xml
|
214
|
-
- ns/common-patterns/properties/1.0/properties.schema.xsl
|
215
|
-
- ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
216
|
-
- ns/common/relaxng.rng
|
217
|
-
- ns/common/datatypes-1_0.rng
|
218
|
-
- ns/common/relaxng-modular.rng
|
219
|
-
- ns/declaration/1.0/declaration.rng
|
220
|
-
- ns/description/1.0/description.rng
|
221
|
-
- contrib/riddl.png
|
163
|
+
- AUTHORS
|
164
|
+
- COPYING
|
165
|
+
- INSTALL
|
166
|
+
- README.rdoc
|
167
|
+
- Rakefile
|
168
|
+
- TODO
|
222
169
|
- contrib/riddl.jpg
|
170
|
+
- contrib/riddl.png
|
223
171
|
- contrib/riddl.svg
|
224
|
-
- lib/ruby/riddl/handlers.rb
|
225
|
-
- lib/ruby/riddl/server.rb
|
226
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb
|
227
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb
|
228
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb
|
229
|
-
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb
|
230
|
-
- lib/ruby/riddl/wrapper.rb
|
231
|
-
- lib/ruby/riddl/commonlogger.rb
|
232
|
-
- lib/ruby/riddl/error.rb
|
233
|
-
- lib/ruby/riddl/client.rb
|
234
|
-
- lib/ruby/riddl/handlers/plain-type.rb
|
235
|
-
- lib/ruby/riddl/handlers/xmlschema.rb
|
236
|
-
- lib/ruby/riddl/handlers/oauth.rb
|
237
|
-
- lib/ruby/riddl/handlers/relaxng.rb
|
238
|
-
- lib/ruby/riddl/implementation.rb
|
239
|
-
- lib/ruby/riddl/wrapper/messageparser.rb
|
240
|
-
- lib/ruby/riddl/wrapper/resourcechecker.rb
|
241
|
-
- lib/ruby/riddl/wrapper/declaration.rb
|
242
|
-
- lib/ruby/riddl/wrapper/layerchecker.rb
|
243
|
-
- lib/ruby/riddl/wrapper/description.rb
|
244
|
-
- lib/ruby/riddl/wrapper/declaration/interface.rb
|
245
|
-
- lib/ruby/riddl/wrapper/declaration/facade.rb
|
246
|
-
- lib/ruby/riddl/wrapper/declaration/tile.rb
|
247
|
-
- lib/ruby/riddl/wrapper/description/message_and_transformation.rb
|
248
|
-
- lib/ruby/riddl/wrapper/description/resource.rb
|
249
|
-
- lib/ruby/riddl/wrapper/description/access.rb
|
250
|
-
- lib/ruby/riddl/option.rb
|
251
|
-
- lib/ruby/riddl/utils/properties.rb
|
252
|
-
- lib/ruby/riddl/utils/notifications_producer.rb
|
253
|
-
- lib/ruby/riddl/utils/downloadify.rb
|
254
|
-
- lib/ruby/riddl/utils/erbserve.rb
|
255
|
-
- lib/ruby/riddl/utils/xsloverlay.rb
|
256
|
-
- lib/ruby/riddl/utils/fileserve.rb
|
257
|
-
- lib/ruby/riddl/utils/description.rb
|
258
|
-
- lib/ruby/riddl/utils/turtle.rb
|
259
|
-
- lib/ruby/riddl/roles.rb
|
260
|
-
- lib/ruby/riddl/parameter.rb
|
261
|
-
- lib/ruby/riddl/constants.rb
|
262
|
-
- lib/ruby/riddl/protocols/http/generator.rb
|
263
|
-
- lib/ruby/riddl/protocols/http/parser.rb
|
264
|
-
- lib/ruby/riddl/protocols/websocket.rb
|
265
|
-
- lib/ruby/riddl/protocols/xmpp/generator.rb
|
266
|
-
- lib/ruby/riddl/protocols/xmpp/parser.rb
|
267
|
-
- lib/ruby/riddl/header.rb
|
268
172
|
- examples/client/client.rb
|
269
|
-
- examples/
|
270
|
-
- examples/
|
271
|
-
- examples/downloadify/server.description.xml
|
272
|
-
- examples/downloadify/server.declaration.xml
|
273
|
-
- examples/downloadify/client.rb
|
274
|
-
- examples/twitter/twitter.token_secret
|
275
|
-
- examples/twitter/twitter.xml
|
276
|
-
- examples/twitter/declaration.xml
|
277
|
-
- examples/twitter/client.rb
|
278
|
-
- examples/twitter/twitter.consumer_key
|
279
|
-
- examples/twitter/README
|
280
|
-
- examples/twitter/twitpic.xml
|
281
|
-
- examples/twitter/twitter.user_id
|
282
|
-
- examples/twitter/twitter.consumer_secret
|
283
|
-
- examples/twitter/twitter.token
|
284
|
-
- examples/helloworld/declaration.xml
|
285
|
-
- examples/helloworld/description.xml
|
286
|
-
- examples/helloworld/declaration-definition_goal.xml
|
287
|
-
- examples/helloworld/rngs/hello-list.rng
|
288
|
-
- examples/helloworld/rngs/filter-hello-list.rng
|
289
|
-
- examples/helloworld/filter-description.xml
|
290
|
-
- examples/websocket/server.rb
|
291
|
-
- examples/websocket/description.xml
|
292
|
-
- examples/websocket/client.rb
|
293
|
-
- examples/websocket/sample.html
|
294
|
-
- examples/declaration-server-distributed/xsls/test/properties.xsl
|
295
|
-
- examples/declaration-server-distributed/xsls/instances.xsl
|
296
|
-
- examples/declaration-server-distributed/xsls/properties.xsl
|
297
|
-
- examples/declaration-server-distributed/xsls/info.xsl
|
298
|
-
- examples/declaration-server-distributed/xsls/values.xsl
|
299
|
-
- examples/declaration-server-distributed/properties.rb
|
300
|
-
- examples/declaration-server-distributed/xsloverlay.xml
|
173
|
+
- examples/declaration-server-distributed/README
|
174
|
+
- examples/declaration-server-distributed/declaration.rb
|
301
175
|
- examples/declaration-server-distributed/declaration.xml
|
302
176
|
- examples/declaration-server-distributed/instances/1/properties.xml
|
177
|
+
- examples/declaration-server-distributed/instances/2/properties.xml
|
303
178
|
- examples/declaration-server-distributed/instances/instances.xml
|
304
179
|
- examples/declaration-server-distributed/instances/properties.schema
|
305
|
-
- examples/declaration-server-distributed/instances/2/properties.xml
|
306
|
-
- examples/declaration-server-distributed/README
|
307
180
|
- examples/declaration-server-distributed/main.rb
|
308
|
-
- examples/declaration-server-distributed/
|
309
|
-
- examples/declaration-server-distributed/
|
181
|
+
- examples/declaration-server-distributed/main.xml
|
182
|
+
- examples/declaration-server-distributed/properties.rb
|
183
|
+
- examples/declaration-server-distributed/properties.xml
|
310
184
|
- examples/declaration-server-distributed/rngs/instance-info.rng
|
311
185
|
- examples/declaration-server-distributed/rngs/instances.rng
|
312
|
-
- examples/declaration-server-distributed/
|
313
|
-
- examples/declaration-server-distributed/
|
314
|
-
- examples/
|
315
|
-
- examples/
|
316
|
-
- examples/
|
317
|
-
- examples/
|
318
|
-
- examples/
|
319
|
-
- examples/
|
320
|
-
- examples/
|
321
|
-
- examples/flickr/Flickr/flickr.frob
|
322
|
-
- examples/flickr/Flickr/authenticate.rb
|
323
|
-
- examples/flickr/Flickr/public.rb
|
324
|
-
- examples/flickr/riddl.jpg
|
325
|
-
- examples/flickr/declaration.xml
|
326
|
-
- examples/flickr/client.rb
|
327
|
-
- examples/flickr/README
|
328
|
-
- examples/flickr/rngs/rsp.rng
|
329
|
-
- examples/flickr/Exif/exif.ru
|
330
|
-
- examples/flickr/Exif/exif.xml
|
331
|
-
- examples/flickr/Exif/riddl.jpg
|
332
|
-
- examples/flickr/Exif/exif.test
|
333
|
-
- examples/flickr/Exif/riddl.new.jpg
|
334
|
-
- examples/flickr/Helpers/gps.rb
|
335
|
-
- examples/flickr/Helpers/flickr.rb
|
336
|
-
- examples/notifications/topics.xml
|
337
|
-
- examples/notifications/producer.main.xml
|
338
|
-
- examples/notifications/producer.declaration.xml
|
339
|
-
- examples/notifications/implementation/juergen.html
|
340
|
-
- examples/notifications/implementation/oliver.html
|
341
|
-
- examples/notifications/implementation/index.html
|
342
|
-
- examples/notifications/producer.rb
|
343
|
-
- examples/notifications/producer.fluff.xml
|
344
|
-
- examples/library/server.rb
|
345
|
-
- examples/library/static/info.txt
|
346
|
-
- examples/library/declaration.xml
|
347
|
-
- examples/library/description.xml
|
348
|
-
- examples/library/description-image-addon.xml
|
349
|
-
- examples/library/rngs/customer-description.rng
|
350
|
-
- examples/library/rngs/list-of-loans.rng
|
351
|
-
- examples/library/rngs/book-description.rng
|
352
|
-
- examples/library/rngs/list-of-books.rng
|
353
|
-
- examples/library/rngs/list-of-customers.rng
|
354
|
-
- examples/declaration-server-hybrid/xsls/instances.xsl
|
355
|
-
- examples/declaration-server-hybrid/xsls/properties.xsl
|
356
|
-
- examples/declaration-server-hybrid/xsls/info.xsl
|
357
|
-
- examples/declaration-server-hybrid/xsls/values.xsl
|
358
|
-
- examples/declaration-server-hybrid/xsloverlay.xml
|
186
|
+
- examples/declaration-server-distributed/xsloverlay.rb
|
187
|
+
- examples/declaration-server-distributed/xsloverlay.xml
|
188
|
+
- examples/declaration-server-distributed/xsls/info.xsl
|
189
|
+
- examples/declaration-server-distributed/xsls/instances.xsl
|
190
|
+
- examples/declaration-server-distributed/xsls/properties.xsl
|
191
|
+
- examples/declaration-server-distributed/xsls/test/properties.xsl
|
192
|
+
- examples/declaration-server-distributed/xsls/values.xsl
|
193
|
+
- examples/declaration-server-hybrid/README
|
194
|
+
- examples/declaration-server-hybrid/declaration.rb
|
359
195
|
- examples/declaration-server-hybrid/declaration.xml
|
360
196
|
- examples/declaration-server-hybrid/instances/1/properties.xml
|
197
|
+
- examples/declaration-server-hybrid/instances/2/properties.xml
|
361
198
|
- examples/declaration-server-hybrid/instances/instances.xml
|
362
199
|
- examples/declaration-server-hybrid/instances/properties.schema
|
363
|
-
- examples/declaration-server-hybrid/
|
364
|
-
- examples/declaration-server-hybrid/
|
365
|
-
- examples/declaration-server-hybrid/declaration.rb
|
366
|
-
- examples/declaration-server-hybrid/xsloverlay.rb
|
200
|
+
- examples/declaration-server-hybrid/main.xml
|
201
|
+
- examples/declaration-server-hybrid/properties.xml
|
367
202
|
- examples/declaration-server-hybrid/rngs/instance-info.rng
|
368
203
|
- examples/declaration-server-hybrid/rngs/instances.rng
|
369
|
-
- examples/declaration-server-hybrid/
|
370
|
-
- examples/declaration-server-hybrid/
|
371
|
-
- examples/
|
372
|
-
- examples/
|
373
|
-
- examples/
|
374
|
-
- examples/
|
375
|
-
- examples/
|
376
|
-
- examples/
|
377
|
-
- examples/
|
204
|
+
- examples/declaration-server-hybrid/xsloverlay.rb
|
205
|
+
- examples/declaration-server-hybrid/xsloverlay.xml
|
206
|
+
- examples/declaration-server-hybrid/xsls/info.xsl
|
207
|
+
- examples/declaration-server-hybrid/xsls/instances.xsl
|
208
|
+
- examples/declaration-server-hybrid/xsls/properties.xsl
|
209
|
+
- examples/declaration-server-hybrid/xsls/values.xsl
|
210
|
+
- examples/declaration-server-local/declaration.rb
|
211
|
+
- examples/declaration-server-local/declaration.xml
|
212
|
+
- examples/declaration-server-local/properties.xml
|
213
|
+
- examples/declaration-server-local/server.properties.schema
|
214
|
+
- examples/declaration-server-local/server.properties.xml
|
215
|
+
- examples/declaration-server-local/xsloverlay.xml
|
216
|
+
- examples/declaration-server-local/xsls.xml
|
217
|
+
- examples/declaration-server-local/xsls/properties.xsl
|
218
|
+
- examples/declaration-server-local/xsls/values.xsl
|
219
|
+
- examples/declaration-test/client.test
|
378
220
|
- examples/declaration-test/declaration0.xml
|
379
|
-
- examples/declaration-test/
|
221
|
+
- examples/declaration-test/declaration1.xml
|
380
222
|
- examples/declaration-test/declaration2.xml
|
381
|
-
- examples/declaration-test/goal/goal.xml
|
382
223
|
- examples/declaration-test/goal/goal.txt
|
383
|
-
- examples/declaration-test/
|
384
|
-
- examples/declaration-test/post.ru
|
385
|
-
- examples/declaration-test/main.log
|
224
|
+
- examples/declaration-test/goal/goal.xml
|
386
225
|
- examples/declaration-test/main.rb
|
226
|
+
- examples/declaration-test/main.xml
|
387
227
|
- examples/declaration-test/over.xml
|
228
|
+
- examples/declaration-test/post.ru
|
388
229
|
- examples/declaration-test/post.xml
|
389
|
-
- examples/declaration-test/
|
230
|
+
- examples/declaration-test/pre.ru
|
390
231
|
- examples/declaration-test/pre.xml
|
391
|
-
- examples/
|
392
|
-
- examples/
|
393
|
-
- examples/
|
394
|
-
- examples/
|
395
|
-
- examples/
|
396
|
-
- examples/
|
397
|
-
- examples/
|
398
|
-
- examples/
|
399
|
-
- examples/
|
400
|
-
- examples/
|
401
|
-
- examples/
|
402
|
-
- examples/
|
403
|
-
- examples/
|
404
|
-
- examples/
|
405
|
-
- examples/
|
406
|
-
- examples/
|
407
|
-
- examples/
|
408
|
-
- examples/
|
409
|
-
- examples/
|
410
|
-
- examples/
|
411
|
-
- examples/
|
412
|
-
- examples/
|
413
|
-
- examples/
|
414
|
-
- examples/
|
415
|
-
- examples/
|
232
|
+
- examples/description-test/description0.xml
|
233
|
+
- examples/description-test/description1.xml
|
234
|
+
- examples/description-test/description2.xml
|
235
|
+
- examples/description-test/description3.xml
|
236
|
+
- examples/description-test/description4.xml
|
237
|
+
- examples/description-test/rngs/list-of-books.rng
|
238
|
+
- examples/description-test/server.rb
|
239
|
+
- examples/downloadify/client.rb
|
240
|
+
- examples/downloadify/downloadify.xml
|
241
|
+
- examples/downloadify/server.declaration.xml
|
242
|
+
- examples/downloadify/server.description.xml
|
243
|
+
- examples/downloadify/server.rb
|
244
|
+
- examples/flickr/Exif/exif.ru
|
245
|
+
- examples/flickr/Exif/exif.test
|
246
|
+
- examples/flickr/Exif/exif.xml
|
247
|
+
- examples/flickr/Exif/riddl.jpg
|
248
|
+
- examples/flickr/Flickr/authenticate.rb
|
249
|
+
- examples/flickr/Flickr/find.rb
|
250
|
+
- examples/flickr/Flickr/flickr.key
|
251
|
+
- examples/flickr/Flickr/flickr.rb
|
252
|
+
- examples/flickr/Flickr/flickr.secret
|
253
|
+
- examples/flickr/Flickr/flickr.xml
|
254
|
+
- examples/flickr/Flickr/public.rb
|
255
|
+
- examples/flickr/Flickr/riddl.png
|
256
|
+
- examples/flickr/Helpers/flickr.rb
|
257
|
+
- examples/flickr/Helpers/gps.rb
|
258
|
+
- examples/flickr/README
|
259
|
+
- examples/flickr/client.rb
|
260
|
+
- examples/flickr/declaration.xml
|
261
|
+
- examples/flickr/riddl.jpg
|
262
|
+
- examples/flickr/rngs/rsp.rng
|
263
|
+
- examples/helloworld/declaration-definition_goal.xml
|
264
|
+
- examples/helloworld/declaration.xml
|
265
|
+
- examples/helloworld/description.xml
|
266
|
+
- examples/helloworld/filter-description.xml
|
267
|
+
- examples/helloworld/rngs/filter-hello-list.rng
|
268
|
+
- examples/helloworld/rngs/hello-list.rng
|
269
|
+
- examples/library/declaration.xml
|
270
|
+
- examples/library/description-image-addon.xml
|
271
|
+
- examples/library/description.xml
|
272
|
+
- examples/library/rngs/book-description.rng
|
273
|
+
- examples/library/rngs/customer-description.rng
|
274
|
+
- examples/library/rngs/list-of-books.rng
|
275
|
+
- examples/library/rngs/list-of-customers.rng
|
276
|
+
- examples/library/rngs/list-of-loans.rng
|
277
|
+
- examples/library/server.rb
|
278
|
+
- examples/library/static/info.txt
|
279
|
+
- examples/notifications/implementation/index.html
|
280
|
+
- examples/notifications/implementation/juergen.html
|
281
|
+
- examples/notifications/implementation/oliver.html
|
282
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/consumer-secret
|
283
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/producer-secret
|
284
|
+
- examples/notifications/notifications/39c3b39ec3e48a514948e4981f4459d2/subscription.xml
|
285
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/consumer-secret
|
286
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/producer-secret
|
287
|
+
- examples/notifications/notifications/5d68b08a13e622aada13e3c182ea9390/subscription.xml
|
288
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/consumer-secret
|
289
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/producer-secret
|
290
|
+
- examples/notifications/notifications/893edd178c053a011c09f253fa85092f/subscription.xml
|
291
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/consumer-secret
|
292
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/producer-secret
|
293
|
+
- examples/notifications/notifications/9f5921176e6876aca3af4428b1ccafd1/subscription.xml
|
294
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/consumer-secret
|
295
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/producer-secret
|
296
|
+
- examples/notifications/notifications/c457779f6e2c086d8cf1cd9b44d8950e/subscription.xml
|
297
|
+
- examples/notifications/producer.declaration.xml
|
298
|
+
- examples/notifications/producer.fluff.xml
|
299
|
+
- examples/notifications/producer.main.xml
|
300
|
+
- examples/notifications/producer.rb
|
301
|
+
- examples/notifications/topics.xml
|
416
302
|
- examples/oauth/oauth.rb
|
417
303
|
- examples/oauth/oauth.xml
|
418
|
-
- examples/
|
419
|
-
- examples/
|
420
|
-
- examples/
|
421
|
-
- examples/
|
422
|
-
- examples/
|
304
|
+
- examples/properties/description.conf
|
305
|
+
- examples/properties/description.rb
|
306
|
+
- examples/properties/properties.xml
|
307
|
+
- examples/properties/server.properties.schema
|
308
|
+
- examples/properties/server.properties.xml
|
309
|
+
- examples/twitter/README
|
310
|
+
- examples/twitter/client.rb
|
311
|
+
- examples/twitter/declaration.xml
|
312
|
+
- examples/twitter/twitpic.xml
|
313
|
+
- examples/twitter/twitter.xml
|
314
|
+
- examples/websocket/client.rb
|
315
|
+
- examples/websocket/description.xml
|
316
|
+
- examples/websocket/sample.html
|
317
|
+
- examples/websocket/server.rb
|
318
|
+
- examples/xmpp/client.rb
|
319
|
+
- examples/xmpp/description.rb
|
320
|
+
- examples/xmpp/properties.xml
|
321
|
+
- examples/xmpp/server.properties.schema
|
322
|
+
- examples/xmpp/server.properties.xml
|
423
323
|
- examples/zotero/README
|
324
|
+
- examples/zotero/client.rb
|
424
325
|
- examples/zotero/zotero.xml
|
425
|
-
-
|
426
|
-
-
|
427
|
-
-
|
428
|
-
-
|
326
|
+
- lib/ruby/riddl/client.rb
|
327
|
+
- lib/ruby/riddl/commonlogger.rb
|
328
|
+
- lib/ruby/riddl/constants.rb
|
329
|
+
- lib/ruby/riddl/error.rb
|
330
|
+
- lib/ruby/riddl/handlers.rb
|
331
|
+
- lib/ruby/riddl/handlers/oauth.rb
|
332
|
+
- lib/ruby/riddl/handlers/plain-type.rb
|
333
|
+
- lib/ruby/riddl/handlers/relaxng.rb
|
334
|
+
- lib/ruby/riddl/handlers/xmlschema.rb
|
335
|
+
- lib/ruby/riddl/header.rb
|
336
|
+
- lib/ruby/riddl/implementation.rb
|
337
|
+
- lib/ruby/riddl/ns/common-patterns/addon-security/request.xml
|
338
|
+
- lib/ruby/riddl/ns/common-patterns/addon-security/response.xml
|
339
|
+
- lib/ruby/riddl/ns/common-patterns/downloadify/1.0/downloadify.xml
|
340
|
+
- lib/ruby/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
341
|
+
- lib/ruby/riddl/ns/common-patterns/notifications-producer/1.0/producer.xml
|
342
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.schema
|
343
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
|
344
|
+
- lib/ruby/riddl/ns/common-patterns/properties/1.0/properties.xml
|
345
|
+
- lib/ruby/riddl/ns/common-patterns/riddl-description/resource-show.xml
|
346
|
+
- lib/ruby/riddl/ns/common-patterns/riddl-description/show.xml
|
347
|
+
- lib/ruby/riddl/ns/common-patterns/turtle/1.0/turtle.xml
|
348
|
+
- lib/ruby/riddl/ns/common/datatypes-1_0.rng
|
349
|
+
- lib/ruby/riddl/ns/common/relaxng-modular.rng
|
350
|
+
- lib/ruby/riddl/ns/common/relaxng.rng
|
351
|
+
- lib/ruby/riddl/ns/declaration/1.0/declaration.rng
|
352
|
+
- lib/ruby/riddl/ns/description/1.0/description.rng
|
353
|
+
- lib/ruby/riddl/option.rb
|
354
|
+
- lib/ruby/riddl/parameter.rb
|
355
|
+
- lib/ruby/riddl/protocols/http/generator.rb
|
356
|
+
- lib/ruby/riddl/protocols/http/parser.rb
|
357
|
+
- lib/ruby/riddl/protocols/websocket.rb
|
358
|
+
- lib/ruby/riddl/protocols/xmpp/generator.rb
|
359
|
+
- lib/ruby/riddl/protocols/xmpp/parser.rb
|
360
|
+
- lib/ruby/riddl/roles.rb
|
361
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb
|
362
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb
|
363
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb
|
364
|
+
- lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb
|
365
|
+
- lib/ruby/riddl/server.rb
|
366
|
+
- lib/ruby/riddl/utils/description.rb
|
367
|
+
- lib/ruby/riddl/utils/downloadify.rb
|
368
|
+
- lib/ruby/riddl/utils/erbserve.rb
|
369
|
+
- lib/ruby/riddl/utils/fileserve.rb
|
370
|
+
- lib/ruby/riddl/utils/notifications_producer.rb
|
371
|
+
- lib/ruby/riddl/utils/properties.rb
|
372
|
+
- lib/ruby/riddl/utils/turtle.rb
|
373
|
+
- lib/ruby/riddl/utils/xsloverlay.rb
|
374
|
+
- lib/ruby/riddl/wrapper.rb
|
375
|
+
- lib/ruby/riddl/wrapper/declaration.rb
|
376
|
+
- lib/ruby/riddl/wrapper/declaration/facade.rb
|
377
|
+
- lib/ruby/riddl/wrapper/declaration/interface.rb
|
378
|
+
- lib/ruby/riddl/wrapper/declaration/tile.rb
|
379
|
+
- lib/ruby/riddl/wrapper/description.rb
|
380
|
+
- lib/ruby/riddl/wrapper/description/access.rb
|
381
|
+
- lib/ruby/riddl/wrapper/description/message_and_transformation.rb
|
382
|
+
- lib/ruby/riddl/wrapper/description/resource.rb
|
383
|
+
- lib/ruby/riddl/wrapper/layerchecker.rb
|
384
|
+
- lib/ruby/riddl/wrapper/messageparser.rb
|
385
|
+
- lib/ruby/riddl/wrapper/resourcechecker.rb
|
386
|
+
- ns/common-patterns/addon-security/request.xml
|
387
|
+
- ns/common-patterns/addon-security/response.xml
|
388
|
+
- ns/common-patterns/downloadify/1.0/downloadify.xml
|
389
|
+
- ns/common-patterns/notifications-consumer/1.0/consumer.xml
|
390
|
+
- ns/common-patterns/notifications-producer/1.0/producer.xml
|
391
|
+
- ns/common-patterns/properties/1.0/properties.schema.schema
|
392
|
+
- ns/common-patterns/properties/1.0/properties.schema.xsl
|
393
|
+
- ns/common-patterns/properties/1.0/properties.xml
|
394
|
+
- ns/common-patterns/riddl-description/resource-show.xml
|
395
|
+
- ns/common-patterns/riddl-description/show.xml
|
396
|
+
- ns/common-patterns/turtle/1.0/turtle.xml
|
397
|
+
- ns/common/datatypes-1_0.rng
|
398
|
+
- ns/common/relaxng-modular.rng
|
399
|
+
- ns/common/relaxng.rng
|
400
|
+
- ns/declaration/1.0/declaration.rng
|
401
|
+
- ns/description/1.0/description.rng
|
429
402
|
- riddl.gemspec
|
430
|
-
-
|
431
|
-
-
|
432
|
-
- AUTHORS
|
433
|
-
- INSTALL
|
434
|
-
- test/tc_websocket.rb
|
403
|
+
- test/smartrunner.rb
|
404
|
+
- test/tc_declaration-distributed.rb
|
435
405
|
- test/tc_declaration-hybrid.rb
|
436
406
|
- test/tc_declaration-local.rb
|
437
|
-
- test/
|
407
|
+
- test/tc_helloworld.rb
|
438
408
|
- test/tc_library.rb
|
439
|
-
- test/tc_declaration-distributed.rb
|
440
409
|
- test/tc_producer.rb
|
441
|
-
- test/
|
442
|
-
- test/
|
410
|
+
- test/tc_properties.rb
|
411
|
+
- test/tc_websocket.rb
|
412
|
+
- tools/flash-policy-server.rb
|
413
|
+
- tools/riddlcheck
|
414
|
+
- tools/riddlcheck-1_0
|
415
|
+
- tools/riddlprocess
|
416
|
+
- tools/riddlprocess-1_0
|
443
417
|
homepage: http://www.wst.univie.ac.at/communities/riddl/
|
444
418
|
licenses:
|
445
419
|
- LGPL-3
|
420
|
+
metadata: {}
|
446
421
|
post_install_message:
|
447
422
|
rdoc_options: []
|
448
423
|
require_paths:
|
449
424
|
- lib/ruby
|
450
425
|
required_ruby_version: !ruby/object:Gem::Requirement
|
451
|
-
none: false
|
452
426
|
requirements:
|
453
|
-
- -
|
427
|
+
- - ">="
|
454
428
|
- !ruby/object:Gem::Version
|
455
429
|
version: 1.9.3
|
456
430
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
457
|
-
none: false
|
458
431
|
requirements:
|
459
|
-
- -
|
432
|
+
- - ">="
|
460
433
|
- !ruby/object:Gem::Version
|
461
434
|
version: '0'
|
462
435
|
requirements: []
|
463
436
|
rubyforge_project:
|
464
|
-
rubygems_version:
|
437
|
+
rubygems_version: 2.2.2
|
465
438
|
signing_key:
|
466
|
-
specification_version:
|
467
|
-
summary:
|
439
|
+
specification_version: 4
|
440
|
+
summary: 'restful interface description and declaration language: tools and client/server
|
468
441
|
libs'
|
469
442
|
test_files:
|
470
|
-
- test/
|
471
|
-
- test/tc_declaration-hybrid.rb
|
472
|
-
- test/tc_declaration-local.rb
|
443
|
+
- test/tc_declaration-distributed.rb
|
473
444
|
- test/tc_properties.rb
|
474
445
|
- test/tc_library.rb
|
475
|
-
- test/
|
476
|
-
- test/
|
446
|
+
- test/tc_websocket.rb
|
447
|
+
- test/tc_declaration-local.rb
|
448
|
+
- test/tc_declaration-hybrid.rb
|
477
449
|
- test/tc_helloworld.rb
|
450
|
+
- test/tc_producer.rb
|
478
451
|
- test/smartrunner.rb
|