--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Ruby Gem::Specification containing the metadata for this package. The name, version and package_files are automatically determined from the gemspec and don't need to be explicitly provided.
  name: gem_spec
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Create a package based upon a Gem::Specification. Gem packages, as well as zip files and tar/gzipped packages can be produced by this task.
- !ruby/struct:SM::Flow::P 
  body: "In addition to the Rake targets generated by Rake::PackageTask, a Gem::PackageTask will also generate the following tasks:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: <b>"<em>package_dir</em>/<em>name</em>-<em>version</em>.gem"</b>
    body: Create a RubyGems package with the given name and version.
  type: :LABELED
- !ruby/struct:SM::Flow::P 
  body: "Example using a Gem::Specification:"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'rubygems'\n  require 'rubygems/package_task'\n\n  spec = Gem::Specification.new do |s|\n    s.platform = Gem::Platform::RUBY\n    s.summary = &quot;Ruby based make-like utility.&quot;\n    s.name = 'rake'\n    s.version = PKG_VERSION\n    s.requirements &lt;&lt; 'none'\n    s.require_path = 'lib'\n    s.autorequire = 'rake'\n    s.files = PKG_FILES\n    s.description = &lt;&lt;-EOF\n  Rake is a Make-like program implemented in Ruby. Tasks\n  and dependencies are specified in standard Ruby syntax.\n    EOF\n  end\n\n  Gem::PackageTask.new(spec) do |pkg|\n    pkg.need_zip = true\n    pkg.need_tar = true\n  end\n"
constants: []

full_name: Gem::PackageTask
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: define
- !ruby/object:RI::MethodSummary 
  name: gem_file
- !ruby/object:RI::MethodSummary 
  name: init
name: PackageTask
superclass: Rake::PackageTask
