rtpush 0.0.3 → 0.0.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +9 -0
  3. data/README.md +49 -1
  4. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2c5a0421b2bc1bd19489676c34eda5a8516c2e6
4
- data.tar.gz: d3fd5a8aedfff2f21e0ec7b5825d2d7a07ca6e60
3
+ metadata.gz: 4267cd81aa803556d8324b3a4fc0f0fd56144cce
4
+ data.tar.gz: aba5e08665d997eac4c724777a61cb812a0091be
5
5
  SHA512:
6
- metadata.gz: b53b45ff979f3481dac60e2f740ef4023428915bfadbd678fe2429f14d6f25e39695d1a47863c75551540982714e7be4908a77c8420c67df6d92e5be0fb87732
7
- data.tar.gz: 84fa337d2f3ee01324544251f964adc5ee36652a31f4c4ed8bd0993e839b0a55b931f679fae12644d6fa9c65686f8c4e96abdd76fbd4112773788161ba570255
6
+ metadata.gz: c45ee83f549c1d33664d43669d6d27b443f29360e9bd64c301d017d7ca1a696ce528e48c38d5e7316262b1e492460a0f4e6ccc83b1387f6a75c4088f76c9ca96
7
+ data.tar.gz: 0d53d99ae1f705d7d18ebb0e612e2a13432fe4b8c8d93bcb94eda08a029cc8f878920d1bc89529103c84b38a96e586526a2834599699638476d99cdba32dd7b4
data/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Mohammad Sami Almouhtaseb
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,3 +1,51 @@
1
1
  # rtpush [![Gem Version](https://badge.fury.io/rb/rtpush.svg)](https://badge.fury.io/rb/rtpush) [![Maintainability](https://api.codeclimate.com/v1/badges/687aec30cf02fad5b6eb/maintainability)](https://codeclimate.com/github/satnami/rtpush/maintainability)
2
2
 
3
- TBD
3
+ ## Installation
4
+ ```
5
+ $ gem install rtpush
6
+ ```
7
+
8
+ ## Prerequisites
9
+ make sure you have export variables those in your env
10
+ ```
11
+ NOTIFICATION_TITLE=XX
12
+
13
+ REDIS_URL=XX
14
+
15
+ SLACK_WEBHOOK=XX
16
+
17
+ TWILIO_TO_NUMBER=XX
18
+ TWILIO_FROM_NUMBER=XX
19
+ TWILIO_AUTH_TOKEN=XX
20
+ TWILIO_ACCOUNT_SID=XX
21
+
22
+ GCM_PRIORITY=XX
23
+ GCM_AUTH_KEY=XX
24
+ GCM_ANDROID_APP_NAME=XX
25
+ GCM_ANDROID_DEVICE_TOKEN=XX
26
+
27
+ INSTAPUSH_APP_ID=XX
28
+ INSTAPUSH_APP_SECRET=XX
29
+ INSTAPUSH_APP_EVENT=XX
30
+ ```
31
+
32
+ ## Setup guide
33
+ ```
34
+ TBD
35
+ ```
36
+
37
+ ## Usage
38
+ rtpush strategy1,strategy2 message
39
+ ```
40
+ $ rtpush sms,slack,mobile,insta hello
41
+ ```
42
+
43
+ ## Test
44
+ ```
45
+ rspec spec
46
+ ```
47
+
48
+ ## Improvement
49
+ ```
50
+ TBD
51
+ ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mhd Sami AlMouhtaseb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-07 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -191,6 +191,7 @@ executables:
191
191
  extensions: []
192
192
  extra_rdoc_files: []
193
193
  files:
194
+ - LICENSE
194
195
  - README.md
195
196
  - bin/rtpush
196
197
  - lib/initializers/dotenv.rb
@@ -217,9 +218,9 @@ require_paths:
217
218
  - spec
218
219
  required_ruby_version: !ruby/object:Gem::Requirement
219
220
  requirements:
220
- - - ">="
221
+ - - "~>"
221
222
  - !ruby/object:Gem::Version
222
- version: '0'
223
+ version: '2.2'
223
224
  required_rubygems_version: !ruby/object:Gem::Requirement
224
225
  requirements:
225
226
  - - ">="