[Abtlinux-svn] SF.net SVN: abtlinux: [94] src/trunk
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2006-05-17 12:31:15
|
Revision: 94 Author: eschabell Date: 2006-05-17 05:30:57 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=94&view=rev Log Message: ----------- Added placeholders for protected, private and public methods. Regenerated docs. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/Package.rb 2006-05-17 12:30:57 UTC (rev 94) @@ -30,76 +30,76 @@ class Package - attr_reader :name, :version, :srcfile - attr_reader :srcdir, :srcurl, :integrity - attr_reader :url, :licence, :description + protected -protected + private -private + public + + attr_reader :name, :version, :srcfile + attr_reader :srcdir, :srcurl, :integrity + attr_reader :url, :licence, :description + + ## + # Provides all the data needed for this package. + # + # <b>RETURNS:</b> <i>hash</i> - Contains all package attributes. + ## + def details + end + + ## + # Preliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. + ## + def pre + end + + ## + # Here we manage the ./configure step (or equivalent). We need to give ./configure + # (or autogen.sh, or whatever) the correct options so files are to be placed later in the + # right directories, so doc files and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in case there are optionnal + # dependencies. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def configure + end + + ## + # Here is where the actual builing of the software starts, for example running 'make'. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def build + end + + ## + # Any actions needed before the installation can occur will happen here, such as creating + # new user accounts, dealing with existing configuration files, etc. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def preinstall + end -public + ## + # All files to be installed are installed here. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def install + end - ## - # Provides all the data needed for this package. - # - # <b>RETURNS:</b> <i>hash</i> - Contains all package information. - ## - def details - end - - ## - # Preliminary work will happen here such as downloading the tarball, - # unpacking it, downloading and applying patches. - # - # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. - ## - def pre - end + ## + # Last bits of installation. adding the service for automatic start in init.d for example. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def post + end - ## - # Here we manage the ./configure step (or equivalent). We need to give ./configure - # (or autogen.sh, or whatever) the correct options so files are to be placed later in the - # right directories, so doc files and man pages are all in the same common location, etc. - # Don't forget too that it's here where we interact with the user in case there are optionnal - # dependencies. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def configure - end - - ## - # Here is where the actual builing of the software starts, for example running 'make'. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def build - end - - ## - # Any actions needed before the installation can occur will happen here, such as creating - # new user accounts, dealing with existing configuration files, etc. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def preinstall - end - - ## - # All files to be installed are installed here. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def install - end - - ## - # Last bits of installation. adding the service for automatic start in init.d for example. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def post - end - end Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/classes/Package.html 2006-05-17 12:30:57 UTC (rev 94) @@ -219,8 +219,8 @@ <div id="M000004_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 77</span> -77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -78: <span class="ruby-keyword kw">end</span> +77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +78: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -248,8 +248,8 @@ <div id="M000003_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 69</span> -69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -70: <span class="ruby-keyword kw">end</span> +69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +70: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -263,7 +263,7 @@ Provides all the data needed for this package. </p> <p> -<b>RETURNS:</b> <em>hash</em> - Contains all package information. +<b>RETURNS:</b> <em>hash</em> - Contains all package attributes. </p> </div> <div class="sourcecode"> @@ -271,8 +271,8 @@ <div id="M000001_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 48</span> -48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -49: <span class="ruby-keyword kw">end</span> +48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +49: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -295,8 +295,8 @@ <div id="M000006_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -95: <span class="ruby-keyword kw">end</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -320,8 +320,8 @@ <div id="M000007_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 102</span> -102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -103: <span class="ruby-keyword kw">end</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +103: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -345,8 +345,8 @@ <div id="M000002_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 57</span> -57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -58: <span class="ruby-keyword kw">end</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +58: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -371,8 +371,8 @@ <div id="M000005_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 86</span> -86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -87: <span class="ruby-keyword kw">end</span> +86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +87: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/created.rid 2006-05-17 12:30:57 UTC (rev 94) @@ -1 +1 @@ -Wed May 17 13:57:45 CEST 2006 +Wed May 17 14:25:32 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 12:30:57 UTC (rev 94) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 13:57:36 CEST 2006</td> + <td>Wed May 17 14:25:14 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |