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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a94b954dacc17ec6921f126b38779adfbe88021
4
- data.tar.gz: 9f69b3625460f35db9a97b884ca0352fc2094c5e
3
+ metadata.gz: 57ac323c7d3e9c1f8fa019df95bb00e495f789a3
4
+ data.tar.gz: 8b6a2c041e524c2d06223fdda1666494592192f9
5
5
  SHA512:
6
- metadata.gz: df5204089d56d663c99bff278b3b0251ea1224cc1e7f70df90398ea0c123a13970663b9b7ac2325c9579aebc9add0a1610b37631afd0253eb02508dd26477a2d
7
- data.tar.gz: c5d97ddcb3ce2b9f68ea57ff835e331febe88af7936e4a0631f99c3f2ae101e3604a0a57911adcd3080d616bbc03116d8cadcf4cbed414b63c8e78483c787898
6
+ metadata.gz: f1c4c128a2d60cea8cfc21458edf85ff7402581c448e3c0b261eba6b5b893760d3d599a938864a513f9d925a84f465b152d190fe1fdac38e12619903503f3a9c
7
+ data.tar.gz: 31d5e91b9c96a87f51205f9db3257f8cc76576213393ce06159413362c0d4bc03499ba7f9178036c730f43fda823c2832246b3b5cdeadbbcd83b89d6a3498371
data/ChangeLog CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  = Revision history for ruby-filemagic
4
4
 
5
+ == 0.7.1 [2015-10-27]
6
+
7
+ * List default lib and header directories (pull request #18 by Adam Wróbel).
8
+
5
9
  == 0.7.0 [2015-07-28]
6
10
 
7
11
  * Changed FileMagic#io to optionally rewind input afterwards.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to filemagic version 0.7.0
5
+ This documentation refers to filemagic version 0.7.1
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -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
 
@@ -4,7 +4,7 @@ class FileMagic
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 7
7
- TINY = 0
7
+ TINY = 1
8
8
 
9
9
  class << self
10
10
 
@@ -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("symbolic link to `pyfile'", res.strip)
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.0
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-07-28 00:00:00.000000000 Z
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.2
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.2
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.0 [2015-07-28]:
117
+ ruby-filemagic-0.7.1 [2015-10-27]:
118
118
 
119
- * Changed FileMagic#io to optionally rewind input afterwards.
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.0)
123
+ - ruby-filemagic Application documentation (v0.7.1)
128
124
  - "--charset"
129
125
  - UTF-8
130
126
  - "--line-numbers"