tamashii-manager 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tamashii/manager/config.rb +8 -0
- data/lib/tamashii/manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5eb2b54c9682f2c0d6bb14b25b3e407eb8f8f50
|
4
|
+
data.tar.gz: e51151acb563cd3d2fd9dced9673ec792186b53e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9febdd48ca4e6515dcd4e2f6d3893a2200b78c9562de4c2ce044fc2fdd2be1a61cf18b702954fad5ae8dd9eb88988baca0237baa4b27735e75d814ec44edcd4f
|
7
|
+
data.tar.gz: 5c8efcfa8e910e219b5a0d75af483d85ddcac7135fe9f50f71fec07feb3f7c02b5384837dc9c39426b331cac1ff40750436dc89ccf253b2acd595ae410b4b515
|
@@ -52,7 +52,15 @@ module Tamashii
|
|
52
52
|
|
53
53
|
def log_level(level = nil)
|
54
54
|
return Manager.logger.level if level.nil?
|
55
|
+
self.log_level = level
|
56
|
+
end
|
57
|
+
|
58
|
+
# TODO: refactor this weird configuration
|
59
|
+
# We need this because log_level is not a REAL existing variable
|
60
|
+
def log_level=(level)
|
55
61
|
Manager.logger.level = level
|
62
|
+
# TODO: forwarding to server, or unify loggers
|
63
|
+
Tamashii::Server.logger.level = level
|
56
64
|
end
|
57
65
|
|
58
66
|
def env(env = nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tamashii-manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 蒼時弦也
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-11-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: puma
|