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

Extract core extensions into a Utils module #2112

Merged
merged 4 commits into from Mar 4, 2014
Merged

Extract core extensions into a Utils module #2112

merged 4 commits into from Mar 4, 2014

Conversation

parkr
Copy link
Member

@parkr parkr commented Mar 4, 2014

Fixes #2111

@@ -83,7 +83,9 @@ def self.configuration(override)
config = config.read_config_files(config.config_files(override))

# Merge DEFAULTS < _config.yml < override
config = config.deep_merge(override).stringify_keys
config = Utils.hash_stringify_keys(
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps we could use stringify_hash_keys instead? It seems to read better at least. stringify_keys would also be good.

Copy link
Member Author

Choose a reason for hiding this comment

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

Totally fine to rename the functions – stringify_hash_keys is a bit cleaner.

Copy link
Member

Choose a reason for hiding this comment

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

I only struck through it because you already released the new version of the sass converter.

Copy link
Member Author

Choose a reason for hiding this comment

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

We can release as many versions as we want! If it's better for future maintainability, let's switch it up. If it were manual labour and incredibly difficult, I'd say let's ignore it, but I have yet to break a sweat coding so it can't be that hard. :)

@parkr parkr added this to the 2.0 milestone Mar 4, 2014
@parkr parkr added Feature and removed Feature labels Mar 4, 2014
@parkr parkr self-assigned this Mar 4, 2014
parkr added a commit that referenced this pull request Mar 4, 2014
@parkr parkr merged commit 2985758 into master Mar 4, 2014
@parkr parkr deleted the no-core-ext branch March 4, 2014 22:01
parkr added a commit that referenced this pull request Mar 4, 2014
@mattr-
Copy link
Member

mattr- commented Mar 4, 2014

❤️

@benbalter
Copy link
Contributor

approval

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

symbolize_keys core extension breaks Rails routing
4 participants