Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: backport the fix for the return value of #deep_transform_keys #750

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

fixtheclouds
Copy link
Contributor

@fixtheclouds fixtheclouds commented Dec 30, 2022

The behavior of Hash#deep_transform_keys was fixed in Rails a while ago, but is still not up-to-date in sidekiq-unique-jobs, returning unexpected instance class when you call it on descendants of Hash like ActiveSupport::HashWithIndifferentAccess. Futhermore, the gem is able to monkey-patch Hash implementation and break the method behavior if it gets loaded before ActiveSupport::HashWithIndifferentAccess.

The original fix: rails/rails@f5e5976

@mhenrixon mhenrixon enabled auto-merge (squash) January 30, 2023 08:37
@mhenrixon mhenrixon merged commit b7b08d8 into mhenrixon:main Jan 30, 2023
mhenrixon pushed a commit that referenced this pull request Jul 14, 2023
)

Backport fix the return value of #deep_transform_keys
mhenrixon added a commit that referenced this pull request Jul 14, 2023
* Fix active worker detection by using correct keys (#756)

Rename keys from :workers to :work since that's correct name set in Redis

* chore(lint): fix linter issues

* fix(unlock): ensure callback and unlock (#771)

* chore(deps): update gems (solargraph is awesome)

* fix(unlock): ensure unlock and callback runs

* chore(lint): lint'em real good
# Conflicts:
#	.github/workflows/rspec.yml
#	myapp/.tool-versions

* fix: backport the fix for the return value of #deep_transform_keys (#750)

Backport fix the return value of #deep_transform_keys

* Hide lock info debug suggestion on lock page if it's already enabled. (#763)

only show lock info suggestion if value is not already on

* chore(v7): backport fixes from v8

* chore(ci): backport ci changes from v8

---------

Co-authored-by: Dominik Szromik <dodox360@gmail.com>
Co-authored-by: Egor Romanov <unsaidxpl@gmail.com>
Co-authored-by: Jeremiah <jeremiahchurch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants