actir 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/actir/parallel_tests/cli.rb +7 -1
- data/lib/actir/script/cookies_baidu.rb +3 -1
- data/lib/actir/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a336c865b4c3c033939c965e0fcb9648c30bef45
|
4
|
+
data.tar.gz: 6efc7758c7d616ac83d6b009a8c8b65333c80788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0722b48e11c6ecb42ceea3f347772bc95d3f259ebdf249aca1ca33e6731cc9e2ae7797a9eb70bbe7af60e9d7f31896be6f1a79855bf03411f6148427164746a6
|
7
|
+
data.tar.gz: b582217d60fac84774fc9e522d5df2d1e85267cb1875ec9fd2f63e6ea13364ea9a74191f398d38eb1df06aa71c9196df43600cd865025ca7c714b755eab1a73d
|
@@ -260,7 +260,13 @@ module Actir
|
|
260
260
|
def get_project_path(argv)
|
261
261
|
testcode_path = ""
|
262
262
|
(argv || []).map do |file_or_folder|
|
263
|
-
test_path
|
263
|
+
# 如果传入的路径是绝对路径,那么直接将传入的路径作为test_path
|
264
|
+
if file_or_folder =~ /^\//
|
265
|
+
test_path = file_or_folder
|
266
|
+
# 如果传入的路径是相对路径,那么将当前路径与传入的相对路径做拼接生成test_path
|
267
|
+
else
|
268
|
+
test_path = File.join(Dir.pwd , file_or_folder)
|
269
|
+
end
|
264
270
|
#获取testcode文件夹的path
|
265
271
|
if test_path =~ /(\/.*\/testcode)/
|
266
272
|
testcode_path = $1
|
data/lib/actir/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|