Class: Buildr::PackageGemTask

Inherits:
ArchiveTask show all
Defined in:
lib/buildr/packaging/gems.rb

Instance Method Summary collapse

Methods inherited from ArchiveTask

#clean, #contain?, #empty?, #exclude, #include, #invoke_prerequisites, #merge, #needed?, #path, #root, #with

Methods inherited from Rake::FileTask

#contain?, #empty?, #exist?

Constructor Details

#initialize(*args) ⇒ PackageGemTask

Returns a new instance of PackageGemTask.



22
23
24
25
# File 'lib/buildr/packaging/gems.rb', line 22

def initialize(*args)
  super
  @spec = Gem::Specification.new
end

Instance Method Details

#spec {|@spec| ... } ⇒ Object

Yields:



27
28
29
30
# File 'lib/buildr/packaging/gems.rb', line 27

def spec
  yield @spec if block_given?
  @spec
end

#uploadObject



32
33
# File 'lib/buildr/packaging/gems.rb', line 32

def upload
end