bbk-utils 1.0.1.133029 → 1.0.1.147183
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/bbk/utils/config.rb +1 -1
- data/lib/bbk/utils/logger.rb +3 -2
- 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: e9e803d8681188bee3d02f0136ca8e23e879895bde7d7f36f954430c17ae375f
|
4
|
+
data.tar.gz: 917d6a58f8b48a3162c46504c9ea5a499b9c4444d8ed3e016e107f7d9e1a73a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ab6b068166a4bd68677644cac4f00a810f54e921353bdad6e7772aac947d55c9618c447c6277ff899b249122fb1de98bd2153147ada6a8ed3318e774cf33e8c
|
7
|
+
data.tar.gz: 12b7f0f487d56d9edd31183f7d428ed9a7bf5639c5e6496cabccb306e8d3cc764eca18c373513b4982323b2f9bf2ee0b51d379afc7b661cd16ab411a4ff53874
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bbk-utils (1.0.1.
|
4
|
+
bbk-utils (1.0.1.147183)
|
5
5
|
activesupport (>= 6.0)
|
6
6
|
russian
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (7.0.
|
11
|
+
activesupport (7.0.5)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 1.6, < 2)
|
14
14
|
minitest (>= 5.1)
|
data/lib/bbk/utils/config.rb
CHANGED
data/lib/bbk/utils/logger.rb
CHANGED
@@ -39,8 +39,9 @@ module BBK
|
|
39
39
|
|
40
40
|
def self.default
|
41
41
|
unless @default
|
42
|
-
|
43
|
-
@default
|
42
|
+
level = ENV.fetch('LOG_LEVEL', DEFAULT_LEVEL)
|
43
|
+
@default = new(DEFAULT_NAME, level)
|
44
|
+
@default.level = level
|
44
45
|
end
|
45
46
|
@default
|
46
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbk-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.1.
|
4
|
+
version: 1.0.1.147183
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|