eventq_base 1.7.1 → 1.7.2
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/queue_message.rb +2 -0
- data/lib/eventq_base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ee35ca46dd8265b6f95194da61c9299fc5a098e
|
4
|
+
data.tar.gz: e4d99574a547572b157b00a358abc0c769408ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4999a74dbe15d2489954c625419917ef9c7063c5ab28203c74d2048fecd7dd44b0002b77c08d39279f61d68d7358ce98a2422e67ef45ad27fb99a74c4ca3f11b
|
7
|
+
data.tar.gz: 44ad49255f58de807290e0fc9a2b9f101d3cc95c86e24c439dcdc950afc2a4f18023081d22742e5467ed4c6690eea790035bfd64b6395f5a93826ccf8182c2e9
|
@@ -2,6 +2,7 @@ module EventQ
|
|
2
2
|
class QueueMessage
|
3
3
|
extend ClassKit
|
4
4
|
|
5
|
+
attr_accessor_type :id, type: String
|
5
6
|
attr_accessor_type :retry_attempts, type: Integer
|
6
7
|
attr_accessor_type :type, type: String
|
7
8
|
attr_accessor_type :content
|
@@ -10,6 +11,7 @@ module EventQ
|
|
10
11
|
def initialize
|
11
12
|
@retry_attempts = 0
|
12
13
|
@created = Time.now.to_i
|
14
|
+
@id = SecureRandom.uuid
|
13
15
|
end
|
14
16
|
|
15
17
|
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.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|