auto_test 0.0.9.2 → 0.0.9.3

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.
@@ -1,3 +1,3 @@
1
1
  module AutoTest
2
- VERSION = "0.0.9.2"
2
+ VERSION = "0.0.9.3"
3
3
  end
@@ -4,7 +4,7 @@ namespace :auto_test do
4
4
  task :test do
5
5
  puts "Running auto_test..."
6
6
  sh "rails server -e test -p 3002 -d"
7
- path = sh "gem which auto_test"
7
+ path = %x(gem which auto_test)
8
8
  path = path[0..path.size-13]
9
9
  sh "rspec '#{path}/../spec/requests/auto_spec.rb' -o '#{path}/../../log/rspec.txt'"
10
10
  Rake::Task[:error_calc].invoke
@@ -13,7 +13,7 @@ namespace :auto_test do
13
13
 
14
14
  desc "calculating the errors"
15
15
  task :error_calc do
16
- path = sh "gem which auto_test"
16
+ path = %x(gem which auto_test)
17
17
  path = path[0..path.size-13]
18
18
  sh "rm '#{path}/../log/rspec.txt'"
19
19
  err = File.read("#{path}/../log/errors.log")
@@ -28,7 +28,7 @@ namespace :auto_test do
28
28
 
29
29
  desc "Reducing the error path"
30
30
  task :reduce_errors do
31
- path = sh "gem which auto_test"
31
+ path = %x(gem which auto_test)
32
32
  path = path[0..path.size-13]
33
33
  puts "Reducing the error path, this could take a while..."
34
34
  sh "rspec #{path}/spec/requests/error_reduction_spec.rb -o '#{path}/../log/reduce_err.txt'"
@@ -38,7 +38,7 @@ namespace :auto_test do
38
38
 
39
39
  desc "starting the simulation"
40
40
  task :start_action_path do
41
- path = sh "gem which auto_test"
41
+ path = %x(gem which auto_test)
42
42
  path = path[0..path.size-13]
43
43
  # paths = File.new("lib/auto_test/log/new_path.log")
44
44
  # n = 0
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: auto_test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9.2
5
+ version: 0.0.9.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Maike Hargens