./mail/ruby-mime-types, Definition of MIME types for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.6.0, Package name: ruby32-mime-types-3.6.0, Maintainer: pkgsrc-users

This library allows for the identification of a file's likely MIME
content type. The identification of MIME content type is based on a
file's filename extensions.


Required to run:
[mail/ruby-mime-types-data] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 38.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-03 16:54:33 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
mail/ruby-mime-types: udpate to 3.5.2

3.5.2 (2024-01-02)

There are no primary code changes, but we are releasing this as an update as
there are some validation changes and updated code with formatting.

Dependency and CI updates:

* Masato Nakamura added Ruby 3.3 to the CI workflow in #179.
* Fixed regressions in standard formatting in #180.
* Removed minitest-bonus-assertions because of a bundler resolution
  issue. Created a better replacement in-line.
   2023-08-26 15:37:07 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
mail/ruby-mime-types: update to 3.5.1

3.5.1 (2023-08-21)

1 bug fix:

* Better handle possible line-termination strings (legal in Unix filenames)
  such as \n in MIME::Types.type_for.  Reported by ooooooo-q in #177,
  resolved in #178.
   2023-08-11 13:02:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
mail/ruby-mime-types: update to 3.5.0

3.5.0 (2023-08-07)

1 minor enhancement:

* 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.
   2021-11-23 15:34:55 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
mail/ruby-mime-types: update to 3.4.1

pkgsrc chnage: fix CATEGORIES from www to mail.

3.4.1 (2021-11-16)

1 bugfix:

* Fixed a Ruby < 2.3 incompatibility introduced by the use of standardrb,
  where <<- heredocs were converted to <<~ heredocs. These have been
  reverted back to <<- with the indentation kept and a .strip call to
  prevent excess whitespace.

3.4.0 (2021-11-15)

1 minor enhancement:

* Added a new field to MIME::Type for checking provisional registrations
  from IANA. [#157]

Documentation:

* Kevin Menard synced the documentation so that all examples are
  correct. #153

Administrivia:

* Added Ruby 3.0 to the CI test matrix. Added windows/jruby to the CI
  exclusion list; it refuses to run successfully.
* Removed the Travis CI configuration and changed it to Github Workflows
  #150. Removed Coveralls configuration.
* Igor Victor added TruffleRuby to the Travis CI configuration. #149
* Koichi ITO loosened an excessively tight dependency. #147
* Started using standardrb for Ruby formatting and validation.
* Moved deps:top functionality to a support file.
   2021-10-26 12:54:34 by Nia Alarie | Files touched by this commit (356)
Log message:
mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
   2021-10-07 16:25:52 by Nia Alarie | Files touched by this commit (357)
Log message:
mail: Remove SHA1 hashes for distfiles
   2020-03-08 17:04:22 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
mail/ruby-mime-types: update to 3.3.1

Update ruby-mime-types to 3.3.1.

## 3.3.1 / 2019-12-26

*   1 minor bugfix:

    *   Al Snow fixed a warning with MIME::Types::Logger producing a warning
        because Ruby 2.7 introduces numbered block parameters. Because of the
        way that the MIME::Types::Logger works for deprecation messages, the
        initializer parameters had been named `_1`, `_2`, and `_3`. This has
        now been resolved. [#146][]

*   Administrivia:

    *   Olle Jonsson removed an outdated Travis configuration option (`sudo:
        false`). [#142][]
   2019-11-02 16:10:29 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
mail/ruby-mime-types: update to 3.3

Update ruby-mime-types to 3.3.

pkgsrc change: Add "USE_LANGUAGES=	# none".

## 3.3 / 2019-09-04

*   1 minor enhancement

    *   Jean Boussier reduced memory usage for Ruby versions 2.3 or higher by
        interning various string values in each type. This is done with a
        backwards-compatible call that _freezes_ the strings on older
        versions of Ruby. [#141][]

*   Administrivia:

    *   Nicholas La Roux updated Travis build configurations. [#139][]