Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-marcel for openSUSE:Factory checked in at 2021-10-11 15:31:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-marcel (Old) and /work/SRC/openSUSE:Factory/.rubygem-marcel.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-marcel" Mon Oct 11 15:31:33 2021 rev:6 rq:924367 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-marcel/rubygem-marcel.changes 2021-07-02 13:28:55.180084356 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-marcel.new.2443/rubygem-marcel.changes 2021-10-11 15:32:31.802932772 +0200 @@ -1,0 +2,19 @@ +Sat Oct 9 09:11:21 UTC 2021 - Manuel Schnitzer <mschnit...@suse.com> + +- updated to version 1.0.2 + + * 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) + +------------------------------------------------------------------- Old: ---- marcel-1.0.1.gem New: ---- marcel-1.0.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-marcel.spec ++++++ --- /var/tmp/diff_new_pack.YjDZJS/_old 2021-10-11 15:32:32.174933369 +0200 +++ /var/tmp/diff_new_pack.YjDZJS/_new 2021-10-11 15:32:32.178933375 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-marcel -Version: 1.0.1 +Version: 1.0.2 Release: 0 %define mod_name marcel %define mod_full_name %{mod_name}-%{version} @@ -54,7 +54,7 @@ %install %gem_install \ - --doc-files="MIT-LICENSE" \ + --doc-files="MIT-LICENSE README.md" \ -f %gem_packages ++++++ marcel-1.0.1.gem -> marcel-1.0.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APACHE-LICENSE new/APACHE-LICENSE --- old/APACHE-LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/APACHE-LICENSE 2021-09-21 00:11:35.000000000 +0200 @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/README.md 2021-09-21 00:11:35.000000000 +0200 @@ -0,0 +1,68 @@ +# Marcel + +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): + +It's used like this: + +```ruby +Marcel::MimeType.for Pathname.new("example.gif") +# => "image/gif" + +File.open "example.gif" do |file| + Marcel::MimeType.for file +end +# => "image/gif" + +Marcel::MimeType.for Pathname.new("unrecognisable-data"), name: "example.pdf" +# => "application/pdf" + +Marcel::MimeType.for extension: ".pdf" +# => "application/pdf" + +Marcel::MimeType.for Pathname.new("unrecognisable-data"), name: "example", declared_type: "image/png" +# => "image/png" + +Marcel::MimeType.for StringIO.new(File.read "unrecognisable-data") +# => "application/octet-stream" +``` + +By preference, the magic number data in any passed in file is used to determine the type. If this doesn't work, it uses the type gleaned from the filename, extension, and finally the declared type. If no valid type is found in any of these, "application/octet-stream" is returned. + +Some types aren't easily recognised solely by magic number data. For example Adobe Illustrator files have the same magic number as PDFs (and can usually even be viewed in PDF viewers!). For these types, Marcel uses both the magic number data and the file name to work out the type: + +```ruby +Marcel::MimeType.for Pathname.new("example.ai"), name: "example.ai" +# => "application/illustrator" +``` + +This only happens when the type from the filename is a more specific type of that from the magic number. If it isn't the magic number alone is used. + +```ruby +Marcel::MimeType.for Pathname.new("example.png"), name: "example.ai" +# => "image/png" +# As "application/illustrator" is not a more specific type of "image/png", the filename is ignored +``` + +## Motivation + +Marcel was extracted from Basecamp 3, in order to make our file detection logic both easily reusable but more importantly, easily testable. Test fixtures have been added for all of the most common file types uploaded to Basecamp, and other common file types too. We hope to expand this test coverage with other file types as and when problems are identified. + +## Contributing + +Marcel generates MIME lookup tables with `bundle exec rake tables`. MIME types are seeded from data found in `data/*.xml`. Custom MIMEs may be added to `data/custom.xml`, while overrides to the standard MIME database may be added to `lib/marcel/mime_type/definitions.rb`. + +Marcel follows the same contributing guidelines as [rails/rails](https://github.com/rails/rails#contributing). + +## Testing + +The main test fixture files are split into two folders, those that can be recognised by magic numbers, and those that can only be recognised by name. Even though strictly unnecessary, the fixtures in both folders should all be valid files of the type they represent. + +## License + +Marcel itself is released under the terms of the MIT License. See the MIT-LICENSE file for details. + +Portions of Marcel are adapted from the [mimemagic] gem, released under the terms of the MIT License. + +Marcel's magic signature data is adapted from [Apache Tika](https://tika.apache.org), released under the terms of the Apache License. See the APACHE-LICENSE file for details. + +[mimemagic]: https://github.com/mimemagicrb/mimemagic Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/marcel/mime_type/definitions.rb new/lib/marcel/mime_type/definitions.rb --- old/lib/marcel/mime_type/definitions.rb 2021-04-02 14:59:16.000000000 +0200 +++ new/lib/marcel/mime_type/definitions.rb 2021-09-21 00:11:35.000000000 +0200 @@ -30,15 +30,37 @@ Marcel::MimeType.extend "application/vnd.apple.numbers", extensions: %w( numbers ), parents: "application/zip" Marcel::MimeType.extend "application/vnd.apple.keynote", extensions: %w( key ), parents: "application/zip" +Marcel::MimeType.extend "audio/aac", extensions: %w( aac ), parents: "audio/x-aac" + + Marcel::MimeType.extend "image/vnd.dwg", magic: [[0, "AC10"]] +Marcel::MimeType.extend "application/x-x509-ca-cert", magic: [[0, '-----BEGIN CERTIFICATE-----']], extensions: %w( pem ), parents: "application/x-x509-cert;format=pem" + +Marcel::MimeType.extend "image/avif", magic: [[4, "ftypavif"]], extensions: %w( avif ) Marcel::MimeType.extend "image/heif", magic: [[4, "ftypmif1"]], extensions: %w( heif ) Marcel::MimeType.extend "image/heic", magic: [[4, "ftypheic"]], extensions: %w( heic ) Marcel::MimeType.extend "video/mp4", magic: [[4, "ftypisom"], [4, "ftypM4V "]], extensions: %w( mp4 m4v ) +Marcel::MimeType.extend "audio/flac", magic: [[0, 'fLaC']], extensions: %w( flac ), parents: "audio/x-flac" +Marcel::MimeType.extend "audio/x-wav", magic: [[0, 'RIFF', [[8, 'WAVE']]]], extensions: %w( wav ), parents: "audio/vnd.wav" +Marcel::MimeType.extend "audio/mpc", magic: [[0, "MPCKSH"]], extensions: %w( mpc ) + Marcel::MimeType.extend "font/ttf", magic: [[0, "\x00\x01\x00\x00"]], extensions: %w( ttf ttc ) Marcel::MimeType.extend "font/otf", magic: [[0, "OTTO"]], extensions: %w( otf ), parents: "font/ttf" Marcel::MimeType.extend "application/vnd.adobe.flash.movie", magic: [[0, "FWS"], [0, "CWS"]], extensions: %w( swf ) Marcel::MimeType.extend "application/sql", extensions: %w( sql ) Marcel::MimeType.extend "text/vcard", magic: [[0, "BEGIN:VCARD"]], extensions: %w( vcf ), parents: "text/plain" + +Marcel::MimeType.extend( + "application/vnd.ms-access", + extensions: %w( mdb mde accdb accde ), + magic: [ + [0, "\x00\x01\x00\x00\x53\x74\x61\x6e\x64\x61\x72\x64\x20\x4a\x65\x74\x20\x44\x42"], # \x00\x01\x00\xStandard Jet DB + [0, "\x00\x01\x00\x00\x53\x74\x61\x6e\x64\x61\x72\x64\x20\x41\x43\x45\x20\x44\x42"], # \x00\x01\x00\xStandard ACE DB + ], + parents: "application/x-msaccess" +) + +Marcel::MimeType.extend "text/markdown", extensions: %w(md mdtext markdown mkd), parents: "text/x-web-markdown" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/marcel/tables.rb new/lib/marcel/tables.rb --- old/lib/marcel/tables.rb 2021-04-02 14:59:16.000000000 +0200 +++ new/lib/marcel/tables.rb 2021-09-21 00:11:35.000000000 +0200 @@ -1,5 +1,9 @@ # -*- coding: binary -*- # frozen_string_literal: true + +# This file is auto-generated. Instead of editing this file, please +# add MIMEs to data/custom.xml or lib/marcel/mime_type/definitions.rb. + module Marcel # @private # :nodoc: @@ -902,6 +906,7 @@ 'sas7bput' => 'application/x-sas-putility', 'sas7butl' => 'application/x-sas-utility', 'sas7bvew' => 'application/x-sas-view', + 'sass' => 'text/x-sass', 'sbml' => 'application/sbml+xml', 'sc' => 'application/vnd.ibm.secure-container', 'sc7' => 'application/x-sas-catalog', @@ -911,6 +916,7 @@ 'scm' => 'text/x-scheme', 'scq' => 'application/scvp-cv-request', 'scs' => 'application/scvp-cv-response', + 'scss' => 'text/x-scss', 'scurl' => 'text/vnd.curl.scurl', 'sd2' => 'application/x-sas-data-v6', 'sd7' => 'application/x-sas-data', @@ -2087,8 +2093,10 @@ 'text/x-rsrc' => [%w(r), %w(text/plain), 'R source code'], 'text/x-rst' => [%w(rest rst restx), %w(text/plain), 'reStructuredText source code'], 'text/x-ruby' => [%w(rb), %w(text/plain), 'Ruby source code'], + 'text/x-sass' => [%w(sass), %w(text/plain), nil], 'text/x-scala' => [%w(scala), %w(text/plain), 'Scala source code'], 'text/x-scheme' => [%w(scm), %w(text/plain), 'Scheme source code'], + 'text/x-scss' => [%w(scss), %w(text/plain), nil], 'text/x-sed' => [%w(sed), %w(text/plain), 'Sed code'], 'text/x-setext' => [%w(etx), %w(text/plain), nil], 'text/x-sql' => [%w(sql), %w(text/plain), 'SQL code'], @@ -2158,7 +2166,7 @@ ['audio/mp4', [[4, 'ftypM4A '], [4, 'ftypM4B '], [4, 'ftypF4A '], [4, 'ftypF4B ']]], ['video/quicktime', [[4, "moov\000"], [4, "mdat\000"], [4, "free\000"], [4, "skip\000"], [4, "pnot\000"], [4, 'ftyp'], [0, "\000\000\000\bwide"]]], ['video/mpeg', [[0, "\000\000\001\263"], [0, "\000\000\001\272"]]], - ['video/webm', [[0, "\032E\337\243", [[4..4096, "B\202", [[4..4096, 'webm']]]]]]], + ['video/webm', [[0, "\032E\337\243", [[4..4096, "B\202", [[4..4096, 'webm', [[4..4096, 'V_VP8'], [4..4096, 'V_VP9']]]]]]]]], ['video/x-matroska', [[0, "\032E\337\243\223B\202\210matroska"]]], ['video/x-flv', [[0, 'FLV']]], ['audio/mpeg', [[0, "\377\362"], [0, "\377\363"], [0, "\377\364"], [0, "\377\365"], [0, "\377\366"], [0, "\377\367"], [0, "\377\372"], [0, "\377\373"], [0, "\377\374"], [0, "\377\375"], [0, "\377\377"], [0, 'ID3']]], @@ -2361,6 +2369,7 @@ ['application/x-mswrite', [[0, "1\276\000\000"], [0, "2\276\000\000"]]], ['application/x-netcdf', [[0, "CDF\001"], [0, "CDF\002"], [0, "CDF\001"]]], ['application/x-object', [[0, "\177ELF", [[16, "\001\000"], [16, "\000\001"]]]]], + ['application/x-ole-storage', [[0..8, "\320\317\021\340\241\261\032\341"]]], ['application/x-parquet', [[0, 'PAR1']]], ['application/x-project', [[0, 'MPX,Microsoft Project for Windows,']]], ['application/x-prt', [[8, '0M3C']]], @@ -2397,6 +2406,7 @@ ['audio/amr-wb', [[0, "#!AMR-WB\n"]]], ['audio/eac3', [[0, "\vw"]]], ['audio/prs.sid', [[0, 'PSID']]], + ['audio/webm', [[0, "\032E\337\243", [[4..4096, "B\202", [[4..4096, 'webm', [[4..4096, 'A_VORBIS'], [4..4096, 'A_OPUS']]]]]]]]], ['audio/x-flac', [[0, 'fLaC']]], ['audio/x-mod', [[0, 'Extended Module:'], [21, 'BMOD2STM'], [1080, 'M.K.'], [1080, 'M!K!'], [1080, 'FLT4'], [1080, 'FLT8'], [1080, '4CHN'], [1080, '6CHN'], [1080, '8CHN'], [1080, 'CD81'], [1080, 'OKTA'], [1080, '16CN'], [1080, '32CN'], [0, 'IMPM']]], ['audio/x-mpegurl', [[0, "#EXTM3U\r\n"]]], @@ -2490,8 +2500,8 @@ ['message/rfc822', [[0..1000, "\nMessage-ID:"]]], ['text/html', [[0..64, '<!DOCTYPE HTML'], [0..64, '<!DOCTYPE html'], [0..64, '<!doctype HTML'], [0..64, '<!doctype html'], [0..64, '<HEAD'], [0..64, '<head'], [0..64, '<TITLE'], [0..64, '<title'], [0..64, '<HTML'], [0, '<BODY'], [0, '<body'], [0, '<DIV'], [0, '<div'], [0, '<TITLE'], [0, '<title'], [0, '<h1'], [0, '<H1'], [0..128, '<html']]], ['text/vtt', [[0, "WEBVTT\r"], [0, "WEBVTT\n"], [0, '0xfeff', [[2, "WEBVTT\r"]]], [0, '0xfeff', [[2, "WEBVTT\n"]]], [0, "WEBVTT FILE\r"], [0, "WEBVTT FILE\n"]]], - ['text/x-matlab', [[0, "function [a-zA-Z][A-Za-z0-9_]{0,62}\\\\s*="]]], ['text/x-matlab', [[0, "function [a-zA-Z][A-Za-z0-9_]{0,62}[\\\\r\\\\n]"]]], + ['text/x-matlab', [[0, "function [a-zA-Z][A-Za-z0-9_]{0,62}\\\\s*="]]], ['application/inf', [[0, '[version]'], [0, '[strings]']]], ['application/x-bibtex-text-file', [[0, '%', [[2..128, "\n@article{"], [2..128, "\n@book{"], [2..128, "\n@inbook{"], [2..128, "\n@incollection{"], [2..128, "\n@inproceedings{"], [2..128, "\n@manual{"], [2..128, "\n@misc{"], [2..128, "\n@preamble{"], [2..128, "\n@phdthesis{"], [2..128, "\n@string{"], [2..128, "\n@techreport{"], [2..128, "\n@unpublished{"]]]]], ['application/xml', [[0, '<!--']]], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/marcel/version.rb new/lib/marcel/version.rb --- old/lib/marcel/version.rb 2021-04-02 14:59:16.000000000 +0200 +++ new/lib/marcel/version.rb 2021-09-21 00:11:35.000000000 +0200 @@ -1,3 +1,3 @@ module Marcel - VERSION = "1.0.1" + VERSION = "1.0.2" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-04-02 14:59:16.000000000 +0200 +++ new/metadata 2021-09-21 00:11:35.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: marcel version: !ruby/object:Gem::Version - version: 1.0.1 + version: 1.0.2 platform: ruby authors: - Tom Ward -autorequire: +autorequire: bindir: bin cert_chain: [] -date: 2021-04-02 00:00:00.000000000 Z +date: 2021-09-20 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: minitest @@ -94,14 +94,16 @@ - - "~>" - !ruby/object:Gem::Version version: 10.0.2 -description: +description: email: - t...@basecamp.com executables: [] extensions: [] extra_rdoc_files: [] files: +- APACHE-LICENSE - MIT-LICENSE +- README.md - lib/marcel.rb - lib/marcel/magic.rb - lib/marcel/mime_type.rb @@ -113,7 +115,7 @@ - MIT - Apache-2.0 metadata: {} -post_install_message: +post_install_message: rdoc_options: [] require_paths: - lib @@ -128,8 +130,8 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.2.3 -signing_key: +rubygems_version: 3.1.6 +signing_key: specification_version: 4 summary: Simple mime type detection using magic numbers, filenames, and extensions test_files: []