riddl 0.100.8 → 0.100.9

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
  SHA256:
3
- metadata.gz: 51374489eb136360002005e40fcbc95fb39c76b0ed785a6140aedc5258e01538
4
- data.tar.gz: 4771ee6bbb1ab85645bdaf3748ca67c3a5520cb6e92c46289b1373f6463c876a
3
+ metadata.gz: 4a5e72c37777b912780be93f9aeb2a0947bbce39dc75e2bb301638d4260092e2
4
+ data.tar.gz: c25f2908e3905628b16d46426aa9b8e13ea8ae2a80f9c4b3c6012bea9476d0cd
5
5
  SHA512:
6
- metadata.gz: d3f3feb3c42040b91ec54052d9b00ba516af3829526a927fca71c2a4bd74ddf0aa99627029b98ca10ac18b32322c70ea7eea655e1dcf0eb98b0f79f387ba94f4
7
- data.tar.gz: f35203debbd526246e2ccca14f277045031117f9169ad915f4e5d84a283188d615a9f1764f59f4cd250f1e7a0268a16a0248e7bf1250474adfbf799c5392281f
6
+ metadata.gz: 4a5a4cc6d523717465ef5151aa85a62291160a0990e0f25d2ed88a714adb758cb070ea163426cc1fa418d2047e2bc8603cc102029362eb2ef87f8d9e3140217e
7
+ data.tar.gz: 9c2ca8a09dc302ac621734cded3397c068766d8fc13994d8abba43e62ecbbb9a4829977aafcab008828313030bfc311ddf23639bf0eee1ca0cd1b3d0597a22d3
data/AUTHORS CHANGED
@@ -1,3 +1,4 @@
1
1
  Jürgen Mangler <juergen.mangler@gmail.com>
2
2
  Florian Stertz <florian.stertz@gmail.com>
3
3
  Sonja Biedermann <s.bdrmnn@gmail.com>
4
+ Matthias Ehrendorfer <matthias.ehrendorfer@gmail.com>
@@ -0,0 +1 @@
1
+ ../../ns/common-patterns/properties/1.0/properties.schema.xsl
@@ -14,10 +14,10 @@
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
17
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
17
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/2.0">
18
18
  <attributes type="hash" modifiable="true"/>
19
19
  <handlerwrapper type="value" modifiable="true">
20
- <param name="pattern">[A-Z][a-zA-Z]*</param>
20
+ <restrict>[A-Z][a-zA-Z]*</restrict>
21
21
  </handlerwrapper>
22
22
  <dsl type="value" modifiable="false" mutable="false"/>
23
23
  <dslx type="xml" modifiable="false" mutable="false"/>
@@ -56,6 +56,7 @@
56
56
  </endpoints>
57
57
  </transformation>
58
58
  <state type="state" modifiable="true">
59
+ <attribute name='changed'/>
59
60
  <ready>
60
61
  <running putable="true"/>
61
62
  <ready putable="true"/>
@@ -84,11 +85,11 @@
84
85
  <finished/>
85
86
  </state>
86
87
  <status type="value" modifiable="false" mutable="false">
87
- <attribute name='id' type="integer"/>
88
+ <attribute name='id'/>
88
89
  </status>
89
90
  <positions type="hash" modifiable="true">
90
- <attribute name='passthrough' type="string"/>
91
- <param name="pattern">(at|after)</param>
91
+ <attribute name='passthrough'/>
92
+ <restrict>(at|after)</restrict>
92
93
  </positions>
93
94
  <dataelements type="hash" modifiable="true"/>
94
95
  <endpoints type="hash" modifiable="true"/>
@@ -48,7 +48,8 @@ module Riddl
48
48
  def dispatch(data,cross_site_xhr)
49
49
  headers = {
50
50
  'Content-Type' => 'text/event-stream',
51
- 'Cache-Control' => 'no-cache'
51
+ 'Cache-Control' => 'no-cache',
52
+ 'X-Accel-Buffering' => 'no'
52
53
  }
53
54
  if @env['HTTP_ORIGIN'] && cross_site_xhr
54
55
  headers['Access-Control-Allow-Origin'] = '*'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.100.8"
3
+ s.version = "0.100.9"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
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.100.8
4
+ version: 0.100.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen 'eTM' Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2019-11-14 00:00:00.000000000 Z
13
+ date: 2020-02-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: daemonite
@@ -389,6 +389,7 @@ files:
389
389
  - examples/pass-test/structure.xml
390
390
  - examples/properties/description.conf
391
391
  - examples/properties/description.rb
392
+ - examples/properties/properties.schema.xsl
392
393
  - examples/properties/properties.xml
393
394
  - examples/properties/server.properties.schema
394
395
  - examples/properties/server.properties.xml