tbooster 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tbooster/commands/test_runner.rb +2 -5
- data/tbooster.gemspec +1 -1
- metadata +3 -3
@@ -10,15 +10,12 @@ class TestRunnerCommand < Command
|
|
10
10
|
return
|
11
11
|
end
|
12
12
|
|
13
|
-
test_start = Time.now
|
14
|
-
|
15
13
|
fork do
|
16
14
|
ActiveRecord::Base.establish_connection ENV['RAILS_ENV']
|
17
15
|
|
18
16
|
ARGV.replace(args)
|
19
|
-
|
20
|
-
|
21
|
-
test_end = Time.now
|
17
|
+
file_to_run = file.gsub(".rb", "").gsub("#{Dir.pwd}", "")
|
18
|
+
require "#{Dir.pwd}/#{file_to_run}"
|
22
19
|
end
|
23
20
|
end
|
24
21
|
|
data/tbooster.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tbooster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Razvan Dimescu
|