test-loop 13.0.0 → 13.0.1

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.
Files changed (3) hide show
  1. data/README.md +5 -0
  2. data/lib/test/loop/coco.rb +8 -0
  3. metadata +6 -5
data/README.md CHANGED
@@ -123,6 +123,11 @@ Provides support for the Ruby on Rails web framework.
123
123
 
124
124
  Integrates the [coco](https://github.com/lkdjiin/coco) code coverage library.
125
125
 
126
+ ### require 'test-loop/parallel_tests'
127
+
128
+ Integrates the [parallel_tests](https://github.com/grosser/parallel_tests)
129
+ library.
130
+
126
131
  ------------------------------------------------------------------------------
127
132
  Configuration options
128
133
  ------------------------------------------------------------------------------
@@ -0,0 +1,8 @@
1
+ require 'test/loop'
2
+
3
+ Test::Loop.before_each_test.push lambda {
4
+ |test_file, log_file, test_names, worker_id|
5
+
6
+ require 'coco'
7
+ Coco::HtmlDirectory::COVERAGE_DIR = test_file + '.cov'
8
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.0
4
+ version: 13.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,11 +13,11 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2011-08-24 00:00:00.000000000 Z
16
+ date: 2011-09-21 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: diff-lcs
20
- requirement: &19985940 !ruby/object:Gem::Requirement
20
+ requirement: &20259880 !ruby/object:Gem::Requirement
21
21
  none: false
22
22
  requirements:
23
23
  - - ! '>='
@@ -25,7 +25,7 @@ dependencies:
25
25
  version: 1.1.2
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *19985940
28
+ version_requirements: *20259880
29
29
  description:
30
30
  email:
31
31
  executables:
@@ -37,6 +37,7 @@ files:
37
37
  - README.md
38
38
  - bin/test-loop
39
39
  - lib/test/loop.rb
40
+ - lib/test/loop/coco.rb
40
41
  - lib/test/loop/notify.rb
41
42
  - lib/test/loop/rails.rb
42
43
  - lib/test/loop/parallel_tests.rb
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
61
  version: '0'
61
62
  requirements: []
62
63
  rubyforge_project:
63
- rubygems_version: 1.8.9
64
+ rubygems_version: 1.8.10
64
65
  signing_key:
65
66
  specification_version: 3
66
67
  summary: Continuous testing for Ruby with fork/eval