onlyoffice_logger_helper 1.2.0 → 1.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d2cb6c000ad7ea59d099e3f8a6fbb1ad62baaf04616d6e27b3eba8c689abf94
|
4
|
+
data.tar.gz: bc77efda0d6aba096ed94cf188b73c9e711ab3078876f797bd4c12e6a7a1a556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede339960d3c5060264bb79616fdc56de99e9c98cbe97a58a90802851fe4db41a461a7f8bc4eb8a36d059d86b95383bc06819c247918e8215959f5b888ab235f
|
7
|
+
data.tar.gz: a5cd75b48880db08bbab6f3414d7ad9f5ea16a991ab2c4b30013d042227d6c90139e1a2e6c57cb14868b8d90941adaae2c99040f68ca478c09ab578bf618cf35
|
@@ -37,4 +37,14 @@ module OnlyofficeLoggerHelper
|
|
37
37
|
def self.red_log(entry)
|
38
38
|
log(entry, RED_COLOR_CODE)
|
39
39
|
end
|
40
|
+
|
41
|
+
# Sleep for some time and output log
|
42
|
+
# @param [String] reason message to output
|
43
|
+
# @param [Integer] seconds time to sleep
|
44
|
+
# @return [void]
|
45
|
+
def self.sleep_and_log(reason, seconds)
|
46
|
+
log("Start sleeping for #{seconds} seconds because of `#{reason}`")
|
47
|
+
sleep(seconds)
|
48
|
+
log("Stopped sleeping for #{seconds} seconds because of `#{reason}`")
|
49
|
+
end
|
40
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlyoffice_logger_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ONLYOFFICE
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: overcommit
|
@@ -172,6 +172,7 @@ metadata:
|
|
172
172
|
documentation_uri: https://www.rubydoc.info/gems/onlyoffice_logger_helper
|
173
173
|
homepage_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_logger_helper
|
174
174
|
source_code_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_logger_helper
|
175
|
+
rubygems_mfa_required: 'true'
|
175
176
|
post_install_message:
|
176
177
|
rdoc_options: []
|
177
178
|
require_paths:
|
@@ -187,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
188
|
- !ruby/object:Gem::Version
|
188
189
|
version: '0'
|
189
190
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
191
|
+
rubygems_version: 3.3.11
|
191
192
|
signing_key:
|
192
193
|
specification_version: 4
|
193
194
|
summary: Simple logging gem for ONLYOFFICE projects
|