Robb Shecter changed the default log level for duplicate type variant from
warn to debug in #170. This works because MIME::Types.logger is
intended to fit the ::Logger interface, and the default logger
(WarnLogger) is a subclass of ::Logger that passes through to
Kernel.warn.
Further consideration has changed cache load messages from warn to
error and deprecation messages from warn to debug.
1 bug fix:
Added a definition of MIME::Type#hash. Contributed by Alex Vondrak in
#167, fixing #166.
Dependency and CI updates:
Update the .github/workflows/ci.yml workflow to test Ruby 3.2 and more
reliably test certain combinations rather than depending on exclusions.
Change .standard.yml configuration to format for Ruby 2.3 as certain files
are not properly detected with Ruby 2.0.
Change from hoe-git to hoe-git2 to support Hoe version 4.
Apply standardrb --fix.
The above changes have resulted in the Soft deprecation of Ruby versions
below 2.6. Any errors reported for Ruby versions 2.0, 2.1, 2.2, 2.3, 2.4,
and 2.5 will be resolved, but maintaining CI for these versions is
unsustainable.
1 minor enhancement:
Robb Shecter changed the default log level for duplicate type variant from
warn
todebug
in #170. This works becauseMIME::Types.logger
is intended to fit the::Logger
interface, and the default logger (WarnLogger
) is a subclass of::Logger
that passes through toKernel.warn
.Further consideration has changed cache load messages from
warn
toerror
and deprecation messages fromwarn
todebug
.1 bug fix:
MIME::Type#hash
. Contributed by Alex Vondrak in #167, fixing #166.Dependency and CI updates:
Update the .github/workflows/ci.yml workflow to test Ruby 3.2 and more reliably test certain combinations rather than depending on exclusions.
Change
.standard.yml
configuration to format for Ruby 2.3 as certain files are not properly detected with Ruby 2.0.Change from
hoe-git
tohoe-git2
to support Hoe version 4.Apply
standardrb --fix
.The above changes have resulted in the Soft deprecation of Ruby versions below 2.6. Any errors reported for Ruby versions 2.0, 2.1, 2.2, 2.3, 2.4, and 2.5 will be resolved, but maintaining CI for these versions is unsustainable.
This change is