oktest 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile.rb +1 -1
- data/lib/oktest.rb +3 -3
- data/oktest.gemspec +2 -2
- data/test/assertion_test.rb +1 -1
- data/test/filter_test.rb +1 -1
- data/test/fixture_test.rb +1 -1
- data/test/generator_test.rb +1 -1
- data/test/helper_test.rb +1 -1
- data/test/initialize.rb +1 -1
- data/test/mainapp_test.rb +2 -2
- data/test/misc_test.rb +1 -1
- data/test/node_test.rb +1 -1
- data/test/reporter_test.rb +1 -1
- data/test/runner_test.rb +1 -1
- data/test/util_test.rb +1 -1
- data/test/visitor_test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f8f2b588e8b3d85d2dfc1bbf975b491484b400a
|
4
|
+
data.tar.gz: 7b8ede816f90a30f76263b713456fb90ae1e86b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2888eb6c1bfde26a01bd15baaf40b5de1cfd0d6b604e9a6645dd778dc69412d92c3c89cb37abb7f73b94ac7adcaf151600b1ef17a5a89d253eb8f40fecc4d07b
|
7
|
+
data.tar.gz: b22ff5554db672ee5d7d048acf45fd6428106763ebd6d1277eb49fe1d15cabd45927564de2fa602e58a53825d040bfb684473fdebc9de4ba8dbc7f500db9e7d2
|
data/Rakefile.rb
CHANGED
data/lib/oktest.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
|
3
3
|
###
|
4
|
-
### $Release: 1.0.
|
4
|
+
### $Release: 1.0.2 $
|
5
5
|
### $Copyright: copyright(c) 2011-2021 kuwata-lab.com all rights reserved $
|
6
6
|
### $License: MIT License $
|
7
7
|
###
|
@@ -10,7 +10,7 @@
|
|
10
10
|
module Oktest
|
11
11
|
|
12
12
|
|
13
|
-
VERSION = '$Release: 1.0.
|
13
|
+
VERSION = '$Release: 1.0.2 $'.split()[1]
|
14
14
|
|
15
15
|
|
16
16
|
class OktestError < StandardError
|
@@ -2154,7 +2154,7 @@ END
|
|
2154
2154
|
return 0
|
2155
2155
|
end
|
2156
2156
|
#; [!65vdx] prints help message if no arguments specified.
|
2157
|
-
if filenames.empty?
|
2157
|
+
if filenames.empty? && !THE_GLOBAL_SCOPE.has_child?
|
2158
2158
|
puts help_message()
|
2159
2159
|
return 0
|
2160
2160
|
end
|
data/oktest.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
|
3
3
|
###
|
4
|
-
### $Release: 1.0.
|
4
|
+
### $Release: 1.0.2 $
|
5
5
|
### $License: MIT License $
|
6
6
|
### $Copyright: copyright(c) 2011-2021 kuwata-lab.com all rights reserved $
|
7
7
|
###
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.name = "oktest"
|
14
14
|
s.author = "kwatch"
|
15
15
|
s.email = "kwatch@gmail.com"
|
16
|
-
s.version = "$Release: 1.0.
|
16
|
+
s.version = "$Release: 1.0.2 $".split()[1]
|
17
17
|
s.license = "MIT"
|
18
18
|
s.platform = Gem::Platform::RUBY
|
19
19
|
s.homepage = "https://github.com/kwatch/oktest/tree/ruby"
|
data/test/assertion_test.rb
CHANGED
data/test/filter_test.rb
CHANGED
data/test/fixture_test.rb
CHANGED
data/test/generator_test.rb
CHANGED
data/test/helper_test.rb
CHANGED
data/test/initialize.rb
CHANGED
data/test/mainapp_test.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
###
|
2
|
-
### $Release: 1.0.
|
2
|
+
### $Release: 1.0.2 $
|
3
3
|
### $Copyright: copyright(c) 2011-2021 kuwata-lab.com all rights reserved $
|
4
4
|
### $License: MIT License $
|
5
5
|
###
|
@@ -241,7 +241,7 @@ END
|
|
241
241
|
end
|
242
242
|
|
243
243
|
it "[!qqizl] '--version' option prints version number." do
|
244
|
-
expected = '$Release: 1.0.
|
244
|
+
expected = '$Release: 1.0.2 $'.split()[1] + "\n"
|
245
245
|
#
|
246
246
|
ret, sout, serr = run("--version")
|
247
247
|
assert_eq ret, 0
|
data/test/misc_test.rb
CHANGED
data/test/node_test.rb
CHANGED
data/test/reporter_test.rb
CHANGED
data/test/runner_test.rb
CHANGED
data/test/util_test.rb
CHANGED
data/test/visitor_test.rb
CHANGED