k3cloud-sdk 0.4.5 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +4 -2
- data/Gemfile.lock +1 -1
- data/lib/k3cloud/k3cloud_api.rb +2 -2
- data/lib/k3cloud/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4e97bc6484eec7584bfcc9de98131e7151ed09a76dfc2b3ea8eb4baa9a4e096
|
4
|
+
data.tar.gz: 57e7395a941904011c00aba90008850ff5fbb369e9a108e7cee9d2cfb673f48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3d2691366e94a654ba597e65c87dcfa441392ca01bd68130384b682d3a265d2d6ed3608e5585d0c46633b13ddfb7d774bcc50f93d538b0b55dd96b75d87e7bf
|
7
|
+
data.tar.gz: adb88e87428a8dab018f2aa98bd3da3f1cd294f0d78b448c26f9cc4b4b7ad0441ab2e8e0fa6d4a44c2ac72eaad78df119de076b1fc0930db6c48ae2bce11fb6c
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -20,7 +20,7 @@ Examples of unacceptable behavior include:
|
|
20
20
|
|
21
21
|
* The use of sexualized language or imagery, and sexual attention or
|
22
22
|
advances of any kind
|
23
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
23
|
+
* Trolling, insulting, or derogatory comments, and personal or political attacks
|
24
24
|
* Public or private harassment
|
25
25
|
* Publishing others' private information, such as a physical or email
|
26
26
|
address, without their explicit permission
|
@@ -39,7 +39,9 @@ This Code of Conduct applies within all community spaces, and also applies when
|
|
39
39
|
|
40
40
|
## Enforcement
|
41
41
|
|
42
|
-
Instances of abusive, harassing,
|
42
|
+
Instances of abusive, harassing,
|
43
|
+
or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at zevinto@163.com.
|
44
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
43
45
|
|
44
46
|
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
45
47
|
|
data/Gemfile.lock
CHANGED
data/lib/k3cloud/k3cloud_api.rb
CHANGED
@@ -136,11 +136,11 @@ module K3cloud
|
|
136
136
|
private
|
137
137
|
|
138
138
|
def handle_query_result(rows)
|
139
|
-
if !rows[0].nil? && (result = rows[0][0]).is_a?(Hash)
|
139
|
+
if !rows[0].nil? && !rows[0].empty? && (result = rows[0][0]).is_a?(Hash)
|
140
140
|
K3cloud.logger.error({ errmsg: result, type: 'error', lever: 'ERROR' })
|
141
141
|
[]
|
142
142
|
else
|
143
|
-
|
143
|
+
rows
|
144
144
|
end
|
145
145
|
end
|
146
146
|
end
|
data/lib/k3cloud/version.rb
CHANGED