riddl 0.99.106 → 0.99.107

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
  SHA1:
3
- metadata.gz: 12c031be92256e0af144457f4fcfcb02c4e0c7eb
4
- data.tar.gz: d48a272fdef110c5d5ee3504da07869ad0a633fa
3
+ metadata.gz: 488e7e14c6a59129b3444212a7fd3328251f9dba
4
+ data.tar.gz: b663b637b235e739d9d775be1da0acd8c2807348
5
5
  SHA512:
6
- metadata.gz: 4968eab363c56e10bf3be952018c6e9c4752126d316da12cf74ac631a56fdbf33b9592d09bc109da55be01c0281f42efd3bc6339dccbdd6d44523413ffcbbd54
7
- data.tar.gz: f3d6fed2f30fda387954503ef037d9e36acb87dda23db77f735bf07869f2cdf8e1e653ef7487b1f41c79e1ed0b471a3edfa025a1ec17a857b9955710b3d8c47e
6
+ metadata.gz: 477c2e9a00f3da5f6c9b33c3c5dcd4bfb069f791722003aebce6cf5fe760e4e182339d4f2c9e4e5d726846b4f198741a09abb5a6ba2bfce6246c71144a358106
7
+ data.tar.gz: 297a4ecc24c6fe1caa11db5f67bcd2d3a4390204fbf21040251bdc418a8a138edaf785b99dc89f6ed440a78c1c7b410a255d95c28fda201fc8a6460b8271018c
@@ -252,7 +252,7 @@ unless Module.constants.include?('CLIENT_INCLUDED')
252
252
 
253
253
  res = response = nil
254
254
  if @wrapper.nil? || @wrapper.description? || (@wrapper.declaration? && !@base.nil?)
255
- status, response, response_headers = make_request(@base + @rpath,riddl_method,parameters,headers,qparams,simulate,!riddl_message.out.nil?)
255
+ status, response, response_headers = make_request(@base + @rpath,riddl_method,parameters,headers,qparams,simulate,riddl_message && riddl_message.out)
256
256
  return response if simulate
257
257
  if !@wrapper.nil? && status == 200
258
258
  unless @wrapper.check_message(response,response_headers,riddl_message.out)
@@ -262,7 +262,7 @@ unless Module.constants.include?('CLIENT_INCLUDED')
262
262
  elsif !@wrapper.nil? && @base.nil? && @wrapper.declaration?
263
263
  headers['RIDDL-DECLARATION-PATH'] = @rpath
264
264
  if !riddl_message.route?
265
- status, response, response_headers = make_request(riddl_message.interface.real_url(@rpath,@base),riddl_method,parameters,headers,qparams,simulate,!riddl_message.out.nil?)
265
+ status, response, response_headers = make_request(riddl_message.interface.real_url(@rpath,@base),riddl_method,parameters,headers,qparams,simulate,riddl_message && riddl_message.out)
266
266
  return response if simulate
267
267
  if status == 200
268
268
  unless @wrapper.check_message(response,response_headers,riddl_message.out)
@@ -274,7 +274,11 @@ unless Module.constants.include?('CLIENT_INCLUDED')
274
274
  th = headers
275
275
  tq = qparams
276
276
  riddl_message.route.each do |m|
277
- status, response, response_headers = make_request(m.interface.real_url(@rpath,@base),riddl_method,tp,th,tq,simulate,!riddl_message.out.nil?)
277
+ if m == riddl_message.route.last
278
+ status, response, response_headers = make_request(m.interface.real_url(@rpath,@base),riddl_method,tp,th,tq,simulate,riddl_message && riddl_message.out)
279
+ else
280
+ status, response, response_headers = make_request(m.interface.real_url(@rpath,@base),riddl_method,tp,th,tq,simulate,true)
281
+ end
278
282
  return response if simulate
279
283
  if status != 200 || !@wrapper.check_message(response,response_headers,m.out)
280
284
  raise OutputError, "Not a valid output from service."
@@ -1,100 +1,44 @@
1
1
  <description datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://riddl.org/ns/description/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
2
2
 
3
- <message name="notification">
3
+ <message name="event">
4
4
  <parameter name="key" type="string"/>
