ruby-filemagic 0.7.0-x86-mingw32 → 0.7.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README +1 -1
- data/ext/filemagic/extconf.rb +14 -2
- data/lib/filemagic/1.9/ruby_filemagic.so +0 -0
- data/lib/filemagic/2.0/ruby_filemagic.so +0 -0
- data/lib/filemagic/2.1/ruby_filemagic.so +0 -0
- data/lib/filemagic/2.2/ruby_filemagic.so +0 -0
- data/lib/filemagic/version.rb +1 -1
- data/test/filemagic_test.rb +4 -1
- metadata +7 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57ac323c7d3e9c1f8fa019df95bb00e495f789a3
|
4
|
+
data.tar.gz: 8b6a2c041e524c2d06223fdda1666494592192f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1c4c128a2d60cea8cfc21458edf85ff7402581c448e3c0b261eba6b5b893760d3d599a938864a513f9d925a84f465b152d190fe1fdac38e12619903503f3a9c
|
7
|
+
data.tar.gz: 31d5e91b9c96a87f51205f9db3257f8cc76576213393ce06159413362c0d4bc03499ba7f9178036c730f43fda823c2832246b3b5cdeadbbcd83b89d6a3498371
|
data/ChangeLog
CHANGED
data/README
CHANGED
data/ext/filemagic/extconf.rb
CHANGED
@@ -1,10 +1,22 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
|
3
|
+
HEADER_DIRS = [
|
4
|
+
'/opt/local/include', # MacPorts
|
5
|
+
'/usr/local/include', # compiled from source and Homebrew
|
6
|
+
'/usr/include', # system
|
7
|
+
]
|
8
|
+
|
9
|
+
LIB_DIRS = [
|
10
|
+
'/opt/local/lib', # MacPorts
|
11
|
+
'/usr/local/lib', # compiled from source and Homebrew
|
12
|
+
'/usr/lib', # system
|
13
|
+
]
|
14
|
+
|
3
15
|
$CFLAGS << ' -Wall' if ENV['WALL']
|
4
16
|
$LDFLAGS << ' -static-libgcc' if RUBY_PLATFORM =~ /cygwin|mingw|mswin/
|
5
17
|
|
6
|
-
dir_config('magic')
|
7
|
-
dir_config('gnurx')
|
18
|
+
dir_config('magic', HEADER_DIRS, LIB_DIRS)
|
19
|
+
dir_config('gnurx', HEADER_DIRS, LIB_DIRS)
|
8
20
|
|
9
21
|
have_library('gnurx')
|
10
22
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/filemagic/version.rb
CHANGED
data/test/filemagic_test.rb
CHANGED
@@ -26,7 +26,10 @@ magic file from #{FileMagic.path}
|
|
26
26
|
|
27
27
|
if File.symlink?(path_to('pylink'))
|
28
28
|
res = fm.file(path_to('pylink'))
|
29
|
-
assert_equal(
|
29
|
+
assert_equal(match_version(
|
30
|
+
0 => "symbolic link to `pyfile'",
|
31
|
+
5.22 => 'symbolic link to pyfile'
|
32
|
+
), res.strip)
|
30
33
|
end
|
31
34
|
|
32
35
|
fm.close
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-filemagic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Travis Whitton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hen
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: '0.8'
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.8.
|
23
|
+
version: 0.8.3
|
24
24
|
type: :development
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: '0.8'
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.8.
|
33
|
+
version: 0.8.3
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rake
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,17 +114,13 @@ licenses:
|
|
114
114
|
metadata: {}
|
115
115
|
post_install_message: |2+
|
116
116
|
|
117
|
-
ruby-filemagic-0.7.
|
117
|
+
ruby-filemagic-0.7.1 [2015-10-27]:
|
118
118
|
|
119
|
-
*
|
120
|
-
* New method FileMagic.library_version (+magic_version+).
|
121
|
-
* New method FileMagic#descriptor (+magic_descriptor+).
|
122
|
-
* New method FileMagic#fd.
|
123
|
-
* Added new constants from file 5.23.
|
119
|
+
* List default lib and header directories (pull request #18 by Adam Wróbel).
|
124
120
|
|
125
121
|
rdoc_options:
|
126
122
|
- "--title"
|
127
|
-
- ruby-filemagic Application documentation (v0.7.
|
123
|
+
- ruby-filemagic Application documentation (v0.7.1)
|
128
124
|
- "--charset"
|
129
125
|
- UTF-8
|
130
126
|
- "--line-numbers"
|