mobilize-base 1.0.93 → 1.0.94

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.
data/README.md CHANGED
@@ -175,36 +175,43 @@ reading/writing, which is called a gdrive_slot.__
175
175
  Sample gdrive.yml:
176
176
 
177
177
  ``` yml
178
+ ---
178
179
  development:
179
- domain: 'host.com'
180
+ domain: host.com
180
181
  owner:
181
- name: 'owner_development'
182
- pw: "google_drive_password"
182
+ name: owner_development
183
+ pw: google_drive_password
183
184
  admins:
184
- - {name: 'admin'}
185
+ - name: admin
185
186
  workers:
186
- - {name: 'worker_development001', pw: "worker001_google_drive_password"}
187
- - {name: 'worker_development002', pw: "worker002_google_drive_password"}
187
+ - name: worker_development001
188
+ pw: worker001_google_drive_password
189
+ - name: worker_development002,
190
+ pw: worker002_google_drive_password
188
191
  test:
189
- domain: 'host.com'
192
+ domain: host.com
190
193
  owner:
191
- name: 'owner_test'
192
- pw: "google_drive_password"
194
+ name: owner_test
195
+ pw: google_drive_password
193
196
  admins:
194
- - {name: 'admin'}
197
+ - name: admin
195
198
  workers:
196
- - {name: 'worker_test001', pw: "worker001_google_drive_password"}
197
- - {name: 'worker_test002', pw: "worker002_google_drive_password"}
199
+ - name: worker_test001
200
+ pw: worker001_google_drive_password
201
+ - name: worker_test002
202
+ pw: worker002_google_drive_password
198
203
  production:
199
- domain: 'host.com'
204
+ domain: host.com
200
205
  owner:
201
- name: 'owner_production'
202
- pw: "google_drive_password"
206
+ name: owner_production
207
+ pw: google_drive_password
203
208
  admins:
204
- - {name: 'admin'}
209
+ - name: admin
205
210
  workers:
206
- - {name: 'worker_production001', pw: "worker001_google_drive_password"}
207
- - {name: 'worker_production002', pw: "worker002_google_drive_password"}
211
+ - name: worker_production001
212
+ pw: worker001_google_drive_password
213
+ - name: worker_production002
214
+ pw: worker002_google_drive_password
208
215
  ```
209
216
 
210
217
  <a name='section_Configure_Jobtracker'></a>
@@ -223,6 +230,7 @@ To this end, it needs these parameters, for which there is a sample
223
230
  below and in the [lib/samples][git_samples] folder:
224
231
 
225
232
  ``` yml
233
+ ---
226
234
  development:
227
235
  cycle_freq: 10 #time between Jobtracker sweeps
228
236
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -230,7 +238,7 @@ development:
230
238
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
231
239
  extensions: [] #additional Mobilize modules to load workers with
232
240
  admins: #emails to send notifications to
233
- - {'email': 'admin@host.com'}
241
+ - email: admin@host.com
234
242
  test:
235
243
  cycle_freq: 10 #time between Jobtracker sweeps
236
244
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -238,7 +246,7 @@ test:
238
246
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
239
247
  extensions: [] #additional Mobilize modules to load workers with
240
248
  admins: #emails to send notifications to
241
- - {'email': 'admin@host.com'}
249
+ - email: admin@host.com
242
250
  production:
243
251
  cycle_freq: 10 #time between Jobtracker sweeps
244
252
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -246,7 +254,7 @@ production:
246
254
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
247
255
  extensions: [] #additional Mobilize modules to load workers with
248
256
  admins: #emails to send notifications to
249
- - {'email': 'admin@host.com'}
257
+ - email: admin@host.com
250
258
  ```
251
259
 
252
260
  <a name='section_Configure_Resque'></a>
@@ -266,18 +274,19 @@ production, but feel free to adjust depending on your hardware.
266
274
  * web_port - this specifies the port under which resque-web operates
267
275
 
268
276
  ``` yml
277
+ ---
269
278
  development:
270
- queue_name: 'mobilize'
279
+ queue_name: mobilize
271
280
  max_workers: 4
272
281
  redis_port: 6379
273
282
  web_port: 8282
274
283
  test:
275
- queue_name: 'mobilize'
284
+ queue_name: mobilize
276
285
  max_workers: 4
277
286
  redis_port: 9736
278
287
  web_port: 8282
279
288
  production:
280
- queue_name: 'mobilize'
289
+ queue_name: mobilize
281
290
  max_workers: 36
282
291
  redis_port: 6379
283
292
  web_port: 8282
@@ -312,6 +321,7 @@ restore Runners from cache if necessary.
312
321
  allow. If you try to write more than this, an exception will be thrown.
313
322
 
314
323
  ``` yml
324
+ ---
315
325
  development:
316
326
  max_versions: 10 #number of versions of cache to keep in gridfs
317
327
  max_compressed_write_size: 1000000000 #~1GB