5
- <parameter name="topic" type="string"/>
6
- <choice>
7
- <parameter name="event" type="string">
8
- <param name="pattern">[\w_]+</param>
9
- </parameter>
10
- <parameter name="vote" type="string">
11
- <param name="pattern">[\w_]+</param>
12
- </parameter>
13
- </choice>
14
- <parameter name="notification" mimetype="text/xml" handler="http://riddl.org/ns/handlers/relaxng">
15
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://riddl.org/ns/common-patterns/notifications-consumer/1.0">
16
- <start>
17
- <element name="notification">
18
- <zeroOrMore>
19
- <ref name="header"/>
20
- </zeroOrMore>
21
- <zeroOrMore>
22
- <ref name="parameter"/>
23
- </zeroOrMore>
24
- </element>
25
- </start>
26
-
27
- <define name="header">
28
- <element name="header">
29
- <attribute name="name">
30
- <data type="string"/>
31
- </attribute>
32
- <optional>
33
- <attribute name="type">
34
- <data type="string"/>
35
- </attribute>
36
- </optional>
37
- <data type="string"/>
38
- </element>
39
- </define>
40
-
41
- <define name="parameter">
42
- <element name="parameter">
43
- <attribute name="name">
44
- <data type="string"/>
45
- </attribute>
46
- <optional>
47
- <choice>
48
- <attribute name="type">
49
- <data type="string"/>
50
- </attribute>
51
- <attribute name="mimetype">
52
- <data type="string">
53
- <param name="pattern">[\c]+/[\c\+]+|\*</param>
54
- </data>
55
- </attribute>
56
- </choice>
57
- </optional>
58
- <ref name="any"/>
59
- </element>
60
- </define>
61
-
62
- <define name="any">
63
- <mixed>
64
- <zeroOrMore>
65
- <element>
66
- <anyName/>
67
- <zeroOrMore>
68
- <choice>
69
- <attribute>
70
- <anyName/>
71
- </attribute>
72
- <text/>
73
- <ref name="any"/>
74
- </choice>
75
- </zeroOrMore>
76
- </element>
77
- </zeroOrMore>
78
- </mixed>
79
- </define>
5
+ <parameter name="topic" type="string">
6
+ <param name="pattern">[\w_\/]+</param>
7
+ </parameter>
8
+ <parameter name="event" type="string">
9
+ <param name="pattern">[\w_]+</param>
10
+ </parameter>
11
+ <parameter name="notification" type="string"/>
12
+ <parameter name="fingerprint-with-consumer-secret" type="string"/>
13
+ </message>
80
14
 
81
- </grammar>
15
+ <message name="vote">
16
+ <parameter name="key" type="string"/>
17
+ <parameter name="topic" type="string">
18
+ <param name="pattern">[\w_\/]+</param>
19
+ </parameter>
20
+ <parameter name="vote" type="string">
21
+ <param name="pattern">[\w_]+</param>
82
22
  </parameter>
83
- <parameter name="message-uid" type="string"/>
23
+ <parameter name="notification" type="string"/>
24
+ <parameter name="callback" type="string"/>
84
25
  <parameter name="fingerprint-with-consumer-secret" type="string"/>
85
26
  </message>
86
27
 
87
28
  <message name="acknowledgment">
88
- <header name="CPEE_CALLBACK" type="boolean"/>
89
- <optional>
90
- <parameter name="continue" type="boolean"/>
91
- </optional>
92
- <parameter name="message-uid" type="string"/>
29
+ <parameter name="continue" type="string">
30
+ <choice>
31
+ <value>true</value>
32
+ <value>false</value>
33
+ <value>callback</value>
34
+ </choice>
35
+ </parameter>
93
36
  <parameter name="fingerprint-with-consumer-secret" type="string"/>
94
37
  </message>
95
38
 
96
39
  <resource pattern="http://riddl.org/ns/common-patterns/notifications-consumer/1.0">
97
- <post in="notification" out="acknowledgment"/>
40
+ <post in="event"/>
41
+ <post in="vote" out="acknowledgment"/>
98
42
  </resource>
99
43
 
100
44
  </description>
@@ -259,8 +259,9 @@ module Riddl
259
259
  if @riddl.description?
260
260
  instance_exec(@riddl_info, &@riddl_interfaces[nil])
261
261
  elsif @riddl.declaration?
