pusher-push-notifications 1.2.0 → 1.2.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: b5b9a110c52cf58f3d233cd0ccc9b26a648cd39f67bb933df20e27e3da208227
4
- data.tar.gz: 4db84528a1f21ee318dcd2337a62f07bfe221b77a453b2caf20703a3258ebf75
3
+ metadata.gz: 6fe6dbd5b9b826625951a290bfa388a362087df759c0929455df20021ef22679
4
+ data.tar.gz: 119d2dae3a329176330ce470fd375d1ed40ae559a2bab4940e5971009ee793ec
5
5
  SHA512:
6
- metadata.gz: 8b7874c65c716bd8cec5d99b27e9f1a6c6ee4e681ff63faa0d108c44489468dcbb7e8c2804c4d2ce3e5db67c4ba9b5a2bdb5db2ba8764acb59793020829deb15
7
- data.tar.gz: 4893516085007e70da4f0b6e1401e5202615a45ca6fa0054756dd5fb5b22e31d95b110ae3e4c83f43f4a9bcc33e18e61651dbf5cbe4260e42f9677adeb4c78c6
6
+ metadata.gz: 6df0bbafe1b2aadf7a02c8701b9e8b7cb6507241eda2971a043d25bcecf26524d0d9bf9cf0ca58a64d745f2fbce6fd512c5ca72e652b1713385a43929af58a99
7
+ data.tar.gz: 6830c408c68b69c69dec7bb1ce21ae2e070b39fd863a64b3f3b8c02ac3a0e301164ff12e634250252d1106a19af0a0c501fbf23cd693b8f516acf8522084daeb
@@ -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.0...HEAD)
8
+ ## [Unreleased](https://github.com/pusher/push-notifications-ruby/compare/v1.2.1...HEAD)
9
+
10
+ ## [1.2.1](https://github.com/pusher/push-notifications-ruby/compare/v1.2.0...v1.2.1) - 2020-06-26
11
+
12
+ Fixed
13
+
14
+ Endpoint also allows the scheme to be configured to enable for local development.
9
15
 
10
16
  ## [1.2.0](https://github.com/pusher/push-notifications-ruby/compare/v1.1.0...v1.2.0) - 2020-06-25
11
17
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pusher-push-notifications (1.2.0)
4
+ pusher-push-notifications (1.2.1)
5
5
  caze (~> 0)
6
6
  jwt (~> 2.1, >= 2.1.0)
7
7
  rest-client (~> 2.0, >= 2.0.2)
@@ -56,7 +56,7 @@ module Pusher
56
56
  def endpoint
57
57
  return @endpoint unless @endpoint.nil?
58
58
 
59
- "#{@instance_id}.pushnotifications.pusher.com"
59
+ "https://#{@instance_id}.pushnotifications.pusher.com"
60
60
  end
61
61
  end
62
62
  end
@@ -57,13 +57,11 @@ module Pusher
57
57
  def_delegators :@config, :instance_id, :secret_key, :endpoint
58
58
 
59
59
  def build_publish_url(resource)
60
- "https://#{endpoint}/" \
61
- "publish_api/v1/instances/#{instance_id}/#{resource}"
60
+ "#{endpoint}/publish_api/v1/instances/#{instance_id}/#{resource}"
62
61
  end
63
62
 
64
63
  def build_users_url(user)
65
- "https://#{endpoint}/" \
66
- "customer_api/v1/instances/#{instance_id}/users/#{user}"
64
+ "#{endpoint}/customer_api/v1/instances/#{instance_id}/users/#{user}"
67
65
  end
68
66
 
69
67
  def headers
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pusher
4
4
  module PushNotifications
5
- VERSION = '1.2.0'
5
+ VERSION = '1.2.1'
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.0
4
+ version: 1.2.1
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-25 00:00:00.000000000 Z
12
+ date: 2020-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: caze