@@ -334,6 +344,7 @@ It needs the below parameters, which can be found in the [lib/samples][git_sampl
334
344
  You shouldn't need to change anything in this file.
335
345
 
336
346
  ``` yml
347
+ ---
337
348
  development:
338
349
  sessions:
339
350
  default:
@@ -1,5 +1,5 @@
1
1
  module Mobilize
2
2
  module Base
3
- VERSION = "1.0.93"
3
+ VERSION = "1.0.94"
4
4
  end
5
5
  end
@@ -1,30 +1,37 @@
1
+ ---
1
2
  development:
2
- domain: 'host.com'
3
+ domain: host.com
3
4
  owner:
4
- name: 'owner_development'
5
- pw: "google_drive_password"
5
+ name: owner_development
6
+ pw: google_drive_password
6
7
  admins:
7
- - {name: 'admin'}
8
+ - name: admin
8
9
  workers:
9
- - {name: 'worker_development001', pw: "worker001_google_drive_password"}
10
- - {name: 'worker_development002', pw: "worker002_google_drive_password"}
10
+ - name: worker_development001
11
+ pw: worker001_google_drive_password
12
+ - name: worker_development002,
13
+ pw: worker002_google_drive_password
11
14
  test:
12
- domain: 'host.com'
15
+ domain: host.com
13
16
  owner:
14
- name: 'owner_test'
15
- pw: "google_drive_password"
17
+ name: owner_test
18
+ pw: google_drive_password
16
19
  admins:
17
- - {name: 'admin'}
20
+ - name: admin
18
21
  workers:
19
- - {name: 'worker_test001', pw: "worker001_google_drive_password"}
20
- - {name: 'worker_test002', pw: "worker002_google_drive_password"}
22
+ - name: worker_test001
23
+ pw: worker001_google_drive_password
24
+ - name: worker_test002
25
+ pw: worker002_google_drive_password
21
26
  production:
22
- domain: 'host.com'
27
+ domain: host.com
23
28
  owner:
24
- name: 'owner_production'
25
- pw: "google_drive_password"
29
+ name: owner_production
30
+ pw: google_drive_password
26
31
  admins:
27
- - {name: 'admin'}
32
+ - name: admin
28
33
  workers:
29
- - {name: 'worker_production001', pw: "worker001_google_drive_password"}
30
- - {name: 'worker_production002', pw: "worker002_google_drive_password"}
34
+ - name: worker_production001
35
+ pw: worker001_google_drive_password
36
+ - name: worker_production002
37
+ pw: worker002_google_drive_password
@@ -1,3 +1,4 @@
1
+ ---
1
2
  development:
2
3
  max_versions: 10 #number of versions of cache to keep in gridfs
3
4
  max_compressed_write_size: 1000000000 #~1GB
@@ -1,3 +1,4 @@
1
+ ---
1
2
  development:
2
3
  max_cells: 400000
3
4
  test:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  development:
2
3
  cycle_freq: 10 #time between Jobtracker sweeps
3
4
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -5,7 +6,7 @@ development:
5
6
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
6
7
  extensions: [] #additional Mobilize modules to load workers with
7
8
  admins: #emails to send notifications to
8
- - {'email': 'admin@host.com'}
9
+ - email: admin@host.com
9
10
  test:
10
11
  cycle_freq: 10 #time between Jobtracker sweeps
11
12
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -13,7 +14,7 @@ test:
13
14
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
14
15
  extensions: [] #additional Mobilize modules to load workers with
15
16
  admins: #emails to send notifications to
16
- - {'email': 'admin@host.com'}
17
+ - email: admin@host.com
17
18
  production:
18
19
  cycle_freq: 10 #time between Jobtracker sweeps
19
20
  notification_freq: 3600 #1 hour between failure/timeout notifications
@@ -21,4 +22,4 @@ production:
21
22
  max_run_time: 14400 # if a job runs for 4h+, notification will be sent
22
23
  extensions: [] #additional Mobilize modules to load workers with
23
24
  admins: #emails to send notifications to
24
- - {'email': 'admin@host.com'}
25
+ - email: admin@host.com
@@ -1,12 +1,12 @@
1
1
  development:
2
- queue_name: 'mobilize'
2
+ queue_name: mobilize
3
3
  max_workers: 4
4
4
  redis_port: 6379
5
5
  test:
6
- queue_name: 'mobilize'
6
+ queue_name: mobilize
7
7
  max_workers: 4
8
8
  redis_port: 9736
9
9
  production:
10
- queue_name: 'mobilize'
10
+ queue_name: mobilize
11
11
  max_workers: 36
12
12
  redis_port: 6379
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobilize-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.93
4
+ version: 1.0.94
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  segments:
240
240
  - 0
241
- hash: 3717481777497371093
241
+ hash: -2093825275385186120
242
242
  required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  none: false
244
244
  requirements:
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  segments:
249
249
  - 0
250
- hash: 3717481777497371093
250
+ hash: -2093825275385186120
251
251
  requirements: []
252
252
  rubyforge_project: mobilize-base
253
253
  rubygems_version: 1.8.24