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