minitar-cli 0.9 → 0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +4 -0
- data/Rakefile +15 -23
- data/lib/minitar/cli.rb +24 -22
- data/test/minitest_helper.rb +6 -5
- data/test/support/minitar_cli_test_helper.rb +12 -1
- data/test/test_cli_list.rb +43 -41
- metadata +49 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0482a3390a7e9c09b0dcb78448c831e610ace48ce7c5fa619c192236ffee43a2'
|
4
|
+
data.tar.gz: 34dc951de20c2da47402233c7553226d263dcc5f10f72a0de791642f1a52c795
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 367f0a0e0a69b2a51a8ee6bdf9793b6419cdbdbde063e47731438a2de087d4e189f5c18f5e507d316f42135b423974f6473c7b22b2e902e829279ac9cb4f6aa4
|
7
|
+
data.tar.gz: aff64bd90c2e7392a75cff9829ea081cc816d419bb95aaab1917393f52bc1a8fec196aa6f2a9f344e804d290e2b6d77f01bdb0c905b3b027dd51e907c32317af
|
data/History.md
CHANGED
data/Rakefile
CHANGED
@@ -6,41 +6,33 @@ require "rake/clean"
|
|
6
6
|
|
7
7
|
Hoe.plugin :doofus
|
8
8
|
Hoe.plugin :gemspec2
|
9
|
-
Hoe.plugin :
|
9
|
+
Hoe.plugin :git2
|
10
10
|
Hoe.plugin :minitest
|
11
|
-
Hoe.plugin :
|
12
|
-
Hoe.plugin :email unless ENV["CI"] || ENV["TRAVIS"]
|
11
|
+
Hoe.plugin :rubygems
|
13
12
|
|
14
13
|
spec = Hoe.spec "minitar-cli" do
|
15
14
|
developer("Austin Ziegler", "halostatue@gmail.com")
|
16
15
|
|
17
|
-
require_ruby_version ">= 1.8"
|
18
|
-
|
19
16
|
self.history_file = "History.md"
|
20
17
|
self.readme_file = "README.rdoc"
|
18
|
+
|
19
|
+
require_ruby_version ">= 1.8"
|
20
|
+
|
21
21
|
self.licenses = ["Ruby", "BSD-2-Clause"]
|
22
22
|
|
23
|
-
|
23
|
+
spec_extras[:metadata] = ->(val) { val["rubygems_mfa_required"] = "true" }
|
24
|
+
|
25
|
+
extra_deps << ["minitar", "~> 0.12.0"]
|
24
26
|
extra_deps << ["powerbar", "~> 1.0"]
|
25
27
|
|
28
|
+
extra_dev_deps << ["hoe", "~> 4.0"]
|
26
29
|
extra_dev_deps << ["hoe-doofus", "~> 1.0"]
|
27
30
|
extra_dev_deps << ["hoe-gemspec2", "~> 1.1"]
|
28
|
-
extra_dev_deps << ["hoe-
|
31
|
+
extra_dev_deps << ["hoe-git2", "~> 1.7"]
|
29
32
|
extra_dev_deps << ["hoe-rubygems", "~> 1.0"]
|
30
|
-
extra_dev_deps << ["
|
31
|
-
extra_dev_deps << ["minitest", "~>
|
32
|
-
extra_dev_deps << ["minitest-
|
33
|
-
extra_dev_deps << ["rake", "<14"]
|
34
|
-
|
35
|
-
|
36
|
-
if RUBY_VERSION >= "2.0" && RUBY_ENGINE == "ruby"
|
37
|
-
namespace :test do
|
38
|
-
desc "Run test coverage"
|
39
|
-
task :coverage do
|
40
|
-
spec.test_prelude = 'load ".simplecov-prelude.rb"'
|
41
|
-
Rake::Task["test"].execute
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
Rake::Task["travis"].prerequisites.replace(%w[test:coverage])
|
33
|
+
extra_dev_deps << ["minitest", "~> 5.16"]
|
34
|
+
extra_dev_deps << ["minitest-autotest", "~> 1.0"]
|
35
|
+
extra_dev_deps << ["minitest-focus", "~> 1.0"]
|
36
|
+
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|
37
|
+
extra_dev_deps << ["standard", "~> 1.0"]
|
46
38
|
end
|
data/lib/minitar/cli.rb
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require "minitar"
|
4
4
|
|
5
5
|
# The Minitar command-line application.
|
6
6
|
class Minitar::CLI
|
7
|
-
VERSION =
|
7
|
+
VERSION = "0.12" # :nodoc:
|
8
8
|
|
9
9
|
# rubocop:disable Lint/InheritException
|
10
10
|
class AbstractCommandError < Exception; end
|
11
|
+
|
11
12
|
# rubocop:enable Lint/InheritException
|
12
13
|
class UnknownCommandError < StandardError; end
|
14
|
+
|
13
15
|
class CommandAlreadyExists < StandardError; end
|
14
16
|
|
15
17
|
def self.run(argv, input = $stdin, output = $stdout, error = $stderr)
|
@@ -21,44 +23,44 @@ class Minitar::CLI
|
|
21
23
|
|
22
24
|
def initialize(input = $stdin, output = $stdout, error = $stderr)
|
23
25
|
@ioe = {
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
26
|
+
input: input,
|
27
|
+
output: output,
|
28
|
+
error: error
|
27
29
|
}
|
28
30
|
@commander = Minitar::CLI::Commander.new(ioe)
|
29
31
|
Minitar::CLI::Command.children.each do |command|
|
30
32
|
commander.register(command)
|
31
33
|
end
|
32
|
-
commander.default_command =
|
34
|
+
commander.default_command = "help"
|
33
35
|
end
|
34
36
|
|
35
37
|
def run(argv)
|
36
38
|
opts = {}
|
37
39
|
|
38
|
-
output << "minitar #{VERSION}\n" if argv.include?(
|
40
|
+
output << "minitar #{VERSION}\n" if argv.include?("--version")
|
39
41
|
|
40
|
-
if argv.include?(
|
42
|
+
if argv.include?("--verbose") or argv.include?("-V")
|
41
43
|
opts[:verbose] = true
|
42
|
-
argv.delete(
|
43
|
-
argv.delete(
|
44
|
+
argv.delete("--verbose")
|
45
|
+
argv.delete("-V")
|
44
46
|
end
|
45
47
|
|
46
|
-
if argv.include?(
|
48
|
+
if argv.include?("--progress") or argv.include?("-P")
|
47
49
|
opts[:progress] = true
|
48
|
-
opts[:verbose]
|
49
|
-
argv.delete(
|
50
|
-
argv.delete(
|
50
|
+
opts[:verbose] = false
|
51
|
+
argv.delete("--progress")
|
52
|
+
argv.delete("-P")
|
51
53
|
end
|
52
54
|
|
53
|
-
command = commander[(argv.shift or
|
54
|
-
command ||= commander[
|
55
|
+
command = commander[(argv.shift or "").downcase]
|
56
|
+
command ||= commander["help"]
|
55
57
|
command.call(argv, opts)
|
56
58
|
end
|
57
59
|
end
|
58
60
|
|
59
|
-
require
|
60
|
-
require
|
61
|
-
require
|
62
|
-
require
|
63
|
-
require
|
64
|
-
require
|
61
|
+
require "minitar/cli/command"
|
62
|
+
require "minitar/cli/commander"
|
63
|
+
require "minitar/cli/command/help"
|
64
|
+
require "minitar/cli/command/create"
|
65
|
+
require "minitar/cli/command/extract"
|
66
|
+
require "minitar/cli/command/list"
|
data/test/minitest_helper.rb
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require "fileutils"
|
4
|
+
require "minitar"
|
5
5
|
|
6
|
-
gem
|
7
|
-
require
|
6
|
+
gem "minitest"
|
7
|
+
require "minitest/autorun"
|
8
|
+
require "minitest/focus"
|
8
9
|
|
9
|
-
Dir.glob(File.join(File.dirname(__FILE__),
|
10
|
+
Dir.glob(File.join(File.dirname(__FILE__), "support/*.rb")).each do |support|
|
10
11
|
require support
|
11
12
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require "minitar/cli"
|
4
4
|
|
5
5
|
module MinitarCLITestHelper
|
6
6
|
def cli(*args)
|
@@ -11,5 +11,16 @@ module MinitarCLITestHelper
|
|
11
11
|
Regexp.union(*r)
|
12
12
|
end
|
13
13
|
|
14
|
+
def assert_cli_output(patterns, &)
|
15
|
+
if patterns.is_a?(Array)
|
16
|
+
out, _err = capture_io(&)
|
17
|
+
patterns.each do |pattern|
|
18
|
+
assert_match pattern, out
|
19
|
+
end
|
20
|
+
else
|
21
|
+
assert_output(patterns, &)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
14
25
|
Minitest::Test.send(:include, self)
|
15
26
|
end
|
data/test/test_cli_list.rb
CHANGED
@@ -1,123 +1,125 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "minitest_helper"
|
4
|
+
|
3
5
|
class TestCLIList < Minitest::Test
|
4
6
|
def list_bad_dir(args = [])
|
5
|
-
cli_list(
|
7
|
+
cli_list("bad-dir", args)
|
6
8
|
end
|
7
9
|
|
8
10
|
def list_spaces(args = [])
|
9
|
-
cli_list(
|
11
|
+
cli_list("spaces", args)
|
10
12
|
end
|
11
13
|
|
12
14
|
def cli_list(name, args = [])
|
13
|
-
args = %W
|
15
|
+
args = %W[list test/fixtures/#{name}.tar.gz] + Array(args)
|
14
16
|
cli(*args)
|
15
17
|
end
|
16
18
|
|
17
19
|
def test_list_output_bad_dir_fixture
|
18
|
-
|
20
|
+
assert_cli_output "../qwerty\n" do
|
19
21
|
assert_equal 0, list_bad_dir
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
23
25
|
def test_list_output_spaces
|
24
|
-
|
26
|
+
assert_cli_output [%r{\A\./$}, %r{^\./bin/minitar\n\z}] do
|
25
27
|
assert_equal 0, list_spaces
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
29
31
|
def test_list_output_spaces_verbose
|
30
32
|
patterns = [
|
31
|
-
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0
|
32
|
-
%r{^-rwxr-xr-x\s+0\s+austin\s+staff\s+219
|
33
|
+
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Feb\s+0[67]\s+2017\s+\./$},
|
34
|
+
%r{^-rwxr-xr-x\s+0\s+austin\s+staff\s+219\s+Feb\s+0[67]\s+2017\s+\./bin/minitar\n\z}
|
33
35
|
]
|
34
|
-
|
35
|
-
assert_equal 0, list_spaces(
|
36
|
+
assert_cli_output patterns do
|
37
|
+
assert_equal 0, list_spaces("--verbose")
|
36
38
|
end
|
37
39
|
end
|
38
40
|
|
39
41
|
def test_list_output_spaces_verbose_sort_size
|
40
42
|
patterns = [
|
41
|
-
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0
|
42
|
-
%r{^-rw-r--r--\s+8\s+austin\s+staff\s+4296
|
43
|
+
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Feb\s+0[67]\s+2017\s+\./$},
|
44
|
+
%r{^-rw-r--r--\s+8\s+austin\s+staff\s+4296\s+Feb\s+0[67]\s+2017\s+./lib/minitar/cli/command/extract.rb\n\z}
|
43
45
|
]
|
44
|
-
|
45
|
-
assert_equal 0, list_spaces(%w
|
46
|
+
assert_cli_output patterns do
|
47
|
+
assert_equal 0, list_spaces(%w[--verbose --sort size])
|
46
48
|
end
|
47
49
|
end
|
48
50
|
|
49
51
|
def test_list_output_spaces_verbose_sort_size_reverse
|
50
52
|
patterns = [
|
51
|
-
%r{\A-rw-r--r--\s+8\s+austin\s+staff\s+4296
|
52
|
-
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0
|
53
|
+
%r{\A-rw-r--r--\s+8\s+austin\s+staff\s+4296\s+Feb\s+0[67]\s+2017\s+./lib/minitar/cli/command/extract.rb$},
|
54
|
+
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Feb\s+0[67]\s+2017\s+\./\n\z}
|
53
55
|
]
|
54
56
|
|
55
|
-
|
56
|
-
assert_equal 0, list_spaces(%w
|
57
|
+
assert_cli_output patterns do
|
58
|
+
assert_equal 0, list_spaces(%w[--verbose --sort size --reverse])
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
60
62
|
def test_list_output_spaces_verbose_sort_name
|
61
63
|
patterns = [
|
62
|
-
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0
|
63
|
-
%r{^-rw-r--r--\s+
|
64
|
+
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Feb\s+0[67]\s+2017\s+\./$},
|
65
|
+
%r{^-rw-r--r--\s+7\s+austin\s+staff\s+3974\s+Feb\s+0[67]\s+2017\s+./minitar-cli.gemspec\n\z}
|
64
66
|
]
|
65
|
-
|
66
|
-
assert_equal 0, list_spaces(%w
|
67
|
+
assert_cli_output patterns do
|
68
|
+
assert_equal 0, list_spaces(%w[--verbose --sort name])
|
67
69
|
end
|
68
70
|
end
|
69
71
|
|
70
72
|
def test_list_output_spaces_verbose_sort_name_reverse
|
71
73
|
patterns = [
|
72
|
-
%r{\A-rw-r--r--\s+
|
73
|
-
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0
|
74
|
+
%r{\A-rw-r--r--\s+7\s+austin\s+staff\s+3974\s+Feb\s+0[67]\s+2017\s+./minitar-cli.gemspec$},
|
75
|
+
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Feb\s+0[67]\s+2017\s+\./\n\z}
|
74
76
|
]
|
75
77
|
|
76
|
-
|
77
|
-
assert_equal 0, list_spaces(%w
|
78
|
+
assert_cli_output patterns do
|
79
|
+
assert_equal 0, list_spaces(%w[--verbose --sort name --reverse])
|
78
80
|
end
|
79
81
|
end
|
80
82
|
|
81
83
|
def test_list_output_spaces_verbose_sort_mtime
|
82
84
|
patterns = [
|
83
|
-
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0
|
84
|
-
%r{^-rw-r--r--\s+
|
85
|
+
%r{\Adrwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Nov\s+0[23]\s+2016\s+\./docs/$},
|
86
|
+
%r{^-rw-r--r--\s+2\s+austin\s+staff\s+1319\s+Feb\s+0[67]\s+2017\s+./.pullreview.yml\n\z}
|
85
87
|
]
|
86
|
-
|
87
|
-
assert_equal 0, list_spaces(%w
|
88
|
+
assert_cli_output patterns do
|
89
|
+
assert_equal 0, list_spaces(%w[--verbose --sort mtime])
|
88
90
|
end
|
89
91
|
end
|
90
92
|
|
91
93
|
def test_list_output_spaces_verbose_sort_mtime_reverse
|
92
94
|
patterns = [
|
93
|
-
%r{\A-rw-r--r--\s+
|
94
|
-
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0
|
95
|
+
%r{\A-rw-r--r--\s+2\s+austin\s+staff\s+1319\s+Feb\s+0[67]\s+2017\s+./.pullreview.yml$},
|
96
|
+
%r{^drwxr-xr-x\s+0\s+austin\s+staff\s+0\s+Nov\s+0[23]\s+2016\s+\./docs/\n\z}
|
95
97
|
]
|
96
98
|
|
97
|
-
|
98
|
-
assert_equal 0, list_spaces(%w
|
99
|
+
assert_cli_output patterns do
|
100
|
+
assert_equal 0, list_spaces(%w[--verbose --sort mtime --reverse])
|
99
101
|
end
|
100
102
|
end
|
101
103
|
|
102
104
|
def test_list_stdin
|
103
|
-
|
104
|
-
File.open(
|
105
|
-
assert_equal 0, Minitar::CLI.run(%w
|
105
|
+
assert_cli_output "../qwerty\n" do
|
106
|
+
File.open("test/fixtures/bad-dir.tar.gz") do |f|
|
107
|
+
assert_equal 0, Minitar::CLI.run(%w[list - --uncompress], f)
|
106
108
|
end
|
107
109
|
end
|
108
110
|
end
|
109
111
|
|
110
112
|
def test_list_output_spaces_filtered
|
111
|
-
|
112
|
-
assert_equal 0, list_spaces(
|
113
|
+
assert_cli_output "./bin/minitar\n" do
|
114
|
+
assert_equal 0, list_spaces("./bin/minitar")
|
113
115
|
end
|
114
116
|
end
|
115
117
|
|
116
118
|
def test_list_output_spaces_filtered_verbose
|
117
119
|
expected =
|
118
|
-
%r{\A-rwxr-xr-x\s+0\s+austin\s+staff\s+219
|
119
|
-
|
120
|
-
assert_equal 0, list_spaces([
|
120
|
+
%r{\A-rwxr-xr-x\s+0\s+austin\s+staff\s+219\s+Feb\s+0[67]\s+2017\s+./bin/minitar\n\z}
|
121
|
+
assert_cli_output expected do
|
122
|
+
assert_equal 0, list_spaces(["./bin/minitar", "--verbose"])
|
121
123
|
end
|
122
124
|
end
|
123
125
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitar-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.12'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Ziegler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitar
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: powerbar
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.24'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: hoe
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: hoe-doofus
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,19 +95,19 @@ dependencies:
|
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '1.1'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: hoe-
|
98
|
+
name: hoe-git2
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
103
|
+
version: '1.7'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
110
|
+
version: '1.7'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: hoe-rubygems
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,43 +123,40 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '1.0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: minitest-autotest
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
131
|
+
version: '1.0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1.
|
138
|
+
version: '1.0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: minitest-
|
140
|
+
name: minitest-focus
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - "
|
143
|
+
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
145
|
version: '1.0'
|
132
|
-
- - "<"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '2'
|
135
146
|
type: :development
|
136
147
|
prerelease: false
|
137
148
|
version_requirements: !ruby/object:Gem::Requirement
|
138
149
|
requirements:
|
139
|
-
- - "
|
150
|
+
- - "~>"
|
140
151
|
- !ruby/object:Gem::Version
|
141
152
|
version: '1.0'
|
142
|
-
- - "<"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '2'
|
145
153
|
- !ruby/object:Gem::Dependency
|
146
154
|
name: rake
|
147
155
|
requirement: !ruby/object:Gem::Requirement
|
148
156
|
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '10.0'
|
149
160
|
- - "<"
|
150
161
|
- !ruby/object:Gem::Version
|
151
162
|
version: '14'
|
@@ -153,9 +164,26 @@ dependencies:
|
|
153
164
|
prerelease: false
|
154
165
|
version_requirements: !ruby/object:Gem::Requirement
|
155
166
|
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '10.0'
|
156
170
|
- - "<"
|
157
171
|
- !ruby/object:Gem::Version
|
158
172
|
version: '14'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: standard
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '1.0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.0'
|
159
187
|
- !ruby/object:Gem::Dependency
|
160
188
|
name: rdoc
|
161
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,20 +204,6 @@ dependencies:
|
|
176
204
|
- - "<"
|
177
205
|
- !ruby/object:Gem::Version
|
178
206
|
version: '7'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: hoe
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - "~>"
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: '4.2'
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - "~>"
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '4.2'
|
193
207
|
description: |-
|
194
208
|
<tt>minitar-cli</tt> is a pure-Ruby command-line tool that uses
|
195
209
|
{minitar}[https://github.com/halostatue/minitar] to provide a command-line
|
@@ -241,6 +255,7 @@ metadata:
|
|
241
255
|
homepage_uri: https://github.com/halostatue/minitar-cli/
|
242
256
|
source_code_uri: https://github.com/halostatue/minitar-cli/
|
243
257
|
bug_tracker_uri: https://github.com/halostatue/minitar-cli/issues
|
258
|
+
rubygems_mfa_required: 'true'
|
244
259
|
post_install_message:
|
245
260
|
rdoc_options:
|
246
261
|
- "--main"
|
@@ -258,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
273
|
- !ruby/object:Gem::Version
|
259
274
|
version: '0'
|
260
275
|
requirements: []
|
261
|
-
rubygems_version: 3.5.
|
276
|
+
rubygems_version: 3.5.17
|
262
277
|
signing_key:
|
263
278
|
specification_version: 4
|
264
279
|
summary: "<tt>minitar-cli</tt> is a pure-Ruby command-line tool that uses {minitar}[https://github.com/halostatue/minitar]
|