sidekiq 3.5.3 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a076ed47c3e58390d72f982f31915c4d5d9a182c
4
- data.tar.gz: 10cebbed29725208e30f0a7870265d85a7678f8e
3
+ metadata.gz: d09c0753f21b76f14daf02a88f5490fc1b06858a
4
+ data.tar.gz: e7edc849a6a2cd7d471976d770b0f2937eafff98
5
5
  SHA512:
6
- metadata.gz: 79ebfbf52a637b88236867050aedbf82b8619ff229e9e17deda1f3c7255cb4713b3a5a5fd6193daa36300daec923a171d67f76f23dd8d16af5e8cc215714aa55
7
- data.tar.gz: 24cd6ec3cabc9b55a14026b96d19b33313940bab2a80f966e6026f3e4f75752c129e4957848106dd97b2b549545d5bd144ad4ec742657c2d59e773e1dbaf41bd
6
+ metadata.gz: 50ba2a1930ba127f8f9bebe250184c456ccc5fec7ed64df338fab31ce741bfe518e594e3b21eced6fe88d87ed622214ee5a99382f7d13f02ef782c25a25f798b
7
+ data.tar.gz: 06c9547502b98dbc17ab95d32e6313d7121fa6072e4fb78c63b84380390a4dec17cff796fa3b57a4f27437ea011b999beca61b59e5be1cd2f28a56df58cde918
data/Changes.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Sidekiq Changes
2
2
 
3
+ 3.5.4
4
+ -----------
5
+
6
+ - Ensure exception message is a string [#2707]
7
+ - Revert racy Process.kill usage in sidekiqctl
8
+
3
9
  3.5.3
4
10
  -----------
5
11
 
@@ -60,11 +60,11 @@ class Sidekiqctl
60
60
  end
61
61
 
62
62
  def quiet
63
- Process.kill(:USR1, pid)
63
+ `kill -USR1 #{pid}`
64
64
  end
65
65
 
66
66
  def stop
67
- Process.kill(:TERM, pid)
67
+ `kill -TERM #{pid}`
68
68
  kill_timeout.times do
69
69
  begin
70
70
  Process.getpgid(pid)
@@ -74,7 +74,7 @@ class Sidekiqctl
74
74
  end
75
75
  sleep 1
76
76
  end
77
- Process.kill(:KILL, pid)
77
+ `kill -9 #{pid}`
78
78
  FileUtils.rm_f pidfile
79
79
  done 'Sidekiq shut down forcefully.'
80
80
  end
@@ -96,7 +96,7 @@ module Sidekiq
96
96
 
97
97
  # App code can stuff all sorts of crazy binary data into the error message
98
98
  # that won't convert to JSON.
99
- m = exception.message[0..10_000]
99
+ m = exception.message.to_s[0, 10_000]
100
100
  if m.respond_to?(:scrub!)
101
101
  m.force_encoding("utf-8")
102
102
  m.scrub!
@@ -1,3 +1,3 @@
1
1
  module Sidekiq
2
- VERSION = "3.5.3"
2
+ VERSION = "3.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-31 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -378,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
378
378
  version: '0'
379
379
  requirements: []
380
380
  rubyforge_project:
381
- rubygems_version: 2.4.5
381
+ rubygems_version: 2.5.1
382
382
  signing_key:
383
383
  specification_version: 4
384
384
  summary: Simple, efficient background processing for Ruby