workhorse 0.6.6 → 0.6.7

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: e6bc07e51c9640b5f5c8b2b80987eec540745b80b9dae23b327a3ba0a1929b2c
4
- data.tar.gz: 4ee67065d2ed032a6b8a2366a3bdf612cc00fdd409184c44218f33c3e0271862
3
+ metadata.gz: ffaf07006de01c18f7a8ed2957fc6a8df4e834858fb2aafd2aa5ea1a29318494
4
+ data.tar.gz: '09af01794584d5d45260b34482048cbf6e0de65d37da093e4bc22c4cfc6bd660'
5
5
  SHA512:
6
- metadata.gz: 555f3a8a2742354203c59c81de5a1d57677b9c5f49593d55bd5e2cedb736ea548c5934eef1226604460b43b7da691738fc913c9bbf39c87591015dd52b526044
7
- data.tar.gz: e377b5d9f4624ba9cfd138182359a5d0c7a028f7ce14e7959ca607f6112fdd550eab4d9fe7a9adffdcf3949cbf80183cb6b6a3acac6248be7af67e08fae6a23d
6
+ metadata.gz: 58c96bba4425230243540507f72cf431733984b7b4f4c964c511b074f778fb85a573a210e88f29c92336aec68b44d22345ba5e1923688ed26442f924f0688c3e
7
+ data.tar.gz: 536383c0b4594f4458dcb34c70e9fba7b920716617def835ad855eb2f9178e8124b2747ba18cc1cd3a7c169bd7df3e043d9e0995dc25985242a4a368ad6dd53a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Workhorse Changelog
2
2
 
3
+ ## 0.6.7 - 2020-04-07
4
+
5
+ * Fix error where processes may have mistakenly been detected as running.
6
+
3
7
  ## 0.6.6 - 2020-04-06
4
8
 
5
9
  * Fix error `No workers are defined.` when definining exactly 1 worker.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
@@ -162,7 +162,7 @@ module Workhorse
162
162
 
163
163
  def process?(pid)
164
164
  return begin
165
- Process.getpgid(pid)
165
+ Process.kill(0, pid)
166
166
  true
167
167
  rescue Errno::ESRCH
168
168
  false
data/workhorse.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: workhorse 0.6.6 ruby lib
2
+ # stub: workhorse 0.6.7 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "workhorse".freeze
6
- s.version = "0.6.6"
6
+ s.version = "0.6.7"
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-04-06"
11
+ s.date = "2020-04-07"
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.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sitrox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler