Skip to content

Commit

Permalink
mime-types 2.99.2: data release (#119)
Browse files Browse the repository at this point in the history
- Update to Contributor Covenant 1.4.
- Fix some small documentation issues.
- Also updates some release-software tooling.
  • Loading branch information
halostatue committed May 21, 2016
1 parent 00fce9b commit 2ed6903
Show file tree
Hide file tree
Showing 25 changed files with 442 additions and 152 deletions.
24 changes: 19 additions & 5 deletions .hoerc
Expand Up @@ -2,17 +2,31 @@
exclude: !ruby/regexp '/
\.(tmp|swp)$
|
CVS/
\.(?:autotest|gemtest|gitignore|hoerc|minitest.rb|simplecov-prelude.rb)
|
(?i:TAGS)
CVS\/
|
\.(svn|git|hg|DS_Store|idea|vagrant)\/
^(?i:TAGS)
|
Gemfile(?:\.lock)?
\.(?:
DS_Store|
bundle|
git|
hg|
idea|
svn|
vagrant
)\/
|
[gG]emfile(?:\.lock)?
|
type-lists\/
|
\.(coveralls|pullreview|travis).yml$
\.(coveralls|pullreview|travis|rubocop.*)\.yml$
|
\.byebug_history
|
.bundle\/
|
\.gemspec
|
Expand Down
87 changes: 60 additions & 27 deletions Code-of-Conduct.rdoc
@@ -1,41 +1,74 @@
== Contributor Code of Conduct
== Contributor Covenant Code of Conduct

As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.
## Our Pledge

We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age,
body size, disability, ethnicity, gender identity and expression, level of
experience, nationality, personal appearance, race, religion, or sexual
identity and orientation.

=== Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct.
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

=== Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct. By adopting this Code of Conduct,
project maintainers commit themselves to fairly and consistently applying these
principles to every aspect of managing this project. Project maintainers who do
not follow or enforce the Code of Conduct may be permanently removed from the
project team.
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

This code of conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
=== Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an
appointed representative at an online or offline event. Representation of a
project may be further defined and clarified by project maintainers.

=== Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by opening an issue or contacting one or more of the project
maintainers.
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an
incident. Further details of specific enforcement policies may be posted
separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

=== Attribution

This Code of Conduct is adapted from the
{Contributor Covenant}[http://contributor-covenant.org], version 1.2.0,
This Code of Conduct is adapted from the {Contributor
Covenant}[http://contributor-covenant.org], version 1.4,
available at
{http://contributor-covenant.org/version/1/2/0/}[http://contributor-covenant.org/version/1/2/0/].
{http://contributor-covenant.org/version/1/4/}[http://contributor-covenant.org/version/1/4/].
1 change: 1 addition & 0 deletions Contributing.rdoc
Expand Up @@ -165,5 +165,6 @@ Thanks to everyone else who has contributed to mime-types:
* Richard Hirner
* Richard Hurt
* Richard Schneeman
* Tao Guo
* Tibor Szolár
* Todd Carrico
51 changes: 36 additions & 15 deletions History-Types.rdoc
@@ -1,34 +1,55 @@
= MIME Types Changes by Version

== 2.99.2 / 2016-05-21

* Updated the known extension list for application/octet-stream and
application/pgp-encrypted to include gpg as an extension.
* Updated the IANA media registry entries as of release date:
* Updated metadata for application/EmergencyCallData.Comment\+xml,
application/EmergencyCallData.DeviceInfo\+xml,
application/EmergencyCallData.ProviderInfo\+xml,
application/EmergencyCallData.ServiceInfo\+xml,
application/EmergencyCallData.SubscriberInfo\+xml,
application/ogg, application/problem\+json, application/problem\+xml,
audio/ogg, teext/markdown, video/H265, video/ogg.
* Added application/efi, application/vnd.3gpp.sms\+xml,
application/vnd.3lightssoftware.imagescal,
application/vnd.coreos.ignition\+json, application/vnd.oma.lwm2m\+json,
application/vnd.onepager, application/vnd.quarantainenet,
application/vnd.vel\+json, image/emf, image/wmf, text/prs.prop.logic.
* image/bmp has a draft RFC which would make it official; it has been finally
been registered. As such, this version *reverses* the use-instead
relationship of image/bmp and image/x-bmp.

== 2.99.1 / 2016-02-21

* Updated the known extensions list for audio/mp4.
* Updated the IANA media registry entries as of release date:
* Updated metadata for 3GPP-defined types (there are many),
application/cdni, and application/rfc+xml.
* Added application/EmergencyCallData.Comment+xml,
application/EmergencyCallData.DeviceInfo+xml,
application/EmergencyCallData.ProviderInfo+xml,
application/EmergencyCallData.ServiceInfo+xml,
application/ppsp-tracker+json, application/problem+json,
application/problem+xml, application/vnd.filmit.zfc, application/vnd.hdt,
application/cdni, and application/rfc\+xml.
* Added application/EmergencyCallData.Comment\+xml,
application/EmergencyCallData.DeviceInfo\+xml,
application/EmergencyCallData.ProviderInfo\+xml,
application/EmergencyCallData.ServiceInfo\+xml,
application/ppsp-tracker\+json, application/problem\+json,
application/problem\+xml, application/vnd.filmit.zfc, application/vnd.hdt,
application/vnd.mapbox-vector-tile,
application/vnd.ms-PrintDeviceCapabilities+xml,
application/vnd.ms-PrintSchemaTicket+xml,
application/vnd.ms-PrintDeviceCapabilities\+xml,
application/vnd.ms-PrintSchemaTicket\+xml,
application/vnd.ms-windows.nwprinting.oob, application/vnd.tml,
model/vnd.rosette.annotated-data-model, and video/H265

== 2.99 / 2015-11-21

* Removed deprecated fields from the data files.
* Updated the IANA media registry entries as of release date:
* Updated metadata for application/scim+json, audio/G711-0, text/markdown.
* Added application/cdni, application/csvm+json, application/rfc+xml,
application/vnd.3gpp.access-transfer-events+xml,
application/vnd.3gpp.srvcc-ext+xml, application/vnd.3gpp.SRVCC-info+xml,
* Updated metadata for application/scim\+json, audio/G711-0, text/markdown.
* Added application/cdni, application/csvm\+json, application/rfc\+xml,
application/vnd.3gpp.access-transfer-events\+xml,
application/vnd.3gpp.srvcc-ext\+xml, application/vnd.3gpp.SRVCC-info\+xml,
application/vnd.ms-windows.devicepairing,
application/vnd.ms-windows.wsd.oob, application/vnd.oxli.countgraph,
application/vnd.pagerduty+json, video/VP8.
application/vnd.pagerduty\+json, video/VP8.

== 2.6.2 / 2015-09-13

Expand Down Expand Up @@ -118,7 +139,7 @@
application/vnd.apache.thrift.binary, application/vnd.artsquare,
application/vnd.doremir.scorecloud-binary-document, application/vnd.dzr,
application/vnd.maxmind.maxmind-db,
application/vnd.ntt-local.ogw_remote-access, application/xml-patch+xml,
application/vnd.ntt-local.ogw_remote-access, application/xml-patch\+xml,
image/vnd.tencent.tap.

== 2.3 / 2014-05-23
Expand Down
10 changes: 10 additions & 0 deletions History.rdoc
@@ -1,3 +1,13 @@
== 2.99.2 / 2016-05-21

* Data release. This release reflects updates to the embedded MIME type
data on the specified quarterly schedule.

* Minor improvement to the Rakefile, .hoerc, and Manifest to ensure that builds
work correctly on Travis.

* Updated to {Contributor Covenant 1.4}[Code-of-Conduct_rdoc.html].

== 2.99.1 / 2016-02-21

* Data release. This release reflects only updates to the embedded MIME type
Expand Down
2 changes: 1 addition & 1 deletion Licence.rdoc
Expand Up @@ -9,7 +9,7 @@ Artistic Licence and the GNU GPL ("the same terms as Perl itself") and given
that the Ruby implementation originally hewed pretty closely to the Perl
version, I chose to maintain the additional licensing terms.

* Copyright 2003–2015 Austin Ziegler.
* Copyright 2003–2016 Austin Ziegler and other contributors.
* Adapted from MIME::Types (Perl) by Mark Overmeer.

=== MIT License
Expand Down
4 changes: 0 additions & 4 deletions Manifest.txt
@@ -1,7 +1,3 @@
.autotest
.gemtest
.gitignore
.hoerc
Code-of-Conduct.rdoc
Contributing.rdoc
History-Types.rdoc
Expand Down
9 changes: 7 additions & 2 deletions Rakefile
@@ -1,4 +1,4 @@
# -*- ruby encoding: utf-8 -*-
# frozen_string_literal: true

require 'rubygems'
require 'hoe'
Expand Down Expand Up @@ -190,6 +190,11 @@ namespace :convert do
end
end

Rake::Task['gem'].prerequisites.unshift('convert:yaml:json')
desc 'Default conversion from YAML to JSON and Columnar'
task convert: [ 'convert:yaml:json', 'convert:yaml:columnar' ]

Rake::Task['gem'].prerequisites.unshift('convert')
Rake::Task['gem'].prerequisites.unshift('git:manifest')
Rake::Task['gem'].prerequisites.unshift('gemspec')

# vim: syntax=ruby
2 changes: 1 addition & 1 deletion data/mime-types.json

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions data/mime.content_type.column
Expand Up @@ -87,6 +87,7 @@ application/ecmascript ecma
application/EDI-consent
application/EDI-X12
application/EDIFACT
application/efi
application/EmergencyCallData.Comment+xml
application/EmergencyCallData.DeviceInfo+xml
application/EmergencyCallData.ProviderInfo+xml
Expand Down Expand Up @@ -222,7 +223,7 @@ application/nlsml+xml
application/nss
application/ocsp-request
application/ocsp-response
application/octet-stream bin dms lha lzh exe class ani pgp so dll dylib bpk deploy dist distz dump elc lrf mar pkg
application/octet-stream bin dms lha lzh exe class ani pgp gpg so dll dylib bpk deploy dist distz dump elc lrf mar pkg
application/oda oda
application/ODX
application/oebps-package+xml opf
Expand All @@ -235,7 +236,7 @@ application/parityfec
application/patch-ops-error+xml xer
application/pdf pdf
application/PDX
application/pgp-encrypted pgp
application/pgp-encrypted pgp gpg
application/pgp-keys
application/pgp-signature asc sig
application/pics-rules prf
Expand Down Expand Up @@ -374,13 +375,15 @@ application/vnd.3gpp.pic-bw-large plb
application/vnd.3gpp.pic-bw-small psb
application/vnd.3gpp.pic-bw-var pvb
application/vnd.3gpp.sms sms
application/vnd.3gpp.sms+xml
application/vnd.3gpp.srvcc-ext+xml
application/vnd.3gpp.SRVCC-info+xml
application/vnd.3gpp.state-and-event-info+xml
application/vnd.3gpp.ussd+xml
application/vnd.3gpp2.bcmcsinfo+xml
application/vnd.3gpp2.sms
application/vnd.3gpp2.tcap tcap
application/vnd.3lightssoftware.imagescal
application/vnd.3M.Post-it-Notes pwn
application/vnd.accpac.simply.aso aso
application/vnd.accpac.simply.imp imp
Expand Down Expand Up @@ -452,6 +455,7 @@ application/vnd.collection.next+json
application/vnd.commerce-battelle
application/vnd.commonspace csp
application/vnd.contact.cmsg cdbcmsg
application/vnd.coreos.ignition+json
application/vnd.cosmocaller cmc
application/vnd.crick.clicker clkx
application/vnd.crick.clicker.keyboard clkk
Expand Down Expand Up @@ -901,6 +905,7 @@ application/vnd.oma.dcdc
application/vnd.oma.dd2+xml dd2
application/vnd.oma.drm.risd+xml
application/vnd.oma.group-usage-list+xml
application/vnd.oma.lwm2m+json
application/vnd.oma.pal+xml
application/vnd.oma.poc.detailed-progress-report+xml
application/vnd.oma.poc.final-report+xml
Expand All @@ -914,6 +919,7 @@ application/vnd.omads-email+xml
application/vnd.omads-file+xml
application/vnd.omads-folder+xml
application/vnd.omaloc-supl-init
application/vnd.onepager
application/vnd.openblox.game+xml
application/vnd.openblox.game-binary
application/vnd.openeye.oeb
Expand Down Expand Up @@ -1028,6 +1034,7 @@ application/vnd.pvi.ptid1 pti ptid
application/vnd.pwg-multiplexed
application/vnd.pwg-xhtml-print+xml
application/vnd.qualcomm.brew-app-res
application/vnd.quarantainenet
application/vnd.Quark.QuarkXPress qxd qxt qwd qwt qxl qxb
application/vnd.quobject-quoxdocument
application/vnd.radisys.moml+xml
Expand Down Expand Up @@ -1162,6 +1169,7 @@ application/vnd.valve.source.material
application/vnd.vcx vcx
application/vnd.vd-study
application/vnd.vectorworks
application/vnd.vel+json
application/vnd.verimatrix.vcas
application/vnd.vidsoft.vidconference vsc
application/vnd.visio vsd vst vsw vss
Expand Down Expand Up @@ -1605,6 +1613,7 @@ drawing/dwf dwf
image/bmp bmp
image/cgm cgm
image/cmu-raster
image/emf
image/example
image/fits
image/g3fax g3
Expand Down Expand Up @@ -1660,6 +1669,7 @@ image/vnd.wap.wbmp wbmp
image/vnd.xiff xif
image/vnd.zbrush.pcx
image/webp webp
image/wmf
image/x-3ds 3ds
image/x-bmp bmp
image/x-cmu-raster ras
Expand Down Expand Up @@ -1779,6 +1789,7 @@ text/plain txt asc c cc h hh cpp hpp dat hlp conf def doc in list log markdown m
text/provenance-notation
text/prs.fallenstein.rst rst
text/prs.lines.tag dsc
text/prs.prop.logic
text/raptorfec
text/RED
text/rfc822-headers
Expand Down

0 comments on commit 2ed6903

Please sign in to comment.