Commit 693b9fe5 by minad

0.1.7<

parent ddcbcf3f
......@@ -6,10 +6,11 @@ Usage
require 'mimemagic'
MimeMagic.by_extension('html').text?
MimeMagic.by_extension('.html').child_of? 'text/plain'
MimeMagic.by_path('filename.txt')
MimeMagic.by_magic(File.open('test.html'))
etc...
Authors
=======
Daniel Mendler
\ No newline at end of file
Daniel Mendler
......@@ -3,7 +3,7 @@ require 'stringio'
# Mime type detection
class MimeMagic
VERSION = '0.1.6'
VERSION = '0.1.7'
attr_reader :type, :mediatype, :subtype
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{mimemagic}
s.version = "0.1.6"
s.version = "0.1.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Daniel Mendler"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment