archive-tar-external 1.3.0 → 1.4.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8262389cae7e15791e59508564874601c91d9693d1151aaac72a3a52403ce666
4
+ data.tar.gz: 26c49206d0cc4bbc653353c900425331b9b59ba0a448c6acd4283b43001db9f9
5
+ SHA512:
6
+ metadata.gz: 2ecea7018db1ab2621966fa41d514c94d92d1b0b98fb1b60b9be337b3f4c650e1c310f4c4874167cc1a0d243c3cd5be858c99699a35e9d0f15df4246e8902e8c
7
+ data.tar.gz: b2ca702a9caeb6a6f76c5a32bb85615ce04b3587eb75675593612f439eeb43f74a4d29746ff8fc74c76423cd341e8867ed4c8d882bf45aef0ac457a108dbe58c
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
@@ -1,94 +1,119 @@
1
- == 1.3.0 - 16-Jan-2010
2
- * Altered the source code layout, which requires a change in your require
3
- line. It's now require 'archive/tar/external'.
4
- * Moved some content from the .txt file to the README.
5
- * Updated one test to use a skip as needed.
6
- * Moved source code to github.
7
-
8
- == 1.2.3 - 25-Sep-2009
9
- * Fixed a packaging bug.
10
- * Added cygwin and mingw to Windows checks.
11
- * Now requires open3 properly for Ruby 1.9 on Windows.
12
- * Minor modifications to the gemspec.
13
- * Added the 'gem' rake task.
14
-
15
- == 1.2.2 - 28-Jul-2009
16
- * Compatibility fixes for Ruby 1.9.x and JRuby.
17
- * Singleton methods that were previously synonyms are now true aliases.
18
- * License changed to Artistic 2.0.
19
- * Several gemspec updates, including an updated description, the addition
20
- of a license and development dependencies and refactored platform handling.
21
- * Added test-unit and ptools as development dependencies for the test suite.
22
- * Some refactoring of the test suite to take advantage of some of the features
23
- in test-unit 2.x.
24
- * Renamed the test file to test_archive_tar_external.rb.
25
-
26
- == 1.2.1 - 30-Jul-2007
27
- * The TarError class is now Tar::Error.
28
- * Added a Rakefile with tasks for installation and testing.
29
- * Removed the install.rb file. Installation is now handled by the Rakefile.
30
- * Documentation updates.
31
-
32
- == 1.2.0 - 7-Apr-2006
33
- * Project renamed 'archive-tar-external'.
34
- * The 'Tar' class is now Tar::External.
35
- * The RAA project name is now tar-external.
36
- * Added the Tar::External.uncompress_archive class method for archives
37
- that already exist.
38
- * Added the Tar::External.extract_archive class method for tarballs
39
- that already exist.
40
- * Added the Tar::External#compressed_archive_name= method.
41
-
42
- == 1.1.1 - 1-Mar-2006
43
- * Replaced PLATFORM with RUBY_PLATFORM since the former is deprecated
44
- for Ruby 1.9/2.0.
45
-
46
- == 1.1.0 - 10-Feb-2006
47
- * Internal refactoring changes - now uses block form of Open3.popen3.
48
- * Most methods now return self instead of true (better for chaining).
49
- * Corresponding test suite changes.
50
-
51
- == 1.0.0 - 1-Sep-2005
52
- * Moved project to RubyForge.
53
- * Modified the constructor to accept a file pattern. If present, becomes
54
- a shortcut for Tar.new + Tar#create_archive.
55
- * Constructor merely calls .to_s on the archive name, rather than validating
56
- that it's a String argument.
57
- * You can now specify the tar program you wish to use, e.g. "tar", "gtar", etc.
58
- * Fixed a bug in Tar#uncompress_archive where it wasn't finding the appropriate
59
- compressed archive name.
60
- * Added aliases for most methods whereby you can omit the word "archive" in
61
- the method name now, e.g. Tar#compress is an alias for Tar#compress_archive.
62
- * Now more polite about closing open handles from Open3.
63
- * The (rdoc) documentation is now inlined.
64
- * Removed the tarsimple.rd and tarsimple.html files.
65
- * Made most documentation rdoc friendly.
66
- * Updated the README and MANIFEST files.
67
- * Removed the INSTALL file. The installation instructions are now included
68
- in the README file.
69
- * Test suite updates.
70
- * Added a gemspec.
71
-
72
- == 0.3.0 - 10-Aug-2004
73
- * Added the update_archive() method.
74
- * The expand_archive() method has been renamed to extract_archive().
75
- For backward's compatability, an alias remains so you may use
76
- either method name.
77
- * The extract_archive() method now accepts a list of file names as
78
- an argument. If present, then only those file names are extracted.
79
- If not, then the entire archive is extracted.
80
- * Added corresponding tests and documentation updates.
81
-
82
- == 0.2.0 - 9-Aug-2004
83
- * Added the add_to_archive() method.
84
- * Removed the VERSION() class method. Use the constant instead.
85
- * Changed "TarException" and "CompressionException" to "TarError" and
86
- "CompressError", respectively.
87
- * Moved rd documentation into its own file under the 'doc' directory.
88
- * Added unit tests and updated the docs.
89
- * Removed the html file. You can generate that on your own if you
90
- wish using the rd2 tool.
91
- * Added warranty information.
92
-
93
- == 0.1.0 - 24-Jan-2003
94
- * Initial Release
1
+ ## 1.4.1 - 19-Feb-2021
2
+ * Switched from rdoc to markdown.
3
+
4
+ ## 1.4.0 - 23-Jan-2019
5
+ * Changed license to Apache-2.0.
6
+ * The VERSION constant is now frozen.
7
+ * Added some metadata to the gemspec.
8
+ * Cert updated, should be good for about 10 years.
9
+
10
+ ## 1.3.3 - 16-Jan-2016
11
+ * This gem is now signed.
12
+ * Fixed some deprecation warnings in the test suite.
13
+ * Added an archive-tar-external.rb file for convenience.
14
+ * Updates to the Rakefile.
15
+
16
+ ## 1.3.2 - 14-Mar-2014
17
+ * The create_archive method now accepts an optional second argument that
18
+ specifies options to the tar command. The default is 'cf' (create file).
19
+ * The gem:create task was updated for Rubygems 2.x.
20
+ * Added rake as a development dependency.
21
+ * Ruby 1.8.x support has been dropped. This only matters for MS Windows.
22
+
23
+ ## 1.3.1 - 20-Sep-2011
24
+ * Refactored the Rakefile a bit.
25
+
26
+ ## 1.3.0 - 16-Jan-2010
27
+ * Altered the source code layout, which requires a change in your require
28
+ line. It's now require 'archive/tar/external'.
29
+ * Moved some content from the .txt file to the README.
30
+ * Updated one test to use a skip as needed.
31
+ * Moved source code to github.
32
+
33
+ ## 1.2.3 - 25-Sep-2009
34
+ * Fixed a packaging bug.
35
+ * Added cygwin and mingw to Windows checks.
36
+ * Now requires open3 properly for Ruby 1.9 on Windows.
37
+ * Minor modifications to the gemspec.
38
+ * Added the 'gem' rake task.
39
+
40
+ ## 1.2.2 - 28-Jul-2009
41
+ * Compatibility fixes for Ruby 1.9.x and JRuby.
42
+ * Singleton methods that were previously synonyms are now true aliases.
43
+ * License changed to Artistic 2.0.
44
+ * Several gemspec updates, including an updated description, the addition
45
+ of a license and development dependencies and refactored platform handling.
46
+ * Added test-unit and ptools as development dependencies for the test suite.
47
+ * Some refactoring of the test suite to take advantage of some of the features
48
+ in test-unit 2.x.
49
+ * Renamed the test file to test_archive_tar_external.rb.
50
+
51
+ ## 1.2.1 - 30-Jul-2007
52
+ * The TarError class is now Tar::Error.
53
+ * Added a Rakefile with tasks for installation and testing.
54
+ * Removed the install.rb file. Installation is now handled by the Rakefile.
55
+ * Documentation updates.
56
+
57
+ ## 1.2.0 - 7-Apr-2006
58
+ * Project renamed 'archive-tar-external'.
59
+ * The 'Tar' class is now Tar::External.
60
+ * The RAA project name is now tar-external.
61
+ * Added the Tar::External.uncompress_archive class method for archives
62
+ that already exist.
63
+ * Added the Tar::External.extract_archive class method for tarballs
64
+ that already exist.
65
+ * Added the Tar::External#compressed_archive_name= method.
66
+
67
+ ## 1.1.1 - 1-Mar-2006
68
+ * Replaced PLATFORM with RUBY_PLATFORM since the former is deprecated
69
+ for Ruby 1.9/2.0.
70
+
71
+ ## 1.1.0 - 10-Feb-2006
72
+ * Internal refactoring changes - now uses block form of Open3.popen3.
73
+ * Most methods now return self instead of true (better for chaining).
74
+ * Corresponding test suite changes.
75
+
76
+ ## 1.0.0 - 1-Sep-2005
77
+ * Moved project to RubyForge.
78
+ * Modified the constructor to accept a file pattern. If present, becomes
79
+ a shortcut for Tar.new + Tar#create_archive.
80
+ * Constructor merely calls .to_s on the archive name, rather than validating
81
+ that it's a String argument.
82
+ * You can now specify the tar program you wish to use, e.g. "tar", "gtar", etc.
83
+ * Fixed a bug in Tar#uncompress_archive where it wasn't finding the appropriate
84
+ compressed archive name.
85
+ * Added aliases for most methods whereby you can omit the word "archive" in
86
+ the method name now, e.g. Tar#compress is an alias for Tar#compress_archive.
87
+ * Now more polite about closing open handles from Open3.
88
+ * The (rdoc) documentation is now inlined.
89
+ * Removed the tarsimple.rd and tarsimple.html files.
90
+ * Made most documentation rdoc friendly.
91
+ * Updated the README and MANIFEST files.
92
+ * Removed the INSTALL file. The installation instructions are now included
93
+ in the README file.
94
+ * Test suite updates.
95
+ * Added a gemspec.
96
+
97
+ ## 0.3.0 - 10-Aug-2004
98
+ * Added the update_archive() method.
99
+ * The expand_archive() method has been renamed to extract_archive().
100
+ For backward's compatability, an alias remains so you may use
101
+ either method name.
102
+ * The extract_archive() method now accepts a list of file names as
103
+ an argument. If present, then only those file names are extracted.
104
+ If not, then the entire archive is extracted.
105
+ * Added corresponding tests and documentation updates.
106
+
107
+ ## 0.2.0 - 9-Aug-2004
108
+ * Added the add_to_archive() method.
109
+ * Removed the VERSION() class method. Use the constant instead.
110
+ * Changed "TarException" and "CompressionException" to "TarError" and
111
+ "CompressError", respectively.
112
+ * Moved rd documentation into its own file under the 'doc' directory.
113
+ * Added unit tests and updated the docs.
114
+ * Removed the html file. You can generate that on your own if you
115
+ wish using the rd2 tool.
116
+ * Added warranty information.
117
+
118
+ ## 0.1.0 - 24-Jan-2003
119
+ * Initial Release
data/MANIFEST.md ADDED
@@ -0,0 +1,10 @@
1
+ * CHANGES.md
2
+ * MANIFEST.md
3
+ * README.md
4
+ * Rakefile
5
+ * archive-tar-external.gemspec
6
+ * certs/djberg96_pub.pem
7
+ * doc/tar_external.md
8
+ * lib/archive-tar-external.rb
9
+ * lib/archive/tar_external.rb
10
+ * test/test_archive_tar_external.rb
data/README.md ADDED
@@ -0,0 +1,49 @@
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
+ The tar program that comes with Solaris will not raise an error if you
26
+ try to expand a file from an archive that does not contain that file.
27
+
28
+ If you come across any other issues, please report them on the project
29
+ page at https://github.com/djberg96/archive-tar-external.
30
+
31
+ ## History
32
+ This project was originally named "archive-tarsimple", but was renamed
33
+ on April 7, 2006. Versions of this gem prior to that date are no longer
34
+ available.
35
+
36
+ ## License
37
+ Apache-2.0
38
+
39
+ ## Warranty
40
+ This package is provided "as is" and without any express or
41
+ implied warranties, including, without limitation, the implied
42
+ warranties of merchantability and fitness for a particular purpose.
43
+
44
+ ## Copyright
45
+ (C) 2003 - 2021 Daniel J. Berger
46
+ All Rights Reserved
47
+
48
+ ## Author
49
+ Daniel J. Berger
data/Rakefile CHANGED
@@ -1,26 +1,28 @@
1
- require 'rake'
2
- require 'rake/testtask'
3
-
4
- desc "Install the archive-tar-external library (non-gem)"
5
- task :install do
6
- dest = File.join(Config::CONFIG['sitelibdir'], 'archive')
7
- Dir.mkdir(dest) unless File.exists? dest
8
- cp 'lib/archive/tar_external.rb', dest, :verbose => true
9
- end
10
-
11
- desc 'Build the archive-tar-external gem'
12
- task :gem do
13
- spec = eval(IO.read('archive-tar-external.gemspec'))
14
- Gem::Builder.new(spec).build
15
- end
16
-
17
- desc 'Install the archive-tar-external library as a gem'
18
- task :install_gem => [:gem] do
19
- file = Dir["*.gem"].first
20
- sh "gem install #{file}"
21
- end
22
-
23
- Rake::TestTask.new do |t|
24
- t.warning = true
25
- t.verbose = true
26
- end
1
+ require 'rake'
2
+ require 'rake/clean'
3
+ require 'rake/testtask'
4
+
5
+ CLEAN.include("**/*.gem", "**/*.rbc")
6
+
7
+ namespace :gem do
8
+ desc 'Build the archive-tar-external gem'
9
+ task :create do
10
+ require 'rubygems/package'
11
+ spec = eval(IO.read('archive-tar-external.gemspec'))
12
+ spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
13
+ Gem::Package.build(spec, true)
14
+ end
15
+
16
+ desc 'Install the archive-tar-external library as a gem'
17
+ task :install => [:create] do
18
+ file = Dir["*.gem"].first
19
+ sh "gem install -l #{file}"
20
+ end
21
+ end
22
+
23
+ Rake::TestTask.new do |t|
24
+ t.warning = true
25
+ t.verbose = true
26
+ end
27
+
28
+ task :default => :test
@@ -1,40 +1,35 @@
1
- require 'rubygems'
2
- require 'rbconfig'
3
-
4
- Gem::Specification.new do |spec|
5
- spec.name = 'archive-tar-external'
6
- spec.version = '1.3.0'
7
- spec.summary = 'A simple way to create tar archives using external calls'
8
- spec.license = 'Artistic 2.0'
9
- spec.author = 'Daniel Berger'
10
- spec.email = 'djberg96@gmail.com'
11
- spec.homepage = 'http://www.rubyforge.org/shards'
12
- spec.test_file = 'test/test_archive_tar_external.rb'
13
- spec.has_rdoc = true
14
- spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
15
-
16
- spec.rubyforge_project = 'shards'
17
-
18
- spec.extra_rdoc_files = [
19
- 'README',
20
- 'CHANGES',
21
- 'MANIFEST',
22
- 'doc/tar_external.txt'
23
- ]
24
-
25
- spec.description = <<-EOF
26
- The archive-tar-external is a simple wrapper interface for creating
27
- tar files using your system's tar command. You can also easily compress
28
- your tar files with your system's compression programs such as zip, gzip,
29
- or bzip2.
30
- EOF
31
-
32
- spec.add_development_dependency('test-unit', '>= 2.0.3')
33
- spec.add_development_dependency('ptools', '>= 1.1.7')
34
-
35
- if Config::CONFIG['host_os'] =~ /mswin|dos|win32|cygwin|mingw|win32/i
36
- if RUBY_VERSION.to_f < 1.9 && RUBY_PLATFORM !~ /java/i
37
- spec.add_dependency('win32-open3', '>= 0.3.1')
38
- end
39
- end
40
- end
1
+ require 'rubygems'
2
+ require 'rbconfig'
3
+
4
+ Gem::Specification.new do |spec|
5
+ spec.name = 'archive-tar-external'
6
+ spec.version = '1.4.1'
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_file = 'test/test_archive_tar_external.rb'
13
+ spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
14
+ spec.cert_chain = Dir['certs/*']
15
+
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/master/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
+ }
24
+
25
+ spec.add_development_dependency('test-unit')
26
+ spec.add_development_dependency('ptools')
27
+ spec.add_development_dependency('rake')
28
+
29
+ spec.description = <<-EOF
30
+ The archive-tar-external is a simple wrapper interface for creating
31
+ tar files using your system's tar command. You can also easily compress
32
+ your tar files with your system's compression programs such as zip, gzip,
33
+ or bzip2.
34
+ EOF
35
+ end
@@ -0,0 +1,26 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
5
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
+ bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgf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