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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 636ee56366f86695b2fa147203bf57615f44b14efef6e482ad3e65555d05494e
4
- data.tar.gz: b4a94664fe0dcf509ef91517fd5e45dd8e127c37534e53c2a0139b0b179b790f
3
+ metadata.gz: 914d17a4ad360b454bfd78cd537bdde420471710515a3f7d8fa06c1ce94f0880
4
+ data.tar.gz: 3201d7540626ef52c448818e955763f0ac26af59fd80bce54c481fb96f214575
5
5
  SHA512:
6
- metadata.gz: 9b276e701f2e6c3bd8eac9f5978dfa6bbe1ba01292ce1d86420dd78d20580634a53fd73db17f9d63ba1c85c4bb37f3878b3b40c4893b6353160f70922aa4c0c7
7
- data.tar.gz: 6f85abffd1f130333a2a511f73afc0848fd6a737b4323bd2e52a97ceff1d6cbd8eff0f1f4017b74f9b5f98beb7a1b601c83cb0c623664fb10ec383ee22112255
6
+ metadata.gz: 72fca69a2a0b20abd56ed1fc9006de3655592e8eb37814596e738d7ccea86e2ff7c4a0a64a00c1aa507b2bebd319273f9c0cca6fea6e35746bbcdff410ebecdd
7
+ data.tar.gz: ca46f2b05fee7d1ad56c85c9cc7f7b7271c3f97e6a7c2b2a67e53b75aa1482cadecd95c6dddd4ba5b851c6d42b86ac1f71779c4f516356c8b806ee1c5c1bce60
@@ -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', '~> 1.10'
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
@@ -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
@@ -1,5 +1,5 @@
1
1
 
2
2
  # Partial module to define the version of the gem
3
3
  module CuteLogger
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.13'
5
5
  end
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.12
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: '1.10'
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: '1.10'
68
+ version: '2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement