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 Custom Strategy #25

Merged
merged 1 commit into from
Dec 4, 2015
Merged

Fix Custom Strategy #25

merged 1 commit into from
Dec 4, 2015

Conversation

nettofarah
Copy link
Contributor

This fixes a bug caused by #17 where
fields weren't being translated to a hash after being passed on to

Polo.configure do
  obfuscate(...)
end

This commit adds the ability to Polo::Configuration#obfuscate to
convert Arrays, Hashes and varargs to Hashes of the format:

{ field_name => custom_strategy }

fixes #24

This fixes a bug caused by #17 where
fields weren't being translated to a hash after being passed on to

Polo.configure do
 obfuscate(...)
end

This commit adds the ability to Polo::Configuration#obfuscate to
convert Arrays, Hashes and varargs to Hashes of the format:
{ field_name => custom_strategy }.
nettofarah added a commit that referenced this pull request Dec 4, 2015
@nettofarah nettofarah merged commit 8d926aa into master Dec 4, 2015
@nettofarah nettofarah deleted the fix-custom-strategies branch December 4, 2015 22:36
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.

obfuscate does not work with lambda
1 participant