eventq_base 1.13.1 → 1.14.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: 152871db4d12283066b36cc54fb44d3c70fc13ba
4
- data.tar.gz: ca4f03dec300daeb59bdef3f607e9cf7470c076a
3
+ metadata.gz: b3e5c917ca2787465de975d96928506a6a16d5ff
4
+ data.tar.gz: 0bfb9718b6c9812070074d7c571b82293a5427ec
5
5
  SHA512:
6
- metadata.gz: 79bfe0be6ff8b05bd1d8ef9fbc862e7b125bbd1795f1f34d7ec9da8074a565c83d5cd57c51f2c074b275b7add61c4e3b1542c468afd235cf40e025c83643bd89
7
- data.tar.gz: bf3d47c9da547fa5f4443fb44be510f052a2553b3d62cfb227758023428a52fbbd67374bdc13a85b405c35ba6f6b759b8e4e96333e7280d1328059082d7ca7e1
6
+ metadata.gz: 7427090df25a14be11811506a4a278d9130ab08b94ec7ff973257a5784d3f1f9f04a09929f8f3863304f00123f7e91099bc7e549cbd9619ec57f25b81f9a9404
7
+ data.tar.gz: 205fe9de91d06cb66b4e249bf8ccf976317c8c4b154dd00127cf4db14748caeb5e69863b5a175b6371f331c06387835c3b776d5ba3de2aa6b500385efaedb651
@@ -1,17 +1,19 @@
1
1
  module EventQ
2
2
  class MessageArgs
3
3
  attr_reader :type
4
+ attr_reader :content_type
4
5
  attr_reader :retry_attempts
5
6
  attr_accessor :abort
6
7
  attr_accessor :drop
7
8
  attr_reader :context
8
9
 
9
- def initialize(type, retry_attempts, context = {})
10
+ def initialize(type:, retry_attempts:, context: {}, content_type:)
10
11
  @type = type
11
12
  @retry_attempts = retry_attempts
12
13
  @abort = false
13
14
  @drop = false
14
15
  @context = context
16
+ @content_type = content_type
15
17
  end
16
18
  end
17
19
  end
@@ -6,6 +6,7 @@ module EventQ
6
6
  attr_accessor_type :retry_attempts, type: Integer
7
7
  attr_accessor_type :type, type: String
8
8
  attr_accessor_type :content
9
+ attr_accessor_type :content_type, type: String
9
10
  attr_accessor_type :created, type: Time
10
11
  attr_accessor_type :signature, type: String
11
12
  attr_accessor_type :context, type: Hash
@@ -1,3 +1,3 @@
1
1
  module EventqBase
2
- VERSION = "1.13.1"
2
+ VERSION = "1.14.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage