flatware 2.3.4 → 2.4.0
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.
- checksums.yaml +4 -4
- data/README.md +1 -4
- data/lib/flatware/configuration.rb +1 -1
- data/lib/flatware/pid.rb +3 -3
- data/lib/flatware/sink/signal.rb +2 -2
- data/lib/flatware/sink.rb +5 -6
- data/lib/flatware/version.rb +1 -1
- metadata +33 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 492f3286651ffd494388657090ad6511653622583495593faaa34205414a132c
|
|
4
|
+
data.tar.gz: f4717da9c0d74c7c20c98b55c1139245fac02aca8b06cc709a79e8408f711c3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70cf182c01e6d538e003d17de010463b09311839a12490d2ebcacaf3d966a57f05ede48a4b20d80ead64e458e7d393b3d5fb6f7ad7c66cb39859c615e202c2bb
|
|
7
|
+
data.tar.gz: edbf84bb5a8833a7fde5902585940a1dbc4eca8b5eef8123187df71e3fc56790e32c3237787ca4028e23bf7fb5971955a7869322300db3632cda47b43f9211db
|
data/README.md
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
# Flatware
|
|
2
|
-
|
|
3
|
-
[code-climate-badge]: https://codeclimate.com/github/briandunn/flatware.svg
|
|
4
|
-
[code-climate]: https://codeclimate.com/github/briandunn/flatware
|
|
1
|
+
# Flatware
|
|
5
2
|
|
|
6
3
|
Flatware parallelizes your test suite to significantly reduce test time.
|
|
7
4
|
|
data/lib/flatware/pid.rb
CHANGED
|
@@ -27,9 +27,9 @@ module Flatware
|
|
|
27
27
|
.popen(['ps', *args])
|
|
28
28
|
.readlines
|
|
29
29
|
.map do |row|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
fields = row.strip.split(/\s+/, 4)
|
|
31
|
+
new(*fields.take(3).map(&:to_i), fields.last)
|
|
32
|
+
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def pids_of_group(group_pid)
|
data/lib/flatware/sink/signal.rb
CHANGED
data/lib/flatware/sink.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require 'drb/drb'
|
|
2
|
-
require 'set'
|
|
3
2
|
require 'flatware/sink/signal'
|
|
4
3
|
|
|
5
4
|
module Flatware
|
|
@@ -62,10 +61,10 @@ module Flatware
|
|
|
62
61
|
check_finished!
|
|
63
62
|
end
|
|
64
63
|
|
|
65
|
-
def method_missing(name, *
|
|
64
|
+
def method_missing(name, *)
|
|
66
65
|
super unless formatter.respond_to?(name)
|
|
67
|
-
Flatware.log(name, *
|
|
68
|
-
formatter.send(name, *
|
|
66
|
+
Flatware.log(name, *)
|
|
67
|
+
formatter.send(name, *)
|
|
69
68
|
end
|
|
70
69
|
|
|
71
70
|
def respond_to_missing?(name, include_all)
|
|
@@ -117,8 +116,8 @@ module Flatware
|
|
|
117
116
|
.with_index { |_, i| i % worker_count }
|
|
118
117
|
.values
|
|
119
118
|
.map do |job_group|
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
Job.new(job_group.map(&:id).flatten, jobs.first.args)
|
|
120
|
+
end
|
|
122
121
|
end
|
|
123
122
|
end
|
|
124
123
|
end
|
data/lib/flatware/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flatware
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Dunn
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: benchmark
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: drb
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -24,6 +37,20 @@ dependencies:
|
|
|
24
37
|
- - ">="
|
|
25
38
|
- !ruby/object:Gem::Version
|
|
26
39
|
version: '0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: logger
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
27
54
|
- !ruby/object:Gem::Dependency
|
|
28
55
|
name: thor
|
|
29
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,7 +93,6 @@ homepage: http://github.com/briandunn/flatware
|
|
|
66
93
|
licenses:
|
|
67
94
|
- MIT
|
|
68
95
|
metadata: {}
|
|
69
|
-
post_install_message:
|
|
70
96
|
rdoc_options: []
|
|
71
97
|
require_paths:
|
|
72
98
|
- lib
|
|
@@ -74,18 +100,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
74
100
|
requirements:
|
|
75
101
|
- - ">="
|
|
76
102
|
- !ruby/object:Gem::Version
|
|
77
|
-
version: '2
|
|
103
|
+
version: '3.2'
|
|
78
104
|
- - "<"
|
|
79
105
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '
|
|
106
|
+
version: '4.1'
|
|
81
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
108
|
requirements:
|
|
83
109
|
- - ">="
|
|
84
110
|
- !ruby/object:Gem::Version
|
|
85
111
|
version: '0'
|
|
86
112
|
requirements: []
|
|
87
|
-
rubygems_version: 3.
|
|
88
|
-
signing_key:
|
|
113
|
+
rubygems_version: 3.6.9
|
|
89
114
|
specification_version: 4
|
|
90
115
|
summary: A distributed rspec and cucumber runner
|
|
91
116
|
test_files: []
|