mimer_plus 0.0.3 → 0.0.4
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/Gemfile.lock +2 -2
- data/lib/mimer_plus.rb +1 -1
- data/mimer_plus.gemspec +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/mimer_plus.rb
CHANGED
|
@@ -51,6 +51,6 @@ class Mimer
|
|
|
51
51
|
private
|
|
52
52
|
# Identifies the file and stores the result in +@mime_type+
|
|
53
53
|
def identify!
|
|
54
|
-
@mime_type = `/usr/bin/env file --brief --mime #{@filename
|
|
54
|
+
@mime_type = `/usr/bin/env file --brief --mime '#{@filename}'`.strip
|
|
55
55
|
end
|
|
56
56
|
end
|
data/mimer_plus.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "mimer_plus"
|
|
5
|
-
s.version = "0.0.
|
|
5
|
+
s.version = "0.0.4"
|
|
6
6
|
s.platform = Gem::Platform::RUBY
|
|
7
7
|
s.authors = ["Linus Oleander", "Ariejan de Vroom"]
|
|
8
8
|
s.email = ["linus@oleander.nu", "ariejan@ariejan.net"]
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.0.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Linus Oleander
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-01-
|
|
18
|
+
date: 2011-01-29 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|