sisyphus 0.2.3 → 0.2.5
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 +5 -5
- data/.rspec +2 -0
- data/Gemfile.lock +1 -1
- data/README.md +5 -2
- data/Rakefile +3 -1
- data/lib/sisyphus/forking_execution_strategy.rb +52 -0
- data/lib/sisyphus/master.rb +44 -49
- data/lib/sisyphus/simple_execution_strategy.rb +17 -0
- data/lib/sisyphus/sleep.rb +1 -1
- data/lib/sisyphus/worker.rb +47 -33
- data/lib/sisyphus/worker_pool.rb +36 -0
- data/lib/sisyphus.rb +1 -1
- data/lib/version.rb +1 -1
- data/sisyphus.gemspec +2 -0
- data/spec/sisyphus/forking_execution_strategy_spec.rb +98 -0
- data/spec/sisyphus/master_spec.rb +57 -137
- data/spec/sisyphus/simple_execution_strategy_spec.rb +28 -0
- data/spec/sisyphus/worker_pool_spec.rb +82 -0
- data/spec/sisyphus/worker_spec.rb +84 -82
- data/spec/spec_helper.rb +17 -0
- metadata +25 -17
metadata
CHANGED
|
@@ -1,55 +1,54 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sisyphus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rasmus Bang Grouleff
|
|
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:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
|
16
15
|
requirements:
|
|
17
|
-
- - ~>
|
|
16
|
+
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
18
|
version: '1.3'
|
|
20
19
|
type: :development
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
|
-
- - ~>
|
|
23
|
+
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '1.3'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: rake
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
|
-
- - ~>
|
|
30
|
+
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
32
|
version: '10.0'
|
|
34
33
|
type: :development
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
|
-
- - ~>
|
|
37
|
+
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '10.0'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: rspec
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
|
-
- - ~>
|
|
44
|
+
- - "~>"
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
46
|
version: '2.14'
|
|
48
47
|
type: :development
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
|
-
- - ~>
|
|
51
|
+
- - "~>"
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
53
|
version: '2.14'
|
|
55
54
|
description: A tiny library for spawning worker processes
|
|
@@ -59,46 +58,55 @@ executables: []
|
|
|
59
58
|
extensions: []
|
|
60
59
|
extra_rdoc_files: []
|
|
61
60
|
files:
|
|
62
|
-
- .gitignore
|
|
61
|
+
- ".gitignore"
|
|
62
|
+
- ".rspec"
|
|
63
63
|
- Gemfile
|
|
64
64
|
- Gemfile.lock
|
|
65
65
|
- LICENSE.txt
|
|
66
66
|
- README.md
|
|
67
67
|
- Rakefile
|
|
68
68
|
- lib/sisyphus.rb
|
|
69
|
+
- lib/sisyphus/forking_execution_strategy.rb
|
|
69
70
|
- lib/sisyphus/job.rb
|
|
70
71
|
- lib/sisyphus/master.rb
|
|
71
72
|
- lib/sisyphus/null_logger.rb
|
|
73
|
+
- lib/sisyphus/simple_execution_strategy.rb
|
|
72
74
|
- lib/sisyphus/sleep.rb
|
|
73
75
|
- lib/sisyphus/worker.rb
|
|
76
|
+
- lib/sisyphus/worker_pool.rb
|
|
74
77
|
- lib/version.rb
|
|
75
78
|
- sisyphus.gemspec
|
|
79
|
+
- spec/sisyphus/forking_execution_strategy_spec.rb
|
|
76
80
|
- spec/sisyphus/master_spec.rb
|
|
81
|
+
- spec/sisyphus/simple_execution_strategy_spec.rb
|
|
82
|
+
- spec/sisyphus/worker_pool_spec.rb
|
|
77
83
|
- spec/sisyphus/worker_spec.rb
|
|
84
|
+
- spec/spec_helper.rb
|
|
78
85
|
homepage: https://github.com/rbgrouleff/sisyphus
|
|
79
86
|
licenses:
|
|
80
87
|
- Apache License 2.0
|
|
81
88
|
metadata: {}
|
|
82
|
-
post_install_message:
|
|
83
89
|
rdoc_options: []
|
|
84
90
|
require_paths:
|
|
85
91
|
- lib
|
|
86
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
93
|
requirements:
|
|
88
|
-
- -
|
|
94
|
+
- - ">="
|
|
89
95
|
- !ruby/object:Gem::Version
|
|
90
|
-
version:
|
|
96
|
+
version: 1.9.3
|
|
91
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
98
|
requirements:
|
|
93
|
-
- -
|
|
99
|
+
- - ">="
|
|
94
100
|
- !ruby/object:Gem::Version
|
|
95
101
|
version: '0'
|
|
96
102
|
requirements: []
|
|
97
|
-
|
|
98
|
-
rubygems_version: 2.1.5
|
|
99
|
-
signing_key:
|
|
103
|
+
rubygems_version: 3.7.2
|
|
100
104
|
specification_version: 4
|
|
101
105
|
summary: A tiny library for spawning worker processes
|
|
102
106
|
test_files:
|
|
107
|
+
- spec/sisyphus/forking_execution_strategy_spec.rb
|
|
103
108
|
- spec/sisyphus/master_spec.rb
|
|
109
|
+
- spec/sisyphus/simple_execution_strategy_spec.rb
|
|
110
|
+
- spec/sisyphus/worker_pool_spec.rb
|
|
104
111
|
- spec/sisyphus/worker_spec.rb
|
|
112
|
+
- spec/spec_helper.rb
|