clitest 0.1.5 → 0.1.6
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/Gemfile.lock +1 -1
- data/bin/clitest +0 -12
- data/doc/Clitest/Cmdline.html +2 -2
- data/lib/clitest/cmdline.rb +1 -1
- data/lib/clitest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 318df9b48f3e8ea6bca9e7424f223ba5554810d312259b230fe1a96c5eedee2b
|
|
4
|
+
data.tar.gz: 777d4f363fd1808bdae50802fd1be66cdf3e4154501fc98d69a62a4c277ebe05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 314fbfb42df5e6a4fc28e8e0c2e1c392a3e0e2689f39e84ace1545b92a46b4ad0b234d4d727f2fe750eefb42ffcc52335e3dce1d4bf367e4659def4c017de216
|
|
7
|
+
data.tar.gz: 35e095cb58daa5cfc63c21424bdd07fa46c4d8d8d91105a2abe04a6869f31b3040dd9ceaa1c1193fbc4e122943a0d4a32c8cbe76189661ddc6d4a020ac236418
|
data/Gemfile.lock
CHANGED
data/bin/clitest
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
pn = Pathname.new(__FILE__)
|
|
2
2
|
target_pn = pn.parent.join("cmd.sh").expand_path
|
|
3
3
|
|
|
4
|
-
=begin
|
|
5
|
-
puts target_pn.to_s
|
|
6
|
-
|
|
7
|
-
# system( "#{target_pn.to_s} #{*ARGSV}" )
|
|
8
|
-
# system( "#{target_pn.to_s} #{ARGV[0]}" )
|
|
9
|
-
p ARGV[0]
|
|
10
|
-
p ARGV[1]
|
|
11
|
-
p ARGV[2]
|
|
12
|
-
|
|
13
|
-
puts ARGV.join(" ")
|
|
14
|
-
=end
|
|
15
|
-
|
|
16
4
|
system( "#{target_pn.to_s} #{ARGV.join(' ')}" )
|
|
17
5
|
|
data/doc/Clitest/Cmdline.html
CHANGED
|
@@ -187,7 +187,7 @@ target_dir: 実行ファイルを呼び出すときのディレクトリ(test_
|
|
|
187
187
|
|
|
188
188
|
</div>
|
|
189
189
|
</dt>
|
|
190
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>
|
|
190
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>clitest</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
191
191
|
|
|
192
192
|
</dl>
|
|
193
193
|
|
|
@@ -1220,4 +1220,4 @@ target_dir: 実行ファイルを呼び出すときのディレクトリ(test_
|
|
|
1220
1220
|
|
|
1221
1221
|
</div>
|
|
1222
1222
|
</body>
|
|
1223
|
-
</html>
|
|
1223
|
+
</html>
|
data/lib/clitest/cmdline.rb
CHANGED
|
@@ -17,7 +17,7 @@ module Clitest
|
|
|
17
17
|
# result_file: 実行ファイルの実行結果を格納するファイルの名前
|
|
18
18
|
# target_cmd: 実行ファイルの名前(ここで指定した名前で実行ファイルを呼び出せる必要がある-絶対パスまたは環境変数PATHでパスが指定されていること)
|
|
19
19
|
# target_dir: 実行ファイルを呼び出すときのディレクトリ(test_root_dirからの相対パス)
|
|
20
|
-
CMD = "
|
|
20
|
+
CMD = "clitest"
|
|
21
21
|
|
|
22
22
|
# Cmdlineクラスのコンストラクタ
|
|
23
23
|
# @param [String] bin_dir 実行ファイルを呼び出すシェルスクリプトを置くbinディレクトリ
|
data/lib/clitest/version.rb
CHANGED