cloopen 0.1.0 → 0.1.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 +2 -2
- data/lib/cloopen/version.rb +1 -1
- data/lib/generators/cloopen/templates/cloopen_setup.rb +12 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eefc6dd296eab556c0cd7b65552696288b6aa667
|
4
|
+
data.tar.gz: 02a7761330ff33d1e71df477820573b1ba1cab9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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/
|
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`)
|
data/lib/cloopen/version.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
##### 云通讯的配置文件 ####
|
2
2
|
|
3
|
-
Cloopen.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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
|