pusher-push-notifications 1.2.1 → 1.3.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
  SHA256:
3
- metadata.gz: 6fe6dbd5b9b826625951a290bfa388a362087df759c0929455df20021ef22679
4
- data.tar.gz: 119d2dae3a329176330ce470fd375d1ed40ae559a2bab4940e5971009ee793ec
3
+ metadata.gz: 0c2390e1a4a59aac3d17169ef09419fee58805d3d2f3679d07b93f3079f8b98f
4
+ data.tar.gz: 718bd77ac234dedc626dcb4c21f7a9e445a22e0c4c15279f22b3a7ada844e369
5
5
  SHA512:
6
- metadata.gz: 6df0bbafe1b2aadf7a02c8701b9e8b7cb6507241eda2971a043d25bcecf26524d0d9bf9cf0ca58a64d745f2fbce6fd512c5ca72e652b1713385a43929af58a99
7
- data.tar.gz: 6830c408c68b69c69dec7bb1ce21ae2e070b39fd863a64b3f3b8c02ac3a0e301164ff12e634250252d1106a19af0a0c501fbf23cd693b8f516acf8522084daeb
6
+ metadata.gz: 05b38f814043989418b15f64cd51c4181a9f9baf7f19cb7110fc5cd511056e03eedcce1366612a9dda477cfcdb82bba50af03ab757c69f90269ae883d4bf1807
7
+ data.tar.gz: '08631394abc01bcd223e371bc81ae939ae23ce97f0fb621a1cb6d41dca9779f4c9e91e4639a3b9493bc3ee0eb81de53f2a8a7552ea21bda5e4f3826eaf578cd5'
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [Unreleased](https://github.com/pusher/push-notifications-ruby/compare/v1.2.1...HEAD)
8
+ ## [Unreleased](https://github.com/pusher/push-notifications-ruby/compare/v1.3.0...HEAD)
9
+
10
+ ## [1.3.0](https://github.com/pusher/push-notifications-ruby/compare/v1.2.1...v1.3.0) - 2020-07-01
11
+
12
+ Added
13
+
14
+ Support for multiple instances of Beams clients to exist for more advanced use cases.
9
15
 
10
16
  ## [1.2.1](https://github.com/pusher/push-notifications-ruby/compare/v1.2.0...v1.2.1) - 2020-06-26
11
17
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pusher-push-notifications (1.2.1)
4
+ pusher-push-notifications (1.3.0)
5
5
  caze (~> 0)
6
6
  jwt (~> 2.1, >= 2.1.0)
7
7
  rest-client (~> 2.0, >= 2.0.2)
data/README.md CHANGED
@@ -30,7 +30,9 @@ Pusher::PushNotifications.configure do |config|
30
30
  end
31
31
  ```
32
32
 
33
- Where `instance_id` and `secret_key` are the values of the instance you created in the Pusher Beams dashboard
33
+ Where `instance_id` and `secret_key` are the values of the instance you created in the Pusher Beams dashboard.
34
+
35
+ If multiple clients are needed, store the reference that is returned from the `configure` method.
34
36
 
35
37
  ## Usage
36
38
 
@@ -28,7 +28,9 @@ module Pusher
28
28
 
29
29
  def configure
30
30
  yield(self)
31
- self
31
+ # returning a duplicate of `self` to allow multiple clients to be
32
+ # configured without needing to reconfigure the singleton instance
33
+ dup
32
34
  end
33
35
 
34
36
  def instance_id=(instance_id)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pusher
4
4
  module PushNotifications
5
- VERSION = '1.2.1'
5
+ VERSION = '1.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pusher-push-notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Medeiros
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-06-26 00:00:00.000000000 Z
12
+ date: 2020-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: caze