birling 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/VERSION +1 -1
- data/birling.gemspec +9 -13
- data/lib/birling/logger.rb +6 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f4dc4f5818efaa56556172c346f84d65003945d4896b54b8a429f9efe04a79bc
|
4
|
+
data.tar.gz: ab4735d6d76d9f00f02f68de2782c530a677f06d58f2e014534f22cfd7a4d5dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dffa664260145c4c5c4c6f4bf0f9e76372f923615647182a131722075f41c9ad09f410344ba2c8f2b95a32ba735886fd06090651d572bbde6187dbddcf7f5f8
|
7
|
+
data.tar.gz: 97c0654adf37b1046b75c896e0b10832a214dde9d9659430bf9eb8a5de2e11eece9d8c5d076db907713b17da7b76e66b9d4aaf2d4aa59160d6390e640979ed5b
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/birling.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: birling 0.2.
|
5
|
+
# stub: birling 0.2.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "birling".freeze
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Scott Tadman".freeze]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2020-01-28"
|
15
15
|
s.description = "Mostly drop-in replacement for Logger with a more robust log rotation facility".freeze
|
16
16
|
s.email = "github@tadman.ca".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -38,21 +38,17 @@ Gem::Specification.new do |s|
|
|
38
38
|
]
|
39
39
|
s.homepage = "http://github.com/postageapp/birling".freeze
|
40
40
|
s.licenses = ["MIT".freeze]
|
41
|
-
s.rubygems_version = "
|
41
|
+
s.rubygems_version = "3.1.2".freeze
|
42
42
|
s.summary = "Logger with simple log rotation system".freeze
|
43
43
|
|
44
44
|
if s.respond_to? :specification_version then
|
45
45
|
s.specification_version = 4
|
46
|
+
end
|
46
47
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
else
|
52
|
-
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
53
|
-
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
54
|
-
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
55
|
-
end
|
48
|
+
if s.respond_to? :add_runtime_dependency then
|
49
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
|
56
52
|
else
|
57
53
|
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
58
54
|
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
data/lib/birling/logger.rb
CHANGED
@@ -158,6 +158,12 @@ class Birling::Logger
|
|
158
158
|
end
|
159
159
|
alias_method :add, :log
|
160
160
|
|
161
|
+
def puts(*args)
|
162
|
+
args.each do |arg|
|
163
|
+
self.log(:debug, arg)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
161
167
|
# Writes to the log file regardless of log level.
|
162
168
|
def <<(message)
|
163
169
|
return unless (@log)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: birling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Tadman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -96,8 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
|
-
|
100
|
-
rubygems_version: 2.6.13
|
99
|
+
rubygems_version: 3.1.2
|
101
100
|
signing_key:
|
102
101
|
specification_version: 4
|
103
102
|
summary: Logger with simple log rotation system
|