RuPac 0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. data/doc/classes/RuPacRemove.html +127 -0
  2. data/doc/classes/RuPacRemove/PacRemove.html +473 -0
  3. data/doc/classes/RuPacRemove/PacRemove.src/M000008.html +18 -0
  4. data/doc/classes/RuPacRemove/PacRemove.src/M000009.html +24 -0
  5. data/doc/classes/RuPacRemove/PacRemove.src/M000010.html +24 -0
  6. data/doc/classes/RuPacRemove/PacRemove.src/M000011.html +24 -0
  7. data/doc/classes/RuPacRemove/PacRemove.src/M000012.html +24 -0
  8. data/doc/classes/RuPacRemove/PacRemove.src/M000013.html +24 -0
  9. data/doc/classes/RuPacRemove/PacRemove.src/M000014.html +24 -0
  10. data/doc/classes/RuPacRemove/PacRemove.src/M000015.html +24 -0
  11. data/doc/classes/RuPacRemove/PacRemove.src/M000016.html +24 -0
  12. data/doc/classes/RuPacRemove/PacRemove.src/M000017.html +24 -0
  13. data/doc/classes/RuPacRemove/PacRemove.src/M000018.html +24 -0
  14. data/doc/classes/RuPacRemove/PacRemove.src/M000019.html +24 -0
  15. data/doc/classes/RuPacRemove/PacRemove.src/M000020.html +24 -0
  16. data/doc/classes/RuPacRemove/PacRemove.src/M000021.html +24 -0
  17. data/doc/classes/RuPacRemove/PacRemove.src/M000022.html +24 -0
  18. data/doc/classes/RuPacRemove/PacRemove.src/M000023.html +24 -0
  19. data/doc/classes/RuPacSync.html +119 -0
  20. data/doc/classes/RuPacSync/PacSync.html +280 -0
  21. data/doc/classes/RuPacSync/PacSync.src/M000024.html +19 -0
  22. data/doc/classes/RuPacSync/PacSync.src/M000025.html +24 -0
  23. data/doc/classes/RuPacSync/PacSync.src/M000026.html +24 -0
  24. data/doc/classes/RuPacSync/PacSync.src/M000027.html +24 -0
  25. data/doc/classes/RuPacSync/PacSync.src/M000028.html +24 -0
  26. data/doc/classes/RuPacSync/PacSync.src/M000029.html +24 -0
  27. data/doc/classes/RuPacSync/PacSync.src/M000030.html +24 -0
  28. data/doc/classes/Rupac.html +124 -0
  29. data/doc/classes/Rupac/Pacman.html +283 -0
  30. data/doc/classes/Rupac/Pacman.src/M000001.html +19 -0
  31. data/doc/classes/Rupac/Pacman.src/M000002.html +22 -0
  32. data/doc/classes/Rupac/Pacman.src/M000003.html +22 -0
  33. data/doc/classes/Rupac/Pacman.src/M000004.html +21 -0
  34. data/doc/classes/Rupac/Pacman.src/M000005.html +21 -0
  35. data/doc/classes/Rupac/Pacman.src/M000006.html +18 -0
  36. data/doc/classes/Rupac/Pacman.src/M000007.html +45 -0
  37. data/doc/classes/Rupac/Pacman/PacSync.html +254 -0
  38. data/doc/classes/Rupac/Pacman/PacSync.src/M000003.html +18 -0
  39. data/doc/classes/Rupac/Pacman/PacSync.src/M000004.html +25 -0
  40. data/doc/classes/Rupac/Pacman/PacSync.src/M000005.html +24 -0
  41. data/doc/classes/Rupac/Pacman/PacSync.src/M000006.html +25 -0
  42. data/doc/classes/Rupac/Pacman/PacSync.src/M000007.html +24 -0
  43. data/doc/classes/Rupac/Pacman/PacSync.src/M000008.html +24 -0
  44. data/doc/classes/Rupac/Pacman/PacSync.src/M000009.html +24 -0
  45. data/doc/created.rid +1 -0
  46. data/doc/dot/f_0.dot +48 -0
  47. data/doc/dot/f_0.png +0 -0
  48. data/doc/dot/f_1.dot +58 -0
  49. data/doc/dot/f_1.png +0 -0
  50. data/doc/dot/f_2.dot +39 -0
  51. data/doc/dot/f_2.png +0 -0
  52. data/doc/dot/m_0_0.dot +48 -0
  53. data/doc/dot/m_0_0.png +0 -0
  54. data/doc/dot/m_1_0.dot +58 -0
  55. data/doc/dot/m_1_0.png +0 -0
  56. data/doc/dot/m_2_0.dot +39 -0
  57. data/doc/dot/m_2_0.png +0 -0
  58. data/doc/files/rupac_rb.html +119 -0
  59. data/doc/files/rupacremove_rb.html +117 -0
  60. data/doc/files/rupacsync_rb.html +123 -0
  61. data/doc/fr_class_index.html +32 -0
  62. data/doc/fr_file_index.html +29 -0
  63. data/doc/fr_method_index.html +56 -0
  64. data/doc/index.html +24 -0
  65. data/lib/rupac.rb +116 -0
  66. data/lib/rupacremove.rb +206 -0
  67. data/lib/rupacsync.rb +95 -0
  68. metadata +123 -0
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>install (Rupac::Pacman::PacSync)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File rupac.rb, line 90</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">packs</span> )
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@lock</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;no&quot;</span>
16
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;yes&quot;</span>
17
+ <span class="ruby-identifier">exec</span>( <span class="ruby-node">&quot;#{@command} #{packs.join(' ')}&quot;</span> )
18
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;no&quot;</span>
19
+ <span class="ruby-keyword kw">else</span>
20
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Already another instance of pacman
21
+ going!&quot;</span>
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-keyword kw">end</span></pre>
24
+ </body>
25
+ </html>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>oldClean (Rupac::Pacman::PacSync)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File rupac.rb, line 103</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">oldClean</span>
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@lock</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;no&quot;</span>
16
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;yes&quot;</span>
17
+ <span class="ruby-identifier">exec</span>( <span class="ruby-node">&quot;#{@command}c&quot;</span> )
18
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;no&quot;</span>
19
+ <span class="ruby-keyword kw">else</span>
20
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Already another instance of pacman going&quot;</span>
21
+ <span class="ruby-keyword kw">end</span>
22
+ <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>allClean (Rupac::Pacman::PacSync)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File rupac.rb, line 115</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">allClean</span>
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@lock</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;no&quot;</span>
16
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;yes&quot;</span>
17
+ <span class="ruby-identifier">exec</span>( <span class="ruby-node">&quot;#{@command}cc&quot;</span> )
18
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;no&quot;</span>
19
+ <span class="ruby-keyword kw">else</span>
20
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Already another instance of pacman going&quot;</span>
21
+ <span class="ruby-keyword kw">end</span>
22
+ <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>downOnly (Rupac::Pacman::PacSync)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File rupac.rb, line 127</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downOnly</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">packs</span> )
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@lock</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;no&quot;</span>
16
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;yes&quot;</span>
17
+ <span class="ruby-identifier">exec</span>( <span class="ruby-node">&quot;#{@command}w #{packs.join(' ')}&quot;</span> )
18
+ <span class="ruby-ivar">@@lock</span> = <span class="ruby-value str">&quot;no&quot;</span>
19
+ <span class="ruby-keyword kw">else</span>
20
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Already another instance of pacman going&quot;</span>
21
+ <span class="ruby-keyword kw">end</span>
22
+ <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -0,0 +1 @@
1
+ Tue Oct 17 19:12:10 EDT 2006
@@ -0,0 +1,48 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "rupacsync.rb"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ Pacman [
14
+ URL = "classes/Pacman.html",
15
+ label = "Pacman"
16
+ ]
17
+
18
+ Pacman -> RuPacSync__PacSync [
19
+
20
+ ]
21
+
22
+ subgraph cluster_RuPacSync {
23
+ fillcolor = palegreen1
24
+ URL = "classes/RuPacSync.html"
25
+ fontname = Arial
26
+ color = blue
27
+ label = "RuPacSync"
28
+ style = filled
29
+ RuPacSync [
30
+ shape = plaintext,
31
+ height = 0.01,
32
+ width = 0.01,
33
+ label = ""
34
+ ]
35
+
36
+ RuPacSync__PacSync [
37
+ fontcolor = black,
38
+ URL = "classes/RuPacSync/PacSync.html",
39
+ shape = ellipse,
40
+ color = palegoldenrod,
41
+ style = filled,
42
+ label = "PacSync"
43
+ ]
44
+
45
+ }
46
+
47
+ }
48
+
Binary file
@@ -0,0 +1,58 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "rupacremove.rb"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ Pacman [
14
+ URL = "classes/Pacman.html",
15
+ label = "Pacman"
16
+ ]
17
+
18
+ Pacman -> RuPacRemove__PacRemove [
19
+
20
+ ]
21
+
22
+ subgraph cluster_RuPacRemove {
23
+ fillcolor = palegreen1
24
+ URL = "classes/RuPacRemove.html"
25
+ fontname = Arial
26
+ color = blue
27
+ label = "RuPacRemove"
28
+ style = filled
29
+ RuPacRemove [
30
+ shape = plaintext,
31
+ height = 0.01,
32
+ width = 0.01,
33
+ label = ""
34
+ ]
35
+
36
+ RuPacRemove__PacRemove [
37
+ fontcolor = black,
38
+ URL = "classes/RuPacRemove/PacRemove.html",
39
+ shape = ellipse,
40
+ color = palegoldenrod,
41
+ style = filled,
42
+ label = "PacRemove"
43
+ ]
44
+
45
+ }
46
+
47
+ RuPac [
48
+ URL = "classes/RuPac.html",
49
+ shape = box,
50
+ label = "RuPac"
51
+ ]
52
+
53
+ RuPac -> RuPacRemove [
54
+ lhead = cluster_RuPacRemove
55
+ ]
56
+
57
+ }
58
+
Binary file
@@ -0,0 +1,39 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "rupac.rb"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ subgraph cluster_RuPac {
14
+ fillcolor = palegreen1
15
+ URL = "classes/RuPac.html"
16
+ fontname = Arial
17
+ color = blue
18
+ label = "RuPac"
19
+ style = filled
20
+ RuPac [
21
+ shape = plaintext,
22
+ height = 0.01,
23
+ width = 0.01,
24
+ label = ""
25
+ ]
26
+
27
+ RuPac__Pacman [
28
+ fontcolor = black,
29
+ URL = "classes/RuPac/Pacman.html",
30
+ shape = ellipse,
31
+ color = palegoldenrod,
32
+ style = filled,
33
+ label = "Pacman"
34
+ ]
35
+
36
+ }
37
+
38
+ }
39
+
Binary file
@@ -0,0 +1,48 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "TopLevel"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ Pacman [
14
+ URL = "classes/Pacman.html",
15
+ label = "Pacman"
16
+ ]
17
+
18
+ Pacman -> RuPacSync__PacSync [
19
+
20
+ ]
21
+
22
+ subgraph cluster_RuPacSync {
23
+ fillcolor = palegreen1
24
+ URL = "classes/RuPacSync.html"
25
+ fontname = Arial
26
+ color = blue
27
+ label = "RuPacSync"
28
+ style = filled
29
+ RuPacSync [
30
+ shape = plaintext,
31
+ height = 0.01,
32
+ width = 0.01,
33
+ label = ""
34
+ ]
35
+
36
+ RuPacSync__PacSync [
37
+ fontcolor = black,
38
+ URL = "classes/RuPacSync/PacSync.html",
39
+ shape = ellipse,
40
+ color = palegoldenrod,
41
+ style = filled,
42
+ label = "PacSync"
43
+ ]
44
+
45
+ }
46
+
47
+ }
48
+
Binary file
@@ -0,0 +1,58 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "TopLevel"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ Pacman [
14
+ URL = "classes/Pacman.html",
15
+ label = "Pacman"
16
+ ]
17
+
18
+ Pacman -> RuPacRemove__PacRemove [
19
+
20
+ ]
21
+
22
+ subgraph cluster_RuPacRemove {
23
+ fillcolor = palegreen1
24
+ URL = "classes/RuPacRemove.html"
25
+ fontname = Arial
26
+ color = blue
27
+ label = "RuPacRemove"
28
+ style = filled
29
+ RuPacRemove [
30
+ shape = plaintext,
31
+ height = 0.01,
32
+ width = 0.01,
33
+ label = ""
34
+ ]
35
+
36
+ RuPacRemove__PacRemove [
37
+ fontcolor = black,
38
+ URL = "classes/RuPacRemove/PacRemove.html",
39
+ shape = ellipse,
40
+ color = palegoldenrod,
41
+ style = filled,
42
+ label = "PacRemove"
43
+ ]
44
+
45
+ }
46
+
47
+ RuPac [
48
+ URL = "classes/RuPac.html",
49
+ shape = box,
50
+ label = "RuPac"
51
+ ]
52
+
53
+ RuPac -> RuPacRemove [
54
+ lhead = cluster_RuPacRemove
55
+ ]
56
+
57
+ }
58
+
Binary file
@@ -0,0 +1,39 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "TopLevel"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ subgraph cluster_RuPac {
14
+ fillcolor = palegreen1
15
+ URL = "classes/RuPac.html"
16
+ fontname = Arial
17
+ color = blue
18
+ label = "RuPac"
19
+ style = filled
20
+ RuPac [
21
+ shape = plaintext,
22
+ height = 0.01,
23
+ width = 0.01,
24
+ label = ""
25
+ ]
26
+
27
+ RuPac__Pacman [
28
+ fontcolor = black,
29
+ URL = "classes/RuPac/Pacman.html",
30
+ shape = ellipse,
31
+ color = palegoldenrod,
32
+ style = filled,
33
+ label = "Pacman"
34
+ ]
35
+
36
+ }
37
+
38
+ }
39
+
Binary file
@@ -0,0 +1,119 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: rupac.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>rupac.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>rupac.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Tue Oct 17 19:11:34 EDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+ <div id="diagram">
71
+ <map id="map" name="map">
72
+ <area shape="RECT" coords="27,50,99,98" href="../classes/RuPac/Pacman.html" alt="Pacman">
73
+ <area shape="RECT" coords="16,16,136,108" href="../classes/RuPac.html" alt="RuPac">
74
+ </map>
75
+ <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel">
76
+ </div>
77
+
78
+ <div id="description">
79
+ <p>
80
+ rupac
81
+ </p>
82
+ <pre>
83
+ A Ruby library for interfacing with ArchLinux's pacman
84
+ Copyright 2006 Chris Peterman &lt;kyral@azuredreams.us&gt;
85
+ Licensed under the GPLv2 or later
86
+ </pre>
87
+
88
+ </div>
89
+
90
+
91
+ </div>
92
+
93
+
94
+ </div>
95
+
96
+
97
+ <!-- if includes -->
98
+
99
+ <div id="section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ <!-- if method_list -->
109
+
110
+
111
+ </div>
112
+
113
+
114
+ <div id="validator-badges">
115
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
116
+ </div>
117
+
118
+ </body>
119
+ </html>