ffi-libarchive 0.4.2 → 0.4.4

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
  SHA256:
3
- metadata.gz: cd86d5c024c71eab9c05b65c2a650423acf6e082f09e65167b87a07c2ec9c6d5
4
- data.tar.gz: b4ee964dc4caa87255c2f4ca6eedd43e6a962112f9481696ead94314bd7c482f
3
+ metadata.gz: ee3adc120723c76032310ce14cb7f3baa719e4652611b1970dd0a6abfcba52c9
4
+ data.tar.gz: 90dcedb260ba9ec0747f34618d112e2118f10441e64cd11dad51ffdd084bdb62
5
5
  SHA512:
6
- metadata.gz: 35e0e854d76bd8d579c2c3626a62474a7bd735df3f30f294068d0864c396d93957d3cba73b0fd4880c9e3035aca45aa31611e5ebdc9b9c73c68be5816b3cdb38
7
- data.tar.gz: bb5610e6b77babfb94d535248de078674a5697cfcac3a0d37882da27455c9c7440f404d69127171628ec4ae320182d6ef34bc877a96957545593628545a8457c
6
+ metadata.gz: c87837659aa48f7fae76486623e11ada02709d20ce550e48a95a64562a2184ec2607f5bbfc1518c4f8f0adc0a3ccce9ad3f2fc49246d5a9d603c40afeaa23c96
7
+ data.tar.gz: 9a760bec0f9bfd48e55fc8a06743e1cef832999f2a345e738a264ea2bcd9e1bbf2deb3f98c0fb98a141c3dab29862dd031a82527905104f45eea13b31bc949b2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.4
@@ -8,7 +8,7 @@ module Archive
8
8
  end
9
9
 
10
10
  extend FFI::Library
11
- ffi_lib %w{libarchive.so.13 libarchive.13 libarchive.so libarchive archive}
11
+ ffi_lib %w{libarchive.so.13 libarchive.13 libarchive-13 libarchive.so libarchive archive}
12
12
 
13
13
  attach_function :archive_version_number, [], :int
14
14
  attach_function :archive_version_string, [], :string
@@ -1,3 +1,3 @@
1
1
  module Archive
2
- VERSION = "0.4.2".freeze
2
+ VERSION = "0.4.4".freeze
3
3
  end
@@ -4,17 +4,16 @@ require "test/unit"
4
4
 
5
5
  class TS_ReadArchive < Test::Unit::TestCase
6
6
 
7
- CONTENT_SPEC =
8
- [
9
- ["test/", "directory", 0755, nil ],
10
- ["test/b/", "directory", 0755, nil ],
11
- ["test/b/c/", "directory", 0755, nil ],
12
- ["test/b/c/c.dat", "file", 0600, "\266\262\v_\266\243\305\3601\204\277\351\354\265\003\036\036\365f\377\210\205\032\222\346\370b\360u\032Y\301".b ],
13
- ["test/b/c/d/", "directory", 0711, nil ],
14
- ["test/b/c/d/d.dat", "symbolic_link", 0777, "../c.dat" ],
15
- ["test/b/b.dat", "file", 0640, "s&\245\354(M\331=\270\000!s\355\240\252\355'N\304\343\bY\317\t\274\210\3128\321\347\234!".b ],
16
- ["test/a.dat", "file", 0777, "\021\216\231Y\354\236\271\372\336\213\224R\211{D{\277\262\304\211xu\330\\\275@~\035\vSRM".b ]
17
- ]
7
+ CONTENT_SPEC = [
8
+ ["test/", "directory", 0755, nil ],
9
+ ["test/b/", "directory", 0755, nil ],
10
+ ["test/b/c/", "directory", 0755, nil ],
11
+ ["test/b/c/c.dat", "file", 0600, "\266\262\v_\266\243\305\3601\204\277\351\354\265\003\036\036\365f\377\210\205\032\222\346\370b\360u\032Y\301".b ],
12
+ ["test/b/c/d/", "directory", 0711, nil ],
13
+ ["test/b/c/d/d.dat", "symbolic_link", 0777, "../c.dat" ],
14
+ ["test/b/b.dat", "file", 0640, "s&\245\354(M\331=\270\000!s\355\240\252\355'N\304\343\bY\317\t\274\210\3128\321\347\234!".b ],
15
+ ["test/a.dat", "file", 0777, "\021\216\231Y\354\236\271\372\336\213\224R\211{D{\277\262\304\211xu\330\\\275@~\035\vSRM".b ]
16
+ ].freeze
18
17
 
19
18
  def setup
20
19
  File.open("data/test.tar.gz", "rb") do |f|
@@ -4,17 +4,16 @@ require "test/unit"
4
4
 
5
5
  class TS_WriteArchive < Test::Unit::TestCase
6
6
 
7
- CONTENT_SPEC =
8
- [
9
- ["test/", "directory", 0755, nil ],
10
- ["test/b/", "directory", 0755, nil ],
11
- ["test/b/c/", "directory", 0755, nil ],
12
- ["test/b/c/c.dat", "file", 0600, "\266\262\v_\266\243\305\3601\204\277\351\354\265\003\036\036\365f\377\210\205\032\222\346\370b\360u\032Y\301".b ],
13
- ["test/b/c/d/", "directory", 0711, nil ],
14
- ["test/b/c/d/d.dat", "symbolic_link", 0777, "../c.dat" ],
15
- ["test/b/b.dat", "file", 0640, "s&\245\354(M\331=\270\000!s\355\240\252\355'N\304\343\bY\317\t\274\210\3128\321\347\234!".b ],
16
- ["test/a.dat", "file", 0777, "\021\216\231Y\354\236\271\372\336\213\224R\211{D{\277\262\304\211xu\330\\\275@~\035\vSRM".b ]
17
- ]
7
+ CONTENT_SPEC = [
8
+ ["test/", "directory", 0755, nil ],
9
+ ["test/b/", "directory", 0755, nil ],
10
+ ["test/b/c/", "directory", 0755, nil ],
11
+ ["test/b/c/c.dat", "file", 0600, "\266\262\v_\266\243\305\3601\204\277\351\354\265\003\036\036\365f\377\210\205\032\222\346\370b\360u\032Y\301".b ],
12
+ ["test/b/c/d/", "directory", 0711, nil ],
13
+ ["test/b/c/d/d.dat", "symbolic_link", 0777, "../c.dat" ],
14
+ ["test/b/b.dat", "file", 0640, "s&\245\354(M\331=\270\000!s\355\240\252\355'N\304\343\bY\317\t\274\210\3128\321\347\234!".b ],
15
+ ["test/a.dat", "file", 0777, "\021\216\231Y\354\236\271\372\336\213\224R\211{D{\277\262\304\211xu\330\\\275@~\035\vSRM".b ]
16
+ ].freeze
18
17
 
19
18
  def test_end_to_end_write_read_tar_gz
20
19
  Dir.mktmpdir do |dir|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-libarchive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bellone
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-07-21 00:00:00.000000000 Z
13
+ date: 2018-11-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.7.6
117
+ rubygems_version: 2.7.7
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: A Ruby FFI binding to libarchive.