lumber 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/lib/lumber/lumber.rb +2 -2
- data/lib/lumber/railtie.rb +1 -1
- data/lib/lumber/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/lumber/lumber.rb
CHANGED
@@ -69,9 +69,9 @@ module Lumber
|
|
69
69
|
self.register_inheritance_handler()
|
70
70
|
|
71
71
|
if opts[:monitor_store]
|
72
|
-
LevelUtil.
|
72
|
+
LevelUtil.cache_provider = opts[:monitor_store]
|
73
73
|
elsif defined?(RAILS_CACHE)
|
74
|
-
LevelUtil.
|
74
|
+
LevelUtil.cache_provider = RAILS_CACHE
|
75
75
|
end
|
76
76
|
LevelUtil.start_monitor(opts[:monitor_interval]) if opts[:monitor_enabled]
|
77
77
|
end
|
data/lib/lumber/railtie.rb
CHANGED
@@ -18,7 +18,7 @@ module Lumber
|
|
18
18
|
app.config.logger = Log4r::Logger[Lumber::BASE_LOGGER]
|
19
19
|
|
20
20
|
config_level = app.config.log_level
|
21
|
-
if config_level
|
21
|
+
if config_level.present?
|
22
22
|
level_str = config_level.to_s.upcase
|
23
23
|
level = Log4r::LNAMES.index(level_str)
|
24
24
|
raise "Invalid log level: #{config_level}" unless level
|
data/lib/lumber/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: log4r
|