diff options
author | Ryan Ahearn <ryan@coshx.com> | 2013-05-29 09:14:26 -0400 |
---|---|---|
committer | Ryan Ahearn <ryan@coshx.com> | 2013-05-29 09:14:26 -0400 |
commit | a3c7fe43c42197ed6bacdda7917f48305cc459f9 (patch) | |
tree | a8e546a2859ec81bc5301d40369e256dbcd9de05 /lib/bundler/dependency.rb | |
parent | 0453aa5e8868bf1ed3487e66d3691b28b965dce8 (diff) | |
download | bundler-a3c7fe43c42197ed6bacdda7917f48305cc459f9.tar.gz |
Implement Dependency#specific? for use with rubygems <= 1.7.2
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r-- | lib/bundler/dependency.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb index 7f153f23..aa5681fe 100644 --- a/lib/bundler/dependency.rb +++ b/lib/bundler/dependency.rb @@ -79,6 +79,13 @@ module Bundler out << "\n" end + + def specific? + super + rescue NoMethodError + requirement != ">= 0" + end + private def on_18? |