forked from zapnap/sinatra-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
4,676 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
== MIME::Types 1.16 | ||
* Made compatible with Ruby 1.8.6, 1.8.7, and 1.9.1. | ||
* Switched to the 'hoe' gem system and added a lot of build-time tools. | ||
* Updated the MIME types to the list based on the values in the Perl library | ||
version 1.27. Also updated based on external source information and bug | ||
reports. | ||
* This is the last planned version of MIME::Types 1.x. Work will be | ||
starting soon on MIME::Types 2.x with richer data querying mechanisms | ||
and support for external data sources. | ||
|
||
== MIME::Types 1.15 | ||
* Removed lib/mime/type.rb to form a single MIME::Types database source. It | ||
is unlikely that one will ever need MIME::Type without MIME::Types. | ||
* Re-synchronized the MIME type list with the sources, focusing primarily on | ||
the IANA list. | ||
* Added more detailed source information for MIME::Type objects. | ||
* Changed MIME::Types from a module to a class with a default instance. There | ||
should be no difference in usage. | ||
* Removed MIME::Types::DATA_VERSION; it is now an attribute on the | ||
MIME::Types instance. | ||
* NOTE: Synchronization with the Perl version of MIME::Types is no longer a | ||
priority as of this release. The data format and information has changed. | ||
* Removed MIME::Types.by_suffix and MIME::Types.by_mediatype. | ||
|
||
== MIME::Types 1.13.1 | ||
* Fixed a problem with the installer running tests. This now works. | ||
* Improved the implementation of MIME::Type.signature? | ||
* Moved code around to use the class << self idiom instead of always | ||
prepending the module/class name. | ||
* Added two new best-guess implementations of functions found in Perl's | ||
MIME::Types implementation (1.13). Do not rely on these until the purpose | ||
and implementation is stabilised. | ||
* Updated the MIME list to reflect changes noted by | ||
Ville Skyttä <ville.skytta@iki.fi>. | ||
* Added a new constant to MIME::Types, DATA_VERSION. This will allow the Ruby | ||
version number to be updated separately from the Perl version while keeping | ||
the MIME Type list version in sync. | ||
|
||
== MIME::Types 1.13 | ||
! WARNING: This version changes the API of MIME::Types ! | ||
! WARNING: This version is compatible with Ruby 1.8 and higher ONLY ! | ||
* Removed dependency on InstallPackage; offering 1.13 as either .tar.gz or | ||
.gem. | ||
* Split into two files, mime/type.rb and mime/types.rb. This will make | ||
maintaining the list of changes easier. | ||
* Changed the MIME::Type construction API. Accepts only a single String | ||
argument (but does no named type-checking) and yields self. | ||
* Removed private methods #init_extensions, #init_encoding, and #init_system | ||
and replaced with #extensions=, #encoding=, and #system=. | ||
* Added #default_encoding to return 'quoted-printable' or 'base64' depending | ||
on the media type of the MIME type. | ||
* Added #raw_media_type and #raw_sub_type to provide the non-simplified | ||
versions of the media type and subtype. | ||
* Alternative constructors MIME::Type.from_array, MIME::Type.from_hash, and | ||
MIME::Type.from_mime_type added to compensate for the removal of named type | ||
checking in the original constructor. | ||
* Added #to_str, #to_a, and #to_hash methods. The latter two will provide | ||
output suitable for use in #from_array and #from_hash. | ||
* Removed "binary" encoding and enforced the use of a valid encoding string. | ||
* Added #system? returning true if the MIME::Type is an OS-specific | ||
MIME::Type. | ||
* Added #platform? returning true if the MIME::Type is an OS-specific | ||
MIME::Type for the current RUBY_PLATFORM. | ||
* Added #like? returning true if the simplified type matches the other value | ||
provided. #<'application/x-excel'>.like?('application/excel') is true. | ||
* Added #complete? returning true if the MIME::Type specifies an extension | ||
list. | ||
* Updated the MIME type list to reflect additions by Mark Overmeer for Perl's | ||
MIME::Types 1.12 and the official IANA list as of 2004.04.06. A number of | ||
formerly "registered" MIME types are now no longer registered (e.g., | ||
application/excel is now application/x-excel). This ensures that the | ||
simplified type still works with applications, but does not report an | ||
unregistered type as registered. | ||
* Restored MIME type list to Mark Overmeer's format to facilitate easy | ||
exchange between the two projects. | ||
* Added additional unit tests from Mark Overmeer's 1.12 version. | ||
|
||
== MIME::Types 1.07 | ||
* Changed version numbering to match Perl MIME::Types 1.07. | ||
* Re-synchronized with Mark Overmeer's list in Perl PMIME::Types 1.07. | ||
* [NN Poster] updated the attributes for the PGP types. | ||
|
||
== MIME::Types 1.005 | ||
* Changed to Phil Thomson's InstallPackage. | ||
* Added several types from Perl MIME::Types 1.005. | ||
* Cleaned up data format; some data formats will show up with proper data now. | ||
|
||
== MIME::Types 1.004 | ||
* Updated to match Perl MIME::Types 1.004, links credited to Dan Puro. Adds | ||
new reference list to http://www.indiana.edu/cgi-bin-local/mimetypes | ||
* Removed InvalidType and replaced with TypeError. | ||
* Changed instances of #type to #class. | ||
* Cleaned up how simplified versions are created. | ||
|
||
== MIME::Types 1.003 | ||
* Initial release based on Perl MIME::Types 1.003. | ||
|
||
== Copyright | ||
MIME::Types | ||
A Ruby implementation of a MIME Types information library. Based in spirit | ||
on the Perl MIME::Types information library by Mark Overmeer. | ||
http://rubyforge.org/projects/mime-types/ | ||
|
||
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl | ||
Artistic licence. See Licence.txt for more information. | ||
|
||
Copyright 2003 - 2009 Austin Ziegler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Installing this package is as simple as: | ||
|
||
% ruby setup.rb | ||
|
||
Alternatively, you can use the Gem version of MIME::Types available as | ||
mime-types-1.16.gem from the usual sources. | ||
|
||
== Copyright | ||
MIME::Types | ||
A Ruby implementation of a MIME Types information library. Based in spirit | ||
on the Perl MIME::Types information library by Mark Overmeer. | ||
http://rubyforge.org/projects/mime-types/ | ||
|
||
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl | ||
Artistic licence. See Licence.txt for more information. | ||
|
||
Copyright 2003 - 2009 Austin Ziegler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
= MIME::Types for Ruby | ||
Homepage:: http://rubyforge.org/projects/mime-types/ | ||
Copyright:: Copyright (c) 2003 - 2006 Austin Ziegler. | ||
Summary:: Ruby's licence, Perl Aristic Licence, | ||
GNU GPL version 2 (or later) | ||
|
||
The text of the Ruby licence can be found at: | ||
http://www.ruby-lang.org/en/LICENSE.txt | ||
|
||
The text of the Perl Artistic Licence can be found at: | ||
http://www.perl.com/pub/a/language/misc/Artistic.html | ||
|
||
The text of the GNU GPL can be found at: http://www.gnu.org/copyleft/gpl.html | ||
|
||
If you do not accept one of these licences, you may not use this software. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
History.txt | ||
Install.txt | ||
Licence.txt | ||
Manifest.txt | ||
README.txt | ||
Rakefile | ||
lib/mime/types.rb | ||
lib/mime/types.rb.data | ||
mime-types.gemspec | ||
setup.rb | ||
test/test_mime_type.rb | ||
test/test_mime_types.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= README: Mime::Types for Ruby | ||
This library allows for the identification of a file's likely MIME content | ||
type. This is release 1.16. 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 format for the MIME::Type list has changed and the synchronization will | ||
no longer happen. | ||
|
||
Homepage:: http://mime-types.rubyforge.org/ | ||
Copyright:: 2002 - 2009, Austin Ziegler | ||
Based in part on prior work copyright Mark Overmeer | ||
|
||
== Licensing | ||
MIME::Types is available under three disjunctive licences, as detailed in the | ||
Licence.txt file. | ||
|
||
== Copyright | ||
MIME::Types | ||
A Ruby implementation of a MIME Types information library. Based in spirit | ||
on the Perl MIME::Types information library by Mark Overmeer. | ||
http://rubyforge.org/projects/mime-types/ | ||
|
||
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl | ||
Artistic licence. See Licence.txt for more information. | ||
|
||
Copyright 2003 - 2009 Austin Ziegler |
Oops, something went wrong.