content_type 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/extconf.rb +1 -1
  2. metadata +4 -4
@@ -5,7 +5,7 @@ extension_name = 'content_type'
5
5
  dir_config(extension_name)
6
6
 
7
7
  brew_magic = Dir['/usr/local/Cellar/libmagic/**/magic.h']
8
- if brew_magic
8
+ unless brew_magic.empty?
9
9
  brew_dir = File.dirname(File.dirname(brew_magic[0]))
10
10
  find_header('magic.h', File.join(brew_dir, 'include'))
11
11
  find_library('magic', 'magic_open', File.join(brew_dir, 'lib'))
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content_type
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 0
10
- version: 2.2.0
9
+ - 1
10
+ version: 2.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Turnbull
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-16 00:00:00 Z
18
+ date: 2011-05-17 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement