evt-messaging 0.14.0.0 → 0.15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/messaging/write/substitute.rb +11 -1
- metadata +2 -3
- data/lib/loader.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c18f15a87a0f247b6276782c182b30486470297
|
4
|
+
data.tar.gz: 93a4fd65e81b3f41c7c270075362a3238188005e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 500f7174f077e22b4d29da1569ecb4ebb011124b8ff07e642040b62c95c274caa01ccc0e577bd108b983bc5afe2dc442701e2710e96ec55d68719ff9c33bfa1a
|
7
|
+
data.tar.gz: 7969c42f65aaa75de28d48cd6fc2f6dc0133c3a9d1f751c4c0095bf4dc23d05253bec92463bd3b2d229f5ddbe24160b9495029b9155e4909f34a120add84c271
|
@@ -109,7 +109,6 @@ module Messaging
|
|
109
109
|
|
110
110
|
messages.first
|
111
111
|
end
|
112
|
-
alias :message :one_message_write
|
113
112
|
alias :one_message :one_message_write
|
114
113
|
|
115
114
|
def message_replies(&blk)
|
@@ -122,6 +121,17 @@ module Messaging
|
|
122
121
|
end.map { |record| record.data.message }
|
123
122
|
end
|
124
123
|
alias :replies :message_replies
|
124
|
+
|
125
|
+
def one_message_reply(&blk)
|
126
|
+
messages = message_replies(&blk)
|
127
|
+
|
128
|
+
if messages.length > 1
|
129
|
+
raise Error, "More than one matching message reply was written"
|
130
|
+
end
|
131
|
+
|
132
|
+
messages.first
|
133
|
+
end
|
134
|
+
alias :one_reply :one_message_reply
|
125
135
|
end
|
126
136
|
end
|
127
137
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
@@ -44,7 +44,6 @@ executables: []
|
|
44
44
|
extensions: []
|
45
45
|
extra_rdoc_files: []
|
46
46
|
files:
|
47
|
-
- lib/loader.rb
|
48
47
|
- lib/messaging.rb
|
49
48
|
- lib/messaging/category.rb
|
50
49
|
- lib/messaging/controls.rb
|
@@ -89,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
88
|
version: '0'
|
90
89
|
requirements: []
|
91
90
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.6.
|
91
|
+
rubygems_version: 2.6.8
|
93
92
|
signing_key:
|
94
93
|
specification_version: 4
|
95
94
|
summary: Messaging primitives for Eventide
|
data/lib/loader.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
lib/messaging.rb
|