archive 0.0.2 → 0.0.3

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: 8573b5dc0a8783ecd5519bef313fab1a86ce6920
4
- data.tar.gz: 59a004ca0682e4601c730cd4a753b5a1e0bd33fa
3
+ metadata.gz: eea58532ddc940adf915b551058677861c5c6f1f
4
+ data.tar.gz: c726a2100a1da44625735183dab2ebc5ede03281
5
5
  SHA512:
6
- metadata.gz: 9ac13f3f8b58920f3e99e4996634cfe3321610a8063e1aff7913f1c374a975f0c3659da773edfe522e1e16e540d435d5749d60c55abf7f537f9bedff8a724f84
7
- data.tar.gz: 1efd78f10a7c0eba26889a04bc4b3fd40d5b573499a96c8e62d66f458b3380c368654e584f482f8ded6d3cdcd2e98a1d9cfaa2efa96bbb415e0c86052db4aa51
6
+ metadata.gz: 46db2088dd9999ab72eacb831f09ddd0114a4eb8b93b12436958355d1f15ae77a03f4b8c6cee6a2570b59d3897b50f49bf86950d0e7e3d04ab3ee70c87e93b99
7
+ data.tar.gz: 3f7c3c403a87b5a2316367a57f65b32308130250089893953a840ae1f23398a3a0cd375a4d244e79a274add1622df2e770ae29bba15692a78015fdf53a112119
@@ -1,3 +1,5 @@
1
+ # 0.0.3 (09/15/2013)
2
+ * ISO support on linux systems -- Thanks David Lutterkort!
1
3
  # 0.0.2 (05/02/2013)
2
4
  * Better memory management; heap corruption issue that wasn't showing up in tests.
3
5
  * Fixes for FreeBSD 9
data/README.md CHANGED
@@ -9,6 +9,7 @@ common subset of archive types:
9
9
  * gzipped
10
10
  * bzip2'd
11
11
  * zip (uncompressed, binary-only)
12
+ * iso9660 (read-only, and not on OS X)
12
13
 
13
14
  ## Installation
14
15
 
@@ -65,7 +66,7 @@ Tests require bundler. Run `bundle exec rake test` to run the tests.
65
66
 
66
67
  We have verified that archive works as intended on these platforms:
67
68
 
68
- * Mac OS X 10.8
69
+ * Mac OS X 10.8, 10.9 (Except iso format)
69
70
  * Ubuntu Linux 12.04 LTS
70
71
  * FreeBSD 9
71
72
 
@@ -77,6 +78,10 @@ And these Rubies:
77
78
 
78
79
  It does not work on these platforms:
79
80
 
81
+ * On OS X iso formats are unsupported. The version of libarchive distributed
82
+ with both 10.8 and 10.9 seems to have trouble with all iso derivatives.
83
+ Patches welcome for fixes!
84
+
80
85
  * SmartOS "base64 1.9.1". The version of libarchive they distribute via pkgsrc
81
86
  is broken, see this URL:
82
87
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
25
- spec.add_development_dependency 'minitest'
25
+ spec.add_development_dependency 'minitest', '~> 5.0.0'
26
26
  spec.add_development_dependency 'guard-minitest'
27
27
  spec.add_development_dependency 'guard-rake', '~> 0.0.8'
28
28
  spec.add_development_dependency 'rdoc', '~> 4.0'
@@ -129,10 +129,17 @@ module Archive # :nodoc:
129
129
  attach_function :archive_read_support_format_gnutar, [:pointer], :void
130
130
  attach_function :archive_read_support_format_zip, [:pointer], :void
131
131
 
132
+ unless ::FFI::Platform.mac?
133
+ attach_function :archive_read_support_format_iso9660, [:pointer], :void
134
+ end
135
+
132
136
  def self.enable_input_formats(arg) # :nodoc:
133
137
  archive_read_support_format_gnutar(arg)
134
138
  archive_read_support_format_zip(arg)
135
139
  archive_read_support_format_zip(arg)
140
+ unless ::FFI::Platform.mac?
141
+ archive_read_support_format_iso9660(arg)
142
+ end
136
143
  enable_input_compression(arg)
137
144
  end
138
145
 
@@ -1,3 +1,3 @@
1
1
  module Archive
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Hollensbe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-03 00:00:00.000000000 Z
11
+ date: 2013-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 5.0.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 5.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-minitest
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 2.0.3
179
+ rubygems_version: 2.0.6
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Simple library to manage tar and zip archives with libarchive and FFI