tac-cli 0.0.3 → 0.0.4

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.
@@ -90,8 +90,9 @@ module CTT::Cli::Command
90
90
  dependencies, command = parse_command
91
91
 
92
92
  threads = []
93
+ pwd = Dir.pwd
94
+ Dir.chdir(@suites.suites["suites"][@suite])
93
95
  threads << Thread.new do
94
- Dir.chdir(@suites.suites["suites"][@suite])
95
96
  # dependency should be successful before run testing command
96
97
  say("preparing test suite: #{@suite}...")
97
98
  dependencies.each do |d|
@@ -102,7 +103,7 @@ module CTT::Cli::Command
102
103
  say("\nrun command: #{yellow(command)}")
103
104
  system(command)
104
105
  end
105
-
106
+ Dir.chdir(pwd)
106
107
  threads.each { |t| t.join }
107
108
 
108
109
  collector = ClientCollector.new(@runner.command, @suite, @runner)
data/lib/cli/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CTT
3
3
  module Cli
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
6
- end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tac-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-03 00:00:00.000000000Z
12
+ date: 2012-12-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure