SimpleDelegator
A list of Gem::Dependency objects this gem depends on (includes every runtime or development dependency).
# File lib/gem2rpm/specification.rb, line 14 def dependencies super.map {|d| Gem2Rpm::Dependency.new d} end
A long description of gem wrapped to 78 characters.
# File lib/gem2rpm/specification.rb, line 8 def description Helpers::word_wrap(super.to_s.chomp, 78) + "\n" end
List of dependencies that are used for development.
# File lib/gem2rpm/specification.rb, line 19 def development_dependencies super.map {|d| Gem2Rpm::Dependency.new d} end
The license(s) for the library. Each license must be a short name, no more than 64 characters. Returns empty array if RubyGems does not provide the field.
# File lib/gem2rpm/specification.rb, line 26 def licenses super rescue [] end
The version of Ruby required by the gem. Returns array with empty string if the method is not provided by RubyGems yet.
# File lib/gem2rpm/specification.rb, line 39 def required_ruby_version @required_ruby_version ||= begin Helpers.requirement_versions_to_rpm(super) rescue [''] end end
The RubyGems version required by gem. For RubyGems < 0.9.5 returns only array with empty string. However, this should happen only in rare cases.
# File lib/gem2rpm/specification.rb, line 49 def required_rubygems_version @required_rubygems_version ||= begin Helpers::requirement_versions_to_rpm(super) rescue [''] end end
Generated with the Darkfish Rdoc Generator 2.