aliyun-sdk 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/aliyun/common/logging.rb +2 -6
- data/lib/aliyun/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27f8d07de2e2948e0af93983d9deee1fe09afcdc78be58f4387406061e19bc1
|
4
|
+
data.tar.gz: 5f8ee19a0277de7a739221521621ef7be34f8a597f95b688819c737ec746dd1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d63ecabcb9835ef73d8e1cb0bf4cebe94e8bdb16c3ea4f890ffcfe7be93edd9874a4b6c0efc175e7f545715b616e6e995cb193b8a16b8215bbfb601ccf4e65f
|
7
|
+
data.tar.gz: 64a6931f66da611f9be61fa18ad172fe6c0ba69a4e8c0afd2f286fb2e9aa7b9d243da984cc1e1f98a8bfe035ddc198cf240114811b51a24c7b84c365def14753
|
data/CHANGELOG.md
CHANGED
@@ -11,7 +11,6 @@ module Aliyun
|
|
11
11
|
# logger.info(xxx)
|
12
12
|
module Logging
|
13
13
|
|
14
|
-
DEFAULT_LOG_FILE = "./aliyun_sdk.log"
|
15
14
|
MAX_NUM_LOG = 100
|
16
15
|
ROTATE_SIZE = 10 * 1024 * 1024
|
17
16
|
|
@@ -34,11 +33,8 @@ module Aliyun
|
|
34
33
|
|
35
34
|
def self.logger
|
36
35
|
unless @logger
|
37
|
-
|
38
|
-
|
39
|
-
if ENV['ALIYUN_OSS_SDK_LOG_PATH']
|
40
|
-
@log_file ||= DEFAULT_LOG_FILE
|
41
|
-
end
|
36
|
+
# Environment parameter ALIYUN_OSS_SDK_LOG_PATH used to set output log to a file,do not output log if not set
|
37
|
+
@log_file ||= ENV["ALIYUN_OSS_SDK_LOG_PATH"]
|
42
38
|
@logger = Logger.new(
|
43
39
|
@log_file, MAX_NUM_LOG, ROTATE_SIZE)
|
44
40
|
@logger.level = Logger::INFO
|
data/lib/aliyun/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aliyun-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tianlong Wu
|
8
8
|
autorequire:
|
9
9
|
bindir: lib/aliyun
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|