262
- ifs = @riddl_message.route? ? @riddl_message.route : [@riddl_message]
263
- ifs.each do |m|
262
+ mess = @riddl_message
263
+ @riddl_message.route_to_a.each do |m|
264
+ @riddl_message = m
264
265
  @riddl_path = '/'
265
266
  if m.interface.base.nil?
266
267
  if @riddl_interfaces.key? m.interface.name
@@ -281,6 +282,7 @@ module Riddl
281
282
  break unless @riddl_status == 200
282
283
  @riddl_info.merge!(:h => @riddl_exe.headers, :p => @riddl_exe.response)
283
284
  end
285
+ @riddl_message = mess
284
286
  end
285
287
  end
286
288
  if @riddl_info[:env].has_key?('HTTP_ORIGIN') && @riddl_cross_site_xhr
@@ -333,9 +335,9 @@ module Riddl
333
335
  @riddl_log.write "404: this resource for sure does not exist.\n"
334
336
  @riddl_status = 404 # client requests wrong path
335
337
  end
336
- p @riddl_message.out
337
338
 
338
339
  stanza = if @riddl_exe && @riddl_status == 200
340
+ return if @riddl_message.out.nil?
339
341
  Protocols::XMPP::Generator.new(@riddl_status,@riddl_exe.response,@riddl_exe.headers).generate
340
342
  else
341
343
  Protocols::XMPP::Error.new(@riddl_status).generate
@@ -270,6 +270,23 @@ module Riddl
270
270
  def route?
271
271
  !(route.nil? || route.empty?)
272
272
  end
273
+ def route_to_a
274
+ if route?
275
+ @route.map do |m|
276
+ if m.class == Riddl::Wrapper::Description::RequestInOut
277
+ Riddl::Wrapper::IOMessages.new(m.in, m.out,nil,m.interface)
278
+ elsif m.class == Riddl::Wrapper::Description::RequestTransformation
279
+ Riddl::Wrapper::IOMessages.new(Riddl::Wrapper::Description::Star.new, Riddl::Wrapper::Description::Star.new,nil,m.interface)
280
+ elsif m.class == Riddl::Wrapper::Description::RequestStarOut
281
+ Riddl::Wrapper::IOMessages.new(Riddl::Wrapper::Description::Star.new, m.out,nil,m.interface)
282
+ elsif m.class == Riddl::Wrapper::Description::RequestPass
283
+ Riddl::Wrapper::IOMessages.new(Riddl::Wrapper::Description::Star.new, Riddl::Wrapper::Description::Star.new,nil,m.interface)
284
+ end
285
+ end
286
+ else
287
+ [self]
288
+ end
289
+ end
273
290
  attr_reader :in, :out, :route, :interface
274
291
  #}}}
275
292
  end
@@ -1,100 +1,44 @@
1
1
  <description datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://riddl.org/ns/description/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
2
2
 
3
- <message name="notification">
3
+ <message name="event">
4
4
  <parameter name="key" type="string"/>
5
- <parameter name="topic" type="string"/>
6
- <choice>
7
- <parameter name="event" type="string">
8
- <param name="pattern">[\w_]+</param>
9
- </parameter>
10
- <parameter name="vote" type="string">
11
- <param name="pattern">[\w_]+</param>
12
- </parameter>
13
- </choice>
14
- <parameter name="notification" mimetype="text/xml" handler="http://riddl.org/ns/handlers/relaxng">
15
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://riddl.org/ns/common-patterns/notifications-consumer/1.0">
16
- <start>
17
- <element name="notification">
18
- <zeroOrMore>
19
- <ref name="header"/>
20
- </zeroOrMore>
21
- <zeroOrMore>
22
- <ref name="parameter"/>
23
- </zeroOrMore>
24
- </element>
25
- </start>
26
-
27
- <define name="header">
28
- <element name="header">
29
- <attribute name="name">
30
- <data type="string"/>
31
- </attribute>
32
- <optional>
33
- <attribute name="type">
34
- <data type="string"/>
35
- </attribute>
36
- </optional>
37
- <data type="string"/>
38
- </element>
39
- </define>
40
-
41
- <define name="parameter">
42
- <element name="parameter">
43
- <attribute name="name">
44
- <data type="string"/>
45
- </attribute>
46
- <optional>
47
- <choice>
48
- <attribute name="type">
49
- <data type="string"/>
50
- </attribute>
51
- <attribute name="mimetype">
52
- <data type="string">
53
- <param name="pattern">[\c]+/[\c\+]+|\*</param>
54
- </data>
55
- </attribute>
56
- </choice>
57
- </optional>
58
- <ref name="any"/>
59
- </element>
60
- </define>
61
-
62
- <define name="any">
63
- <mixed>
64
- <zeroOrMore>
65
- <element>
66
- <anyName/>
67
- <zeroOrMore>
68
- <choice>
69
- <attribute>
70
- <anyName/>
71
- </attribute>
72
- <text/>
73
- <ref name="any"/>
74
- </choice>
75
- </zeroOrMore>
76
- </element>
77
- </zeroOrMore>
78
- </mixed>
79
- </define>
5
+ <parameter name="topic" type="string">
6
+ <param name="pattern">[\w_\/]+</param>
7
+ </parameter>
8
+ <parameter name="event" type="string">
9
+ <param name="pattern">[\w_]+</param>
10
+ </parameter>
11
+ <parameter name="notification" type="string"/>
12
+ <parameter name="fingerprint-with-consumer-secret" type="string"/>
13
+ </message>
80
14
 
