Parent

Methods

Class Index [+]

Quicksearch

Postage::Specification

Public Class Methods

info() click to toggle source

(Not documented)

    # File lib/postage/specification.rb, line 6
 6:   def self.info
 7:     @spec ||= new do |spec|
 8:       spec.platform = Gem::Platform::RUBY
 9:       spec.version  = Version.tag
10:       spec.date     = Version.info.date
11: 
12:       About.info.marshal_dump.each do |info, value|
13:         spec.send("#{info}=", value) if spec.respond_to? "#{info}="
14:       end
15: 
16:       About.info.dependencies.each do |name, version|
17:         spec.add_dependency name, version
18:       end if About.info.dependencies
19: 
20:       spec.require_paths = %w[lib]
21:       spec.files = manifest
22:       spec.test_files = spec.files.select{ |path| path =~ /^test\/*test\.rb/ }
23: 
24:       spec.has_rdoc = true
25:       spec.extra_rdoc_files = %w[README LICENSE]
26: 
27:       spec.rdoc_options = ["--line-numbers", "--inline-source", "--title", name.sub(/::.*/,''), "--main", "README"]
28:       spec.rubyforge_project = spec.name
29:       spec.rubygems_version = "1.3.3"
30:     end
31:   end
manifest() click to toggle source

(Not documented)

    # File lib/postage/specification.rb, line 33
33:   def self.manifest
34:     `git ls-files`.split.sort.reject{ |out| out =~ /^\./ || out =~ /^doc/ }
35:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.