pushbots 0.3.0 → 0.3.1
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 +4 -4
- data/README.md +6 -3
- data/lib/pushbots/version.rb +1 -1
- data/pushbots.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fe7a02451bd030c89ec8006484c128096c9b529
|
|
4
|
+
data.tar.gz: 40c057b30a1a1f7b8b46e5870a8e21a9e34c9bd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbbbfa0bb86e57d74baa4925cfe38d13c6ab5f9f7275db35304d9cfc61b3d6d21d5dc83377d612e4167aa3f0f3278cb382ec76691f1316113cdbfb09139908a2
|
|
7
|
+
data.tar.gz: 83e7866a708206bc5c854d11d0c9de214460171a0bedb34f8f1b933b63e7b089d022b1e3477fccadea5489501d567a14230514fc1883ca7c76725b27b7db918e
|
data/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# Pushbots
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Ruby Wrapper for PushBots Rest API made with love by Kandiie
|
|
4
|
+
|
|
5
|
+
PushBots is a Light SDK for mobile push notifications and now you can use
|
|
6
|
+
this gem on your favorite Ruby on Rails Projects.
|
|
4
7
|
|
|
5
8
|
## Installation
|
|
6
9
|
|
|
@@ -33,7 +36,7 @@ end
|
|
|
33
36
|
```ruby
|
|
34
37
|
# Device token
|
|
35
38
|
token = '900f9e35cc09ab9f3d99f0b244e23f160e0264f1aaf785549efeb6835a586710'
|
|
36
|
-
# platform is :ios or :android
|
|
39
|
+
# platform is :ios or :android
|
|
37
40
|
# (Any other value will return a RuntimeError)
|
|
38
41
|
platform = :ios
|
|
39
42
|
# Notification message
|
|
@@ -61,7 +64,7 @@ push = PushBot::All.new(platforms, message, schedule, options = {})
|
|
|
61
64
|
push.send # Delivers the notification
|
|
62
65
|
```
|
|
63
66
|
|
|
64
|
-
##### You can read Pushbots API response using:
|
|
67
|
+
##### You can read Pushbots API response using:
|
|
65
68
|
```ruby
|
|
66
69
|
# Your notification response
|
|
67
70
|
push.response
|
data/lib/pushbots/version.rb
CHANGED
data/pushbots.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Pushbots::VERSION
|
|
9
9
|
spec.authors = ['Carlos Omana', 'Cesar Rodriguez']
|
|
10
10
|
spec.email = ['contact@kandiie.com']
|
|
11
|
-
spec.summary = '
|
|
12
|
-
spec.description = '
|
|
11
|
+
spec.summary = 'Ruby Wrapper for PushBots Rest API.'
|
|
12
|
+
spec.description = 'Ruby Wrapper for PushBots Rest API.'
|
|
13
13
|
spec.homepage = 'https://github.com/Kandiie/pushbots'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pushbots
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carlos Omana
|
|
@@ -87,7 +87,7 @@ dependencies:
|
|
|
87
87
|
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: 1.0.2
|
|
90
|
-
description:
|
|
90
|
+
description: Ruby Wrapper for PushBots Rest API.
|
|
91
91
|
email:
|
|
92
92
|
- contact@kandiie.com
|
|
93
93
|
executables: []
|
|
@@ -140,5 +140,5 @@ rubyforge_project:
|
|
|
140
140
|
rubygems_version: 2.4.5
|
|
141
141
|
signing_key:
|
|
142
142
|
specification_version: 4
|
|
143
|
-
summary:
|
|
143
|
+
summary: Ruby Wrapper for PushBots Rest API.
|
|
144
144
|
test_files: []
|