Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Fix for bug in syck causing install to fail when gem packaged w/ psych

  • Loading branch information...
commit 4726990073bbce3384032880d789c08eada4b8ad 1 parent d599bac
Ryan Davis zenspider authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  lib/rubygems/requirement.rb
3  lib/rubygems/requirement.rb
@@ -131,7 +131,8 @@ def pretty_print q # :nodoc:
131 131 # True if +version+ satisfies this Requirement.
132 132
133 133 def satisfied_by? version
134   - requirements.all? { |op, rv| OPS[op].call version, rv }
  134 + # #28965: syck has a bug with unquoted '=' YAML.loading as YAML::DefaultKey
  135 + requirements.all? { |op, rv| (OPS[op] || OPS["="]).call version, rv }
135 136 end
136 137
137 138 def to_s # :nodoc:

0 comments on commit 4726990

Please sign in to comment.
Something went wrong with that request. Please try again.