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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 48192722f6b0c3c144cd7de3d30ecdabfac06e36
4
- data.tar.gz: 5bc7e291a0f7c512ecafd9363d0add86e46bb605
2
+ SHA256:
3
+ metadata.gz: f4dc4f5818efaa56556172c346f84d65003945d4896b54b8a429f9efe04a79bc
4
+ data.tar.gz: ab4735d6d76d9f00f02f68de2782c530a677f06d58f2e014534f22cfd7a4d5dd
5
5
  SHA512:
6
- metadata.gz: 040df58963bee8b5756eb97856bbe71797429c4abc3c89341a920ef59625a328aa285de1d6a072ca27ab47bebcb17c4bdd3c024b886e4f1a5143739d484a3460
7
- data.tar.gz: 6423ee610153bebb1bd29f0ee751dbf5a429c5799920c5b5b7a4e4b0a8237f6e2fc78d7f8e155df7cbca2254bf91cd37a0f3684fb2d554d2e9b170dacf5b7708
6
+ metadata.gz: 1dffa664260145c4c5c4c6f4bf0f9e76372f923615647182a131722075f41c9ad09f410344ba2c8f2b95a32ba735886fd06090651d572bbde6187dbddcf7f5f8
7
+ data.tar.gz: 97c0654adf37b1046b75c896e0b10832a214dde9d9659430bf9eb8a5de2e11eece9d8c5d076db907713b17da7b76e66b9d4aaf2d4aa59160d6390e640979ed5b
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2017 Scott Tadman, PostageApp, The Working Group.
1
+ Copyright (c) 2012-2019 Scott Tadman, PostageApp Ltd.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -76,4 +76,4 @@ using `STDOUT` the logger will not rotate.
76
76
 
77
77
  ## Copyright
78
78
 
79
- Copyright (c) 2011-2017 Scott Tadman, PostageApp, The Working Group Inc.
79
+ Copyright (c) 2011-2019 Scott Tadman, PostageApp Ltd.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -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.1 ruby lib
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.1"
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 = "2018-01-05"
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 = "2.6.13".freeze
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
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
- s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
49
- s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
50
- s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
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"])
@@ -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.1
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: 2018-01-05 00:00:00.000000000 Z
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
- rubyforge_project:
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