snap_ci-parallel_tests 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.init.sh +3 -3
- data/.ruby-version +1 -1
- data/Gemfile.lock +61 -40
- data/README.md +12 -8
- data/lib/snap_ci/parallel_tests/version.rb +1 -1
- data/snap_ci-parallel_tests.gemspec +2 -2
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52126284c581821e59cbb6ceec8303e4773c2a6c
|
4
|
+
data.tar.gz: ef05be3b686565bc3cc77349e53eab0c5e337511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8642f8b909b72befc68a887205bf96e483cd23c09f5427dce4dd83f51f6ae45860adeed1907cf479ecb0187e05511c5b529077b29833ea1c50c5ad0c3a14d965
|
7
|
+
data.tar.gz: d59d847919a695b084b78d548c60bc681d6574506e3adebffe9755fc350a304315fbe49f1c7479510dca2b900f538645fe4834378d0430412e808949c08d6f7c
|
data/.gitignore
CHANGED
data/.init.sh
CHANGED
@@ -10,14 +10,14 @@ then
|
|
10
10
|
fi
|
11
11
|
|
12
12
|
mkdir -p $BUNDLE_PATH
|
13
|
-
rm -rf
|
14
|
-
ln -sf $BUNDLE_PATH
|
13
|
+
rm -rf bundle
|
14
|
+
ln -sf $BUNDLE_PATH bundle
|
15
15
|
|
16
16
|
export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
|
17
17
|
|
18
18
|
while read line; do
|
19
19
|
[[ -n ${SNAP_CI} || -n ${GO_SERVER_URL} ]] || echo -ne "Doing $((C++)) things...\r"
|
20
|
-
done < <(bundle check || bundle install --
|
20
|
+
done < <(bundle check || bundle install --path vendor/bundle --clean)
|
21
21
|
|
22
22
|
echo
|
23
23
|
echo "Done!"
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.4
|
data/Gemfile.lock
CHANGED
@@ -6,61 +6,79 @@ PATH
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actionpack (4.
|
10
|
-
actionview (= 4.
|
11
|
-
activesupport (= 4.
|
12
|
-
rack (~> 1.
|
9
|
+
actionpack (4.2.6)
|
10
|
+
actionview (= 4.2.6)
|
11
|
+
activesupport (= 4.2.6)
|
12
|
+
rack (~> 1.6)
|
13
13
|
rack-test (~> 0.6.2)
|
14
|
-
|
15
|
-
|
14
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
16
|
+
actionview (4.2.6)
|
17
|
+
activesupport (= 4.2.6)
|
16
18
|
builder (~> 3.1)
|
17
19
|
erubis (~> 2.7.0)
|
18
|
-
|
19
|
-
|
20
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
22
|
+
activesupport (4.2.6)
|
23
|
+
i18n (~> 0.7)
|
20
24
|
json (~> 1.7, >= 1.7.7)
|
21
25
|
minitest (~> 5.1)
|
22
|
-
thread_safe (~> 0.
|
26
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
23
27
|
tzinfo (~> 1.1)
|
24
28
|
builder (3.2.2)
|
25
29
|
diff-lcs (1.2.5)
|
26
30
|
erubis (2.7.0)
|
27
|
-
i18n (0.
|
28
|
-
json (1.8.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
31
|
+
i18n (0.7.0)
|
32
|
+
json (1.8.3)
|
33
|
+
loofah (2.0.3)
|
34
|
+
nokogiri (>= 1.5.9)
|
35
|
+
mini_portile2 (2.0.0)
|
36
|
+
minitest (5.8.4)
|
37
|
+
nokogiri (1.6.7.2)
|
38
|
+
mini_portile2 (~> 2.0.0.rc2)
|
39
|
+
power_assert (0.2.7)
|
40
|
+
rack (1.6.4)
|
41
|
+
rack-test (0.6.3)
|
33
42
|
rack (>= 1.0)
|
34
|
-
|
35
|
-
|
36
|
-
|
43
|
+
rails-deprecated_sanitizer (1.0.3)
|
44
|
+
activesupport (>= 4.2.0.alpha)
|
45
|
+
rails-dom-testing (1.0.7)
|
46
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
47
|
+
nokogiri (~> 1.6.0)
|
48
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
49
|
+
rails-html-sanitizer (1.0.3)
|
50
|
+
loofah (~> 2.0)
|
51
|
+
railties (4.2.6)
|
52
|
+
actionpack (= 4.2.6)
|
53
|
+
activesupport (= 4.2.6)
|
37
54
|
rake (>= 0.8.7)
|
38
55
|
thor (>= 0.18.1, < 2.0)
|
39
|
-
rake (
|
40
|
-
rspec (3.
|
41
|
-
rspec-core (~> 3.
|
42
|
-
rspec-expectations (~> 3.
|
43
|
-
rspec-mocks (~> 3.
|
44
|
-
rspec-core (3.
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-expectations (3.
|
56
|
+
rake (11.1.1)
|
57
|
+
rspec (3.4.0)
|
58
|
+
rspec-core (~> 3.4.0)
|
59
|
+
rspec-expectations (~> 3.4.0)
|
60
|
+
rspec-mocks (~> 3.4.0)
|
61
|
+
rspec-core (3.4.4)
|
62
|
+
rspec-support (~> 3.4.0)
|
63
|
+
rspec-expectations (3.4.0)
|
64
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
+
rspec-support (~> 3.4.0)
|
66
|
+
rspec-mocks (3.4.1)
|
47
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.
|
49
|
-
rspec-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
rspec-
|
56
|
-
rspec-
|
57
|
-
|
58
|
-
|
59
|
-
rspec-support (3.1.2)
|
60
|
-
test-unit (3.0.7)
|
68
|
+
rspec-support (~> 3.4.0)
|
69
|
+
rspec-rails (3.4.2)
|
70
|
+
actionpack (>= 3.0, < 4.3)
|
71
|
+
activesupport (>= 3.0, < 4.3)
|
72
|
+
railties (>= 3.0, < 4.3)
|
73
|
+
rspec-core (~> 3.4.0)
|
74
|
+
rspec-expectations (~> 3.4.0)
|
75
|
+
rspec-mocks (~> 3.4.0)
|
76
|
+
rspec-support (~> 3.4.0)
|
77
|
+
rspec-support (3.4.1)
|
78
|
+
test-unit (3.1.8)
|
61
79
|
power_assert
|
62
80
|
thor (0.19.1)
|
63
|
-
thread_safe (0.3.
|
81
|
+
thread_safe (0.3.5)
|
64
82
|
tzinfo (1.2.2)
|
65
83
|
thread_safe (~> 0.1)
|
66
84
|
|
@@ -74,3 +92,6 @@ DEPENDENCIES
|
|
74
92
|
rspec-rails (>= 2.12.0)
|
75
93
|
snap_ci-parallel_tests!
|
76
94
|
test-unit
|
95
|
+
|
96
|
+
BUNDLED WITH
|
97
|
+
1.11.2
|
data/README.md
CHANGED
@@ -1,9 +1,17 @@
|
|
1
1
|
# SnapCI::ParallelTests [![Build Status](https://snap-ci.com/snap-ci/parallel-tests/branch/master/build_image)](https://snap-ci.com/snap-ci/parallel-tests/branch/master)
|
2
2
|
|
3
|
-
Run
|
3
|
+
Run tests in parallel across multiple workers on [Snap CI](https://snap-ci.com).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
+
**Note:** This gem is already installed on Snap CI - you need not do anything to install it, just start using it.
|
8
|
+
|
9
|
+
### To install this gem on your local machine
|
10
|
+
|
11
|
+
> $ gem install snap_ci-parallel_tests
|
12
|
+
|
13
|
+
Or alternatively:
|
14
|
+
|
7
15
|
Add this line to your application's Gemfile:
|
8
16
|
|
9
17
|
```ruby
|
@@ -14,17 +22,13 @@ And then execute:
|
|
14
22
|
|
15
23
|
$ bundle
|
16
24
|
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install snap_ci-parallel_tests
|
20
|
-
|
21
25
|
## Setup for non-rails
|
22
26
|
|
23
27
|
Depending on the framework of your choice -
|
24
28
|
|
25
|
-
$ bundle exec snap-ci-parallel-rspec [options] [files or directories] [-- [rspec options]]
|
26
|
-
$ bundle exec snap-ci-parallel-test [options] [files or directories] [-- [Test::Unit or MiniTest options]]
|
27
|
-
|
29
|
+
$ [bundle exec] snap-ci-parallel-rspec [options] [files or directories] [-- [rspec options]]
|
30
|
+
$ [bundle exec] snap-ci-parallel-test [options] [files or directories] [-- [Test::Unit or MiniTest options]]
|
31
|
+
$ ./your-test-suite $([bundle exec] snap-ci-parallel-partition [options] [files or directories])
|
28
32
|
|
29
33
|
## Setup for Rails
|
30
34
|
|
@@ -6,8 +6,8 @@ require 'snap_ci/parallel_tests/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "snap_ci-parallel_tests"
|
8
8
|
spec.version = SnapCI::ParallelTests::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["Snap CI"]
|
10
|
+
spec.email = ["support@snap-ci.com"]
|
11
11
|
spec.summary = %q{Run Test::Unit / RSpec in parallel across multiple workers on Snap CI}
|
12
12
|
spec.description = %q{Run Test::Unit / RSpec in parallel across multiple workers on Snap CI}
|
13
13
|
spec.homepage = "https://github.com/snap-ci/parallel-tests"
|
metadata
CHANGED
@@ -1,46 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snap_ci-parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Snap CI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.4'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
description: Run Test::Unit / RSpec in parallel across multiple workers on Snap CI
|
42
42
|
email:
|
43
|
-
-
|
43
|
+
- support@snap-ci.com
|
44
44
|
executables:
|
45
45
|
- snap-ci-parallel-partition
|
46
46
|
- snap-ci-parallel-rspec
|
@@ -48,10 +48,10 @@ executables:
|
|
48
48
|
extensions: []
|
49
49
|
extra_rdoc_files: []
|
50
50
|
files:
|
51
|
-
- .gitignore
|
52
|
-
- .init.sh
|
53
|
-
- .ruby-gemset
|
54
|
-
- .ruby-version
|
51
|
+
- ".gitignore"
|
52
|
+
- ".init.sh"
|
53
|
+
- ".ruby-gemset"
|
54
|
+
- ".ruby-version"
|
55
55
|
- Gemfile
|
56
56
|
- Gemfile.lock
|
57
57
|
- LICENSE.txt
|
@@ -85,17 +85,17 @@ require_paths:
|
|
85
85
|
- lib
|
86
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.4.5.1
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Run Test::Unit / RSpec in parallel across multiple workers on Snap CI
|