mack-distributed 0.7.0 → 0.7.0.1
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.
- metadata +2 -33
- data/doc/classes/Mack/Distributable.html +0 -137
- data/doc/classes/Mack/Distributed/Errors/ApplicationNameUndefined.html +0 -118
- data/doc/classes/Mack/Distributed/Errors/InvalidAddressableURIFormat.html +0 -152
- data/doc/classes/Mack/Distributed/Errors/UnknownApplication.html +0 -155
- data/doc/classes/Mack/Distributed/Errors/UnknownRouteName.html +0 -156
- data/doc/classes/Mack/Distributed/Routes/Urls.html +0 -213
- data/doc/classes/Mack/Distributed/Utils/Rinda.html +0 -230
- data/doc/classes/Mack/Distributed/View.html +0 -221
- data/doc/classes/Mack/Distributed/ViewCache.html +0 -170
- data/doc/classes/Mack/Rendering/Type/Distributed.html +0 -173
- data/doc/classes/Mack/Rendering/Type/Layout.html +0 -174
- data/doc/classes/Mack/Routes/Urls.html +0 -165
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -272
- data/doc/files/lib/mack-distributed/distributable_rb.html +0 -101
- data/doc/files/lib/mack-distributed/distributed_rb.html +0 -101
- data/doc/files/lib/mack-distributed/errors/errors_rb.html +0 -101
- data/doc/files/lib/mack-distributed/extensions/route_map_rb.html +0 -101
- data/doc/files/lib/mack-distributed/extensions/urls_rb.html +0 -101
- data/doc/files/lib/mack-distributed/routes/urls_rb.html +0 -101
- data/doc/files/lib/mack-distributed/utils/rinda_rb.html +0 -101
- data/doc/files/lib/mack-distributed/views/rendering/type/distributed_rb.html +0 -101
- data/doc/files/lib/mack-distributed/views/rendering/type/layout_rb.html +0 -101
- data/doc/files/lib/mack-distributed/views/view_cache_rb.html +0 -101
- data/doc/files/lib/mack-distributed/views/view_rb.html +0 -101
- data/doc/files/lib/mack-distributed_rb.html +0 -110
- data/doc/fr_class_index.html +0 -38
- data/doc/fr_file_index.html +0 -39
- data/doc/fr_method_index.html +0 -43
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mack-distributed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0
|
4
|
+
version: 0.7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-29 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -45,37 +45,6 @@ files:
|
|
45
45
|
- lib/mack-distributed/views/view_cache.rb
|
46
46
|
- lib/mack-distributed.rb
|
47
47
|
- README
|
48
|
-
- doc/classes/Mack/Distributable.html
|
49
|
-
- doc/classes/Mack/Distributed/Errors/ApplicationNameUndefined.html
|
50
|
-
- doc/classes/Mack/Distributed/Errors/InvalidAddressableURIFormat.html
|
51
|
-
- doc/classes/Mack/Distributed/Errors/UnknownApplication.html
|
52
|
-
- doc/classes/Mack/Distributed/Errors/UnknownRouteName.html
|
53
|
-
- doc/classes/Mack/Distributed/Routes/Urls.html
|
54
|
-
- doc/classes/Mack/Distributed/Utils/Rinda.html
|
55
|
-
- doc/classes/Mack/Distributed/View.html
|
56
|
-
- doc/classes/Mack/Distributed/ViewCache.html
|
57
|
-
- doc/classes/Mack/Rendering/Type/Distributed.html
|
58
|
-
- doc/classes/Mack/Rendering/Type/Layout.html
|
59
|
-
- doc/classes/Mack/Routes/Urls.html
|
60
|
-
- doc/created.rid
|
61
|
-
- doc/files/lib/mack-distributed/distributable_rb.html
|
62
|
-
- doc/files/lib/mack-distributed/distributed_rb.html
|
63
|
-
- doc/files/lib/mack-distributed/errors/errors_rb.html
|
64
|
-
- doc/files/lib/mack-distributed/extensions/route_map_rb.html
|
65
|
-
- doc/files/lib/mack-distributed/extensions/urls_rb.html
|
66
|
-
- doc/files/lib/mack-distributed/routes/urls_rb.html
|
67
|
-
- doc/files/lib/mack-distributed/utils/rinda_rb.html
|
68
|
-
- doc/files/lib/mack-distributed/views/rendering/type/distributed_rb.html
|
69
|
-
- doc/files/lib/mack-distributed/views/rendering/type/layout_rb.html
|
70
|
-
- doc/files/lib/mack-distributed/views/view_cache_rb.html
|
71
|
-
- doc/files/lib/mack-distributed/views/view_rb.html
|
72
|
-
- doc/files/lib/mack-distributed_rb.html
|
73
|
-
- doc/files/README.html
|
74
|
-
- doc/fr_class_index.html
|
75
|
-
- doc/fr_file_index.html
|
76
|
-
- doc/fr_method_index.html
|
77
|
-
- doc/index.html
|
78
|
-
- doc/rdoc-style.css
|
79
48
|
has_rdoc: true
|
80
49
|
homepage: http://www.mackframework.com
|
81
50
|
post_install_message:
|
@@ -1,137 +0,0 @@
|
|
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>Module: Mack::Distributable</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="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack::Distributable</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/mack-distributed/distributable_rb.html">
|
59
|
-
lib/mack-distributed/distributable.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
Include this module into any class it will instantly register that class
|
78
|
-
with the mack_ring_server. The class will be registered with the name of
|
79
|
-
the class and the mack.distributed_app_name configured in your
|
80
|
-
config/app_config/*.yml file. If the mack.distributed_app_name
|
81
|
-
configuration parameter is nil it will raise an <a
|
82
|
-
href="Distributed/Errors/ApplicationNameUndefined.html">Mack::Distributed::Errors::ApplicationNameUndefined</a>
|
83
|
-
exception.
|
84
|
-
</p>
|
85
|
-
<p>
|
86
|
-
Example:
|
87
|
-
</p>
|
88
|
-
<pre>
|
89
|
-
class User
|
90
|
-
include Mack::Distributable
|
91
|
-
def name
|
92
|
-
"mark"
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
Mack::Distributed::User.new.name # => "mark"
|
97
|
-
</pre>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
<!-- if includes -->
|
109
|
-
<div id="includes">
|
110
|
-
<h3 class="section-bar">Included Modules</h3>
|
111
|
-
|
112
|
-
<div id="includes-list">
|
113
|
-
<span class="include-name">::DRbUndumped</span>
|
114
|
-
</div>
|
115
|
-
</div>
|
116
|
-
|
117
|
-
<div id="section">
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<!-- if method_list -->
|
127
|
-
|
128
|
-
|
129
|
-
</div>
|
130
|
-
|
131
|
-
|
132
|
-
<div id="validator-badges">
|
133
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
</body>
|
137
|
-
</html>
|
@@ -1,118 +0,0 @@
|
|
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>Class: Mack::Distributed::Errors::ApplicationNameUndefined</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="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack::Distributed::Errors::ApplicationNameUndefined</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../../files/lib/mack-distributed/errors/errors_rb.html">
|
59
|
-
lib/mack-distributed/errors/errors.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
StandardError
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<p>
|
83
|
-
Raised when an application doesn‘t declare it‘s application
|
84
|
-
name for use in a distributed system.
|
85
|
-
</p>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
</div>
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<!-- if includes -->
|
97
|
-
|
98
|
-
<div id="section">
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if method_list -->
|
108
|
-
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
|
113
|
-
<div id="validator-badges">
|
114
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
115
|
-
</div>
|
116
|
-
|
117
|
-
</body>
|
118
|
-
</html>
|
@@ -1,152 +0,0 @@
|
|
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>Class: Mack::Distributed::Errors::InvalidAddressableURIFormat</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="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack::Distributed::Errors::InvalidAddressableURIFormat</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../../files/lib/mack-distributed/errors/errors_rb.html">
|
59
|
-
lib/mack-distributed/errors/errors.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
StandardError
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<p>
|
83
|
-
Raised when the distributed path is not a well formed addressable format
|
84
|
-
</p>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
<div id="method-list">
|
92
|
-
<h3 class="section-bar">Methods</h3>
|
93
|
-
|
94
|
-
<div class="name-list">
|
95
|
-
<a href="#M000003">inititalize</a>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
<!-- if includes -->
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
<div id="methods">
|
115
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
116
|
-
|
117
|
-
<div id="method-M000003" class="method-detail">
|
118
|
-
<a name="M000003"></a>
|
119
|
-
|
120
|
-
<div class="method-heading">
|
121
|
-
<a href="#M000003" class="method-signature">
|
122
|
-
<span class="method-name">inititalize</span><span class="method-args">(msg)</span>
|
123
|
-
</a>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<div class="method-description">
|
127
|
-
<p><a class="source-toggle" href="#"
|
128
|
-
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
129
|
-
<div class="method-source-code" id="M000003-source">
|
130
|
-
<pre>
|
131
|
-
<span class="ruby-comment cmt"># File lib/mack-distributed/errors/errors.rb, line 27</span>
|
132
|
-
27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inititalize</span>(<span class="ruby-identifier">msg</span>)
|
133
|
-
28: <span class="ruby-keyword kw">super</span>(<span class="ruby-node">"Invalid addressable format: #{msg}"</span>)
|
134
|
-
29: <span class="ruby-keyword kw">end</span>
|
135
|
-
</pre>
|
136
|
-
</div>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
|
144
|
-
</div>
|
145
|
-
|
146
|
-
|
147
|
-
<div id="validator-badges">
|
148
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
149
|
-
</div>
|
150
|
-
|
151
|
-
</body>
|
152
|
-
</html>
|