futuresinc-mimetype-fu 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/mimetype_fu.rb +3 -0
- data/mimetype-fu.gemspec +57 -0
- metadata +6 -5
data/Rakefile
CHANGED
@@ -8,6 +8,7 @@ begin
|
|
8
8
|
Jeweler::Tasks.new do |gem|
|
9
9
|
gem.name = "mimetype-fu"
|
10
10
|
gem.summary = "get the mimetype of a file directly in Ruby"
|
11
|
+
gem.description = "get the mimetype of a file directly in Ruby"
|
11
12
|
gem.email = "josh@vitamin-j.com"
|
12
13
|
gem.homepage = "http://github.com/jfrench/mimetype-fu"
|
13
14
|
gem.authors = ["Josh French"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/mimetype_fu.rb
CHANGED
data/mimetype-fu.gemspec
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{mimetype-fu}
|
5
|
+
s.version = "0.1.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Josh French"]
|
9
|
+
s.date = %q{2009-06-24}
|
10
|
+
s.description = %q{get the mimetype of a file directly in Ruby}
|
11
|
+
s.email = %q{josh@vitamin-j.com}
|
12
|
+
s.extra_rdoc_files = [
|
13
|
+
"README"
|
14
|
+
]
|
15
|
+
s.files = [
|
16
|
+
"MIT-LICENSE",
|
17
|
+
"README",
|
18
|
+
"Rakefile",
|
19
|
+
"VERSION",
|
20
|
+
"init.rb",
|
21
|
+
"install.rb",
|
22
|
+
"lib/extensions_const.rb",
|
23
|
+
"lib/mime_types.yml",
|
24
|
+
"lib/mimetype_fu.rb",
|
25
|
+
"mimetype-fu.gemspec",
|
26
|
+
"spec/fixtures/file.jpg",
|
27
|
+
"spec/fixtures/file.rb",
|
28
|
+
"spec/fixtures/file.unknown",
|
29
|
+
"spec/mime_type_spec.rb",
|
30
|
+
"spec/spec_helper.rb",
|
31
|
+
"tasks/mimetype_fu_tasks.rake",
|
32
|
+
"test/mimetype_fu_test.rb",
|
33
|
+
"uninstall.rb"
|
34
|
+
]
|
35
|
+
s.has_rdoc = true
|
36
|
+
s.homepage = %q{http://github.com/jfrench/mimetype-fu}
|
37
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.rubygems_version = %q{1.3.2}
|
40
|
+
s.summary = %q{get the mimetype of a file directly in Ruby}
|
41
|
+
s.test_files = [
|
42
|
+
"spec/fixtures/file.rb",
|
43
|
+
"spec/mime_type_spec.rb",
|
44
|
+
"spec/spec_helper.rb",
|
45
|
+
"test/mimetype_fu_test.rb"
|
46
|
+
]
|
47
|
+
|
48
|
+
if s.respond_to? :specification_version then
|
49
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
|
+
s.specification_version = 3
|
51
|
+
|
52
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
53
|
+
else
|
54
|
+
end
|
55
|
+
else
|
56
|
+
end
|
57
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futuresinc-mimetype-fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh French
|
@@ -9,11 +9,11 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-24 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: get the mimetype of a file directly in Ruby
|
17
17
|
email: josh@vitamin-j.com
|
18
18
|
executables: []
|
19
19
|
|
@@ -31,6 +31,7 @@ files:
|
|
31
31
|
- lib/extensions_const.rb
|
32
32
|
- lib/mime_types.yml
|
33
33
|
- lib/mimetype_fu.rb
|
34
|
+
- mimetype-fu.gemspec
|
34
35
|
- spec/fixtures/file.jpg
|
35
36
|
- spec/fixtures/file.rb
|
36
37
|
- spec/fixtures/file.unknown
|
@@ -39,7 +40,7 @@ files:
|
|
39
40
|
- tasks/mimetype_fu_tasks.rake
|
40
41
|
- test/mimetype_fu_test.rb
|
41
42
|
- uninstall.rb
|
42
|
-
has_rdoc:
|
43
|
+
has_rdoc: true
|
43
44
|
homepage: http://github.com/jfrench/mimetype-fu
|
44
45
|
post_install_message:
|
45
46
|
rdoc_options:
|
@@ -64,7 +65,7 @@ rubyforge_project:
|
|
64
65
|
rubygems_version: 1.2.0
|
65
66
|
signing_key:
|
66
67
|
specification_version: 3
|
67
|
-
summary:
|
68
|
+
summary: get the mimetype of a file directly in Ruby
|
68
69
|
test_files:
|
69
70
|
- spec/fixtures/file.rb
|
70
71
|
- spec/mime_type_spec.rb
|