minitar 1.1.0 → 1.1.1
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/CHANGELOG.md +94 -53
- data/CODE_OF_CONDUCT.md +155 -116
- data/CONTRIBUTING.md +154 -115
- data/LICENCE.md +8 -5
- data/Manifest.txt +2 -2
- data/README.md +20 -8
- data/Rakefile +7 -8
- data/SECURITY.md +16 -26
- data/lib/minitar/input.rb +243 -203
- data/lib/minitar/output.rb +69 -73
- data/lib/minitar/pax_header.rb +94 -94
- data/lib/minitar/posix_header.rb +273 -275
- data/lib/minitar/reader.rb +222 -222
- data/lib/minitar/version.rb +1 -1
- data/lib/minitar/writer.rb +247 -262
- data/lib/minitar.rb +97 -74
- data/test/test_path_normalization.rb +170 -0
- data/test/test_windows_extraction.rb +121 -0
- metadata +32 -25
- data/docs/bsdl.txt +0 -19
- data/docs/ruby.txt +0 -56
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minitar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Austin Ziegler
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1970-01-01 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: hoe
|
|
@@ -29,20 +29,14 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
33
|
-
- - ">="
|
|
34
|
-
- !ruby/object:Gem::Version
|
|
35
|
-
version: 2.1.1
|
|
32
|
+
version: '3.0'
|
|
36
33
|
type: :development
|
|
37
34
|
prerelease: false
|
|
38
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
36
|
requirements:
|
|
40
37
|
- - "~>"
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: '
|
|
43
|
-
- - ">="
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: 2.1.1
|
|
39
|
+
version: '3.0'
|
|
46
40
|
- !ruby/object:Gem::Dependency
|
|
47
41
|
name: irb
|
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,16 +55,22 @@ dependencies:
|
|
|
61
55
|
name: minitest
|
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
|
63
57
|
requirements:
|
|
64
|
-
- - "
|
|
58
|
+
- - ">="
|
|
65
59
|
- !ruby/object:Gem::Version
|
|
66
60
|
version: '5.16'
|
|
61
|
+
- - "<"
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '7'
|
|
67
64
|
type: :development
|
|
68
65
|
prerelease: false
|
|
69
66
|
version_requirements: !ruby/object:Gem::Requirement
|
|
70
67
|
requirements:
|
|
71
|
-
- - "
|
|
68
|
+
- - ">="
|
|
72
69
|
- !ruby/object:Gem::Version
|
|
73
70
|
version: '5.16'
|
|
71
|
+
- - "<"
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '7'
|
|
74
74
|
- !ruby/object:Gem::Dependency
|
|
75
75
|
name: minitest-autotest
|
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,7 +128,7 @@ dependencies:
|
|
|
128
128
|
version: '0.0'
|
|
129
129
|
- - "<"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '
|
|
131
|
+
version: '8'
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -138,21 +138,27 @@ dependencies:
|
|
|
138
138
|
version: '0.0'
|
|
139
139
|
- - "<"
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
|
-
version: '
|
|
141
|
+
version: '8'
|
|
142
142
|
- !ruby/object:Gem::Dependency
|
|
143
143
|
name: simplecov
|
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
|
145
145
|
requirements:
|
|
146
|
-
- - "
|
|
146
|
+
- - ">="
|
|
147
147
|
- !ruby/object:Gem::Version
|
|
148
148
|
version: '0.22'
|
|
149
|
+
- - "<"
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '2'
|
|
149
152
|
type: :development
|
|
150
153
|
prerelease: false
|
|
151
154
|
version_requirements: !ruby/object:Gem::Requirement
|
|
152
155
|
requirements:
|
|
153
|
-
- - "
|
|
156
|
+
- - ">="
|
|
154
157
|
- !ruby/object:Gem::Version
|
|
155
158
|
version: '0.22'
|
|
159
|
+
- - "<"
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: '2'
|
|
156
162
|
- !ruby/object:Gem::Dependency
|
|
157
163
|
name: simplecov-lcov
|
|
158
164
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -209,12 +215,15 @@ dependencies:
|
|
|
209
215
|
- - "~>"
|
|
210
216
|
- !ruby/object:Gem::Version
|
|
211
217
|
version: '1.0'
|
|
212
|
-
description:
|
|
213
|
-
The minitar library is a pure-Ruby library that operates on POSIX tar(1)
|
|
214
|
-
files.
|
|
218
|
+
description: |
|
|
219
|
+
The minitar library is a pure-Ruby library that operates on POSIX tar(1)
|
|
220
|
+
archive files.
|
|
215
221
|
|
|
216
222
|
minitar (previously called Archive::Tar::Minitar) is based heavily on code
|
|
217
|
-
originally written by Mauricio Julio Fernández Pradier for the rpa-base
|
|
223
|
+
originally written by Mauricio Julio Fernández Pradier for the rpa-base
|
|
224
|
+
project.
|
|
225
|
+
|
|
226
|
+
==== To Install:
|
|
218
227
|
email:
|
|
219
228
|
- halostatue@gmail.com
|
|
220
229
|
executables: []
|
|
@@ -225,11 +234,8 @@ extra_rdoc_files:
|
|
|
225
234
|
- CONTRIBUTING.md
|
|
226
235
|
- CONTRIBUTORS.md
|
|
227
236
|
- LICENCE.md
|
|
228
|
-
- Manifest.txt
|
|
229
237
|
- README.md
|
|
230
238
|
- SECURITY.md
|
|
231
|
-
- docs/bsdl.txt
|
|
232
|
-
- docs/ruby.txt
|
|
233
239
|
- licenses/bsdl.txt
|
|
234
240
|
- licenses/dco.txt
|
|
235
241
|
- licenses/ruby.txt
|
|
@@ -243,8 +249,6 @@ files:
|
|
|
243
249
|
- README.md
|
|
244
250
|
- Rakefile
|
|
245
251
|
- SECURITY.md
|
|
246
|
-
- docs/bsdl.txt
|
|
247
|
-
- docs/ruby.txt
|
|
248
252
|
- lib/minitar.rb
|
|
249
253
|
- lib/minitar/input.rb
|
|
250
254
|
- lib/minitar/output.rb
|
|
@@ -274,6 +278,7 @@ files:
|
|
|
274
278
|
- test/test_issue_46.rb
|
|
275
279
|
- test/test_issue_62.rb
|
|
276
280
|
- test/test_minitar.rb
|
|
281
|
+
- test/test_path_normalization.rb
|
|
277
282
|
- test/test_pax_header.rb
|
|
278
283
|
- test/test_pax_support.rb
|
|
279
284
|
- test/test_tar_header.rb
|
|
@@ -281,6 +286,7 @@ files:
|
|
|
281
286
|
- test/test_tar_output.rb
|
|
282
287
|
- test/test_tar_reader.rb
|
|
283
288
|
- test/test_tar_writer.rb
|
|
289
|
+
- test/test_windows_extraction.rb
|
|
284
290
|
homepage: https://github.com/halostatue/minitar
|
|
285
291
|
licenses:
|
|
286
292
|
- Ruby
|
|
@@ -288,6 +294,7 @@ licenses:
|
|
|
288
294
|
metadata:
|
|
289
295
|
source_code_uri: https://github.com/halostatue/minitar
|
|
290
296
|
bug_tracker_uri: https://github.com/halostatue/minitar/issues
|
|
297
|
+
documentation_uri: https://halostatue.github.io/minitar/
|
|
291
298
|
changelog_uri: https://github.com/halostatue/minitar/blob/main/CHANGELOG.md
|
|
292
299
|
rubygems_mfa_required: 'true'
|
|
293
300
|
rdoc_options:
|
data/docs/bsdl.txt
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Redistribution and use in source and binary forms, with or without
|
|
2
|
-
modification, are permitted provided that the following conditions are met:
|
|
3
|
-
|
|
4
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
5
|
-
list of conditions and the following disclaimer.
|
|
6
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
7
|
-
this list of conditions and the following disclaimer in the documentation
|
|
8
|
-
and/or other materials provided with the distribution.
|
|
9
|
-
|
|
10
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
11
|
-
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
12
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
13
|
-
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
|
|
14
|
-
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
15
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
16
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
17
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
18
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
19
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/docs/ruby.txt
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
|
2
|
-
You can redistribute it and/or modify it under either the terms of the
|
|
3
|
-
2-clause BSDL (see the file BSDL), or the conditions below:
|
|
4
|
-
|
|
5
|
-
1. You may make and give away verbatim copies of the source form of the
|
|
6
|
-
software without restriction, provided that you duplicate all of the
|
|
7
|
-
original copyright notices and associated disclaimers.
|
|
8
|
-
|
|
9
|
-
2. You may modify your copy of the software in any way, provided that
|
|
10
|
-
you do at least ONE of the following:
|
|
11
|
-
|
|
12
|
-
a) place your modifications in the Public Domain or otherwise
|
|
13
|
-
make them Freely Available, such as by posting said
|
|
14
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
|
15
|
-
the author to include your modifications in the software.
|
|
16
|
-
|
|
17
|
-
b) use the modified software only within your corporation or
|
|
18
|
-
organization.
|
|
19
|
-
|
|
20
|
-
c) give non-standard binaries non-standard names, with
|
|
21
|
-
instructions on where to get the original software distribution.
|
|
22
|
-
|
|
23
|
-
d) make other distribution arrangements with the author.
|
|
24
|
-
|
|
25
|
-
3. You may distribute the software in object code or binary form,
|
|
26
|
-
provided that you do at least ONE of the following:
|
|
27
|
-
|
|
28
|
-
a) distribute the binaries and library files of the software,
|
|
29
|
-
together with instructions (in the manual page or equivalent)
|
|
30
|
-
on where to get the original distribution.
|
|
31
|
-
|
|
32
|
-
b) accompany the distribution with the machine-readable source of
|
|
33
|
-
the software.
|
|
34
|
-
|
|
35
|
-
c) give non-standard binaries non-standard names, with
|
|
36
|
-
instructions on where to get the original software distribution.
|
|
37
|
-
|
|
38
|
-
d) make other distribution arrangements with the author.
|
|
39
|
-
|
|
40
|
-
4. You may modify and include the part of the software into any other
|
|
41
|
-
software (possibly commercial). But some files in the distribution
|
|
42
|
-
are not written by the author, so that they are not under these terms.
|
|
43
|
-
|
|
44
|
-
For the list of those files and their copying conditions, see the
|
|
45
|
-
file LEGAL.
|
|
46
|
-
|
|
47
|
-
5. The scripts and library files supplied as input to or produced as
|
|
48
|
-
output from the software do not automatically fall under the
|
|
49
|
-
copyright of the software, but belong to whomever generated them,
|
|
50
|
-
and may be sold commercially, and may be aggregated with this
|
|
51
|
-
software.
|
|
52
|
-
|
|
53
|
-
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
|
54
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
55
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
56
|
-
PURPOSE.
|