cabin 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cabin/mixins/logger.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d6cedfb168cb19e83ec4be1bb2f22f344169e9b
|
4
|
+
data.tar.gz: 8dbc9febd137b05ad067e49ae05c0334d0e8d265
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8dd5d0af37d7e45ee89b66f28bad3f09ceac163a02c2ebc0fb9f4c9901fce926e3740be772c8636cc42fb7f3984921315d5e417d8c27ae3e649aed772e5572
|
7
|
+
data.tar.gz: a13ada6bc3a54a77da625ace14e5c2766c7e09a641dea8a03023664af9874c9355b43b6ac89c26c1d071cdd4175160d7c359ab7965552cb2c5ae1e651b62ba9f
|
data/lib/cabin/mixins/logger.rb
CHANGED
@@ -79,7 +79,7 @@ module Cabin::Mixins::Logger
|
|
79
79
|
# these methods return true if the loglevel allows that level of log.
|
80
80
|
define_method(predicate) do
|
81
81
|
@level ||= :info
|
82
|
-
|
82
|
+
LEVELS[@level] >= LEVELS[level]
|
83
83
|
end # def info?, def warn? ...
|
84
84
|
end # end defining level-based log methods
|
85
85
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cabin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -97,8 +97,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.4.
|
100
|
+
rubygems_version: 2.4.8
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Experiments in structured and contextual logging
|
104
104
|
test_files: []
|
105
|
+
has_rdoc:
|