eventq_base 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_base/message_args.rb +6 -2
- data/lib/eventq_base/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 808fcb4833082c1526bb8e74e7768e742c6dd221
|
4
|
+
data.tar.gz: 4a1a213302c4829c7012705a89e07ca5f198cadb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e84c1be86e883cc67b2e4bb0c58b09e4e42b5251f2f25c0ee32e00cd7e1af77a11a0e6f4d2968a5a5d33071395bd08e74c75bbeedbc671ac2a39d16429af7325
|
7
|
+
data.tar.gz: 3a53797115f7e068a642e5ea90d532405e1eff1b6c8acff0c79f7e76400f748dd40fe2417c75193b91ec9d5c107a277acbb5117744daff9a512abd2bd61bf9ff
|
@@ -6,14 +6,18 @@ module EventQ
|
|
6
6
|
attr_accessor :abort
|
7
7
|
attr_accessor :drop
|
8
8
|
attr_reader :context
|
9
|
+
attr_reader :id
|
10
|
+
attr_reader :sent
|
9
11
|
|
10
|
-
def initialize(type:, retry_attempts:, context: {}, content_type:)
|
12
|
+
def initialize(type:, retry_attempts:, context: {}, content_type:, id: nil, sent: nil)
|
11
13
|
@type = type
|
12
14
|
@retry_attempts = retry_attempts
|
13
15
|
@abort = false
|
14
16
|
@drop = false
|
15
17
|
@context = context
|
16
18
|
@content_type = content_type
|
19
|
+
@id = id
|
20
|
+
@sent = sent
|
17
21
|
end
|
18
22
|
end
|
19
|
-
end
|
23
|
+
end
|
data/lib/eventq_base/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventq_base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
description: This gem contains the base classes and contracts required by any eventq
|
112
112
|
implementations.
|
113
113
|
email:
|
114
|
-
-
|
114
|
+
- vaughan.britton@sage.com
|
115
115
|
executables: []
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
@@ -154,7 +154,7 @@ files:
|
|
154
154
|
- lib/eventq_base/subscription_manager_contract.rb
|
155
155
|
- lib/eventq_base/version.rb
|
156
156
|
- lib/eventq_base/worker_id.rb
|
157
|
-
homepage: https://github.com/
|
157
|
+
homepage: https://github.com/sage/eventq
|
158
158
|
licenses:
|
159
159
|
- MIT
|
160
160
|
metadata: {}
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
176
|
rubyforge_project:
|
177
|
-
rubygems_version: 2.5.1
|
177
|
+
rubygems_version: 2.5.2.1
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: This gem contains the base classes and contracts required by any eventq implementations.
|