Mike Perham
1b3f70a1e5
Move class_attribute impl into Sidekiq::Worker
2017-05-15 14:57:03 -07:00
Mike Perham
df99ca982e
Remove Hash#{stringify,symbolize}_keys, #3474
2017-05-15 14:57:03 -07:00
Mike Perham
f9781e1bac
Move constantize to Sidekiq::Util, #3474
...
I don’t believe we need the Psych patch anymore because Sidekiq 5 guarantees that jobs are executed within Rails::Executor so classes should load as normal. This was not the case back in early 4.2.x, 4.2.0, 4.2.1, etc.
2017-05-15 14:57:03 -07:00
Mike Perham
1399963eb0
It turns out that a deep merge isn’t required, #3474
...
All locale files are a top-level locale key with a Hash of (key, string) translations, nothing more iirc.
2017-05-15 14:57:03 -07:00
Mike Perham
73448e2e5f
We don’t appear to use silence_warnings anymore, #3474
2017-05-15 14:57:03 -07:00
Mike Perham
0c53921fc5
Pull in latest class_attribute to fix warnings when not using Rails
2017-05-01 12:07:10 -07:00
Mike Perham
de477440e8
Add supress_warnings API, so we can quietly redefine methods in Pro/Ent
2016-11-23 14:25:41 -08:00
Mike Perham
2c9f7662fc
Freeze all string literals in source, fixes #2741
...
Tests pass and smoke test works perfectly.
2015-12-31 15:33:35 -08:00
Anton Davydov
df57a68e5e
Revert using #each_key
2015-04-11 00:44:57 +03:00
Anton Davydov
4d389424e4
Use Hash#each_key instead of Hash#keys.each
2015-04-05 14:50:20 +03:00
Peter M. Goldstein
1379f5093e
Address assorted warnings
2014-03-19 17:47:08 -07:00
Mike Perham
0da83d6c8d
revert rails 2.3 tweak
2013-11-13 19:44:25 -08:00
Will Sulzer
65bafb18e6
Added a comment to describe reason for NameError rescuing in core_ext.
2013-11-13 14:55:52 -08:00
Will Sulzer
6d3a206ffe
Added rescue from NameError to the require ActiveSupport Inflections to provide (unofficial) support for the sidekiq process for Rails 2.3
2013-11-13 14:25:46 -08:00
Mike Perham
ea42d5636c
Allow dynamic sidekiq-web locale paths, for localized extensions, fixes #1261
2013-10-21 12:07:18 -07:00
Mike Perham
91518ec870
Add symbolize_keys core ext
2012-12-30 13:33:06 -08:00
Michael Franzkowiak
651068ad9b
Fix stringify_keys does not take an argument.
2012-10-30 20:31:59 +01:00
Michael Franzkowiak
8a7851cf89
Fix typo.
2012-10-30 20:31:47 +01:00
Mike Perham
f04e1ecbec
Use core_ext for constantize and stringify_keys
2012-10-27 12:48:34 -07:00
Mike Perham
0addaba4a6
Enable proper inheritance of sidekiq options in worker subclasses [ #221 ]
2012-06-16 20:58:07 -07:00