lapis 0.2.4 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lapis.rb +8 -8
- 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: da158cdc43e0f668c3d72e5823e57925ade07e58
|
4
|
+
data.tar.gz: 14adaba9cb256702dfc45cf9d0ab7eaa014eeee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4001c6c5f63f26613d5df47a5dbd58143ee0f0199cd5ad3d086aafb422db56d1715ac041fcaac47c2606559d841ca36985166ae236f68581701dbb83ebd8f170
|
7
|
+
data.tar.gz: c18b254d312de0b096807c04fb5ce5fa3f46dfbf4e2aeb33575bccc6adc1078d8f46f83f860297afb8626ce463140830bf076cc3598762a0bfe1449bbcd925ea
|
data/lib/lapis.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
module Lapis
|
2
2
|
|
3
|
-
VERSION = '0.2.
|
3
|
+
VERSION = '0.2.6'
|
4
4
|
|
5
5
|
# +Lapis::Logger+ is a simple, lightweight logging utility. It is fully
|
6
6
|
# customizable; in particular, you can customize the following:
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
7
|
+
# * +levels+ -- An array of symbols, which determines the valid levels. See
|
8
|
+
# its' documentation for more info.
|
9
|
+
# * +formatter+ -- A lambda, used for formatting output. Upon a call to log,
|
10
|
+
# this will be called with the severity of the message and the message
|
11
|
+
# itself (in that order).
|
12
|
+
# * +output_channel+ -- An IO object, representing the destination for all
|
13
|
+
# output.
|
14
14
|
class Logger
|
15
15
|
|
16
16
|
# Special levels that will be sent to +@levels+ as method calls.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lapis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Citruxy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|