pusher-push-notifications 0.3.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +6 -6
- data/README.md +9 -9
- data/lib/pusher/push_notifications/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a5743e409a77439ec93c6f2efbab6c36fd70ba8c
|
4
|
+
data.tar.gz: be4eb6f2ebbac73b421749c3fa6348a75b444fb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fed75d5d1582553fc451ca1a1dd52ba91a5c66f98b0b6fde9dc0d221a8c926d16ff951a3357df247f53bba126265b014bb6acc6fcb0c47e22d89e41801c4f5cd
|
7
|
+
data.tar.gz: 8baf8200d1ae31939e26dde92142b5b4b388ddf8ebdb17bba487cb5da5e691d392c9e3d978c7f03f45549a520a1d08e02f92618bb0145e5ee0ff7d53eb3b534a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased](https://github.com/pusher/push-notifications-ruby/compare/1.0.0...HEAD)
|
9
|
+
|
10
|
+
## [1.0.0](https://github.com/pusher/push-notifications-ruby/compare/v0.3.0...1.0.0) - 2018-07-31
|
11
|
+
|
12
|
+
- General availability (GA) release.
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pusher-push-notifications (0.
|
4
|
+
pusher-push-notifications (1.0.0)
|
5
5
|
caze
|
6
6
|
rest-client
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (5.
|
11
|
+
activesupport (5.2.0)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (
|
13
|
+
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
15
15
|
tzinfo (~> 1.1)
|
16
16
|
addressable (2.5.2)
|
@@ -35,13 +35,13 @@ GEM
|
|
35
35
|
safe_yaml (~> 1.0.0)
|
36
36
|
diff-lcs (1.3)
|
37
37
|
docile (1.1.5)
|
38
|
-
domain_name (0.5.
|
38
|
+
domain_name (0.5.20180417)
|
39
39
|
unf (>= 0.0.5, < 1.0.0)
|
40
40
|
dotenv (2.2.1)
|
41
41
|
hashdiff (0.3.7)
|
42
42
|
http-cookie (1.0.3)
|
43
43
|
domain_name (~> 0.5)
|
44
|
-
i18n (0.
|
44
|
+
i18n (1.0.1)
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
46
|
json (2.1.0)
|
47
47
|
method_source (0.9.0)
|
@@ -129,4 +129,4 @@ DEPENDENCIES
|
|
129
129
|
webmock (~> 3.0, >= 3.0.1)
|
130
130
|
|
131
131
|
BUNDLED WITH
|
132
|
-
1.16.
|
132
|
+
1.16.2
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
# Pusher
|
1
|
+
# Pusher Beams Ruby Server SDK
|
2
2
|
|
3
3
|
[](https://travis-ci.org/pusher/push-notifications-ruby)
|
4
4
|
[](https://coveralls.io/github/pusher/push-notifications-ruby?branch=update-sdk)
|
5
5
|
|
6
|
-
|
6
|
+
Pusher Beams using the Pusher system.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -28,7 +28,7 @@ Pusher::PushNotifications.configure do |config|
|
|
28
28
|
end
|
29
29
|
```
|
30
30
|
|
31
|
-
Where `instance_id` and `secret_key` are the values of the instance you created in the
|
31
|
+
Where `instance_id` and `secret_key` are the values of the instance you created in the Pusher Beams dashboard
|
32
32
|
|
33
33
|
## Usage
|
34
34
|
|
@@ -63,12 +63,12 @@ The return of this call is a ruby struct containing the http status code (`statu
|
|
63
63
|
|
64
64
|
The errors statuses can be:
|
65
65
|
|
66
|
-
HTTP Status | Reason
|
67
|
-
|
68
|
-
401
|
69
|
-
400
|
70
|
-
404
|
71
|
-
500
|
66
|
+
| HTTP Status | Reason |
|
67
|
+
| ----------- | --------------------------------------------------------------------------------------------- |
|
68
|
+
| 401 | Incorrect secret key |
|
69
|
+
| 400 | Payload too big (10Kb limit), Payload invalid, Payload in a wrong schema, instance_id missing |
|
70
|
+
| 404 | Instance not found |
|
71
|
+
| 500 | Internal server error |
|
72
72
|
|
73
73
|
## Development
|
74
74
|
|
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: 0.
|
4
|
+
version: 1.0.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: 2018-
|
12
|
+
date: 2018-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: caze
|
@@ -197,6 +197,7 @@ files:
|
|
197
197
|
- ".rspec"
|
198
198
|
- ".rubocop.yml"
|
199
199
|
- ".travis.yml"
|
200
|
+
- CHANGELOG.md
|
200
201
|
- Gemfile
|
201
202
|
- Gemfile.lock
|
202
203
|
- LICENSE.txt
|
@@ -230,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
231
|
version: '0'
|
231
232
|
requirements: []
|
232
233
|
rubyforge_project:
|
233
|
-
rubygems_version: 2.
|
234
|
+
rubygems_version: 2.6.14
|
234
235
|
signing_key:
|
235
236
|
specification_version: 4
|
236
237
|
summary: Pusher Push Notifications Ruby server SDK
|