riddl 0.105 → 0.107
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/sse/description.xml +1 -1
- data/lib/ruby/riddl/client.rb +1 -0
- data/lib/ruby/riddl/ns/common-patterns/notifications-consumer/2.0/consumer.xml +4 -1
- data/lib/ruby/riddl/protocols/sse.rb +2 -2
- data/ns/common-patterns/notifications-consumer/2.0/consumer.xml +4 -1
- data/riddl.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9014ecb35737c5bbfbcc674048e91b36777c36079cd39250e315df00202fb79
|
4
|
+
data.tar.gz: aedc7395bd249211301683be78928f9c643c67f74a144e811892ccf5fb0a6a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42fa22296d28be1e6ede7adf5f386df5eb465516e7bfd0897a54e15891f9b524294f7f2b5283fc8bbb242dacb6916364bc87d96e143f1ac13d672d15e0d207bd
|
7
|
+
data.tar.gz: 5ee9ba1fd8f34c624bdca9f6e868f5ae682baffc782a9577e4cf65cd146d29e93b7122f3a0c81eef5ebd5d506ba834f0c407b14b1581509f982d522407ff84c4
|
data/lib/ruby/riddl/client.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
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
3
|
<message name="event">
|
4
|
-
<parameter name="
|
4
|
+
<parameter name="key" type="string"/>
|
5
5
|
<parameter name="topic" type="string">
|
6
6
|
<param name="pattern">[\w_/]+</param>
|
7
7
|
</parameter>
|
@@ -12,6 +12,9 @@
|
|
12
12
|
<parameter name="notification" type="string"/>
|
13
13
|
<parameter name="notification" mimetype="application/json"/>
|
14
14
|
</choice>
|
15
|
+
<optional>
|
16
|
+
<parameter name="fingerprint-with-consumer-secret" type="string"/>
|
17
|
+
</optional>
|
15
18
|
</message>
|
16
19
|
|
17
20
|
<message name="vote">
|
@@ -33,8 +33,8 @@ module Riddl
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def trigger_on_open();
|
37
|
-
def trigger_on_close;
|
36
|
+
def trigger_on_open(); @closed = false; @app.onopen; end
|
37
|
+
def trigger_on_close; @closed = true; @app.onclose; end
|
38
38
|
|
39
39
|
def initialize(app, env)
|
40
40
|
@app = app
|
@@ -1,7 +1,7 @@
|
|
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
3
|
<message name="event">
|
4
|
-
<parameter name="
|
4
|
+
<parameter name="key" type="string"/>
|
5
5
|
<parameter name="topic" type="string">
|
6
6
|
<param name="pattern">[\w_/]+</param>
|
7
7
|
</parameter>
|
@@ -12,6 +12,9 @@
|
|
12
12
|
<parameter name="notification" type="string"/>
|
13
13
|
<parameter name="notification" mimetype="application/json"/>
|
14
14
|
</choice>
|
15
|
+
<optional>
|
16
|
+
<parameter name="fingerprint-with-consumer-secret" type="string"/>
|
17
|
+
</optional>
|
15
18
|
</message>
|
16
19
|
|
17
20
|
<message name="vote">
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.107'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen 'eTM' Mangler
|
8
8
|
- Florian 'Solo' Stertz
|
9
9
|
- Sonja Biedermann
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-10-
|
13
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: daemonite
|
@@ -533,7 +533,7 @@ homepage: http://www.wst.univie.ac.at/communities/riddl/
|
|
533
533
|
licenses:
|
534
534
|
- LGPL-3.0
|
535
535
|
metadata: {}
|
536
|
-
post_install_message:
|
536
|
+
post_install_message:
|
537
537
|
rdoc_options: []
|
538
538
|
require_paths:
|
539
539
|
- lib/ruby
|
@@ -548,8 +548,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
548
548
|
- !ruby/object:Gem::Version
|
549
549
|
version: '0'
|
550
550
|
requirements: []
|
551
|
-
rubygems_version: 3.1.
|
552
|
-
signing_key:
|
551
|
+
rubygems_version: 3.1.4
|
552
|
+
signing_key:
|
553
553
|
specification_version: 4
|
554
554
|
summary: 'restful interface description and declaration language: tools and client/server
|
555
555
|
libs'
|