bbk-utils 1.0.1.136047 → 1.0.1.147183

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: 7bd3105e3191c617a191558671e0347643dac779f0560efe6ed706e48676bdee
4
- data.tar.gz: 3c201ccbc42184b9a871ad9b87d0bf5ede176b6c31a996a6f6cdb82782d99148
3
+ metadata.gz: e9e803d8681188bee3d02f0136ca8e23e879895bde7d7f36f954430c17ae375f
4
+ data.tar.gz: 917d6a58f8b48a3162c46504c9ea5a499b9c4444d8ed3e016e107f7d9e1a73a6
5
5
  SHA512:
6
- metadata.gz: 4397a85375f9c86b030a28ddb01ec43a73da33b45b163610a3f7483718743a2a1b162c762b50a67b8cdd2a5c00c0e3a133d0661a9993cc52ce543340cca2b03c
7
- data.tar.gz: 6480734f94b059605d76df08f21532990aec3989e767004df1fb823836dbd47acd3928c706bbf4a7a203f89977fe3b215387f78a1fe8655122b7f37c910db525
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.136047)
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.4.3)
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)
@@ -39,8 +39,9 @@ module BBK
39
39
 
40
40
  def self.default
41
41
  unless @default
42
- @default = new(DEFAULT_NAME, DEFAULT_LEVEL)
43
- @default.level = DEFAULT_LEVEL
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.136047
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-04-11 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport