Closed fabioperrella closed 4 years ago
The Travis tests fail because pry-byebug
depends on Ruby 2.4. I suggest to separate the pry-byebug
and example_status_persistence_file_path
changes into separate PRs so they can be discussed and possibly merged independently.
The Travis tests fail because
pry-byebug
depends on Ruby 2.4. I suggest to separate thepry-byebug
andexample_status_persistence_file_path
changes into separate PRs so they can be discussed and possibly merged independently.
@martijnvermaat done! I will create another PR with these commits
tks @julik for all the comments!!
🎩 My pleasure! Will approve once tests are green
🎩 My pleasure! Will approve once tests are green
I messed up a test! Now that I fixed it, it will be green! :)
Hi folks! This is my 1st PR in this project.
If I did something wrong, please tell me!!
Motivation
fix #151
Proposal
HashUtils.deep_transform_keys
copied from the activesupport source codeI chose to not add
activesupport
as a dependency because it is good to have the least number of dependencies!HashUtils.deep_transform_keys
to transform all the keys of the hash generated byas_json
to a StringI chose to add the option
stringify_keys
on#as_json
for backward compatibility. I also added info about it on README