perfectsched 0.8.10 → 0.8.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -4
- data/ChangeLog +6 -0
- data/Gemfile +2 -0
- data/README.md +2 -1
- data/circle.yml +3 -0
- data/lib/perfectsched.rb +4 -23
- data/lib/perfectsched/application/decider.rb +1 -1
- data/lib/perfectsched/backend/rdb_compat.rb +5 -4
- data/lib/perfectsched/schedule_metadata.rb +0 -20
- data/lib/perfectsched/version.rb +1 -1
- data/lib/perfectsched/worker.rb +1 -4
- data/perfectsched.gemspec +6 -4
- data/spec/application/base_spec.rb +81 -0
- data/spec/application/decider_spec.rb +54 -0
- data/spec/client_spec.rb +122 -0
- data/spec/engine_spec.rb +82 -0
- data/spec/model_spec.rb +24 -0
- data/spec/perfect_sched_spec.rb +105 -0
- data/spec/rdb_compat_backend_spec.rb +287 -27
- data/spec/runner_spec.rb +23 -0
- data/spec/schedule_collection_spec.rb +63 -63
- data/spec/schedule_spec.rb +66 -0
- data/spec/spec_helper.rb +7 -2
- data/spec/task_spec.rb +51 -0
- data/spec/worker_spec.rb +182 -39
- metadata +52 -19
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfectsched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: chrono
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.2
|
20
|
-
- - "<="
|
17
|
+
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
19
|
+
version: 0.3.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.1.2
|
30
|
-
- - "<="
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
26
|
+
version: 0.3.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: sequel
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,6 +57,9 @@ dependencies:
|
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.9'
|
62
|
+
- - ">="
|
66
63
|
- !ruby/object:Gem::Version
|
67
64
|
version: 0.8.41
|
68
65
|
type: :runtime
|
@@ -70,6 +67,9 @@ dependencies:
|
|
70
67
|
version_requirements: !ruby/object:Gem::Requirement
|
71
68
|
requirements:
|
72
69
|
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0.9'
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.8.41
|
75
75
|
- !ruby/object:Gem::Dependency
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: 3.4.0
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 3.4.0
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: simplecov
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
109
|
+
version: 0.10.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0.
|
116
|
+
version: 0.10.0
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: sqlite3
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,6 +128,20 @@ dependencies:
|
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 1.3.3
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: mysql2
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 0.3.20
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.3.20
|
131
145
|
description: Highly available distributed cron built on RDBMS
|
132
146
|
email: frsyuki@gmail.com
|
133
147
|
executables:
|
@@ -142,6 +156,7 @@ files:
|
|
142
156
|
- README.md
|
143
157
|
- Rakefile
|
144
158
|
- bin/perfectsched
|
159
|
+
- circle.yml
|
145
160
|
- lib/perfectsched.rb
|
146
161
|
- lib/perfectsched/application.rb
|
147
162
|
- lib/perfectsched/application/base.rb
|
@@ -167,9 +182,18 @@ files:
|
|
167
182
|
- lib/perfectsched/version.rb
|
168
183
|
- lib/perfectsched/worker.rb
|
169
184
|
- perfectsched.gemspec
|
185
|
+
- spec/application/base_spec.rb
|
186
|
+
- spec/application/decider_spec.rb
|
187
|
+
- spec/client_spec.rb
|
188
|
+
- spec/engine_spec.rb
|
189
|
+
- spec/model_spec.rb
|
190
|
+
- spec/perfect_sched_spec.rb
|
170
191
|
- spec/rdb_compat_backend_spec.rb
|
192
|
+
- spec/runner_spec.rb
|
171
193
|
- spec/schedule_collection_spec.rb
|
194
|
+
- spec/schedule_spec.rb
|
172
195
|
- spec/spec_helper.rb
|
196
|
+
- spec/task_spec.rb
|
173
197
|
- spec/worker_spec.rb
|
174
198
|
homepage: https://github.com/treasure-data/perfectsched
|
175
199
|
licenses: []
|
@@ -182,7 +206,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
206
|
requirements:
|
183
207
|
- - ">="
|
184
208
|
- !ruby/object:Gem::Version
|
185
|
-
version: '
|
209
|
+
version: '2.1'
|
186
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
211
|
requirements:
|
188
212
|
- - ">="
|
@@ -190,12 +214,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
214
|
version: '0'
|
191
215
|
requirements: []
|
192
216
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.
|
217
|
+
rubygems_version: 2.5.1
|
194
218
|
signing_key:
|
195
219
|
specification_version: 4
|
196
220
|
summary: Highly available distributed cron built on RDBMS
|
197
221
|
test_files:
|
222
|
+
- spec/application/base_spec.rb
|
223
|
+
- spec/application/decider_spec.rb
|
224
|
+
- spec/client_spec.rb
|
225
|
+
- spec/engine_spec.rb
|
226
|
+
- spec/model_spec.rb
|
227
|
+
- spec/perfect_sched_spec.rb
|
198
228
|
- spec/rdb_compat_backend_spec.rb
|
229
|
+
- spec/runner_spec.rb
|
199
230
|
- spec/schedule_collection_spec.rb
|
231
|
+
- spec/schedule_spec.rb
|
200
232
|
- spec/spec_helper.rb
|
233
|
+
- spec/task_spec.rb
|
201
234
|
- spec/worker_spec.rb
|