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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4eb5a3114bbb90e9d4ef2ccc079b87c8fa4ff8982c5567475f638a8f8e50bbe
4
- data.tar.gz: e346af656cd09b7bb3f0c745ded7f41655dfe2584f380ddfa24816f9e37ede47
3
+ metadata.gz: f4e97bc6484eec7584bfcc9de98131e7151ed09a76dfc2b3ea8eb4baa9a4e096
4
+ data.tar.gz: 57e7395a941904011c00aba90008850ff5fbb369e9a108e7cee9d2cfb673f48b
5
5
  SHA512:
6
- metadata.gz: 38be2feabc87804721feb2ceeb5dc6f551f73f1fca676f597c683614e28f7e930f398ecb15a1754c291c69bb01ff019bdbad2af8d849e2f7e5370459a3460a12
7
- data.tar.gz: 769f509e8a9e7a430571c7feedd2e1d4ab305b8d5c62f973a1aaf1b73baa86e2f44ac625374c3575f5e8a324fe4fbc4728004e3d1e551ca5b3bba574aa2f5657
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, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at tianzhenfei@yolanda.hk. All complaints will be reviewed and investigated promptly and fairly.
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- k3cloud-sdk (0.4.5)
4
+ k3cloud-sdk (0.4.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module K3cloud
4
- VERSION = "0.4.5"
4
+ VERSION = "0.4.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k3cloud-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - zevinto