aliyun-log 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aliyun/log/config.rb +1 -0
- data/lib/aliyun/log/request.rb +3 -3
- data/lib/aliyun/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: d8548cc01c3f9ed8368bb2e42d4436e9914b639d7c960ae652d0f851ff9c6f17
|
4
|
+
data.tar.gz: 59e47e2e014ec9f666fa3a105b0e03be82957b326747b122502cf8b593ac4c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfb7b4e14d983c8e8e88bc3a5f217575928100a5c523e93588e1db816ddb37698b39e1d972d6b129f3aeddb7f66799e1b9531e58de6d7f0c43853a7065ef6a8
|
7
|
+
data.tar.gz: 6b4c05758679915c6c7aa8f4ac7cc1786e551c361a40d846694b5907edf3d09a2c50ac26410b29437966e2c1fa9df5d2ba8310ffe8f8f9ba7c5603dabc048794
|
data/lib/aliyun/log/config.rb
CHANGED
data/lib/aliyun/log/request.rb
CHANGED
@@ -20,10 +20,10 @@ module Aliyun
|
|
20
20
|
resources ||= {}
|
21
21
|
res = '/'
|
22
22
|
if resources[:logstore]
|
23
|
-
res
|
24
|
-
res
|
23
|
+
res = "#{res}logstores"
|
24
|
+
res = "#{res}/#{resources[:logstore]}" unless resources[:logstore].empty?
|
25
25
|
end
|
26
|
-
res
|
26
|
+
res = "#{res}/#{resources[:action]}" if resources[:action]
|
27
27
|
res
|
28
28
|
end
|
29
29
|
|
data/lib/aliyun/version.rb
CHANGED