aws-broker 0.0.11 → 0.0.13

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
  SHA256:
3
- metadata.gz: a88b2c21b2a20a23d03a1badc49a10db16b588d40e1c14dfc28b46a3b4e5efa1
4
- data.tar.gz: e1ec7ecdf127d7e4c6517905c74197707ee973704497a1d2105494ac59bcd737
3
+ metadata.gz: bccfc4b99bb30da596270d8b098d6895a71fb3f626385fe27b88e9535b0f114b
4
+ data.tar.gz: 6b487c85794683eac4b2f1760e166f274ff0f088dd754801eb490b29f2a48a2b
5
5
  SHA512:
6
- metadata.gz: 68528a6ca4ed9d966a539ebded2b49627353d590282f4bb493593497054a217c6f37b1a4d9f8c52e1822016a1e121d75de752ac6d356fbe24db29bebd4343be9
7
- data.tar.gz: 695e1931bd3f5457a6b4fc4ffe9d13d9b7d8ab0ad87a56bdbc84cbe56af847c5488954fbc4d3400a08e9294652fcadc2dea5a5fe860684ee223c551908870873
6
+ metadata.gz: e34c43f32150c3c959ae400c15cba4d9a8b6f78c5c7a0bae8a23c34e2f3cc9b7c6cb0e8d05185b36bacdb6a2b74cb37cc85cd3cbc0dd9bd8dd554affd42f68a8
7
+ data.tar.gz: 468677cdd6a656ab978edebc3b8117e8274e2c8d99464b6f27561175ee1b687e40a457d23b0919ef8872d837efe9c8577bcc8e39e55607f1f6a84754b7423afa
@@ -14,8 +14,9 @@ RSpec::Matchers.define :publish_event do |event|
14
14
  allow(object).to receive(:id) { 0 }
15
15
  expect(Broker).to receive(:publish).with(
16
16
  klass.publish_topic,
17
- event: event,
18
- id: 0
17
+ event: event,
18
+ id: 0,
19
+ attributes: kind_of(Hash)
19
20
  )
20
21
  object.send(filter)
21
22
  true
@@ -13,8 +13,9 @@ module Aws
13
13
  define_method method_name do
14
14
  Broker.publish(
15
15
  self.class.publish_topic,
16
- event: event,
17
- id: id
16
+ event: event,
17
+ id: id,
18
+ attributes: attributes
18
19
  )
19
20
  end
20
21
  after_commit method_name, on: event
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eng @ Thanx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sns
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.7.3
78
+ rubygems_version: 2.7.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS Broker