Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

0.1.7<

  • Loading branch information...
commit 693b9fe5f5262f877644724fffcefe60d3e2ef07 1 parent ddcbcf3
@minad authored
Showing with 4 additions and 3 deletions.
  1. +2 −1  README
  2. +1 −1  lib/mimemagic.rb
  3. +1 −1  mimemagic.gemspec
View
3  README
@@ -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
View
2  lib/mimemagic.rb
@@ -3,7 +3,7 @@
# Mime type detection
class MimeMagic
- VERSION = '0.1.6'
+ VERSION = '0.1.7'
attr_reader :type, :mediatype, :subtype
View
2  mimemagic.gemspec
@@ -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"]
Please sign in to comment.
Something went wrong with that request. Please try again.