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

Remove ActiveSupport dependency #5

Merged
merged 3 commits into from
Feb 6, 2018

Conversation

josephbridgwaterrowe
Copy link
Member

Remove the ActiveSupport dependency as this was requiring using
projects to be Rails 5, which of course won't work well with a
Rails 4 app.

Remove the ActiveSupport dependency as this was requiring using
projects to be Rails 5, which of course won't work well with a
Rails 4 app.
lib/hash.rb Outdated
result_hash = {}
if node.attributes != {}
attributes = {}
node.attributes.keys.each do |key|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use each_key instead of keys.each.

@josephbridgwaterrowe josephbridgwaterrowe merged commit 4595b6b into master Feb 6, 2018
@storres-westernmilling storres-westernmilling deleted the remove-active-support-dependency branch June 7, 2022 22:11
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.

3 participants