sidekiq 2.14.0 → 2.14.1

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.

data/Changes.md CHANGED
@@ -1,3 +1,9 @@
1
+ 2.14.1
2
+ -----------
3
+
4
+ - Fix misc Web UI issues due to ERB conversion.
5
+ - Bump redis-namespace version due to security issue.
6
+
1
7
  2.14.0
2
8
  -----------
3
9
 
@@ -85,23 +85,23 @@ module Sidekiq
85
85
  def insert_before(oldklass, newklass, *args)
86
86
  i = entries.index { |entry| entry.klass == newklass }
87
87
  new_entry = i.nil? ? Entry.new(newklass, *args) : entries.delete_at(i)
88
- i = entries.find_index { |entry| entry.klass == oldklass } || 0
88
+ i = entries.index { |entry| entry.klass == oldklass } || 0
89
89
  entries.insert(i, new_entry)
90
90
  end
91
91
 
92
92
  def insert_after(oldklass, newklass, *args)
93
93
  i = entries.index { |entry| entry.klass == newklass }
94
94
  new_entry = i.nil? ? Entry.new(newklass, *args) : entries.delete_at(i)
95
- i = entries.find_index { |entry| entry.klass == oldklass } || entries.count - 1
95
+ i = entries.index { |entry| entry.klass == oldklass } || entries.count - 1
96
96
  entries.insert(i+1, new_entry)
97
97
  end
98
98
 
99
99
  def exists?(klass)
100
- entries.any? { |entry| entry.klass == klass }
100
+ any? { |entry| entry.klass == klass }
101
101
  end
102
102
 
103
103
  def retrieve
104
- entries.map(&:make_new)
104
+ map(&:make_new)
105
105
  end
106
106
 
107
107
  def clear
@@ -1,3 +1,3 @@
1
1
  module Sidekiq
2
- VERSION = "2.14.0"
2
+ VERSION = "2.14.1"
3
3
  end
@@ -15,14 +15,14 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Sidekiq::VERSION
17
17
  gem.add_dependency 'redis', '>= 3.0.4'
18
- gem.add_dependency 'redis-namespace'
18
+ gem.add_dependency 'redis-namespace', '>= 1.3.1'
19
19
  gem.add_dependency 'connection_pool', '>= 1.0.0'
20
20
  gem.add_dependency 'celluloid', '>= 0.14.1'
21
21
  gem.add_dependency 'json'
22
22
  gem.add_development_dependency 'sinatra'
23
23
  gem.add_development_dependency 'minitest', '~> 5'
24
24
  gem.add_development_dependency 'rake'
25
- gem.add_development_dependency 'actionmailer'
26
- gem.add_development_dependency 'activerecord'
25
+ gem.add_development_dependency 'actionmailer', '>= 3.0.0'
26
+ gem.add_development_dependency 'activerecord', '>= 3.0.0'
27
27
  gem.add_development_dependency 'coveralls'
28
28
  end
@@ -10,7 +10,7 @@
10
10
  <tr>
11
11
  <td><%= worker %></td>
12
12
  <td>
13
- <a href="<%= root_path %>queues/<%= msg['queue'] %>">= msg['queue'] %></a>
13
+ <a href="<%= root_path %>queues/<%= msg['queue'] %>"><%= msg['queue'] %></a>
14
14
  </td>
15
15
 
16
16
  <td><%= msg['payload']['class'] %></td>
@@ -54,6 +54,6 @@
54
54
  <% if @redis_info.fetch("used_memory_peak_human", nil) %>
55
55
  <div class="stat">
56
56
  <h3 class="used_memory_peak_human"><%= @redis_info.fetch("used_memory_peak_human") %></h3>
57
- <p><%= @redis_info.fetch("used_memory_peak_human") %></p>
57
+ <p><%= t('PeakMemoryUsage') %></p>
58
58
  </div>
59
59
  <% end %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-25 00:00:00.000000000 Z
12
+ date: 2013-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 1.3.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 1.3.1
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: connection_pool
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ! '>='
148
148
  - !ruby/object:Gem::Version
149
- version: '0'
149
+ version: 3.0.0
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  requirements:
155
155
  - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
- version: '0'
157
+ version: 3.0.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: activerecord
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  requirements:
163
163
  - - ! '>='
164
164
  - !ruby/object:Gem::Version
165
- version: '0'
165
+ version: 3.0.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,7 +170,7 @@ dependencies:
170
170
  requirements:
171
171
  - - ! '>='
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: 3.0.0
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: coveralls
176
176
  requirement: !ruby/object:Gem::Requirement