Commit 7d8b8b81 by Daniel Mendler

update gemfile and directory structure

parent e24a4d92
lib/mimemagic.rb
lib/mimemagic_tables.rb
test/test_mimemagic.rb
test/files/application.x-bzip
test/files/image.jpeg
test/files/image.png
test/files/application.x-tar
test/files/application.x-gzip
test/files/application.zip
test/files/application.x-ruby
script/freedesktop.org.xml
script/generate-mime.rb
Rakefile
README
require 'mimemagic_tables'
require 'mimemagic/tables'
require 'mimemagic/version'
require 'stringio'
# Mime type detection
class MimeMagic
VERSION = '0.1.8'
attr_reader :type, :mediatype, :subtype
# Mime type by type string
......
class MimeMagic
# MimeMagic version string
# @api public
VERSION = '0.1.9'
end
# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + '/lib/mimemagic/version'
require 'date'
Gem::Specification.new do |s|
s.name = %q{mimemagic}
s.version = "0.1.8"
s.name = 'mimemagic'
s.version = MimeMagic::VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Daniel Mendler"]
s.date = %q{2009-05-09}
s.email = ["mail@daniel-mendler.de"]
s.files = %w{
lib/mimemagic.rb
lib/mimemagic_tables.rb
test/mimemagic_test.rb
test/files/application.x-bzip
test/files/image.jpeg
test/files/image.png
test/files/application.x-tar
test/files/application.x-gzip
test/files/application.zip
test/files/application.x-ruby
script/freedesktop.org.xml
script/generate-mime.rb
Rakefile
README
}
s.has_rdoc = true
s.rdoc_options = ["--main", "README.txt"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{mimemagic}
s.rubygems_version = %q{1.3.1}
s.summary = %q{Mime detection by extension or content}
s.authors = ['Daniel Mendler']
s.date = Date.today.to_s
s.email = ['mail@daniel-mendler.de']
s.files = `git ls-files`.split("\n")
s.require_paths = %w(lib)
s.rubyforge_project = s.name
s.summary = 'Mime detection by extension or content'
s.homepage = 'https://github.com/minad/mimemagic'
s.test_files = ["test/mimemagic_test.rb"]
s.add_development_dependency('bacon')
end
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