81
- </grammar>
15
+ <message name="vote">
16
+ <parameter name="key" type="string"/>
17
+ <parameter name="topic" type="string">
18
+ <param name="pattern">[\w_\/]+</param>
19
+ </parameter>
20
+ <parameter name="vote" type="string">
21
+ <param name="pattern">[\w_]+</param>
82
22
  </parameter>
83
- <parameter name="message-uid" type="string"/>
23
+ <parameter name="notification" type="string"/>
24
+ <parameter name="callback" type="string"/>
84
25
  <parameter name="fingerprint-with-consumer-secret" type="string"/>
85
26
  </message>
86
27
 
87
28
  <message name="acknowledgment">
88
- <header name="CPEE_CALLBACK" type="boolean"/>
89
- <optional>
90
- <parameter name="continue" type="boolean"/>
91
- </optional>
92
- <parameter name="message-uid" type="string"/>
29
+ <parameter name="continue" type="string">
30
+ <choice>
31
+ <value>true</value>
32
+ <value>false</value>
33
+ <value>callback</value>
34
+ </choice>
35
+ </parameter>
93
36
  <parameter name="fingerprint-with-consumer-secret" type="string"/>
94
37
  </message>
95
38
 
96
39
  <resource pattern="http://riddl.org/ns/common-patterns/notifications-consumer/1.0">
97
- <post in="notification" out="acknowledgment"/>
40
+ <post in="event"/>
41
+ <post in="vote" out="acknowledgment"/>
98
42
  </resource>
99
43
 
100
44
  </description>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.106"
3
+ s.version = "0.99.107"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.106
4
+ version: 0.99.107
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2013-06-30 00:00:00.000000000 Z
11
+ date: 2013-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.3.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.3.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: eventmachine
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.0.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: em-websocket
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.4.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.4.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: em-websocket-client
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mime-types
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
@@ -126,14 +126,14 @@ dependencies:
126
126
  name: blather
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ! '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: rest service interface definition, mixing, and evolution
@@ -145,83 +145,83 @@ extensions: []
145
145
  extra_rdoc_files:
146
146
  - README.rdoc
147
147
  files:
148
- - lib/riddl/ns/declaration/1.0/declaration.rng
149
- - lib/riddl/ns/description/1.0/description.rng
150
- - lib/riddl/ns/common/relaxng.rng
151
148
  - lib/riddl/ns/common/relaxng-modular.rng
149
+ - lib/riddl/ns/common/relaxng.rng
152
150
  - lib/riddl/ns/common/datatypes-1_0.rng
153
- - lib/riddl/ns/common-patterns/downloadify/1.0/downloadify.xml
154
- - lib/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
151
+ - lib/riddl/ns/description/1.0/description.rng
155
152
  - lib/riddl/ns/common-patterns/properties/1.0/properties.xml
153
+ - lib/riddl/ns/common-patterns/properties/1.0/properties.schema.xsl
156
154
  - lib/riddl/ns/common-patterns/properties/1.0/properties.schema.schema
157
- - lib/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
158
155
  - lib/riddl/ns/common-patterns/notifications-producer/1.0/producer.xml
