sidekiq 2.5.0 → 2.5.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 +5 -0
- data/lib/sidekiq/core_ext.rb +6 -6
- data/lib/sidekiq/version.rb +1 -1
- metadata +1 -1
data/Changes.md
CHANGED
data/lib/sidekiq/core_ext.rb
CHANGED
@@ -55,13 +55,13 @@ begin
|
|
55
55
|
require 'active_support/core_ext/hash/keys'
|
56
56
|
rescue LoadError
|
57
57
|
class Hash
|
58
|
-
def stringify_keys
|
59
|
-
|
60
|
-
|
58
|
+
def stringify_keys
|
59
|
+
keys.each do |key|
|
60
|
+
self[key.to_s] = delete(key)
|
61
61
|
end
|
62
|
-
|
62
|
+
self
|
63
63
|
end
|
64
|
-
end if !{}.
|
64
|
+
end if !{}.respond_to?(:stringify_keys)
|
65
65
|
end
|
66
66
|
|
67
67
|
begin
|
@@ -78,7 +78,7 @@ rescue LoadError
|
|
78
78
|
end
|
79
79
|
constant
|
80
80
|
end
|
81
|
-
end if !"".
|
81
|
+
end if !"".respond_to?(:constantize)
|
82
82
|
end
|
83
83
|
|
84
84
|
|
data/lib/sidekiq/version.rb
CHANGED