Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed buggy GemDependency#requirement override. Overrides should NE…

…VER change the semantics of the parent (returning nil if default).
  • Loading branch information...
commit c20a4d18e36a13b5eea3155beba36bb582c0cc87 1 parent 01a9fbb
@zenspider zenspider authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 railties/lib/rails/gem_dependency.rb
View
12 railties/lib/rails/gem_dependency.rb
@@ -117,18 +117,6 @@ def specification=(s)
@spec = s
end
- if method_defined?(:requirement)
- def requirement
- req = super
- req unless req == Gem::Requirement.default
- end
- else
- def requirement
- req = version_requirements
- req unless req == Gem::Requirement.default
- end
- end
-
def built?
return false unless frozen?
Please sign in to comment.
Something went wrong with that request. Please try again.