parallel_tests-instructure 0.6.18 → 0.6.19
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.
- data/lib/parallel_tests/tasks.rb +2 -2
- data/parallel_tests-instructure.gemspec +2 -2
- metadata +4 -4
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -43,12 +43,12 @@ namespace :parallel do
|
|
43
43
|
|
44
44
|
['test', 'spec', 'features'].each do |type|
|
45
45
|
desc "run #{type} in parallel with parallel:#{type}[num_cpus]"
|
46
|
-
task type, :count, :pattern, :options do |t,args|
|
46
|
+
task type, :count, :pattern, :options, :arguments do |t,args|
|
47
47
|
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
48
48
|
require "parallel_tests"
|
49
49
|
count, pattern, options = ParallelTests.parse_rake_args(args)
|
50
50
|
executable = File.join(File.dirname(__FILE__), '..', '..', 'bin', 'parallel_test')
|
51
|
-
command = "#{executable} --type #{type} -n #{count} -p '#{pattern}' -r '#{Rails.root}' -o '#{options}'"
|
51
|
+
command = "#{executable} --type #{type} -n #{count} -p '#{pattern}' -r '#{Rails.root}' -o '#{options}' #{args[:arguments]}"
|
52
52
|
abort unless system(command) # allow to chain tasks e.g. rake parallel:spec parallel:features
|
53
53
|
end
|
54
54
|
end
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "parallel_tests-instructure"
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.19"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Grosser, Bryan Madsen"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-02-21"
|
13
13
|
s.executables = ["parallel_cucumber", "parallel_test", "parallel_spec"]
|
14
14
|
s.files = [
|
15
15
|
"Gemfile",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests-instructure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 33
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 19
|
10
|
+
version: 0.6.19
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser, Bryan Madsen
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-02-21 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|