159
- - lib/riddl/ns/common-patterns/addon-security/response.xml
156
+ - lib/riddl/ns/common-patterns/notifications-consumer/1.0/consumer.xml
160
157
  - lib/riddl/ns/common-patterns/addon-security/request.xml
161
- - tools/riddlcheck
162
- - tools/riddlprocess
158
+ - lib/riddl/ns/common-patterns/addon-security/response.xml
159
+ - lib/riddl/ns/common-patterns/downloadify/1.0/downloadify.xml
160
+ - lib/riddl/ns/declaration/1.0/declaration.rng
161
+ - tools/riddlprocess-1_0
163
162
  - tools/flash-policy-server.rb
163
+ - tools/riddlcheck
164
164
  - tools/riddlcheck-1_0
165
- - tools/riddlprocess-1_0
166
- - ns/declaration/1.0/declaration.rng
167
- - ns/description/1.0/description.rng
168
- - ns/common/relaxng.rng
165
+ - tools/riddlprocess
169
166
  - ns/common/relaxng-modular.rng
167
+ - ns/common/relaxng.rng
170
168
  - ns/common/datatypes-1_0.rng
171
- - ns/common-patterns/downloadify/1.0/downloadify.xml
172
- - ns/common-patterns/properties/1.0/properties.schema.xsl
169
+ - ns/description/1.0/description.rng
173
170
  - ns/common-patterns/properties/1.0/properties.xml
171
+ - ns/common-patterns/properties/1.0/properties.schema.xsl
174
172
  - ns/common-patterns/properties/1.0/properties.schema.schema
175
- - ns/common-patterns/notifications-consumer/1.0/consumer.xml
176
173
  - ns/common-patterns/notifications-producer/1.0/producer.xml
177
- - ns/common-patterns/addon-security/response.xml
174
+ - ns/common-patterns/notifications-consumer/1.0/consumer.xml
178
175
  - ns/common-patterns/addon-security/request.xml
179
- - contrib/riddl.jpg
180
- - contrib/riddl.png
176
+ - ns/common-patterns/addon-security/response.xml
177
+ - ns/common-patterns/downloadify/1.0/downloadify.xml
178
+ - ns/declaration/1.0/declaration.rng
181
179
  - contrib/riddl.svg
182
- - lib/riddl/handlers.rb
180
+ - contrib/riddl.png
181
+ - contrib/riddl.jpg
182
+ - lib/riddl/wrapper.rb
183
+ - lib/riddl/header.rb
184
+ - lib/riddl/option.rb
185
+ - lib/riddl/commonlogger.rb
186
+ - lib/riddl/protocols/websocket.rb
187
+ - lib/riddl/protocols/xmpp/parser.rb
188
+ - lib/riddl/protocols/xmpp/generator.rb
189
+ - lib/riddl/protocols/http/parser.rb
190
+ - lib/riddl/protocols/http/generator.rb
191
+ - lib/riddl/handlers/oauth.rb
192
+ - lib/riddl/handlers/xmlschema.rb
193
+ - lib/riddl/handlers/relaxng.rb
194
+ - lib/riddl/handlers/plain-type.rb
183
195
  - lib/riddl/client.rb
184
- - lib/riddl/wrapper/declaration/interface.rb
185
- - lib/riddl/wrapper/declaration/tile.rb
186
- - lib/riddl/wrapper/declaration/facade.rb
187
- - lib/riddl/wrapper/description/access.rb
196
+ - lib/riddl/roles.rb
197
+ - lib/riddl/implementation.rb
198
+ - lib/riddl/utils/properties.rb
199
+ - lib/riddl/utils/fileserve.rb
200
+ - lib/riddl/utils/notifications_producer.rb
201
+ - lib/riddl/utils/downloadify.rb
202
+ - lib/riddl/utils/description.rb
203
+ - lib/riddl/utils/xsloverlay.rb
204
+ - lib/riddl/utils/erbserve.rb
205
+ - lib/riddl/server.rb
206
+ - lib/riddl/handlers.rb
207
+ - lib/riddl/constants.rb
208
+ - lib/riddl/error.rb
188
209
  - lib/riddl/wrapper/description/resource.rb
210
+ - lib/riddl/wrapper/description/access.rb
189
211
  - lib/riddl/wrapper/description/message_and_transformation.rb
