parallelized_specs 0.0.6 → 0.0.7
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/Gemfile +10 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/parallelized_specs/tasks.rb +2 -10
- data/parallelized_specs.gemspec +4 -1
- metadata +18 -5
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
@@ -48,14 +48,13 @@ namespace :parallel do
|
|
48
48
|
count, pattern, options = ParallelizedSpecs.parse_rake_args(args)
|
49
49
|
executable = File.join(File.dirname(__FILE__), '..', '..', 'bin', 'parallelized_spec')
|
50
50
|
command = "#{executable} --type 'spec' -n #{count} -p '#{pattern}' -r '#{Rails.root}' -o '#{options}' #{args[:arguments]}"
|
51
|
-
abort unless system(command) # allow to chain tasks e.g. rake parallel:spec
|
51
|
+
abort unless system(command) # allow to chain tasks e.g. rake parallel:spec
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
55
|
#backwards compatability
|
56
56
|
#spec:parallel:prepare
|
57
57
|
#spec:parallel
|
58
|
-
#test:parallel
|
59
58
|
namespace :spec do
|
60
59
|
namespace :parallel do
|
61
60
|
task :prepare, :count do |t, args|
|
@@ -68,11 +67,4 @@ namespace :spec do
|
|
68
67
|
$stderr.puts "WARNING -- Deprecated! use parallel:spec"
|
69
68
|
Rake::Task['parallel:spec'].invoke(args[:count], args[:pattern])
|
70
69
|
end
|
71
|
-
end
|
72
|
-
|
73
|
-
namespace :test do
|
74
|
-
task :parallel, :count, :pattern do |t, args|
|
75
|
-
$stderr.puts "WARNING -- Deprecated! use parallel:test"
|
76
|
-
Rake::Task['parallel:test'].invoke(args[:count], args[:pattern])
|
77
|
-
end
|
78
|
-
end
|
70
|
+
end
|
data/parallelized_specs.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "parallelized_specs"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jake Sorce, Bryan Madsen"]
|
@@ -48,9 +48,12 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.specification_version = 3
|
49
49
|
|
50
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
|
+
s.add_runtime_dependency(%q<parallel>, [">= 0"])
|
51
52
|
else
|
53
|
+
s.add_dependency(%q<parallel>, [">= 0"])
|
52
54
|
end
|
53
55
|
else
|
56
|
+
s.add_dependency(%q<parallel>, [">= 0"])
|
54
57
|
end
|
55
58
|
end
|
56
59
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallelized_specs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen
|
@@ -16,8 +16,21 @@ bindir: bin
|
|
16
16
|
cert_chain: []
|
17
17
|
|
18
18
|
date: 2012-04-19 00:00:00 Z
|
19
|
-
dependencies:
|
20
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: parallel
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
21
34
|
description:
|
22
35
|
email: jake@instructure.com
|
23
36
|
executables:
|