Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

only parse specs as YAML if they look like YAML files #2130

Merged
merged 1 commit into from Oct 25, 2012
Merged

only parse specs as YAML if they look like YAML files #2130

merged 1 commit into from Oct 25, 2012

Conversation

tenderlove
Copy link
Contributor

Ruby gemspecs generally aren't YAML files. We can save time by doing a quick check for YAML specs and skipping the YAML parse if it obviously ins't a YAML file.

@indirect
Copy link
Member

Nice catch. Thanks. :)

indirect added a commit that referenced this pull request Oct 25, 2012
only parse specs as YAML if they look like YAML files
@indirect indirect merged commit 1d3b197 into rubygems:master Oct 25, 2012
@nikosd
Copy link

nikosd commented Nov 3, 2012

Is this going to be released anytime soon? I'm asking cause the old version was not handling Psych::SyntaxError at all and with ruby 2.0.0-preview and libyaml basically you can't do a simple bundle install on some cases...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants