strftime_logger 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/strftime_logger/formatter.rb +1 -1
- data/spec/formatter_spec.rb +2 -2
- data/strftime_logger.gemspec +1 -1
- 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: ece65b475f10961a1676f2ee93267fb74cb95cf1
|
4
|
+
data.tar.gz: 844f73b09c506445694540aa28d0d53fad80e97f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c9dfac4de0c32c19b26bf6154bb3b410d8b76dd326e99f29ea1b4f0de571cecba193f85da6eb09598398320adbc5ea21f05de669baf9833a3ef5084b791879
|
7
|
+
data.tar.gz: 8efa1dd12b595043c7b2e8351ed5f136086cbbdfc57da12ef5f98c004059bd6b23d41703974a59ac266f3e187cfaff007601229c6b7c7711d32bafce8f7657c7
|
data/CHANGELOG.md
CHANGED
data/spec/formatter_spec.rb
CHANGED
@@ -27,7 +27,7 @@ describe StrftimeLogger do
|
|
27
27
|
end
|
28
28
|
File.open("#{log_dir}/application.log.#{today}") do |f|
|
29
29
|
expect(f.gets).to eq "#{now} [INFO] test\n"
|
30
|
-
expect(f.gets).to match(/#{Regexp.escape(now)} \[INFO\] ArgumentError test/)
|
30
|
+
expect(f.gets).to match(/#{Regexp.escape(now)} \[INFO\] ArgumentError \(test\)\\n.*formatter_spec\.rb/)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
@@ -40,7 +40,7 @@ describe StrftimeLogger do
|
|
40
40
|
end
|
41
41
|
File.open("#{log_dir}/application.log.#{today}") do |f|
|
42
42
|
expect(f.gets).to eq "test\n"
|
43
|
-
expect(f.gets).to match(/ArgumentError test/)
|
43
|
+
expect(f.gets).to match(/ArgumentError \(test\)\\n.*formatter_spec\.rb/)
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
data/strftime_logger.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "strftime_logger"
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.3"
|
8
8
|
gem.authors = ["Naotoshi Seo"]
|
9
9
|
gem.email = ["sonots@gmail.com"]
|
10
10
|
gem.description = %q{A logger treats log rotation in strftime fashion}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strftime_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A logger treats log rotation in strftime fashion
|
14
14
|
email:
|