riddl 0.99.205 → 0.99.206

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e905d8796b49db8ec65e0df05d3e9187266e7021
4
- data.tar.gz: d7064e4dad70e3ec6b80eb8c862baa09ab5a1173
3
+ metadata.gz: 0bc2754e57f68d7d2df9140742aa147ddb4d1795
4
+ data.tar.gz: 821d24cae3882ba94bcf79bb0c22e1ed7768d213
5
5
  SHA512:
6
- metadata.gz: 28a3540e85720544f5c2ac6d60af3d4ad6d7de8f1f1027e1feb495d9a4b6668e9ffc86c2d193f6c79b24ba862dfdcb18e949c3edaad94d4d786fbb44216bdb3a
7
- data.tar.gz: bc4af41d115524c8f1fb17d3c9165f35c6750382ae30280a123edb0bad83d4e91f547b9201b624b37d0e160a07f991bafa1883def0cfe7625033200dca19d04b
6
+ metadata.gz: 782a9b1a7047b6914fed6311e2bda94bc0cbc26f72ca117fd6d4db72bc3844d753c029cdee346f8fd289758330c2937c60c855e2059bfaa97d3b989417c02659
7
+ data.tar.gz: 07e8655219b68b82f4561c297bf6314fddbacc06e5a2055aa1246bf96b48f65e0da1aebd429437fb33305083139815694d9cbda7d13b3cc60413f827db47cd54
@@ -129,13 +129,15 @@
129
129
  oprs.each(function(k,ele){
130
130
  var sum = docChildren(null,'documentation',ele).attr('summary');
131
131
  var details = docChildren(null,'documentation',ele).text();
132
+ var example = docChildren(null,'example',ele);
133
+ var ex = null;
134
+
132
135
  var tin = $(ele).attr('in');
133
136
  var tout = $(ele).attr('out');
134
137
  var whatl = $(ele).prop('tagName');
135
138
  var whatd = tin == "*" ? '' : '( ' + tin + ' )';
136
139
  whatd += tout ? ' : ' + tout : '';
137
140
 
138
- var ex = null;
139
141
  var tinmess = "";
140
142
  if (tin && tin != "*") {
141
143
  $('description > message[name="' + tin + '"]',data).each(function(k,mess){
@@ -147,7 +149,8 @@
147
149
  });
148
150
  });
149
151
  }
150
- if ($('example',ele).length > 0) { ex = $('example',ele).text(); }
152
+ if (example.length > 0) { ex = example.text(); }
153
+
151
154
  var toutmess = "";
152
155
  if (tout && tout != "*") {
153
156
  $('description > message[name="' + tout + '"]',data).each(function(k,mess){
@@ -26,7 +26,7 @@ module Riddl
26
26
  hb.find("//text()").delete_all!
27
27
  hb.find("//des:header/*").delete_all!
28
28
  hb.find("//des:parameter/@handler").delete_all!
29
- hb.find("//des:parameter/@mimetype").each { |e| e.value = '' }
29
+ # hb.find("//des:parameter/@mimetype").each { |e| e.value = '' }
30
30
  hb.root.namespaces.delete_all!
31
31
  @hash_base = hb
32
32
  @hash = hb.serialize.hash
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.205"
3
+ s.version = "0.99.206"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.205
4
+ version: 0.99.206
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: 2016-04-12 00:00:00.000000000 Z
11
+ date: 2016-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart