kotsms2 0.5.0 → 1.0.0

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
  SHA1:
3
- metadata.gz: caba16f48eabc4f0d3067cd20b8f8ba4c67d00f1
4
- data.tar.gz: adb7317fe123b5a1ed90f5062e7940002bcaf703
3
+ metadata.gz: b6a65925dfc194dbb5a11b89fc0f827576537297
4
+ data.tar.gz: 28254058990bdfce873d5d94f70e45fd8e011949
5
5
  SHA512:
6
- metadata.gz: f743ae865b95c28a08e9ad53f753701d5ce9b92c8e243d3a02facffcbdaba43fcd2e7ad2f690aef41699d7d417e11ddcbdeca7bb160cde71f8039f692ba13573
7
- data.tar.gz: d3737900c4ba72f004ac765e4bf0f85b083d6f3507c1239e54f3acbcd4585276e844e837eb92241b5961dbabda61678b7daa15580337c874bee5b74760bc7f46
6
+ metadata.gz: 4d789449dc7212ba3105b1a04d7e40ffb951a4c993a4bfd94148136d778ffff250e476a26be1a60f57d59c2b4844f89ceba0e60000168442129fba8edc077421
7
+ data.tar.gz: 567a8409d0819038ff613675bf744631b966edaed600d3abcbc7369ea1cc58a5da226db93d867b766f1e546250336d094107c77aedcb015cd6f41f3eb9156841
data/.travis.yml CHANGED
@@ -3,4 +3,4 @@ rvm:
3
3
  - 2.0
4
4
  - 2.1
5
5
  - 2.2
6
- - 2.3.1
6
+ - 2.3.1
data/README.md CHANGED
@@ -42,7 +42,9 @@ gem 'kotsms2', '~> 1.0.0'
42
42
  require 'kotsms2'
43
43
 
44
44
  # Kotsms2 是走 https 的方式進行系統操作
45
- sms_client = Kotsms2::Client.new(username: '會員帳號', password: '會員密碼', agent: "Mozilla/5.0 (可自訂 user-agent)")
45
+ sms_client = Kotsms2::Client.new(
46
+ username: '會員帳號', password: '會員密碼', agent: "Mozilla/5.0 (可自訂 user-agent)"
47
+ )
46
48
  ```
47
49
 
48
50
  使用範例
@@ -65,7 +67,7 @@ sms_client.account_is_available
65
67
  手機號碼格式 0911222333 ( 台灣手機 )、886911222333 ( 國碼 + 手機號碼 )
66
68
 
67
69
  ```ruby
68
- # 備註:簡訊王的內容需要為 Big 5 編碼,本套件將會自動進行轉換,若有遇到無法轉換的,會將會替換成「?」號
70
+ # 簡訊王的內容需要為 Big 5 編碼,本套件會自動轉換;若有無法轉換的字,會替換成 ? 問號
69
71
  sms_client.send_message to: '手機號碼', content: "簡訊內容.."
70
72
  ```
71
73
 
@@ -1,3 +1,3 @@
1
1
  module Kotsms2
2
- VERSION = "0.5.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kotsms2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guanting Chen