archive-tar-external 1.3.3 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +6 -0
- data/README +7 -2
- data/archive-tar-external.gemspec +11 -2
- data/certs/djberg96_pub.pem +22 -17
- data/lib/archive/tar/external.rb +5 -9
- data/test/test_archive_tar_external.rb +2 -1
- metadata +41 -31
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e57f18722a9e513fc516a16e98dd6afbff23ebac953c8b2e100ae3525e8857f3
|
4
|
+
data.tar.gz: a6d6c232c28e1fecaeba4c96ba8ccc93aa9c25f1449f9f8707a6e9ece1526d0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4b25808000f06553d1fd57bd3b612dc4ed673434480b1f11d8871772b68d163851740f434a6a6c120a9e2a07becd4632d40dbfc6e154cbd9d717dff3aedfea
|
7
|
+
data.tar.gz: e2292e0e11919e725f2ebccc8cf16e76a82a8bc99befe58e63a06e99edfc9539defcb5f796d624e7fdf3d144bfa1ca2cc494f26130c96cd2a03aa0f8774e958e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== 1.4.0 - 23-Jan-2019
|
2
|
+
* Changed license to Apache-2.0.
|
3
|
+
* The VERSION constant is now frozen.
|
4
|
+
* Added some metadata to the gemspec.
|
5
|
+
* Cert updated, should be good for about 10 years.
|
6
|
+
|
1
7
|
== 1.3.3 - 16-Jan-2016
|
2
8
|
* This gem is now signed.
|
3
9
|
* Fixed some deprecation warnings in the test suite.
|
data/README
CHANGED
@@ -27,8 +27,13 @@
|
|
27
27
|
If you come across any other issues, please report them on the project
|
28
28
|
page at https://github.com/djberg96/archive-tar-external.
|
29
29
|
|
30
|
+
== History
|
31
|
+
This project was originally named "archive-tarsimple", but was renamed
|
32
|
+
on April 7, 2006. Versions of this gem prior to that date are no longer
|
33
|
+
available.
|
34
|
+
|
30
35
|
== License
|
31
|
-
|
36
|
+
Apache-2.0
|
32
37
|
|
33
38
|
== Warranty
|
34
39
|
This package is provided "as is" and without any express or
|
@@ -36,7 +41,7 @@
|
|
36
41
|
warranties of merchantability and fitness for a particular purpose.
|
37
42
|
|
38
43
|
== Copyright
|
39
|
-
(C) 2003 -
|
44
|
+
(C) 2003 - 2019 Daniel J. Berger
|
40
45
|
All Rights Reserved
|
41
46
|
|
42
47
|
== Author
|
@@ -3,9 +3,9 @@ require 'rbconfig'
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'archive-tar-external'
|
6
|
-
spec.version = '1.
|
6
|
+
spec.version = '1.4.0'
|
7
7
|
spec.summary = 'A simple way to create tar archives using external calls'
|
8
|
-
spec.license = '
|
8
|
+
spec.license = 'Apache-2.0'
|
9
9
|
spec.author = 'Daniel Berger'
|
10
10
|
spec.email = 'djberg96@gmail.com'
|
11
11
|
spec.homepage = 'http://github.com/djberg96/archive-tar-external'
|
@@ -20,6 +20,15 @@ Gem::Specification.new do |spec|
|
|
20
20
|
'doc/tar_external.txt'
|
21
21
|
]
|
22
22
|
|
23
|
+
spec.metadata = {
|
24
|
+
'homepage_uri' => 'https://github.com/djberg96/archive-tar-external',
|
25
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/archive-tar-external/issues',
|
26
|
+
'changelog_uri' => 'https://github.com/djberg96/archive-tar-external/blob/master/CHANGES',
|
27
|
+
'documentation_uri' => 'https://github.com/djberg96/archive-tar-external/wiki',
|
28
|
+
'source_code_uri' => 'https://github.com/djberg96/archive-tar-external',
|
29
|
+
'wiki_uri' => 'https://github.com/djberg96/archive-tar-external/wiki'
|
30
|
+
}
|
31
|
+
|
23
32
|
spec.add_development_dependency('test-unit')
|
24
33
|
spec.add_development_dependency('ptools')
|
25
34
|
spec.add_development_dependency('rake')
|
data/certs/djberg96_pub.pem
CHANGED
@@ -1,21 +1,26 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
|
-
|
2
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
3
3
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
4
|
-
|
4
|
+
MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
|
5
5
|
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
6
|
+
bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
|
7
|
+
A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
|
8
|
+
u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
|
9
|
+
75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
|
10
|
+
6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
|
11
|
+
iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTujkyCcJoXKYYxZSNtIiyd9etI0X3
|
12
|
+
ctu0uhrFyrMZXCedutvXNjUolD5r9KGBFSWH1R9u2I3n3SAyFF2yzv/7idQHLJJq
|
13
|
+
74BMnx0FIq6fCpu5slAipvxZ3ZkZpEXZFr3cIBtO1gFvQWW7E/Y3ijliWJS1GQFq
|
14
|
+
058qERadHGu1yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
|
15
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
|
16
|
+
AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
|
17
|
+
YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
|
18
|
+
/3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
|
19
|
+
h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
|
20
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
21
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
22
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
23
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
24
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
25
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
21
26
|
-----END CERTIFICATE-----
|
data/lib/archive/tar/external.rb
CHANGED
@@ -17,7 +17,7 @@ module Archive
|
|
17
17
|
# This class encapsulates tar & zip operations.
|
18
18
|
class Tar::External
|
19
19
|
# The version of the archive-tar-external library.
|
20
|
-
VERSION = '1.
|
20
|
+
VERSION = '1.4.0'.freeze
|
21
21
|
|
22
22
|
# The name of the archive file to be used, e.g. "test.tar"
|
23
23
|
attr_accessor :archive_name
|
@@ -45,11 +45,11 @@ module Archive
|
|
45
45
|
@tar_program = 'tar'
|
46
46
|
|
47
47
|
if file_pattern
|
48
|
-
|
48
|
+
create_archive(file_pattern)
|
49
49
|
end
|
50
50
|
|
51
51
|
if program
|
52
|
-
|
52
|
+
compress_archive(program)
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
@@ -81,9 +81,7 @@ module Archive
|
|
81
81
|
|
82
82
|
Open3.popen3(cmd){ |tar_in, tar_out, tar_err|
|
83
83
|
err = tar_err.gets
|
84
|
-
if err
|
85
|
-
raise Error, err.chomp
|
86
|
-
end
|
84
|
+
raise Error, err.chomp if err
|
87
85
|
}
|
88
86
|
|
89
87
|
self
|
@@ -166,9 +164,7 @@ module Archive
|
|
166
164
|
cmd = "#{@tar_program} tf #{@archive_name}"
|
167
165
|
Open3.popen3(cmd){ |ain, aout, aerr|
|
168
166
|
err = aerr.gets
|
169
|
-
if err
|
170
|
-
raise Error, err.chomp
|
171
|
-
end
|
167
|
+
raise Error, err.chomp if err
|
172
168
|
|
173
169
|
while output = aout.gets
|
174
170
|
result << output.chomp
|
@@ -35,7 +35,8 @@ class TC_ArchiveTarExternal < Test::Unit::TestCase
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def test_version
|
38
|
-
assert_equal('1.
|
38
|
+
assert_equal('1.4.0', Tar::External::VERSION)
|
39
|
+
assert_true(Tar::External::VERSION.frozen?)
|
39
40
|
end
|
40
41
|
|
41
42
|
def test_constructor
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archive-tar-external
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Berger
|
@@ -10,27 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
14
14
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
-
|
15
|
+
MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
|
16
16
|
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
17
|
+
bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
|
18
|
+
A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
|
19
|
+
u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
|
20
|
+
75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
|
21
|
+
6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
|
22
|
+
iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTujkyCcJoXKYYxZSNtIiyd9etI0X3
|
23
|
+
ctu0uhrFyrMZXCedutvXNjUolD5r9KGBFSWH1R9u2I3n3SAyFF2yzv/7idQHLJJq
|
24
|
+
74BMnx0FIq6fCpu5slAipvxZ3ZkZpEXZFr3cIBtO1gFvQWW7E/Y3ijliWJS1GQFq
|
25
|
+
058qERadHGu1yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
|
26
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
|
27
|
+
AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
|
28
|
+
YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
|
29
|
+
/3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
|
30
|
+
h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
|
31
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
32
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
33
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
34
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
35
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
36
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
32
37
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
38
|
+
date:
|
34
39
|
dependencies:
|
35
40
|
- !ruby/object:Gem::Dependency
|
36
41
|
name: test-unit
|
@@ -88,26 +93,32 @@ extra_rdoc_files:
|
|
88
93
|
- MANIFEST
|
89
94
|
- doc/tar_external.txt
|
90
95
|
files:
|
91
|
-
- archive-tar-external.gemspec
|
92
|
-
- certs
|
93
|
-
- certs/djberg96_pub.pem
|
94
96
|
- CHANGES
|
97
|
+
- test
|
98
|
+
- test/test_archive_tar_external.rb
|
99
|
+
- archive-tar-external.gemspec
|
95
100
|
- doc
|
96
101
|
- doc/tar_external.txt
|
102
|
+
- README
|
103
|
+
- Rakefile
|
104
|
+
- MANIFEST
|
97
105
|
- lib
|
98
106
|
- lib/archive
|
99
107
|
- lib/archive/tar
|
100
108
|
- lib/archive/tar/external.rb
|
101
109
|
- lib/archive-tar-external.rb
|
102
|
-
-
|
103
|
-
-
|
104
|
-
- README
|
105
|
-
- test
|
106
|
-
- test/test_archive_tar_external.rb
|
110
|
+
- certs
|
111
|
+
- certs/djberg96_pub.pem
|
107
112
|
homepage: http://github.com/djberg96/archive-tar-external
|
108
113
|
licenses:
|
109
|
-
-
|
110
|
-
metadata:
|
114
|
+
- Apache-2.0
|
115
|
+
metadata:
|
116
|
+
homepage_uri: https://github.com/djberg96/archive-tar-external
|
117
|
+
bug_tracker_uri: https://github.com/djberg96/archive-tar-external/issues
|
118
|
+
changelog_uri: https://github.com/djberg96/archive-tar-external/blob/master/CHANGES
|
119
|
+
documentation_uri: https://github.com/djberg96/archive-tar-external/wiki
|
120
|
+
source_code_uri: https://github.com/djberg96/archive-tar-external
|
121
|
+
wiki_uri: https://github.com/djberg96/archive-tar-external/wiki
|
111
122
|
post_install_message:
|
112
123
|
rdoc_options: []
|
113
124
|
require_paths:
|
@@ -123,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
134
|
- !ruby/object:Gem::Version
|
124
135
|
version: '0'
|
125
136
|
requirements: []
|
126
|
-
|
127
|
-
rubygems_version: 2.5.1
|
137
|
+
rubygems_version: 3.0.2
|
128
138
|
signing_key:
|
129
139
|
specification_version: 4
|
130
140
|
summary: A simple way to create tar archives using external calls
|
metadata.gz.sig
CHANGED
Binary file
|