workhorse 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58ce0cb4d0d2d81b7da8524a55eac6ae7ed0195fc4d49fbe3b4dd99ef8d8c4d6
4
- data.tar.gz: 2007bf72e0603426967fb7b576f624fcb3520632150ccfc681caf2ff0725723a
3
+ metadata.gz: e6bc07e51c9640b5f5c8b2b80987eec540745b80b9dae23b327a3ba0a1929b2c
4
+ data.tar.gz: 4ee67065d2ed032a6b8a2366a3bdf612cc00fdd409184c44218f33c3e0271862
5
5
  SHA512:
6
- metadata.gz: aa66c279dfbcd0096437badb3561706eba17e3bc04ef422e70246e493de192c9d82ac1e083d85153bd8897c5fca8adbd7720ed9c4f25776bc3ed57d96d251de7
7
- data.tar.gz: a3e01f2b85dfd1d1ead2f0d043bbfadf8d066859a7360263d17f98855abc30da1ffbcc0092e1171eb89d7834058e471ae6fc05d88d10a2a8ab573220e3621405
6
+ metadata.gz: 555f3a8a2742354203c59c81de5a1d57677b9c5f49593d55bd5e2cedb736ea548c5934eef1226604460b43b7da691738fc913c9bbf39c87591015dd52b526044
7
+ data.tar.gz: e377b5d9f4624ba9cfd138182359a5d0c7a028f7ce14e7959ca607f6112fdd550eab4d9fe7a9adffdcf3949cbf80183cb6b6a3acac6248be7af67e08fae6a23d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Workhorse Changelog
2
2
 
3
+ ## 0.6.6 - 2020-04-06
4
+
5
+ * Fix error `No workers are defined.` when definining exactly 1 worker.
6
+
3
7
  ## 0.6.5 - 2020-03-18
4
8
 
5
9
  * Call `on_exception` callback on errors during polling.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.6
@@ -21,7 +21,7 @@ module Workhorse
21
21
 
22
22
  @count = @workers.count
23
23
 
24
- fail 'No workers are defined.' if @count == 1
24
+ fail 'No workers are defined.' if @count < 1
25
25
 
26
26
  FileUtils.mkdir_p('tmp/pids')
27
27
 
data/workhorse.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: workhorse 0.6.5 ruby lib
2
+ # stub: workhorse 0.6.6 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "workhorse".freeze
6
- s.version = "0.6.5"
6
+ s.version = "0.6.6"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Sitrox".freeze]
11
- s.date = "2020-03-18"
11
+ s.date = "2020-04-06"
12
12
  s.files = [".gitignore".freeze, ".releaser_config".freeze, ".rubocop.yml".freeze, ".travis.yml".freeze, "CHANGELOG.md".freeze, "FAQ.md".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "RUBY_VERSION".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/rubocop".freeze, "lib/active_job/queue_adapters/workhorse_adapter.rb".freeze, "lib/generators/workhorse/install_generator.rb".freeze, "lib/generators/workhorse/templates/bin/workhorse.rb".freeze, "lib/generators/workhorse/templates/config/initializers/workhorse.rb".freeze, "lib/generators/workhorse/templates/create_table_jobs.rb".freeze, "lib/workhorse.rb".freeze, "lib/workhorse/daemon.rb".freeze, "lib/workhorse/daemon/shell_handler.rb".freeze, "lib/workhorse/db_job.rb".freeze, "lib/workhorse/enqueuer.rb".freeze, "lib/workhorse/jobs/cleanup_succeeded_jobs.rb".freeze, "lib/workhorse/jobs/run_active_job.rb".freeze, "lib/workhorse/jobs/run_rails_op.rb".freeze, "lib/workhorse/performer.rb".freeze, "lib/workhorse/poller.rb".freeze, "lib/workhorse/pool.rb".freeze, "lib/workhorse/scoped_env.rb".freeze, "lib/workhorse/worker.rb".freeze, "test/active_job/queue_adapters/workhorse_adapter_test.rb".freeze, "test/lib/db_schema.rb".freeze, "test/lib/jobs.rb".freeze, "test/lib/test_helper.rb".freeze, "test/workhorse/db_job_test.rb".freeze, "test/workhorse/enqueuer_test.rb".freeze, "test/workhorse/performer_test.rb".freeze, "test/workhorse/poller_test.rb".freeze, "test/workhorse/pool_test.rb".freeze, "test/workhorse/worker_test.rb".freeze, "workhorse.gemspec".freeze]
13
13
  s.rubygems_version = "3.0.3".freeze
14
14
  s.summary = "Multi-threaded job backend with database queuing for ruby.".freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workhorse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sitrox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-18 00:00:00.000000000 Z
11
+ date: 2020-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler