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 +4 -4
- data/lib/magic/api.rb +1 -1
- data/lib/magic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f345ec42bca2e48d7baf975bd7ff0d968ad805fc
|
4
|
+
data.tar.gz: 2ab99e32f080268fd42b34412e6b93f1d06c44c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c5143969b831db3ece932b9d5921b83a240739437b6c6935ec7b37a3c64d120f9da8ac65364e1db165f47aba432d2b9eee9d75e97039943e34bb77560c58952
|
7
|
+
data.tar.gz: d1203553cde202024d957bc52ad4f76d74960ebaeee809cb3fc0ce09bd7689bb2934bad9fb7300c671ba12be665f2140bbb38fe59f5ef979633c4595f36bb0fa
|
data/lib/magic/api.rb
CHANGED
@@ -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
|
|
data/lib/magic/version.rb
CHANGED
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.
|
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:
|
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.
|
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
|