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

Commit

Permalink
Implement Dependency#specific? for use with rubygems <= 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Ahearn committed May 29, 2013
1 parent 0453aa5 commit a3c7fe4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/bundler/dependency.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ def to_lock
out << "\n"
end


def specific?
super
rescue NoMethodError
requirement != ">= 0"
end

private

def on_18?
Expand Down

0 comments on commit a3c7fe4

Please sign in to comment.