./devel/ruby-marcel, Simple mime type detection using magic numbers and more

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


Branch: CURRENT, Version: 1.0.4, Package name: ruby32-marcel-1.0.4, Maintainer: pkgsrc-users

Marcel attempts to choose the most appropriate content type for a given file
by looking at the binary data, the filename, and any declared type (perhaps
passed as a request header).


Required to run:
[lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 45 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-03 09:22:51 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-marcel: update to 1.0.4

1.0.3 (2024-02-28)

What's Changed

* Prefer audio/ogg instead of audio/vorbis by @gmcgibbon in #65
* Suppress warning by @wonda-tea-coffee in #69
* Add explanation of MimeType.for's handling of argument types by @elebow in
  #68
* tables.rb: Generate UTF-8 strings when possible. by @casperisfine in #70
* Remove comment strings from Tables::TYPE by @casperisfine in #71
* Store MIME parents in a distinct Hash by @casperisfine in #72
* Fix magic detection for HTML with <svg by @ursm in #74
* Update gem name in Gemfile by @elebow in #88
* Move to GitHub Actions by @hahmed in #82
* Add note in README how to extend detection of custom file types by
  @vipulnsward in #93
* Fix Illustrator detection as application/pdf instead of
  application/illustrator by @jeremy in #94

New Contributors

* @wonda-tea-coffee made their first contribution in #69
* @elebow made their first contribution in #68
* @casperisfine made their first contribution in #70
* @ursm made their first contribution in #74
* @hahmed made their first contribution in #82
* @vipulnsward made their first contribution in #93
* @jeremy made their first contribution in #94

1.0.4 (2024-03-01)

What's Changed

* Regression fix: binary declared type should fall back to filename
  extension type by @jeremy in #99
   2021-11-09 15:08:33 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
devel/ruby-marcel: update to 1.0.2

pkgsrc change: add newline to the DESCR file.

1.0.2 (2021-09-20)

* Include Apache license in gem release. (a525d5b)
* Prefer audio/x-wav for WAV audio files. (#45)
* Prefer application/x-x509-ca-cert for Privacy-Enhanced Mail
  certificates. (#46)
* Prefer audio/flac for FLAC audio files. (#47)
* Prefer audio/aac for Advanced Audio Coding audio files. (#49)
* Prefer application/vnd.ms-access for Microsodt Access DB files. (#50)
* Support text/x-scss and text/x-sass stylesheets. (#52)
* Support encrypted Microsoft Access DB files. (#53)
* Prefer application/x-ole-storage for Microsoft Office files. (#54)
* Prefer text/markdown for Markdown files. (#55)
* Prefer audio/mpc for Musepack audio files. (#56)
* Support audio/webm audio files. (#58)
* Support image/avif images files. (#63)
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

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

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-04-12 02:02:52 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-marcel: update to 1.0.1

1.0.1 (2021-04-02)

* Fixes identifying OpenDocument files by magic. 1.0.0 imprecisely
  identified them as application/zip. (#38)
* Fixes identifying .docx, .pptx, and .xlsx files exported from Google
  Sheets by magic. (#36)
* Identifies vCard files as text/vcard rather than text/x-vcard. (27fac74)
* Identifies .otf, .woff, and .woff2 files aČ™ font/otf, font/woff, and
  font/woff2, respectively. (#37)
   2018-12-06 15:25:07 by Takahiro Kambe | Files touched by this commit (4)
Log message:
devel/ruby-marcel: add version 0.3.3

Marcel attempts to choose the most appropriate content type for a given file
by looking at the binary data, the filename, and any declared type (perhaps
passed as a request header).