tbooster 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- require(file.gsub(".rb", ""))
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "tbooster"
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
  s.date = "2012-12-07"
5
5
  s.summary = "Test booster"
6
6
  s.description = "Runs unit tests faster by not reloading the testing environment every time"
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Razvan Dimescu