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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mimer (0.0.2)
4
+ mimer_plus (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -20,5 +20,5 @@ PLATFORMS
20
20
  ruby
21
21
 
22
22
  DEPENDENCIES
23
- mimer!
23
+ mimer_plus!
24
24
  rspec
@@ -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.gsub(/\s+/, '\ ')}`.strip
54
+ @mime_type = `/usr/bin/env file --brief --mime '#{@filename}'`.strip
55
55
  end
56
56
  end
@@ -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.3"
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
- - 3
9
- version: 0.0.3
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-28 00:00:00 +01:00
18
+ date: 2011-01-29 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency