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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7bc52253b5e75c043fcdb12327c7ebdda89d225
4
- data.tar.gz: 80c4aec87566f6a76c0968fd1bc928764408170a
3
+ metadata.gz: 808fcb4833082c1526bb8e74e7768e742c6dd221
4
+ data.tar.gz: 4a1a213302c4829c7012705a89e07ca5f198cadb
5
5
  SHA512:
6
- metadata.gz: 98ba8648aba395b3cf0d0e2ee8901315d410fc0e201a6a6d194fcd2cf895e96ee6011388aca8d9d6c4400b6ba1c4cc41d1754cda3f7a2cd8fd777fdff74e76f9
7
- data.tar.gz: 06072ad359b209d8e31d4f3b5ce420ae8356e979807b7563324e58ffc1ed0dd30ded3aa42f0e6bf0ed2758a20912e6c034829505c234b42e7f38af0f0a8ca868
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
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.16.0"
2
+ VERSION = "1.17.0"
3
3
  end
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.16.0
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-01-26 00:00:00.000000000 Z
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
- - vaughanbritton@gmail.com
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/vaughanbrittonsage/eventq
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.