cute_logger 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cute_logger.gemspec +1 -1
- data/lib/cute_logger.rb +1 -1
- data/lib/cute_logger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 914d17a4ad360b454bfd78cd537bdde420471710515a3f7d8fa06c1ce94f0880
|
4
|
+
data.tar.gz: 3201d7540626ef52c448818e955763f0ac26af59fd80bce54c481fb96f214575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72fca69a2a0b20abd56ed1fc9006de3655592e8eb37814596e738d7ccea86e2ff7c4a0a64a00c1aa507b2bebd319273f9c0cca6fea6e35746bbcdff410ebecdd
|
7
|
+
data.tar.gz: ca46f2b05fee7d1ad56c85c9cc7f7b7271c3f97e6a7c2b2a67e53b75aa1482cadecd95c6dddd4ba5b851c6d42b86ac1f71779c4f516356c8b806ee1c5c1bce60
|
data/cute_logger.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_runtime_dependency 'utf8_converter', '~> 0.1'
|
27
27
|
spec.add_runtime_dependency 'colorize', '~> 0.8.1'
|
28
28
|
|
29
|
-
spec.add_development_dependency 'bundler', '~>
|
29
|
+
spec.add_development_dependency 'bundler', '~> 2'
|
30
30
|
spec.add_development_dependency 'rake', '~> 10.0'
|
31
31
|
spec.add_development_dependency 'minitest', '~> 5'
|
32
32
|
end
|
data/lib/cute_logger.rb
CHANGED
@@ -21,8 +21,8 @@ module CuteLogger
|
|
21
21
|
ENV['CUTE_LOGGER_SHIFT_SIZE'] || settings[:shift_size] || 1024 * 1024 * 1024 # One gigabyte
|
22
22
|
)
|
23
23
|
@logger.sev_threshold = severity(ENV['CUTE_LOGGER_SEVERITY'] || settings[:severity])
|
24
|
-
@logger.datetime_format = '%Y-%m-%dT%H:%M:%S.%L%z'
|
25
24
|
@logger.formatter = proc do |severity, datetime, progname, msg|
|
25
|
+
datetime = Time.now.strftime('%Y-%m-%dT%H:%M:%S.%L%z')
|
26
26
|
"#{datetime},#{severity},#{Process.pid.to_s(16)},#{Thread.current.object_id.to_s(16)}" \
|
27
27
|
",#{progname},#{msg}\n"
|
28
28
|
end
|
data/lib/cute_logger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cute_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Del Rio
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '2'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|