clitest 0.1.9 → 0.1.10
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/.github/workflows/main.yml +6 -2
- data/.idea/clitest.iml +12 -9
- data/.rubocop.yml +11 -6
- data/.rubocop_todo.yml +24 -66
- data/Gemfile +24 -0
- data/Gemfile.lock +46 -26
- data/clitest.gemspec +2 -15
- data/lib/clitest/cmdline.rb +1 -1
- data/lib/clitest/version.rb +1 -1
- metadata +5 -200
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd62370b7ddc92a5446087ccf300a6c87508c41a724ae104b714ddc2f5f33d41
|
|
4
|
+
data.tar.gz: 298f9f97df39be1d42c9db9d60b1d4480c41a53b1be80f34e1c11b41370ab410
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ae60e5c785b05b9286b3f886d5d10db09b0fbf5e3f42cebb113c38fd8c7bfb7488a1bb5ff629bd6c3755152da990a3cb378338ae3ff752759e04bcf7b372b66
|
|
7
|
+
data.tar.gz: 8bd6421045c07c9d81c89d222dc5d52c17903cf0fb158e5b6578690a32d9fd35f85f6336ee60bb17d0ab4a146ffb89683b50a071e63a4baf92ab2587ac2c761c
|
data/.github/workflows/main.yml
CHANGED
|
@@ -5,14 +5,18 @@ on: [push,pull_request]
|
|
|
5
5
|
jobs:
|
|
6
6
|
build:
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
|
+
env:
|
|
9
|
+
BUNDLE_WITH: development
|
|
8
10
|
steps:
|
|
9
|
-
- uses: actions/checkout@
|
|
11
|
+
- uses: actions/checkout@v4
|
|
10
12
|
- name: Set up Ruby
|
|
11
13
|
uses: ruby/setup-ruby@v1
|
|
12
14
|
with:
|
|
13
|
-
ruby-version:
|
|
15
|
+
ruby-version: 3.0.0
|
|
16
|
+
bundler-cache: false
|
|
14
17
|
- name: Run the default task
|
|
15
18
|
run: |
|
|
16
19
|
gem install bundler -v 2.2.7
|
|
20
|
+
bundle config with 'development'
|
|
17
21
|
bundle install
|
|
18
22
|
bundle exec rake
|
data/.idea/clitest.iml
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
<orderEntry type="library" scope="PROVIDED" name="bigdecimal (v3.1.8, asdf: 3.3.1) [gem]" level="application" />
|
|
17
17
|
<orderEntry type="library" scope="PROVIDED" name="builder (v3.3.0, asdf: 3.3.1) [gem]" level="application" />
|
|
18
18
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.5.14, asdf: 3.3.1) [gem]" level="application" />
|
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="byebug (v11.1.3, asdf: 3.3.1) [gem]" level="application" />
|
|
20
19
|
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, asdf: 3.3.1) [gem]" level="application" />
|
|
21
20
|
<orderEntry type="library" scope="PROVIDED" name="contracts (v0.17, asdf: 3.3.1) [gem]" level="application" />
|
|
22
21
|
<orderEntry type="library" scope="PROVIDED" name="cucumber (v9.2.0, asdf: 3.3.1) [gem]" level="application" />
|
|
@@ -27,40 +26,44 @@
|
|
|
27
26
|
<orderEntry type="library" scope="PROVIDED" name="cucumber-html-formatter (v21.4.0, asdf: 3.3.1) [gem]" level="application" />
|
|
28
27
|
<orderEntry type="library" scope="PROVIDED" name="cucumber-messages (v22.0.0, asdf: 3.3.1) [gem]" level="application" />
|
|
29
28
|
<orderEntry type="library" scope="PROVIDED" name="cucumber-tag-expressions (v6.1.0, asdf: 3.3.1) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="debug (v1.9.2, asdf: 3.3.1) [gem]" level="application" />
|
|
30
30
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.1, asdf: 3.3.1) [gem]" level="application" />
|
|
31
31
|
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.17.0, asdf: 3.3.1) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="io-console (v0.7.2, asdf: 3.3.1) [gem]" level="application" />
|
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="irb (v1.14.0, asdf: 3.3.1) [gem]" level="application" />
|
|
32
34
|
<orderEntry type="library" scope="PROVIDED" name="json (v2.7.2, asdf: 3.3.1) [gem]" level="application" />
|
|
33
35
|
<orderEntry type="library" scope="PROVIDED" name="language_server-protocol (v3.17.0.3, asdf: 3.3.1) [gem]" level="application" />
|
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="method_source (v1.1.0, asdf: 3.3.1) [gem]" level="application" />
|
|
35
36
|
<orderEntry type="library" scope="PROVIDED" name="mini_mime (v1.1.5, asdf: 3.3.1) [gem]" level="application" />
|
|
36
37
|
<orderEntry type="library" scope="PROVIDED" name="multi_test (v1.1.0, asdf: 3.3.1) [gem]" level="application" />
|
|
37
38
|
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.25.1, asdf: 3.3.1) [gem]" level="application" />
|
|
38
|
-
<orderEntry type="library" scope="PROVIDED" name="parser (v3.3.
|
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.3.4.0, asdf: 3.3.1) [gem]" level="application" />
|
|
39
40
|
<orderEntry type="library" scope="PROVIDED" name="pluginator (v1.5.0, asdf: 3.3.1) [gem]" level="application" />
|
|
40
41
|
<orderEntry type="library" scope="PROVIDED" name="pre-commit (v0.40.0, asdf: 3.3.1) [gem]" level="application" />
|
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
|
42
|
-
<orderEntry type="library" scope="PROVIDED" name="pry-byebug (v3.10.1, asdf: 3.3.1) [gem]" level="application" />
|
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="pry-stack_explorer (v0.6.1, asdf: 3.3.1) [gem]" level="application" />
|
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="psych (v5.1.2, asdf: 3.3.1) [gem]" level="application" />
|
|
44
43
|
<orderEntry type="library" scope="PROVIDED" name="racc (v1.8.0, asdf: 3.3.1) [gem]" level="application" />
|
|
45
44
|
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, asdf: 3.3.1) [gem]" level="application" />
|
|
46
45
|
<orderEntry type="library" scope="PROVIDED" name="rake (v13.2.1, asdf: 3.3.1) [gem]" level="application" />
|
|
47
46
|
<orderEntry type="library" scope="PROVIDED" name="rb-readline (v0.5.5, asdf: 3.3.1) [gem]" level="application" />
|
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="rdoc (v6.7.0, asdf: 3.3.1) [gem]" level="application" />
|
|
48
48
|
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.9.2, asdf: 3.3.1) [gem]" level="application" />
|
|
49
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="reline (v0.5.9, asdf: 3.3.1) [gem]" level="application" />
|
|
50
50
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.13.0, asdf: 3.3.1) [gem]" level="application" />
|
|
51
51
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.13.0, asdf: 3.3.1) [gem]" level="application" />
|
|
52
52
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.13.1, asdf: 3.3.1) [gem]" level="application" />
|
|
53
53
|
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.13.1, asdf: 3.3.1) [gem]" level="application" />
|
|
54
54
|
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.13.1, asdf: 3.3.1) [gem]" level="application" />
|
|
55
55
|
<orderEntry type="library" scope="PROVIDED" name="rspec_junit_formatter (v0.6.0, asdf: 3.3.1) [gem]" level="application" />
|
|
56
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.
|
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.65.0, asdf: 3.3.1) [gem]" level="application" />
|
|
57
57
|
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.31.3, asdf: 3.3.1) [gem]" level="application" />
|
|
58
58
|
<orderEntry type="library" scope="PROVIDED" name="rubocop-rake (v0.6.0, asdf: 3.3.1) [gem]" level="application" />
|
|
59
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v3.0.
|
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v3.0.3, asdf: 3.3.1) [gem]" level="application" />
|
|
60
60
|
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.13.0, asdf: 3.3.1) [gem]" level="application" />
|
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="rufo (v0.18.0, asdf: 3.3.1) [gem]" level="application" />
|
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="stringio (v3.1.1, asdf: 3.3.1) [gem]" level="application" />
|
|
61
63
|
<orderEntry type="library" scope="PROVIDED" name="strscan (v3.1.0, asdf: 3.3.1) [gem]" level="application" />
|
|
62
64
|
<orderEntry type="library" scope="PROVIDED" name="sys-uname (v1.3.0, asdf: 3.3.1) [gem]" level="application" />
|
|
63
65
|
<orderEntry type="library" scope="PROVIDED" name="thor (v1.3.1, asdf: 3.3.1) [gem]" level="application" />
|
|
64
66
|
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.5.0, asdf: 3.3.1) [gem]" level="application" />
|
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="yard (v0.9.36, asdf: 3.3.1) [gem]" level="application" />
|
|
65
68
|
</component>
|
|
66
69
|
</module>
|
data/.rubocop.yml
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
|
2
2
|
|
|
3
|
+
require:
|
|
4
|
+
- rubocop-rake
|
|
5
|
+
- rubocop-rspec
|
|
6
|
+
|
|
3
7
|
AllCops:
|
|
4
8
|
NewCops: enable
|
|
5
|
-
TargetRubyVersion:
|
|
9
|
+
TargetRubyVersion: 3.0
|
|
6
10
|
|
|
7
|
-
#AllCops:
|
|
8
|
-
# NewCops: enable
|
|
9
11
|
|
|
10
12
|
# 日本語のコメントを OK とする
|
|
11
13
|
Style/AsciiComments:
|
|
@@ -32,7 +34,10 @@ Style/FrozenStringLiteralComment:
|
|
|
32
34
|
Naming/VariableNumber:
|
|
33
35
|
EnforcedStyle: 'snake_case'
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
Style/Documentation:
|
|
38
|
+
Enabled: true
|
|
39
|
+
|
|
40
|
+
# Department:
|
|
41
|
+
# Enabled: false # 無効にする
|
|
42
|
+
# # Severity: warning # 警告レベルを下げる (デフォルトはerror)
|
|
38
43
|
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,81 +1,39 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on
|
|
3
|
+
# on 2024-07-16 12:05:42 UTC using RuboCop version 1.65.0.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
|
-
# Offense count: 3
|
|
10
|
-
# Cop supports --auto-correct.
|
|
11
|
-
Layout/CommentIndentation:
|
|
12
|
-
Exclude:
|
|
13
|
-
# - 'spec/clitest_spec.rb'
|
|
14
|
-
|
|
15
9
|
# Offense count: 1
|
|
16
|
-
#
|
|
17
|
-
# Configuration parameters:
|
|
18
|
-
# SupportedStyles:
|
|
19
|
-
Layout/
|
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
11
|
+
# Configuration parameters: EnforcedStyle.
|
|
12
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
|
13
|
+
Layout/EmptyLinesAroundBlockBody:
|
|
20
14
|
Exclude:
|
|
21
|
-
|
|
15
|
+
#- 'Gemfile'
|
|
22
16
|
|
|
23
|
-
# Offense count:
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
|
|
17
|
+
# Offense count: 8
|
|
18
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
|
19
|
+
# Prefixes: when, with, without
|
|
20
|
+
RSpec/ContextWording:
|
|
27
21
|
Exclude:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
# Offense count: 2
|
|
31
|
-
# Cop supports --auto-correct.
|
|
32
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
33
|
-
# URISchemes: http, https
|
|
34
|
-
#Layout/LineLength:
|
|
35
|
-
# Max: 125
|
|
36
|
-
|
|
37
|
-
# Offense count: 3
|
|
38
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
|
39
|
-
# IgnoredMethods: refine
|
|
40
|
-
Metrics/BlockLength:
|
|
41
|
-
Max: 62
|
|
42
|
-
|
|
43
|
-
# Offense count: 1
|
|
44
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
|
45
|
-
#Metrics/MethodLength:
|
|
46
|
-
# Max: 14
|
|
47
|
-
|
|
48
|
-
# Offense count: 2
|
|
49
|
-
# Cop supports --auto-correct.
|
|
50
|
-
#Style/IfUnlessModifier:
|
|
51
|
-
# Exclude:
|
|
52
|
-
# - 'lib/clitest/cmdline.rb'
|
|
22
|
+
#- 'spec/clitest_cli_spec.rb'
|
|
23
|
+
#- 'spec/clitest_spec.rb'
|
|
53
24
|
|
|
54
|
-
# Offense count:
|
|
55
|
-
#
|
|
56
|
-
|
|
57
|
-
# SupportedStyles: predicate, comparison
|
|
58
|
-
Style/NilComparison:
|
|
25
|
+
# Offense count: 12
|
|
26
|
+
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
|
|
27
|
+
RSpec/IndexedLet:
|
|
59
28
|
Exclude:
|
|
60
|
-
|
|
29
|
+
#- 'spec/clitest_cli_spec.rb'
|
|
30
|
+
#- 'spec/clitest_spec.rb'
|
|
61
31
|
|
|
62
|
-
# Offense count:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
# Exclude:
|
|
66
|
-
# - 'lib/clitest/cmdline.rb'
|
|
67
|
-
|
|
68
|
-
# Offense count: 5
|
|
69
|
-
# Cop supports --auto-correct.
|
|
70
|
-
Style/StringConcatenation:
|
|
71
|
-
Exclude:
|
|
72
|
-
# - 'lib/clitest.rb'
|
|
73
|
-
# - 'spec/clitest_cli_spec.rb'
|
|
74
|
-
# - 'spec/clitest_spec.rb'
|
|
32
|
+
# Offense count: 6
|
|
33
|
+
RSpec/MultipleExpectations:
|
|
34
|
+
Max: 2
|
|
75
35
|
|
|
76
|
-
# Offense count:
|
|
77
|
-
#
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
#Layout/LineLength:
|
|
81
|
-
# Max: 125
|
|
36
|
+
# Offense count: 10
|
|
37
|
+
# Configuration parameters: AllowSubject.
|
|
38
|
+
RSpec/MultipleMemoizedHelpers:
|
|
39
|
+
Max: 25
|
data/Gemfile
CHANGED
|
@@ -4,3 +4,27 @@ source "https://rubygems.org"
|
|
|
4
4
|
|
|
5
5
|
# Specify your gem's dependencies in clitest.gemspec
|
|
6
6
|
gemspec
|
|
7
|
+
|
|
8
|
+
gem "bundler", "~> 2.0"
|
|
9
|
+
gem "pre-commit"
|
|
10
|
+
gem "rake", "~> 13.0"
|
|
11
|
+
gem "rb-readline"
|
|
12
|
+
|
|
13
|
+
# group :test, optional: true do
|
|
14
|
+
# end
|
|
15
|
+
|
|
16
|
+
group :development, :test, optional: true do
|
|
17
|
+
gem "coderay", "~> 1.1.1"
|
|
18
|
+
gem "aruba"
|
|
19
|
+
gem "debug"
|
|
20
|
+
# gem "pry"
|
|
21
|
+
# gem "pry-byebug"
|
|
22
|
+
# gem "pry-stack_explorer"
|
|
23
|
+
gem "rspec", "~> 3.0"
|
|
24
|
+
gem "rspec_junit_formatter"
|
|
25
|
+
gem "rubocop", "~> 1.7"
|
|
26
|
+
gem "rubocop-rake"
|
|
27
|
+
gem "rubocop-rspec"
|
|
28
|
+
gem "rufo"
|
|
29
|
+
gem "yard", "~> 0.9.36"
|
|
30
|
+
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
clitest (0.1.
|
|
4
|
+
clitest (0.1.10)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -14,10 +14,7 @@ GEM
|
|
|
14
14
|
thor (~> 1.0)
|
|
15
15
|
ast (2.4.2)
|
|
16
16
|
bigdecimal (3.1.8)
|
|
17
|
-
binding_of_caller (1.0.1)
|
|
18
|
-
debug_inspector (>= 1.2.0)
|
|
19
17
|
builder (3.3.0)
|
|
20
|
-
byebug (11.1.3)
|
|
21
18
|
coderay (1.1.3)
|
|
22
19
|
contracts (0.17)
|
|
23
20
|
cucumber (9.2.0)
|
|
@@ -45,37 +42,48 @@ GEM
|
|
|
45
42
|
cucumber-messages (> 19, < 25)
|
|
46
43
|
cucumber-messages (22.0.0)
|
|
47
44
|
cucumber-tag-expressions (6.1.0)
|
|
48
|
-
|
|
45
|
+
debug (1.9.2)
|
|
46
|
+
irb (~> 1.10)
|
|
47
|
+
reline (>= 0.3.8)
|
|
49
48
|
diff-lcs (1.5.1)
|
|
50
|
-
ffi (1.17.0
|
|
49
|
+
ffi (1.17.0)
|
|
50
|
+
ffi (1.17.0-aarch64-linux-gnu)
|
|
51
|
+
ffi (1.17.0-aarch64-linux-musl)
|
|
52
|
+
ffi (1.17.0-arm-linux-gnu)
|
|
53
|
+
ffi (1.17.0-arm-linux-musl)
|
|
54
|
+
ffi (1.17.0-arm64-darwin)
|
|
55
|
+
ffi (1.17.0-x86-linux-gnu)
|
|
56
|
+
ffi (1.17.0-x86-linux-musl)
|
|
57
|
+
ffi (1.17.0-x86_64-darwin)
|
|
51
58
|
ffi (1.17.0-x86_64-linux-gnu)
|
|
59
|
+
ffi (1.17.0-x86_64-linux-musl)
|
|
60
|
+
io-console (0.7.2)
|
|
61
|
+
irb (1.14.0)
|
|
62
|
+
rdoc (>= 4.0.0)
|
|
63
|
+
reline (>= 0.4.2)
|
|
52
64
|
json (2.7.2)
|
|
53
65
|
language_server-protocol (3.17.0.3)
|
|
54
|
-
method_source (1.1.0)
|
|
55
66
|
mini_mime (1.1.5)
|
|
56
67
|
multi_test (1.1.0)
|
|
57
68
|
parallel (1.25.1)
|
|
58
|
-
parser (3.3.
|
|
69
|
+
parser (3.3.4.0)
|
|
59
70
|
ast (~> 2.4.1)
|
|
60
71
|
racc
|
|
61
72
|
pluginator (1.5.0)
|
|
62
73
|
pre-commit (0.40.0)
|
|
63
74
|
pluginator (~> 1.5)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
method_source (~> 1.0)
|
|
67
|
-
pry-byebug (3.10.1)
|
|
68
|
-
byebug (~> 11.0)
|
|
69
|
-
pry (>= 0.13, < 0.15)
|
|
70
|
-
pry-stack_explorer (0.6.1)
|
|
71
|
-
binding_of_caller (~> 1.0)
|
|
72
|
-
pry (~> 0.13)
|
|
75
|
+
psych (5.1.2)
|
|
76
|
+
stringio
|
|
73
77
|
racc (1.8.0)
|
|
74
78
|
rainbow (3.1.1)
|
|
75
79
|
rake (13.2.1)
|
|
76
80
|
rb-readline (0.5.5)
|
|
81
|
+
rdoc (6.7.0)
|
|
82
|
+
psych (>= 4.0.0)
|
|
77
83
|
regexp_parser (2.9.2)
|
|
78
|
-
|
|
84
|
+
reline (0.5.9)
|
|
85
|
+
io-console (~> 0.5)
|
|
86
|
+
rexml (3.3.2)
|
|
79
87
|
strscan
|
|
80
88
|
rspec (3.13.0)
|
|
81
89
|
rspec-core (~> 3.13.0)
|
|
@@ -92,13 +100,13 @@ GEM
|
|
|
92
100
|
rspec-support (3.13.1)
|
|
93
101
|
rspec_junit_formatter (0.6.0)
|
|
94
102
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
95
|
-
rubocop (1.
|
|
103
|
+
rubocop (1.65.0)
|
|
96
104
|
json (~> 2.3)
|
|
97
105
|
language_server-protocol (>= 3.17.0)
|
|
98
106
|
parallel (~> 1.10)
|
|
99
107
|
parser (>= 3.3.0.2)
|
|
100
108
|
rainbow (>= 2.2.2, < 4.0)
|
|
101
|
-
regexp_parser (>=
|
|
109
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
102
110
|
rexml (>= 3.2.5, < 4.0)
|
|
103
111
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
104
112
|
ruby-progressbar (~> 1.7)
|
|
@@ -107,28 +115,38 @@ GEM
|
|
|
107
115
|
parser (>= 3.3.1.0)
|
|
108
116
|
rubocop-rake (0.6.0)
|
|
109
117
|
rubocop (~> 1.0)
|
|
110
|
-
rubocop-rspec (3.0.
|
|
118
|
+
rubocop-rspec (3.0.3)
|
|
111
119
|
rubocop (~> 1.61)
|
|
112
120
|
ruby-progressbar (1.13.0)
|
|
121
|
+
rufo (0.18.0)
|
|
122
|
+
stringio (3.1.1)
|
|
113
123
|
strscan (3.1.0)
|
|
114
124
|
sys-uname (1.3.0)
|
|
115
125
|
ffi (~> 1.1)
|
|
116
126
|
thor (1.3.1)
|
|
117
127
|
unicode-display_width (2.5.0)
|
|
128
|
+
yard (0.9.36)
|
|
118
129
|
|
|
119
130
|
PLATFORMS
|
|
120
|
-
|
|
121
|
-
|
|
131
|
+
aarch64-linux-gnu
|
|
132
|
+
aarch64-linux-musl
|
|
133
|
+
arm-linux-gnu
|
|
134
|
+
arm-linux-musl
|
|
135
|
+
arm64-darwin
|
|
136
|
+
ruby
|
|
137
|
+
x86-linux-gnu
|
|
138
|
+
x86-linux-musl
|
|
139
|
+
x86_64-darwin
|
|
140
|
+
x86_64-linux-gnu
|
|
141
|
+
x86_64-linux-musl
|
|
122
142
|
|
|
123
143
|
DEPENDENCIES
|
|
124
144
|
aruba
|
|
125
145
|
bundler (~> 2.0)
|
|
126
146
|
clitest!
|
|
127
147
|
coderay (~> 1.1.1)
|
|
148
|
+
debug
|
|
128
149
|
pre-commit
|
|
129
|
-
pry
|
|
130
|
-
pry-byebug
|
|
131
|
-
pry-stack_explorer
|
|
132
150
|
rake (~> 13.0)
|
|
133
151
|
rb-readline
|
|
134
152
|
rspec (~> 3.0)
|
|
@@ -136,6 +154,8 @@ DEPENDENCIES
|
|
|
136
154
|
rubocop (~> 1.7)
|
|
137
155
|
rubocop-rake
|
|
138
156
|
rubocop-rspec
|
|
157
|
+
rufo
|
|
158
|
+
yard (~> 0.9.36)
|
|
139
159
|
|
|
140
160
|
BUNDLED WITH
|
|
141
161
|
2.5.14
|
data/clitest.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = "ruby gem for test of cli."
|
|
13
13
|
spec.homepage = "https://ykominami.github.io/clitest"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
|
16
16
|
|
|
17
17
|
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
|
18
18
|
|
|
@@ -35,18 +35,5 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
|
|
36
36
|
# For more information and examples about making a new gem, checkout our
|
|
37
37
|
# guide at: https://bundler.io/guides/creating_gem.html
|
|
38
|
-
spec.
|
|
39
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
|
40
|
-
spec.add_development_dependency "coderay", "~> 1.1.1"
|
|
41
|
-
spec.add_development_dependency "pre-commit"
|
|
42
|
-
spec.add_development_dependency "pry"
|
|
43
|
-
spec.add_development_dependency "pry-byebug"
|
|
44
|
-
spec.add_development_dependency "pry-stack_explorer"
|
|
45
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
|
46
|
-
spec.add_development_dependency "rb-readline"
|
|
47
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
|
48
|
-
spec.add_development_dependency "rspec_junit_formatter"
|
|
49
|
-
spec.add_development_dependency "rubocop", "~> 1.7"
|
|
50
|
-
spec.add_development_dependency "rubocop-rake"
|
|
51
|
-
spec.add_development_dependency "rubocop-rspec"
|
|
38
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
52
39
|
end
|
data/lib/clitest/cmdline.rb
CHANGED
|
@@ -12,7 +12,7 @@ module Clitest
|
|
|
12
12
|
attr_reader :test_cmd_path_pn
|
|
13
13
|
|
|
14
14
|
# 実行ファイルを呼び出すシェルスクリプトのファイル名
|
|
15
|
-
#
|
|
15
|
+
# シェルスクリプトの引数
|
|
16
16
|
# test_root_dir: 実行ファイルを呼び出す時のディレクトリのルートディレクトリ(このディレクトリのサブディレクトリで呼び出す)
|
|
17
17
|
# result_file: 実行ファイルの実行結果を格納するファイルの名前
|
|
18
18
|
# target_cmd: 実行ファイルの名前(ここで指定した名前で実行ファイルを呼び出せる必要がある-絶対パスまたは環境変数PATHでパスが指定されていること)
|
data/lib/clitest/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,211 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clitest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yasuo kominami
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07-
|
|
12
|
-
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: aruba
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ">="
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '2.0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '2.0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: coderay
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - "~>"
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: 1.1.1
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - "~>"
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 1.1.1
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: pre-commit
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ">="
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: pry
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - ">="
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0'
|
|
76
|
-
type: :development
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - ">="
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0'
|
|
83
|
-
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: pry-byebug
|
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - ">="
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0'
|
|
90
|
-
type: :development
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - ">="
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0'
|
|
97
|
-
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: pry-stack_explorer
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rake
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - "~>"
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '13.0'
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - "~>"
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '13.0'
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: rb-readline
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - ">="
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0'
|
|
132
|
-
type: :development
|
|
133
|
-
prerelease: false
|
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
-
requirements:
|
|
136
|
-
- - ">="
|
|
137
|
-
- !ruby/object:Gem::Version
|
|
138
|
-
version: '0'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: rspec
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - "~>"
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '3.0'
|
|
146
|
-
type: :development
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - "~>"
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '3.0'
|
|
153
|
-
- !ruby/object:Gem::Dependency
|
|
154
|
-
name: rspec_junit_formatter
|
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
|
156
|
-
requirements:
|
|
157
|
-
- - ">="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
160
|
-
type: :development
|
|
161
|
-
prerelease: false
|
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - ">="
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
167
|
-
- !ruby/object:Gem::Dependency
|
|
168
|
-
name: rubocop
|
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
|
170
|
-
requirements:
|
|
171
|
-
- - "~>"
|
|
172
|
-
- !ruby/object:Gem::Version
|
|
173
|
-
version: '1.7'
|
|
174
|
-
type: :development
|
|
175
|
-
prerelease: false
|
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
-
requirements:
|
|
178
|
-
- - "~>"
|
|
179
|
-
- !ruby/object:Gem::Version
|
|
180
|
-
version: '1.7'
|
|
181
|
-
- !ruby/object:Gem::Dependency
|
|
182
|
-
name: rubocop-rake
|
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
|
184
|
-
requirements:
|
|
185
|
-
- - ">="
|
|
186
|
-
- !ruby/object:Gem::Version
|
|
187
|
-
version: '0'
|
|
188
|
-
type: :development
|
|
189
|
-
prerelease: false
|
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
191
|
-
requirements:
|
|
192
|
-
- - ">="
|
|
193
|
-
- !ruby/object:Gem::Version
|
|
194
|
-
version: '0'
|
|
195
|
-
- !ruby/object:Gem::Dependency
|
|
196
|
-
name: rubocop-rspec
|
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
|
198
|
-
requirements:
|
|
199
|
-
- - ">="
|
|
200
|
-
- !ruby/object:Gem::Version
|
|
201
|
-
version: '0'
|
|
202
|
-
type: :development
|
|
203
|
-
prerelease: false
|
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
205
|
-
requirements:
|
|
206
|
-
- - ">="
|
|
207
|
-
- !ruby/object:Gem::Version
|
|
208
|
-
version: '0'
|
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
209
13
|
description: ruby gem for test of cli.
|
|
210
14
|
email:
|
|
211
15
|
- ykominami@gmail.com
|
|
@@ -266,6 +70,7 @@ licenses:
|
|
|
266
70
|
metadata:
|
|
267
71
|
homepage_uri: https://ykominami.github.io/clitest
|
|
268
72
|
source_code_uri: https://github.com/ykominami/clitest
|
|
73
|
+
rubygems_mfa_required: 'true'
|
|
269
74
|
post_install_message:
|
|
270
75
|
rdoc_options: []
|
|
271
76
|
require_paths:
|
|
@@ -274,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
274
79
|
requirements:
|
|
275
80
|
- - ">="
|
|
276
81
|
- !ruby/object:Gem::Version
|
|
277
|
-
version:
|
|
82
|
+
version: 3.0.0
|
|
278
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
84
|
requirements:
|
|
280
85
|
- - ">="
|