zyre 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +7 -0
- data/lib/zyre.rb +1 -2
- data/lib/zyre/event/leader.rb +18 -0
- metadata +4 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f9955065b8a5747d69568a305961f021969233ef249a1159ec419f81de9cf10
|
4
|
+
data.tar.gz: 382479e094fe5beb93ec78f1a3b1e2cc7dc9bf2ad6a1516fe6828a946942223e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd9a759228bc18f5192066b1638dbc529b615e829ffd143001d9611c6e9e10ce1fc376fa2d10ad3bf6515a209d4724af4e82dc823f404e1991433c235a51f46
|
7
|
+
data.tar.gz: 6601536d2ede57eb152b7908839435334d936cd3cd116e4ca1805aed97fe65724c927f3252950435ff0ac094dd6e4cd017a4cb7855a3fb5a3801178a002f6521
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
data/lib/zyre.rb
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'zyre/event' unless defined?( Zyre::Event )
|
5
|
+
|
6
|
+
|
7
|
+
class Zyre::Event::Leader < Zyre::Event
|
8
|
+
|
9
|
+
### Provide the details of the inspect message.
|
10
|
+
def inspect_details
|
11
|
+
return "%s (%s) has been elected leader of «%s»" % [
|
12
|
+
self.peer_uuid,
|
13
|
+
self.peer_name,
|
14
|
+
self.group
|
15
|
+
]
|
16
|
+
end
|
17
|
+
|
18
|
+
end # class Zyre::Event::Leader
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zyre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
MCh97sQ/Z/MOusb5+QddBmB+k8EicXyGNl4b5L4XpL7fIQu+Y96TB3JEJlShxFD9
|
34
34
|
k9FjI4d9EP54gS/4
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date: 2021-
|
36
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: loggability
|
@@ -182,6 +182,7 @@ files:
|
|
182
182
|
- lib/zyre/event/evasive.rb
|
183
183
|
- lib/zyre/event/exit.rb
|
184
184
|
- lib/zyre/event/join.rb
|
185
|
+
- lib/zyre/event/leader.rb
|
185
186
|
- lib/zyre/event/leave.rb
|
186
187
|
- lib/zyre/event/shout.rb
|
187
188
|
- lib/zyre/event/silent.rb
|
@@ -221,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
222
|
- !ruby/object:Gem::Version
|
222
223
|
version: '0'
|
223
224
|
requirements: []
|
224
|
-
rubygems_version: 3.2.
|
225
|
+
rubygems_version: 3.2.3
|
225
226
|
signing_key:
|
226
227
|
specification_version: 4
|
227
228
|
summary: A ZRE library for Ruby.
|
metadata.gz.sig
CHANGED
Binary file
|