212
+ - lib/riddl/wrapper/layerchecker.rb
213
+ - lib/riddl/wrapper/declaration.rb
190
214
  - lib/riddl/wrapper/resourcechecker.rb
215
+ - lib/riddl/wrapper/declaration/interface.rb
216
+ - lib/riddl/wrapper/declaration/tile.rb
217
+ - lib/riddl/wrapper/declaration/facade.rb
191
218
  - lib/riddl/wrapper/description.rb
192
219
  - lib/riddl/wrapper/messageparser.rb
193
- - lib/riddl/wrapper/declaration.rb
194
- - lib/riddl/wrapper/layerchecker.rb
195
- - lib/riddl/handlers/plain-type.rb
196
- - lib/riddl/handlers/relaxng.rb
197
- - lib/riddl/handlers/oauth.rb
198
- - lib/riddl/handlers/xmlschema.rb
199
- - lib/riddl/server.rb
200
- - lib/riddl/implementation.rb
201
- - lib/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb
220
+ - lib/riddl/parameter.rb
202
221
  - lib/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb
222
+ - lib/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb
203
223
  - lib/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb
204
224
  - lib/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb
205
- - lib/riddl/utils/erbserve.rb
206
- - lib/riddl/utils/notifications_producer.rb
207
- - lib/riddl/utils/fileserve.rb
208
- - lib/riddl/utils/description.rb
209
- - lib/riddl/utils/properties.rb
210
- - lib/riddl/utils/xsloverlay.rb
211
- - lib/riddl/utils/downloadify.rb
212
- - lib/riddl/parameter.rb
213
- - lib/riddl/error.rb
214
- - lib/riddl/header.rb
215
- - lib/riddl/option.rb
216
- - lib/riddl/constants.rb
217
- - lib/riddl/commonlogger.rb
218
- - lib/riddl/wrapper.rb
219
- - lib/riddl/roles.rb
220
- - lib/riddl/protocols/websocket.rb
221
- - lib/riddl/protocols/http/generator.rb
222
- - lib/riddl/protocols/http/parser.rb
223
- - lib/riddl/protocols/xmpp/generator.rb
224
- - lib/riddl/protocols/xmpp/parser.rb
225
225
  - COPYING
226
226
  - Rakefile
227
227
  - riddl.gemspec
@@ -229,12 +229,12 @@ files:
229
229
  - TODO
230
230
  - AUTHORS
231
231
  - INSTALL
232
- - test/tc_declaration-hybrid.rb
232
+ - test/tc_declaration-local.rb
233
233
  - test/tc_properties.rb
234
234
  - test/tc_helloworld.rb
235
- - test/tc_declaration-distributed.rb
236
235
  - test/tc_producer.rb
237
- - test/tc_declaration-local.rb
236
+ - test/tc_declaration-distributed.rb
237
+ - test/tc_declaration-hybrid.rb
238
238
  - test/smartrunner.rb
239
239
  homepage: http://www.wst.univie.ac.at/communities/riddl/
240
240
  licenses:
@@ -246,26 +246,26 @@ require_paths:
246
246
  - lib
247
247
  required_ruby_version: !ruby/object:Gem::Requirement
248
248
  requirements:
249
- - - '>='
249
+ - - ! '>='
250
250
  - !ruby/object:Gem::Version
251
251
  version: 1.9.3
252
252
  required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  requirements:
254
- - - '>='
254
+ - - ! '>='
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
257
  requirements: []
258
258
  rubyforge_project:
259
- rubygems_version: 2.0.2
259
+ rubygems_version: 2.0.3
260
260
  signing_key:
261
261
  specification_version: 4
262
- summary: 'restful interface description and declaration language: tools and client/server
262
+ summary: ! 'restful interface description and declaration language: tools and client/server
263
263
  libs'
264
264
  test_files:
265
- - test/tc_declaration-hybrid.rb
265
+ - test/tc_declaration-local.rb
266
266
  - test/tc_properties.rb
267
267
  - test/tc_helloworld.rb
268
- - test/tc_declaration-distributed.rb
269
268
  - test/tc_producer.rb
270
- - test/tc_declaration-local.rb
269
+ - test/tc_declaration-distributed.rb
270
+ - test/tc_declaration-hybrid.rb
271
271
  - test/smartrunner.rb