magic 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b912f49d8acd299f3dcf5316599f40b6da452eee
4
- data.tar.gz: 27308b8df81ae0ad7f43680d209e1c690b0a962c
3
+ metadata.gz: f345ec42bca2e48d7baf975bd7ff0d968ad805fc
4
+ data.tar.gz: 2ab99e32f080268fd42b34412e6b93f1d06c44c7
5
5
  SHA512:
6
- metadata.gz: ffeb6e08ced56a8f6e05592f310764745dc6f88f6b804de128c9f26829365b212a9e2cc3a438bf988a5096e9e41c26787f701c7e8bf722d0a9b981a1e048291d
7
- data.tar.gz: 4d24ffa3e98aac70151c7ce6fe121149dc4c6d4d2879becabd97dcd92105e7aa26ee668ed23c308d70738ad8d729ff7b2645c27733c4ea694840a005583c87fd
6
+ metadata.gz: 1c5143969b831db3ece932b9d5921b83a240739437b6c6935ec7b37a3c64d120f9da8ac65364e1db165f47aba432d2b9eee9d75e97039943e34bb77560c58952
7
+ data.tar.gz: d1203553cde202024d957bc52ad4f76d74960ebaeee809cb3fc0ce09bd7689bb2934bad9fb7300c671ba12be665f2140bbb38fe59f5ef979633c4595f36bb0fa
@@ -2,7 +2,7 @@ module Magic
2
2
  module Api #:nodoc:
3
3
  extend FFI::Library
4
4
 
5
- lib_paths = Array(ENV["MAGIC_LIB"] || Dir["/{opt,usr}/{,local/}lib{,64}/libmagic.{1.dylib,so.1*}"])
5
+ lib_paths = Array(ENV["MAGIC_LIB"] || Dir["/{opt,usr}/{,local/}lib{,64}/libmagic.{1.dylib,so.1*,so.4}"])
6
6
  fallback_names = %w(libmagic.1.dylib libmagic.so.1 magic1.dll)
7
7
  ffi_lib(lib_paths + fallback_names)
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Magic
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kuba Kuźma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.2.0
139
+ rubygems_version: 2.4.5
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Determine file type and encoding using "magic" numbers