archive-tar-external 1.3.1 → 1.4.2
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 +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/{CHANGES → CHANGES.md} +41 -12
- data/Gemfile +3 -0
- data/LICENSE +177 -0
- data/MANIFEST.md +13 -0
- data/README.md +56 -0
- data/Rakefile +10 -10
- data/archive-tar-external.gemspec +21 -25
- data/certs/djberg96_pub.pem +26 -0
- data/doc/archive_tar_external.md +134 -0
- data/lib/archive-tar-external.rb +3 -0
- data/lib/archive/tar/external.rb +60 -85
- data/spec/archive_tar_external_spec.rb +231 -0
- data/spec/spec_helper.rb +7 -0
- metadata +116 -82
- metadata.gz.sig +0 -0
- data/MANIFEST +0 -8
- data/README +0 -47
- data/doc/tar_external.txt +0 -109
- data/test/test_archive_tar_external.rb +0 -203
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b20d6fa4e2827a0326f31b43997f3191a1c35ac268d5de485689bb0b0ab59c0
|
4
|
+
data.tar.gz: 4a4938677d58c08044547d5fb3bc7a71e669d1ffe11db0c1ba47cff35aecd70a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 703b000865ccddd8a1c54cbbebf47a4e2a6790964c1b9ef68663b5779dd286e8923b2dfe98d2b89a9161af457aadd588e1372a4ce9d49b7f7fa44110f094ec8e
|
7
|
+
data.tar.gz: 0f72ea731fd952a4474eb553a789a4a78a8d79a41f6ad6c597a2328f948981251295dab4abb6bdabeac9770a85aa1fab6466f174c311e7c330fd3391bcb73aaa
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/{CHANGES → CHANGES.md}
RENAMED
@@ -1,21 +1,50 @@
|
|
1
|
-
|
1
|
+
## 1.4.2 - 1-May-2021
|
2
|
+
* Switched from test-unit to rspec.
|
3
|
+
* Added tighter versioning for the development dependencies.
|
4
|
+
* Tests will now try to use gtar by default, if found.
|
5
|
+
* A fair number of rubocop suggestions were implemented, including
|
6
|
+
the frozen string literal pragma.
|
7
|
+
|
8
|
+
## 1.4.1 - 19-Feb-2021
|
9
|
+
* Switched from rdoc to markdown.
|
10
|
+
|
11
|
+
## 1.4.0 - 23-Jan-2019
|
12
|
+
* Changed license to Apache-2.0.
|
13
|
+
* The VERSION constant is now frozen.
|
14
|
+
* Added some metadata to the gemspec.
|
15
|
+
* Cert updated, should be good for about 10 years.
|
16
|
+
|
17
|
+
## 1.3.3 - 16-Jan-2016
|
18
|
+
* This gem is now signed.
|
19
|
+
* Fixed some deprecation warnings in the test suite.
|
20
|
+
* Added an archive-tar-external.rb file for convenience.
|
21
|
+
* Updates to the Rakefile.
|
22
|
+
|
23
|
+
## 1.3.2 - 14-Mar-2014
|
24
|
+
* The create_archive method now accepts an optional second argument that
|
25
|
+
specifies options to the tar command. The default is 'cf' (create file).
|
26
|
+
* The gem:create task was updated for Rubygems 2.x.
|
27
|
+
* Added rake as a development dependency.
|
28
|
+
* Ruby 1.8.x support has been dropped. This only matters for MS Windows.
|
29
|
+
|
30
|
+
## 1.3.1 - 20-Sep-2011
|
2
31
|
* Refactored the Rakefile a bit.
|
3
32
|
|
4
|
-
|
33
|
+
## 1.3.0 - 16-Jan-2010
|
5
34
|
* Altered the source code layout, which requires a change in your require
|
6
35
|
line. It's now require 'archive/tar/external'.
|
7
36
|
* Moved some content from the .txt file to the README.
|
8
37
|
* Updated one test to use a skip as needed.
|
9
38
|
* Moved source code to github.
|
10
39
|
|
11
|
-
|
40
|
+
## 1.2.3 - 25-Sep-2009
|
12
41
|
* Fixed a packaging bug.
|
13
42
|
* Added cygwin and mingw to Windows checks.
|
14
43
|
* Now requires open3 properly for Ruby 1.9 on Windows.
|
15
44
|
* Minor modifications to the gemspec.
|
16
45
|
* Added the 'gem' rake task.
|
17
46
|
|
18
|
-
|
47
|
+
## 1.2.2 - 28-Jul-2009
|
19
48
|
* Compatibility fixes for Ruby 1.9.x and JRuby.
|
20
49
|
* Singleton methods that were previously synonyms are now true aliases.
|
21
50
|
* License changed to Artistic 2.0.
|
@@ -26,13 +55,13 @@
|
|
26
55
|
in test-unit 2.x.
|
27
56
|
* Renamed the test file to test_archive_tar_external.rb.
|
28
57
|
|
29
|
-
|
58
|
+
## 1.2.1 - 30-Jul-2007
|
30
59
|
* The TarError class is now Tar::Error.
|
31
60
|
* Added a Rakefile with tasks for installation and testing.
|
32
61
|
* Removed the install.rb file. Installation is now handled by the Rakefile.
|
33
62
|
* Documentation updates.
|
34
63
|
|
35
|
-
|
64
|
+
## 1.2.0 - 7-Apr-2006
|
36
65
|
* Project renamed 'archive-tar-external'.
|
37
66
|
* The 'Tar' class is now Tar::External.
|
38
67
|
* The RAA project name is now tar-external.
|
@@ -42,16 +71,16 @@
|
|
42
71
|
that already exist.
|
43
72
|
* Added the Tar::External#compressed_archive_name= method.
|
44
73
|
|
45
|
-
|
74
|
+
## 1.1.1 - 1-Mar-2006
|
46
75
|
* Replaced PLATFORM with RUBY_PLATFORM since the former is deprecated
|
47
76
|
for Ruby 1.9/2.0.
|
48
77
|
|
49
|
-
|
78
|
+
## 1.1.0 - 10-Feb-2006
|
50
79
|
* Internal refactoring changes - now uses block form of Open3.popen3.
|
51
80
|
* Most methods now return self instead of true (better for chaining).
|
52
81
|
* Corresponding test suite changes.
|
53
82
|
|
54
|
-
|
83
|
+
## 1.0.0 - 1-Sep-2005
|
55
84
|
* Moved project to RubyForge.
|
56
85
|
* Modified the constructor to accept a file pattern. If present, becomes
|
57
86
|
a shortcut for Tar.new + Tar#create_archive.
|
@@ -72,7 +101,7 @@
|
|
72
101
|
* Test suite updates.
|
73
102
|
* Added a gemspec.
|
74
103
|
|
75
|
-
|
104
|
+
## 0.3.0 - 10-Aug-2004
|
76
105
|
* Added the update_archive() method.
|
77
106
|
* The expand_archive() method has been renamed to extract_archive().
|
78
107
|
For backward's compatability, an alias remains so you may use
|
@@ -82,7 +111,7 @@
|
|
82
111
|
If not, then the entire archive is extracted.
|
83
112
|
* Added corresponding tests and documentation updates.
|
84
113
|
|
85
|
-
|
114
|
+
## 0.2.0 - 9-Aug-2004
|
86
115
|
* Added the add_to_archive() method.
|
87
116
|
* Removed the VERSION() class method. Use the constant instead.
|
88
117
|
* Changed "TarException" and "CompressionException" to "TarError" and
|
@@ -93,5 +122,5 @@
|
|
93
122
|
wish using the rd2 tool.
|
94
123
|
* Added warranty information.
|
95
124
|
|
96
|
-
|
125
|
+
## 0.1.0 - 24-Jan-2003
|
97
126
|
* Initial Release
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
data/MANIFEST.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
* CHANGES.md
|
2
|
+
* LICENSE
|
3
|
+
* MANIFEST.md
|
4
|
+
* README.md
|
5
|
+
* Gemfile
|
6
|
+
* Rakefile
|
7
|
+
* archive-tar-external.gemspec
|
8
|
+
* certs/djberg96_pub.pem
|
9
|
+
* doc/tar_external.md
|
10
|
+
* lib/archive-tar-external.rb
|
11
|
+
* lib/archive/tar_external.rb
|
12
|
+
* spec/archive_tar_external_spec.rb
|
13
|
+
* spec/spec_helper.rb
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
## Description
|
2
|
+
A simple tar & compress library that nicely wraps external system calls.
|
3
|
+
|
4
|
+
## Installation
|
5
|
+
`gem install archive-tar-external`
|
6
|
+
|
7
|
+
## Synopsis
|
8
|
+
```ruby
|
9
|
+
require 'archive/tar/external' # or 'archive-tar-external'
|
10
|
+
|
11
|
+
# Create an archive of all files with an ".rb" extension, the long way.
|
12
|
+
t = Archive::Tar::External.new('test.tar')
|
13
|
+
t.create_archive('*.rb')
|
14
|
+
t.compress_archive('gzip')
|
15
|
+
|
16
|
+
# Same, but the short way.
|
17
|
+
t = Archive::Tar::External.new('test.tar', '*.rb', 'gzip')
|
18
|
+
```
|
19
|
+
|
20
|
+
## Prerequisites
|
21
|
+
* The 'tar' command line program.
|
22
|
+
* At least one compression program, e.g. gzip, bzip2, zip, etc.
|
23
|
+
|
24
|
+
## Known Issues
|
25
|
+
|
26
|
+
### Solaris
|
27
|
+
The tar program that comes with Solaris will not raise an error if you
|
28
|
+
try to expand a file from an archive that does not contain that file.
|
29
|
+
|
30
|
+
### OSX
|
31
|
+
It appears that the BSD tar that ships on Mac does not implement the -u
|
32
|
+
option properly, and will add a file to the archive even if the timestamp
|
33
|
+
of the file hasn't changed.
|
34
|
+
|
35
|
+
If you come across any other issues, please report them on the project
|
36
|
+
page at https://github.com/djberg96/archive-tar-external.
|
37
|
+
|
38
|
+
## History
|
39
|
+
This project was originally named "archive-tarsimple", but was renamed
|
40
|
+
on April 7, 2006. Versions of this gem prior to that date are no longer
|
41
|
+
available.
|
42
|
+
|
43
|
+
## License
|
44
|
+
Apache-2.0
|
45
|
+
|
46
|
+
## Warranty
|
47
|
+
This package is provided "as is" and without any express or
|
48
|
+
implied warranties, including, without limitation, the implied
|
49
|
+
warranties of merchantability and fitness for a particular purpose.
|
50
|
+
|
51
|
+
## Copyright
|
52
|
+
(C) 2003 - 2021 Daniel J. Berger
|
53
|
+
All Rights Reserved
|
54
|
+
|
55
|
+
## Author
|
56
|
+
Daniel J. Berger
|
data/Rakefile
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/clean'
|
3
|
-
require '
|
3
|
+
require 'rspec/core/rake_task'
|
4
4
|
|
5
|
-
CLEAN.include("**/*.gem", "**/*.rbc")
|
5
|
+
CLEAN.include("**/*.gem", "**/*.rbc", "**/*.lock")
|
6
6
|
|
7
7
|
namespace :gem do
|
8
8
|
desc 'Build the archive-tar-external gem'
|
9
9
|
task :create do
|
10
|
+
require 'rubygems/package'
|
10
11
|
spec = eval(IO.read('archive-tar-external.gemspec'))
|
11
|
-
|
12
|
+
spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
|
13
|
+
Gem::Package.build(spec)
|
12
14
|
end
|
13
15
|
|
14
16
|
desc 'Install the archive-tar-external library as a gem'
|
15
|
-
task :install => [:
|
17
|
+
task :install => [:create] do
|
16
18
|
file = Dir["*.gem"].first
|
17
|
-
sh "gem install #{file}"
|
19
|
+
sh "gem install -l #{file}"
|
18
20
|
end
|
19
21
|
end
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
-
t.verbose = true
|
24
|
-
end
|
23
|
+
desc "Run the test suite"
|
24
|
+
RSpec::Core::RakeTask.new(:spec)
|
25
25
|
|
26
|
-
task :default => :
|
26
|
+
task :default => :spec
|
@@ -2,24 +2,29 @@ require 'rubygems'
|
|
2
2
|
require 'rbconfig'
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
|
-
spec.name
|
6
|
-
spec.version
|
7
|
-
spec.summary
|
8
|
-
spec.license
|
9
|
-
spec.author
|
10
|
-
spec.email
|
11
|
-
spec.homepage
|
12
|
-
spec.
|
13
|
-
spec.files
|
5
|
+
spec.name = 'archive-tar-external'
|
6
|
+
spec.version = '1.4.2'
|
7
|
+
spec.summary = 'A simple way to create tar archives using external calls'
|
8
|
+
spec.license = 'Apache-2.0'
|
9
|
+
spec.author = 'Daniel Berger'
|
10
|
+
spec.email = 'djberg96@gmail.com'
|
11
|
+
spec.homepage = 'http://github.com/djberg96/archive-tar-external'
|
12
|
+
spec.test_files = Dir['spec/*.rb']
|
13
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
14
|
+
spec.cert_chain = Dir['certs/*']
|
14
15
|
|
15
|
-
spec.
|
16
|
+
spec.metadata = {
|
17
|
+
'homepage_uri' => 'https://github.com/djberg96/archive-tar-external',
|
18
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/archive-tar-external/issues',
|
19
|
+
'changelog_uri' => 'https://github.com/djberg96/archive-tar-external/blob/main/CHANGES',
|
20
|
+
'documentation_uri' => 'https://github.com/djberg96/archive-tar-external/wiki',
|
21
|
+
'source_code_uri' => 'https://github.com/djberg96/archive-tar-external',
|
22
|
+
'wiki_uri' => 'https://github.com/djberg96/archive-tar-external/wiki'
|
23
|
+
}
|
16
24
|
|
17
|
-
spec.
|
18
|
-
|
19
|
-
|
20
|
-
'MANIFEST',
|
21
|
-
'doc/tar_external.txt'
|
22
|
-
]
|
25
|
+
spec.add_development_dependency('rake')
|
26
|
+
spec.add_development_dependency('rspec', '~> 3.9')
|
27
|
+
spec.add_development_dependency('ptools', '~> 1.4')
|
23
28
|
|
24
29
|
spec.description = <<-EOF
|
25
30
|
The archive-tar-external is a simple wrapper interface for creating
|
@@ -27,13 +32,4 @@ Gem::Specification.new do |spec|
|
|
27
32
|
your tar files with your system's compression programs such as zip, gzip,
|
28
33
|
or bzip2.
|
29
34
|
EOF
|
30
|
-
|
31
|
-
spec.add_development_dependency('test-unit')
|
32
|
-
spec.add_development_dependency('ptools')
|
33
|
-
|
34
|
-
if File::ALT_SEPARATOR
|
35
|
-
if RUBY_VERSION.to_f < 1.9 && RUBY_PLATFORM !~ /java/i
|
36
|
-
spec.add_dependency('win32-open3')
|
37
|
-
end
|
38
|
-
end
|
39
35
|
end
|