cbot-mime-types 1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +104 -0
- data/LICENCE +18 -0
- data/README +30 -0
- data/Rakefile +208 -0
- data/lib/mime/types.rb +1558 -0
- data/pre-setup.rb +46 -0
- data/setup.rb +1366 -0
- data/tests/testall.rb +18 -0
- metadata +65 -0
data/tests/testall.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
#--
|
3
|
+
# MIME::Types for Ruby
|
4
|
+
# http://rubyforge.org/projects/mime-types/
|
5
|
+
# Copyright 2003 - 2005 Austin Ziegler.
|
6
|
+
# Licensed under a MIT-style licence.
|
7
|
+
#
|
8
|
+
# $Id: testall.rb,v 1.1 2005/07/08 11:58:06 austin Exp $
|
9
|
+
#++
|
10
|
+
|
11
|
+
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib") if __FILE__ == $0
|
12
|
+
|
13
|
+
puts "Checking for test cases:"
|
14
|
+
Dir['tc_*.rb'].each do |testcase|
|
15
|
+
puts "\t#{testcase}"
|
16
|
+
require testcase
|
17
|
+
end
|
18
|
+
puts
|
metadata
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cbot-mime-types
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "1.16"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Austin Ziegler
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-02-05 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Manages a MIME Content-Type that will return the Content-Type for a given filename.
|
17
|
+
email: austin@rubyforge.org
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
|
+
- ChangeLog
|
25
|
+
files:
|
26
|
+
- setup.rb
|
27
|
+
- README
|
28
|
+
- Rakefile
|
29
|
+
- pre-setup.rb
|
30
|
+
- LICENCE
|
31
|
+
- ChangeLog
|
32
|
+
- cbot-mime-types.gemspec
|
33
|
+
- lib/mime/types.rb
|
34
|
+
has_rdoc: true
|
35
|
+
homepage: http://mime-types.rubyforge.org/
|
36
|
+
post_install_message:
|
37
|
+
rdoc_options:
|
38
|
+
- --title
|
39
|
+
- MIME::Types
|
40
|
+
- --main
|
41
|
+
- README
|
42
|
+
- --line-numbers
|
43
|
+
require_paths:
|
44
|
+
- lib
|
45
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: "0"
|
50
|
+
version:
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: "0"
|
56
|
+
version:
|
57
|
+
requirements: []
|
58
|
+
|
59
|
+
rubyforge_project: mime-types
|
60
|
+
rubygems_version: 1.2.0
|
61
|
+
signing_key:
|
62
|
+
specification_version: 2
|
63
|
+
summary: Manages a MIME Content-Type that will return the Content-Type for a given filename.
|
64
|
+
test_files:
|
65
|
+
- tests/testall.rb
|