| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Gem/PackageTask/ |
Upload File : |
U:RDoc::NormalClass[iI"PackageTask:ETI"Gem::PackageTask;TI"Rake::PackageTask;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"QCreate a package based upon a Gem::Specification. Gem packages, as well as ;TI"Ezip files and tar/gzipped packages can be produced by this task.;To:RDoc::Markup::BlankLine o; ;[I"GIn addition to the Rake targets generated by Rake::PackageTask, a ;TI"=Gem::PackageTask will also generate the following tasks:;T@o:RDoc::Markup::List: @type: LABEL:@items[o:RDoc::Markup::ListItem:@label[I"E<b>"<em>package_dir</em>/<em>name</em>-<em>version</em>.gem"</b>;T;[o; ;[I"?Create a RubyGems package with the given name and version.;T@o; ;[I"(Example using a Gem::Specification:;T@o:RDoc::Markup::Verbatim;[I"require 'rubygems' ;TI"%require 'rubygems/package_task' ;TI" ;TI"*spec = Gem::Specification.new do |s| ;TI"3 s.summary = "Ruby based make-like utility." ;TI" s.name = 'rake' ;TI" s.version = PKG_VERSION ;TI" s.requirements << 'none' ;TI" s.files = PKG_FILES ;TI" s.description = <<-EOF ;TI"<Rake is a Make-like program implemented in Ruby. Tasks ;TI"=and dependencies are specified in standard Ruby syntax. ;TI" EOF ;TI" end ;TI" ;TI")Gem::PackageTask.new(spec) do |pkg| ;TI" pkg.need_zip = true ;TI" pkg.need_tar = true ;TI"end;T:@format0: @fileI"!lib/rubygems/package_task.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I" gem_spec;TI"RW;T:publicFI"!lib/rubygems/package_task.rb;T[ [ [[I" class;T[[;[[I"new;T@=[:protected[ [:private[ [I" instance;T[[;[[I"define;F@=[I" init;F@=[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@8@8cRDoc::TopLevel