cloopen 0.1.0 → 0.1.1

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: c3d825e322649ecf2230a69f8e84bf87eeb1182b
4
- data.tar.gz: c1ce494e43f85e2d67c92359ce90b761e5c2fc87
3
+ metadata.gz: eefc6dd296eab556c0cd7b65552696288b6aa667
4
+ data.tar.gz: 02a7761330ff33d1e71df477820573b1ba1cab9b
5
5
  SHA512:
6
- metadata.gz: 7b6b89a11ac44e8fd280a18f8ba4d3596eb9a4caecbefd50260439f85b5abeeff4356632050b3c12abe92e639756f255f119999c57ffcdd9f2e8dc35c8a6c2b7
7
- data.tar.gz: 285d758754ac8a568f66ea3332304cd0c6859f389e8d0282581abb70e76570f9715c84dcb22ac17296f963b061f53fa671eb854f53ca7cc8a40af7b66f46c99b
6
+ metadata.gz: 69eaf21ed64992431ae0f4cf3a1f53bd5ca450a2798d3889f33ee2abdb13d52371e8402baa5f14c4d48667fb8b423d7ab799318f46fe362aaa4acea6a1805667
7
+ data.tar.gz: f434b42ab33ba9d299df931845edb1868554ea5b114d0f231856f6496a69d01cf640549f2ca5d5a0a6e1c16a688e12540a87410b95d41b1caaf9075596cf2f53
data/README.md CHANGED
@@ -53,7 +53,7 @@ Cloopen.env = "production" # 如果是测试环境,填写 "development"
53
53
  ### 发送短信
54
54
 
55
55
  ```ruby
56
- Cloopen::SMS.deliver(18668189883, 3127, ['a32d1k'])
56
+ Cloopen::SMS.deliver(18668189884, 3127, ['a32d1k'])
57
57
  ```
58
58
  * 第一个参数是手机号码
59
59
 
@@ -64,7 +64,7 @@ Cloopen.env = "production" # 如果是测试环境,填写 "development"
64
64
 
65
65
  ## Contributing
66
66
 
67
- 1. Fork it ( https://github.com/[my-github-username]/cloopen/fork )
67
+ 1. Fork it ( https://github.com/xiaoronglv/cloopen/fork )
68
68
  2. Create your feature branch (`git checkout -b my-new-feature`)
69
69
  3. Commit your changes (`git commit -am 'Add some feature'`)
70
70
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,3 +1,3 @@
1
1
  module Cloopen
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,8 +1,14 @@
1
1
  ##### 云通讯的配置文件 ####
2
2
 
3
- Cloopen.setup do |config|
4
- config.account_sid = "YOUR_ACCOUNT_SID"
5
- config.auth_token = "YOUR_AUTH_TOKEN"
6
- config.app_id = "YOUR_APP_ID"
7
- config.env = "production"
8
- end
3
+ Cloopen.account_sid = "YOUR_ACCOUNT_SID"
4
+ Cloopen.auth_token = "YOUR_AUTH_TOKEN"
5
+ Cloopen.app_id = "YOUR_APP_ID"
6
+ Cloopen.env = "production"
7
+
8
+
9
+ ##### demo ####
10
+
11
+ # Cloopen.account_sid = "8a48b55147ae1bf00147af6d8b9003c9"
12
+ # Cloopen.auth_token = "7ade86d4cc4a458eb12680a0e58df487"
13
+ # Cloopen.app_id = "8a48b55147ae1bf00147af6dbc8a03cb"
14
+ # Cloopen.env = Rail.env
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloopen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaoronglv