parallelized_specs 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -0,0 +1,10 @@
1
+ source :rubygems
2
+
3
+ gem 'parallel'
4
+
5
+ group :dev do
6
+ gem 'test-unit', :platform => :ruby_19
7
+ gem 'rspec', '>=2.4'
8
+ gem 'rake'
9
+ gem 'jeweler'
10
+ end
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  gem.email = "jake@instructure.com"
13
13
  gem.homepage = "http://github.com/jakesorce/#{gem.name}"
14
14
  gem.authors = "Jake Sorce, Bryan Madsen"
15
- gem.version = "0.0.6"
15
+ gem.version = "0.0.7"
16
16
  end
17
17
 
18
18
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
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 parallel:features
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.0.6"
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
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: