ruby-xz 0.2.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHORS +1 -3
- data/HISTORY.rdoc +45 -0
- data/LICENSE +21 -0
- data/README.md +44 -43
- data/lib/xz.rb +163 -87
- data/lib/xz/fiddle_helper.rb +91 -0
- data/lib/xz/lib_lzma.rb +117 -103
- data/lib/xz/stream.rb +429 -32
- data/lib/xz/stream_reader.rb +221 -400
- data/lib/xz/stream_writer.rb +173 -314
- data/lib/xz/version.rb +4 -4
- metadata +17 -43
- data/COPYING +0 -26
data/lib/xz/version.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#--
|
3
|
-
# (The MIT License)
|
4
|
-
#
|
5
3
|
# Basic liblzma-bindings for Ruby.
|
6
4
|
#
|
7
|
-
# Copyright ©
|
5
|
+
# Copyright © 2011-2018 Marvin Gülker et al.
|
6
|
+
#
|
7
|
+
# See AUTHORS for the full list of contributors.
|
8
8
|
#
|
9
9
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
10
10
|
# copy of this software and associated documentation files (the ‘Software’),
|
@@ -28,6 +28,6 @@
|
|
28
28
|
module XZ
|
29
29
|
|
30
30
|
# The version of this library.
|
31
|
-
VERSION = "0.
|
31
|
+
VERSION = "1.0.0".freeze
|
32
32
|
|
33
33
|
end
|
metadata
CHANGED
@@ -1,87 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-xz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marvin Gülker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: minitar
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.9'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: io-like
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.3'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.3'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: archive-tar-minitar
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.5'
|
19
|
+
version: '0.6'
|
48
20
|
type: :development
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - "~>"
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
26
|
+
version: '0.6'
|
55
27
|
description: |
|
56
28
|
These are simple Ruby bindings for the liblzma library
|
57
29
|
(http://tukaani.org/xz/), which is best known for the
|
58
30
|
extreme compression ratio its native XZ format achieves.
|
59
|
-
Since
|
60
|
-
is needed
|
61
|
-
email:
|
31
|
+
Since fiddle is used to implement the bindings, no compilation
|
32
|
+
is needed.
|
33
|
+
email: m-guelker@phoenixmail.de
|
62
34
|
executables: []
|
63
35
|
extensions: []
|
64
36
|
extra_rdoc_files:
|
65
37
|
- README.md
|
66
38
|
- HISTORY.rdoc
|
67
|
-
-
|
39
|
+
- LICENSE
|
68
40
|
- AUTHORS
|
69
41
|
files:
|
70
42
|
- AUTHORS
|
71
|
-
- COPYING
|
72
43
|
- HISTORY.rdoc
|
44
|
+
- LICENSE
|
73
45
|
- README.md
|
74
46
|
- lib/xz.rb
|
47
|
+
- lib/xz/fiddle_helper.rb
|
75
48
|
- lib/xz/lib_lzma.rb
|
76
49
|
- lib/xz/stream.rb
|
77
50
|
- lib/xz/stream_reader.rb
|
78
51
|
- lib/xz/stream_writer.rb
|
79
52
|
- lib/xz/version.rb
|
80
|
-
homepage:
|
53
|
+
homepage: https://mg.guelker.eu/projects/ruby-xz/
|
81
54
|
licenses:
|
82
55
|
- MIT
|
83
56
|
metadata: {}
|
84
|
-
post_install_message:
|
57
|
+
post_install_message: Version 1.0.0 of ruby-xz breaks the API. Read HISTORY.rdoc and
|
58
|
+
adapt your code to the new API.
|
85
59
|
rdoc_options:
|
86
60
|
- "-t"
|
87
61
|
- ruby-xz RDocs
|
@@ -93,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
67
|
requirements:
|
94
68
|
- - ">="
|
95
69
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
70
|
+
version: 2.3.0
|
97
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
72
|
requirements:
|
99
73
|
- - ">="
|
@@ -101,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
75
|
version: '0'
|
102
76
|
requirements: []
|
103
77
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.5.2.1
|
105
79
|
signing_key:
|
106
80
|
specification_version: 4
|
107
|
-
summary: XZ compression via liblzma for Ruby, using
|
81
|
+
summary: XZ compression via liblzma for Ruby, using fiddle.
|
108
82
|
test_files: []
|
data/COPYING
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
(The MIT License)
|
2
|
-
|
3
|
-
Basic liblzma-bindings for Ruby.
|
4
|
-
|
5
|
-
Copyright © 2011-2014 Marvin Gülker et al.
|
6
|
-
|
7
|
-
See the file `AUTHORS' for the full list of contributors.
|
8
|
-
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
10
|
-
a copy of this software and associated documentation files (the
|
11
|
-
‘Software’), to deal in the Software without restriction, including
|
12
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
13
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
14
|
-
permit persons to whom the Software is furnished to do so, subject to
|
15
|
-
the following conditions:
|
16
|
-
|
17
|
-
The above copyright notice and this permission notice shall be
|
18
|
-
included in all copies or substantial portions of the Software.
|
19
|
-
|
20
|
-
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
|
21
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
23
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
24
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
25
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
26
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|