semaphore-sms 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5447e4a325b6a3ee096d51b76a92a65ad713c3f9
4
- data.tar.gz: 9d35a35f7c2f0026989dcf5d9c976aab11dc026f
2
+ SHA256:
3
+ metadata.gz: 98b10f0e063c4f0bbe049cd92cb9914b2b91b97ae8e36d846dc4a314dfd3c0ca
4
+ data.tar.gz: 29dce52f550cfe446904218cdc4a06d9ab28a75d2a2c277d848b37dee1af56c2
5
5
  SHA512:
6
- metadata.gz: 9526a8f17cac7efa66b4dbb56ac2621412258bbcfd8abfbf1c66edf65f1c1e1c2ea6a5b3b7890923ce6148cb2eacb3296786dc272d8dcae509c73b9e4affab6c
7
- data.tar.gz: 81b5104f72164753e6b45b90720a277f5a14fa02d3e11cdec655420123618851ae3d67580f7f8e30ace76b88bafcac8292df3a88b98bd73b1527a40de23b0bde
6
+ metadata.gz: 5de295cbd61f10d11f2f5361dde580726f8a735d66ac1bfd2aee884e013e148a83c073b0043f7c9d311bce744a1068e5b9c729e26ddac253fe1c9a3d8ce55611
7
+ data.tar.gz: 59c91d7a0815f941811b9a9d79eaf5d2390b884f7a2a56ac721129a3eedad167d1897c7dfafa4fb6797f1ecdeb84ceae8eb01bce70143aabde5ff6aecc93c340
data/README.md CHANGED
@@ -116,7 +116,7 @@ require "semaphore-sms"
116
116
  client.send("Hello World", ["09175488888", "09175488888"], "SAITAMA")
117
117
 
118
118
  NOTE: By default you can configure your sender name in `config/initializers/semaphore-sms` or
119
- pass a third agument to overwrite existing sender name in `initializers/semaphore-sms.rb`.
119
+ pass a third argument to overwrite existing sender name in `initializers/semaphore-sms.rb`.
120
120
  If no sendername is attached it will default to `Semaphore`.
121
121
 
122
122
 
@@ -163,7 +163,7 @@ require "semaphore-sms"
163
163
  ## Requesting for all sender names
164
164
 
165
165
  client.sender_names
166
- client.sender_name(id: 1, limit: 100) # Page and Limit are optional. Limit default to 100 and page 1.
166
+ client.sender_names(id: 1, limit: 100) # Page and Limit are optional. Limit default to 100 and page 1.
167
167
 
168
168
  ## Requesting for all users
169
169
 
@@ -171,6 +171,10 @@ require "semaphore-sms"
171
171
  client.users(id: 1, limit: 100) # Page and Limit are optional. Limit default to 100 and page 1.
172
172
  ```
173
173
 
174
+ ## Validations:
175
+ Using [Piliponi Gem](https://github.com/adimasuhid/piliponi): for validation of allowed numbers.
176
+ List of [Prefix](https://github.com/adimasuhid/piliponi/blob/master/lib/piliponi/config/telco.yml)
177
+
174
178
  ## Development
175
179
 
176
180
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,5 +1,5 @@
1
1
  module Semaphore
2
2
  module Sms
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semaphore-sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Arnold Go
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-13 00:00:00.000000000 Z
11
+ date: 2018-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.6.13
174
+ rubygems_version: 2.7.3
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Semaphore-sms api gem