hanami-ruby3 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hanami/ruby3/hanami/configuration.rb +8 -0
- data/lib/hanami/ruby3/version.rb +1 -1
- 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: 8aaa6b22733000fa1ba8e1e678fad8a21f3efa1a8c03a0860f8ce49aceb57b0b
|
4
|
+
data.tar.gz: 3068aeb3c3448d1b547d1637a2818839813deaaf5ef6d50c698bd4170c436c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 526813c24d0db9a2e2b3d4d1283d2cf3980a6b4b15169a31b63736b6795148794fd48e73d8527e722145c45eba8d12a2b0d966b57087b08b6f6fb1eca636444a
|
7
|
+
data.tar.gz: 460a0b14e02b2301bb2ed4b9cbad698c1b7de49220d562082b8bd7454721ebd8f85703008e444ebbcfee4795a7df4d8397225f52a0feef441365a21d6f601651
|
data/Gemfile.lock
CHANGED
@@ -4,6 +4,14 @@ module Hanami
|
|
4
4
|
def logger(*args, **kwargs)
|
5
5
|
if args.empty? && kwargs.empty?
|
6
6
|
settings.fetch(:logger, nil)
|
7
|
+
# NOTE: Custom logger definition support, like:
|
8
|
+
# environment :test do
|
9
|
+
# logger Logger.new(level: :fatal)
|
10
|
+
elsif kwargs.empty?
|
11
|
+
settings[:logger] = [*args]
|
12
|
+
# NOTE: Hash-based logger definition support, like:
|
13
|
+
# environment :test do
|
14
|
+
# logger level: :fatal
|
7
15
|
else
|
8
16
|
settings[:logger] = [*args, kwargs]
|
9
17
|
end
|
data/lib/hanami/ruby3/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-ruby3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ascenda Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hanami
|