simple_cloud_logging 1.1.25 → 1.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/remotelogger.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3db97b74c4bd4797332fe3064f28d4a14213789d
|
4
|
+
data.tar.gz: ebaff8c5548d11890fbc745d43a75338e3b19904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5b5e9fc54f8fbbd6f2555c032369c8eb516514fc8db6ab289d800e70a39e7cea8667898a44c75c1a220e146469f78caf528e99a43e9445cf56decfe9c1c934
|
7
|
+
data.tar.gz: 4075bccfca6095f6da5d87c7e3946f66e27c243ca9a23c66d8bccdfbb2aa18113a0f523d91ccf1735b15188ad7882ccfe6e3a4ca0b76c0804e8d83eab671d21b
|
data/lib/remotelogger.rb
CHANGED
@@ -16,16 +16,19 @@ module BlackStack
|
|
16
16
|
# call the save method to store the new attributes into the data file
|
17
17
|
def reset()
|
18
18
|
super
|
19
|
+
=begin
|
19
20
|
url = "#{self.api_protocol}://#{self.api_domain}:#{self.api_port.to_s}/api1.4/scl/reset.json"
|
20
21
|
res = BlackStack::Netting::api_call(url, {
|
21
22
|
'api_key' => self.api_key,
|
22
23
|
'filename' => self.filename,
|
23
24
|
'id_client' => self.id_client,
|
24
25
|
})
|
26
|
+
=end
|
25
27
|
end
|
26
28
|
|
27
29
|
def log(s, datetime=nil)
|
28
30
|
ltext = super(s, datetime)
|
31
|
+
=begin
|
29
32
|
url = "#{self.api_protocol}://#{self.api_domain}:#{self.api_port.to_s}/api1.4/scl/log.json"
|
30
33
|
res = BlackStack::Netting::api_call(url, {
|
31
34
|
'api_key' => self.api_key,
|
@@ -34,11 +37,13 @@ module BlackStack
|
|
34
37
|
'method' => BlackStack::BaseLogger::METHOD_LOG,
|
35
38
|
'id_client' => self.id_client,
|
36
39
|
})
|
40
|
+
=end
|
37
41
|
ltext
|
38
42
|
end
|
39
43
|
|
40
44
|
def logs(s, datetime=nil)
|
41
45
|
ltext = super(s, datetime)
|
46
|
+
=begin
|
42
47
|
url = "#{self.api_protocol}://#{self.api_domain}:#{self.api_port.to_s}/api1.4/scl/log.json"
|
43
48
|
res = BlackStack::Netting::api_call(url, {
|
44
49
|
'api_key' => self.api_key,
|
@@ -47,11 +52,13 @@ module BlackStack
|
|
47
52
|
'method' => BlackStack::BaseLogger::METHOD_LOGS,
|
48
53
|
'id_client' => self.id_client,
|
49
54
|
})
|
55
|
+
=end
|
50
56
|
ltext
|
51
57
|
end
|
52
58
|
|
53
59
|
def logf(s, datetime=nil)
|
54
60
|
ltext = super(s, datetime)
|
61
|
+
=begin
|
55
62
|
url = "#{self.api_protocol}://#{self.api_domain}:#{self.api_port.to_s}/api1.4/scl/log.json"
|
56
63
|
res = BlackStack::Netting::api_call(url, {
|
57
64
|
'api_key' => self.api_key,
|
@@ -60,16 +67,19 @@ module BlackStack
|
|
60
67
|
'method' => BlackStack::BaseLogger::METHOD_LOGF,
|
61
68
|
'id_client' => self.id_client,
|
62
69
|
})
|
70
|
+
=end
|
63
71
|
ltext
|
64
72
|
end
|
65
73
|
|
66
74
|
def release()
|
75
|
+
=begin
|
67
76
|
url = "#{self.api_url}:#{self.api_port.to_s}/api1.4/scl/release.json"
|
68
77
|
res = BlackStack::Netting::api_call(url, {
|
69
78
|
'api_key' => self.api_key,
|
70
79
|
'filename' => self.filename,
|
71
80
|
'id_client' => self.id_client,
|
72
81
|
})
|
82
|
+
=end
|
73
83
|
end
|
74
84
|
end
|
75
85
|
end # module BlackStack
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_cloud_logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blackstack_commons
|