glongman-ffiruby-filemagic 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ begin
14
14
  s.authors = ["Geoff Longman"]
15
15
  s.add_dependency 'ffi'
16
16
  s.executables = ["ffi_file_magic_setup"]
17
- s.files = FileList["setup.rb", "[A-Z]*", "{lib,bin,test}/**/*"]
17
+ s.files = FileList["[A-Z]*", "{lib,bin,test}/**/*"]
18
18
  s.post_install_message = "\n\nrun ffi_file_magic_setup to complete the install\n\n\n"
19
19
  end
20
20
  rescue LoadError
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 2
3
3
  :major: 0
4
4
  :minor: 4
@@ -19,7 +19,7 @@ module FFIFileMagic
19
19
  [:magic_open, :magic_close, :magic_file,
20
20
  :magic_buffer, :magic_error, :magic_setflags,
21
21
  :magic_load, :magic_compile, :magic_check,
22
- :magic_errno].each do |method|
22
+ :magic_errno, :magic_descriptor].each do |method|
23
23
  result &= begin
24
24
  print "\tmethod exists? #{method} ... "
25
25
  if dylib.find_symbol(method.to_s)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glongman-ffiruby-filemagic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Longman
@@ -31,7 +31,6 @@ extensions: []
31
31
  extra_rdoc_files: []
32
32
 
33
33
  files:
34
- - setup.rb
35
34
  - LICENSE
36
35
  - Rakefile
37
36
  - README