pubsub_client 1.4.0 → 1.4.1

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: fcd27cf1ed4e02b4b8bae0e9b2f5227d970f158196b68d903cbfa2b031c2b1eb
4
- data.tar.gz: 415e17dfb4465a44ad9ffe3aeabe8b116a8f47b79f77e3a408d67da8c44409fa
3
+ metadata.gz: 82ac8b7b0bd3910b7e69b2f63bb08bffae388afe1b02a39bd6e3e8b05e35d76b
4
+ data.tar.gz: 98a3e736fb8e58cb13e9daf6e0ffd15e2507bef1156fe5da90a61be0979a8314
5
5
  SHA512:
6
- metadata.gz: bacbf023017f2ba125de0be70c2040e697c5c7927f24569f6e5af043d78eefc0eee813af9bfaeadbd4fde3213554bbe135ef011a3343408552b69ea217aa4bac
7
- data.tar.gz: 9a84a7a5c32ba17ea5523e3b0831935dc162d89a0cc7dcd89d1a3863951796dee63fa59639d583de72965d75e42047ca0ec275b1dde3541ae4b40d818e1e8359
6
+ metadata.gz: e22163305a0f11e5f80326964df992ccd8b56235a434dd0ed7fe20ac81340bcb69cad77cafa4782b35017fec54b6897112cfa0feade5a891fef0aad88496ccad
7
+ data.tar.gz: 8e6bbeadb5b6c604fd984990a317ec8faf630daa0b73605aeb4873686b461c6f2fefea5debddbf51ba42269bcf9e3b9e166e9535d214ea33c7248742034d38ac
@@ -1,3 +1,7 @@
1
+ Version 1.4.1 2020-10-26
2
+ ------------------------
3
+ d28d99f Pass published attributes all the way through the client
4
+
1
5
  Version 1.4.0 2020-10-26
2
6
  ------------------------
3
7
  60b8403 Publish attributes
@@ -20,11 +20,11 @@ module PubsubClient
20
20
 
21
21
  # @param message [String] The message to publish.
22
22
  # @param topic [String] The name of the topic to publish to.
23
- def publish(message, topic, &block)
23
+ def publish(message, topic, attributes = {}, &block)
24
24
  ensure_credentials!
25
25
 
26
26
  @publisher_factory ||= PublisherFactory.new
27
- @publisher_factory.build(topic).publish(message, &block)
27
+ @publisher_factory.build(topic).publish(message, attributes, &block)
28
28
  end
29
29
 
30
30
  # @param subscription [String] - The name of the topic to subscribe to.
@@ -1,3 +1,3 @@
1
1
  module PubsubClient
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubsub_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apartment List Platforms