Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate array and string type initialization #183

Merged
merged 1 commit into from
Oct 2, 2024

Commits on Oct 2, 2024

  1. Deprecate array and string type initialization

    - 2 deprecations:
    
      - Array-based MIME::Type initialization
      - String-based MIME::Type initialization
    
      Use of these these will result in deprecation warnings.
    
    - Added `logger` to the gemspec to suppress a bundled gem warning with
      Ruby 3.3.5. This warning should not be showing up until Ruby 3.4.0 is
      released and will be suppressed in Ruby 3.3.6.
    
    - Reworked the deprecation message code to be somewhat more flexible and
      allow for outputting certain warnings once. Because there will be
      at least one other release after 3.6, we do not need to make the
      type initialization deprecations frequent with this release.
    halostatue committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1586511 View commit details
    Browse the repository at this point in the history