Object
# File lib/bundler/lazy_specification.rb, line 47 def __materialize__ @specification = source.specs.search(Gem::Dependency.new(name, version)).last end
# File lib/bundler/lazy_specification.rb, line 20 def full_name if platform == Gem::Platform::RUBY or platform.nil? then "#{@name}-#{@version}" else "#{@name}-#{@version}-#{platform}" end end
# File lib/bundler/lazy_specification.rb, line 51 def respond_to?(*args) super || @specification.respond_to?(*args) end
# File lib/bundler/lazy_specification.rb, line 28 def satisfies?(dependency) @name == dependency.name && dependency.requirement.satisfied_by?(Gem::Version.new(@version)) end
# File lib/bundler/lazy_specification.rb, line 32 def to_lock if platform == Gem::Platform::RUBY or platform.nil? out = " #{name} (#{version})\n" else out = " #{name} (#{version}-#{platform})\n" end dependencies.sort_by {|d| d.name }.each do |dep| next if dep.type == :development out << " #{dep.to_lock}\n" end out end
Generated with the Darkfish Rdoc Generator 2.