ruby-filemagic 0.7.0-x86-mswin32-60 → 0.7.1-x86-mswin32-60

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: 8349a5eb4ea628e8d5fe33c0737cf80f0452a3e1
4
- data.tar.gz: 3f34794198e5513f0c4613da05c9fe4a8d90d1f0
3
+ metadata.gz: 498431626772026317ebb090f420a0ef353459b8
4
+ data.tar.gz: 80d113af890a76aa5bf8e85a5fed42d74a10ecc1
5
5
  SHA512:
6
- metadata.gz: 0de88a03aecb65ae95a12a81ee57600bd32c6be249d68dc578545f1a22fbdb34e80fc11754b56f0d33ca98882d4782d5e8551a7f50368d3644f948b645dbaad2
7
- data.tar.gz: 33050f022f7e39db0791d9b43e8cf8ea3a998d769e4c45600b4dbb65f63e14b978a6e6e2c68a65a5efecb181fa35610ea185f1c647c491e9b4837ed374d2a785
6
+ metadata.gz: f9909d32739c020f4b1370fe716f8f7d383350f2674b9552755337dac7797c9c47025149d59adf611745b52f8581038bdd2387731bdb11c598253e06c22ce7eb
7
+ data.tar.gz: 09006527863a70969686a40134aa87a8edddef43e348404ee2d4b8c1292f2061d693ae551457f88f661edf17cce8c656444ff8973ceaf4c4a26011687af243b8
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-mswin32-60
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"