simple_cloud_logging 1.1.23 → 1.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/remotelogger.rb +10 -0
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7501616f374b1a3f828ef1650b7cf1d5b0cbedb0
4
- data.tar.gz: 84f280e809b2f353be690c408ffffc9f1180f2e8
3
+ metadata.gz: ea0fad1f5f585a40b36464515f418d676f835bb6
4
+ data.tar.gz: fc7db7fbfdad6118bf46b0dc4e469ceb84908011
5
5
  SHA512:
6
- metadata.gz: 327159a9f6cd83b89cec507292b74cae08494e29818cbff290be060e37ed1baffd84c1b1db795cb6dad3ffc48d83d0aab060cbaa69103a7bbe7d7108e301eb1d
7
- data.tar.gz: e75fbd6026ad83dafa55c68b488309d1e166f37944097d125509231bfba51d0dba47ffb753b54bd1fd8f41726b61f3575c6b7b1066d7b39fad60fbbd55b07c22
6
+ metadata.gz: 5944de92502b5c5748fc0c49940ae6c9854ccc2eb1047560799e33dae9b48b6dd3c8c79b18c49f55a2701d0e57cff36f39a1743dd81f345a182dc351e50c11bf
7
+ data.tar.gz: b481de9ca267f7cb3ccc24ef79272853f41eba38ced0d5cdd029777cbfc440251d7b49f95976f8127dcc698ae81867217ede341b63b3371ed1a0bfc8b04e359c
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.23
4
+ version: 1.1.27
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: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blackstack_commons
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.1
19
+ version: 1.1.45
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.1.1
22
+ version: 1.1.45
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.1.1
29
+ version: 1.1.45
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.1.1
32
+ version: 1.1.45
33
33
  description: 'THIS GEM IS STILL IN DEVELOPMENT STAGE. Find documentation here: https://github.com/leandrosardi/simple_cloud_logging.'
34
34
  email: leandro.sardi@expandedventure.com
35
35
  executables: []