15 Commits
Author SHA1 Message Date
Hiroshi SHIBATA 95f570d0d3 [ruby/logger] bump version to 1.4.2
https://github.com/ruby/logger/commit/d6c01cc652
2019-12-10 21:03:36 +09:00
Jeremy EvansandHiroshi SHIBATA 38722fa179 [ruby/logger] Raise ArgumentError for invalid shift_age
Consider 'now' and 'everytime' as valid values for the previous
behavior of rotating everytime.

Fixes Ruby Bug 15977

https://github.com/ruby/logger/commit/f92979a376
2019-12-10 20:59:02 +09:00
Hiroshi SHIBATA 4b36832ba6 Merge the upstream changes for test-unit on ruby/logger.
This commits are based with:
    https://github.com/ruby/logger/commit/f067f7d1aa743b467d633ec6d1790bd93ed9e25b
    https://github.com/ruby/logger/commit/86058f420d8f6909500cccceb24f58bef0597b4d
    https://github.com/ruby/logger/commit/02db6e8ed85d1f4ba974f08fee292bad400d9fc2
2019-12-09 19:17:32 +09:00
sonotsandHiroshi SHIBATA ff7cc0dc34 [ruby/logger] 1.4.1
https://github.com/ruby/logger/commit/5987f518d1
2019-12-09 19:17:32 +09:00
Hiroshi SHIBATA 895f86c81b [ruby/logger] Fixes #38
https://github.com/ruby/logger/commit/31efbb29ff
2019-12-09 19:17:31 +09:00
sonotsandHiroshi SHIBATA 0fe1b05082 [ruby/logger] 1.4.0
https://github.com/ruby/logger/commit/8127ce0b56
2019-12-09 19:17:31 +09:00
Akira MatsudaandHiroshi SHIBATA 6158e28f8d [ruby/logger] Avoid creating [] and "" when logging an Exception that has no backtrace
https://github.com/ruby/logger/commit/75fd308053
2019-12-09 19:17:31 +09:00
sonotsandHiroshi SHIBATA 0aafc32995 [ruby/logger] frozen_string_literal: true
https://github.com/ruby/logger/commit/a057eede7b
2019-12-09 19:17:31 +09:00
Hiroshi SHIBATA 036039c8a2 Fixed LoadError of version file. 2019-07-15 14:45:30 +09:00
Hiroshi SHIBATA 0eafa1dce8 Fixed inconsitency locations of default gems. 2019-07-15 14:43:08 +09:00
Rafael Mendonça FrançaandHiroshi SHIBATA 58065b8701 [ruby/logger] Add option to set the binary mode of the log device
Without binmode strings with incompatible encoding can't be written in
the file. This is very common in applications that log user provided
parameters.

We need to allow changing the binnary mode because right now it is impossible to use
the built-in log rotation feature when you provide a File object to the
LogDevice, and if you provide a filename you can't have binmode.

https://github.com/ruby/logger/commit/9114b3ac7e
2019-07-15 14:43:08 +09:00
Jeremy EvansandHiroshi SHIBATA f4064a0a0c [ruby/logger] Set filename when initializing logger with a File object
This should allow reopen to work.  Requested in ruby issue #14595.

https://github.com/ruby/logger/commit/bd367aff12
2019-07-15 14:43:08 +09:00
Samuel WilliamsandHiroshi SHIBATA 3fdb963827 [ruby/logger] Prefer require_relative, it's a little bit faster.
https://github.com/ruby/logger/commit/1e2aab4bea
2019-07-15 14:43:07 +09:00
sonotsandHiroshi SHIBATA 7f10da9d27 [ruby/logger] require 'logger/errors' just for compat
https://github.com/ruby/logger/commit/255a51dc10
2019-07-15 14:43:07 +09:00
Colby SwandaleandHiroshi SHIBATA bbe157f340 [ruby/logger] split logger classes/modules into separate files
https://github.com/ruby/logger/commit/f10ce9fff2
2019-07-15 14:43:07 +09:00