Skip to content

Commit

Permalink
0.1.7<
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Oct 3, 2010
1 parent ddcbcf3 commit 693b9fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Daniel Mendler
2 changes: 1 addition & 1 deletion lib/mimemagic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Mime type detection
class MimeMagic
VERSION = '0.1.6'
VERSION = '0.1.7'

attr_reader :type, :mediatype, :subtype

Expand Down
2 changes: 1 addition & 1 deletion mimemagic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 693b9fe

Please sign in to comment.