summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History.rdoc40
-rw-r--r--Manifest.txt10
-rw-r--r--README.rdoc8
-rw-r--r--lib/mime/types.rb8
-rw-r--r--mime-types.gemspec14
5 files changed, 43 insertions, 37 deletions
diff --git a/History.rdoc b/History.rdoc
index d1ad12652f..b59803d64d 100644
--- a/History.rdoc
+++ b/History.rdoc
@@ -1,21 +1,40 @@
-== 1.?? / ????-??-??
-* Resolve issue #8 (https://github.com/halostatue/mime-types/issues/8).
- Apparently some people run the tests on Linux. Imagine that. :)
+== 1.19 / 2012-06-20
+* New MIME Types:
+ * XCF Gnome Images (image/x-xcf, image/x-compressed-xcf; .xcf). https://github.com/halostatue/mime-types/issue/17
+ * Types reported in https://github.com/halostatue/mime-types/issues/12:
+ * DV (video/x-dv; .dv)
+ * IVF (video/x-ivf; .ivf)
+ * Matroska (video/x-matroska; .mkv)
+ * Motion JPEG (video/x-motion-jpeg; .mjpg)
+ * RealMedia (official; application/vnd.rn-realmedia; .rm)
+* New extensions:
+ * dcm (application/dicom); https://github.com/halostatue/mime-types/issue/16.
+ * Types reported in https://github.com/halostatue/mime-types/issues/12:
+ * 3g2, 3gpp2 (video/3gpp2)
+ * mpeg (video/mpeg)
+ * mxf (application/mxf)
+ * ts (video/MP2T)
+ * ogg (video/ogg)
+* Fixed MIME Types:
+ * Adobe AIR application installer packages was missing a hyphen. https://github.com/halostatue/mime-types/issue/13
+ * Types reported in https://github.com/halostatue/mime-types/issues/12:
+ * audio/x-pn-realaudio extension is .ra, not .rm.
+* Resolved https://github.com/halostatue/mime-types/issues/8. Apparently some people run the tests on Linux. Imagine that.
== 1.18 / 2012-03-20
* New MIME Types:
- * Types reported in Issue #6 (https://github.com/halostatue/mime-types/issues/6):
+ * Types reported in https://github.com/halostatue/mime-types/issues/6:
* CoffeeScript (text/x-coffeescript; .coffee; 8bit).
* AIR (application/vnd.adobe.air-applicationinstaller-package+zip, .air; base64).
* WOFF (application/font-woff; .woff; base64).
* TrueType (application/x-font-truetype; .ttf; base64).
* OpenType (application/x-font-opentype; .otf; base64).
- * WebM (audio/webm, video/webm; .webm). Issue #11 (https://github.com/halostatue/mime-types/issues/11).
+ * WebM (audio/webm, video/webm; .webm). https://github.com/halostatue/mime-types/issues/11.
* New extensions:
* f4v/f4p (video/mp4, used by Adobe); f4a/fb4 (audio/mp4, used by Adobe).
* Bug Fixes:
* It was pointed out that Licence.txt was incorrectly named. Fixed by renaming to Licence.rdoc (from Issue/Pull Request #8, https://github.com/halostatue/mime-types/issues/8).
- * It was pointed out that a plan to have the test output generated automatically never went through. Issue #10 (https://github.com/halostatue/mime-types/issues/10)
+ * It was pointed out that a plan to have the test output generated automatically never went through. https://github.com/halostatue/mime-types/issues/10
== 1.17.2 / 2011-10-25
* Bug Fixes:
@@ -26,13 +45,10 @@
* Implemented modern 'hoe' semantics.
* Switched to minitest instead of test/unit.
* Converted documentation from .txt to .rdoc.
- * Removed setup.rb. (Issue #3:
- https://github.com/halostatue/mime-types/issues/3).
- * Should no longer complain about missing RubyGems keys (Issue #2:
- https://github.com/halostatue/mime-types/issues/2).
+ * Removed setup.rb. https://github.com/halostatue/mime-types/issues/3
+ * Should no longer complain about missing RubyGems keys https://github.com/halostatue/mime-types/issues/2
* Added .mp4 and .mpg4 as recognized extensions for
- {application,audio,video}/mp4 per RFC4337. (Issue #1:
- https://github.com/halostatue/mime-types/issues/1).
+ {application,audio,video}/mp4 per RFC4337. https://github.com/halostatue/mime-types/issues/1
* Added audio/x-aac and .aac per RubyForge issue #28054
(http://rubyforge.org/tracker/index.php?func=detail&aid=28054&group_id=293&atid=1194).
* Made it much easier to update MIME types from this point forward.
diff --git a/Manifest.txt b/Manifest.txt
index b09ff70397..9503dbb382 100644
--- a/Manifest.txt
+++ b/Manifest.txt
@@ -1,5 +1,3 @@
-.gitignore
-.hoerc
History.rdoc
Licence.rdoc
Manifest.txt
@@ -33,11 +31,3 @@ lib/mime/types/video.obsolete
mime-types.gemspec
test/test_mime_type.rb
test/test_mime_types.rb
-type-lists/application.txt
-type-lists/audio.txt
-type-lists/image.txt
-type-lists/message.txt
-type-lists/model.txt
-type-lists/multipart.txt
-type-lists/text.txt
-type-lists/video.txt
diff --git a/README.rdoc b/README.rdoc
index 288ee8337f..f91636bce7 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -8,11 +8,11 @@ rdoc :: http://mime-types.rubyforge.org/
== Description
This library allows for the identification of a file's likely MIME content
-type. This is release 1.17.2. The identification of MIME content type is based
-on a file's filename extensions.
+type. This is release 1.19 with new MIME types. The identification of MIME
+content type is based on a file's filename extensions.
-MIME::Types for Ruby originally based on and synchronized with MIME::Types for
-Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
+MIME::Types for Ruby was originally based on and synchronized with MIME::Types
+for Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
format for the MIME::Type list has changed and the synchronization will no
longer happen.
diff --git a/lib/mime/types.rb b/lib/mime/types.rb
index 464da8e075..d7b7ec280e 100644
--- a/lib/mime/types.rb
+++ b/lib/mime/types.rb
@@ -25,7 +25,7 @@ module MIME
#
class Type
# The released version of Ruby MIME::Types
- VERSION = '1.18'
+ VERSION = '1.19'
include Comparable
@@ -565,12 +565,12 @@ module MIME
# This is originally based on Perl MIME::Types by Mark Overmeer.
#
# = Author
- # Copyright:: Copyright (c) 2002 - 2009 by Austin Ziegler
+ # Copyright:: Copyright 2002–2012 by Austin Ziegler
# <austin@rubyforge.org>
- # Version:: 1.18
+ # Version:: 1.19
# Based On:: Perl
# MIME::Types[http://search.cpan.org/author/MARKOV/MIME-Types-1.27/MIME/Types.pm],
- # Copyright (c) 2001 - 2009 by Mark Overmeer
+ # Copyright 2001–2009 by Mark Overmeer
# <mimetypes@overmeer.net>.
# Licence:: Ruby's, Perl Artistic, or GPL version 2 (or later)
# See Also:: http://www.iana.org/assignments/media-types/
diff --git a/mime-types.gemspec b/mime-types.gemspec
index c1da7b3815..a7a098a43b 100644
--- a/mime-types.gemspec
+++ b/mime-types.gemspec
@@ -2,12 +2,12 @@
Gem::Specification.new do |s|
s.name = "mime-types"
- s.version = "1.18"
+ s.version = "1.19.20120620224748"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Austin Ziegler"]
- s.date = "2012-03-21"
- s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.17.2. The identification of MIME content type is based\non a file's filename extensions.\n\nMIME::Types for Ruby originally based on and synchronized with MIME::Types for\nPerl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data\nformat for the MIME::Type list has changed and the synchronization will no\nlonger happen.\n\n:include: Licence.rdoc"
+ s.date = "2012-06-21"
+ s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.19 with new MIME types. The identification of MIME\ncontent type is based on a file's filename extensions.\n\nMIME::Types for Ruby was originally based on and synchronized with MIME::Types\nfor Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data\nformat for the MIME::Type list has changed and the synchronization will no\nlonger happen.\n\n:include: Licence.rdoc"
s.email = ["austin@rubyforge.org"]
s.extra_rdoc_files = ["History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "type-lists/application.txt", "type-lists/audio.txt", "type-lists/image.txt", "type-lists/message.txt", "type-lists/model.txt", "type-lists/multipart.txt", "type-lists/text.txt", "type-lists/video.txt", "History.rdoc", "Licence.rdoc", "README.rdoc"]
s.files = [".gitignore", ".hoerc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/mime/types.rb", "lib/mime/types/application", "lib/mime/types/application.mac", "lib/mime/types/application.nonstandard", "lib/mime/types/application.obsolete", "lib/mime/types/audio", "lib/mime/types/audio.nonstandard", "lib/mime/types/audio.obsolete", "lib/mime/types/image", "lib/mime/types/image.nonstandard", "lib/mime/types/image.obsolete", "lib/mime/types/message", "lib/mime/types/message.obsolete", "lib/mime/types/model", "lib/mime/types/multipart", "lib/mime/types/multipart.nonstandard", "lib/mime/types/multipart.obsolete", "lib/mime/types/other.nonstandard", "lib/mime/types/text", "lib/mime/types/text.nonstandard", "lib/mime/types/text.obsolete", "lib/mime/types/text.vms", "lib/mime/types/video", "lib/mime/types/video.nonstandard", "lib/mime/types/video.obsolete", "mime-types.gemspec", "test/test_mime_type.rb", "test/test_mime_types.rb", "type-lists/application.txt", "type-lists/audio.txt", "type-lists/image.txt", "type-lists/message.txt", "type-lists/model.txt", "type-lists/multipart.txt", "type-lists/text.txt", "type-lists/video.txt", ".gemtest"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = "mime-types"
- s.rubygems_version = "1.8.19"
+ s.rubygems_version = "1.8.21"
s.summary = "This library allows for the identification of a file's likely MIME content type"
s.test_files = ["test/test_mime_type.rb", "test/test_mime_types.rb"]
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_development_dependency(%q<minitest>, ["~> 2.11"])
+ s.add_development_dependency(%q<minitest>, ["~> 3.1"])
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
s.add_development_dependency(%q<nokogiri>, ["~> 1.5"])
s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"])
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<hoe>, ["~> 3.0"])
else
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_dependency(%q<minitest>, ["~> 2.11"])
+ s.add_dependency(%q<minitest>, ["~> 3.1"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
end
else
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_dependency(%q<minitest>, ["~> 2.11"])
+ s.add_dependency(%q<minitest>, ["~> 3.1"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])