mack-data_mapper 0.7.1 → 0.7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- metadata +3 -39
- data/doc/classes/DataMapper/Resource.html +0 -154
- data/doc/classes/Mack.html +0 -135
- data/doc/classes/Mack/DataMapper/Session.html +0 -124
- data/doc/classes/Mack/Database.html +0 -311
- data/doc/classes/Mack/Database/Generators.html +0 -140
- data/doc/classes/Mack/Database/Migrations.html +0 -206
- data/doc/classes/Mack/SessionStore/DataMapper.html +0 -262
- data/doc/classes/Mack/Testing/DataMapperHelpers.html +0 -151
- data/doc/classes/Mack/ViewHelpers/DataMapperHelpers.html +0 -187
- data/doc/classes/MigrationGenerator.html +0 -161
- data/doc/classes/ModelGenerator.html +0 -183
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -230
- data/doc/files/lib/mack-data_mapper/database_migrations_rb.html +0 -115
- data/doc/files/lib/mack-data_mapper/database_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/dm_patches/dm-timestamps_rb.html +0 -116
- data/doc/files/lib/mack-data_mapper/dm_patches/migrations_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/dm_patches/model_rb.html +0 -158
- data/doc/files/lib/mack-data_mapper/dm_patches/property_set_rb.html +0 -125
- data/doc/files/lib/mack-data_mapper/dm_patches/validations_rb.html +0 -125
- data/doc/files/lib/mack-data_mapper/generators_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/helpers/orm_helpers_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/migration_generator/migration_generator_rb.html +0 -151
- data/doc/files/lib/mack-data_mapper/model_generator/model_generator_rb.html +0 -173
- data/doc/files/lib/mack-data_mapper/resource_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/runner_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/sessions/data_mapper_session_store_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/sessions/session_rb.html +0 -101
- data/doc/files/lib/mack-data_mapper/test_extensions_rb.html +0 -109
- data/doc/files/lib/mack-data_mapper_rb.html +0 -110
- data/doc/files/lib/mack-data_mapper_tasks_rb.html +0 -108
- data/doc/fr_class_index.html +0 -37
- data/doc/fr_file_index.html +0 -45
- data/doc/fr_method_index.html +0 -42
- 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-data_mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.1
|
4
|
+
version: 0.7.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-14 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.7.1
|
103
|
+
version: 0.7.1.1
|
104
104
|
version:
|
105
105
|
description: "mack-data_mapper was developed by: markbates"
|
106
106
|
email: mark@mackframework.com
|
@@ -136,42 +136,6 @@ files:
|
|
136
136
|
- lib/mack-data_mapper.rb
|
137
137
|
- lib/mack-data_mapper_tasks.rb
|
138
138
|
- README
|
139
|
-
- doc/classes/DataMapper/Resource.html
|
140
|
-
- doc/classes/Mack/Database/Generators.html
|
141
|
-
- doc/classes/Mack/Database/Migrations.html
|
142
|
-
- doc/classes/Mack/Database.html
|
143
|
-
- doc/classes/Mack/DataMapper/Session.html
|
144
|
-
- doc/classes/Mack/SessionStore/DataMapper.html
|
145
|
-
- doc/classes/Mack/Testing/DataMapperHelpers.html
|
146
|
-
- doc/classes/Mack/ViewHelpers/DataMapperHelpers.html
|
147
|
-
- doc/classes/Mack.html
|
148
|
-
- doc/classes/MigrationGenerator.html
|
149
|
-
- doc/classes/ModelGenerator.html
|
150
|
-
- doc/created.rid
|
151
|
-
- doc/files/lib/mack-data_mapper/database_migrations_rb.html
|
152
|
-
- doc/files/lib/mack-data_mapper/database_rb.html
|
153
|
-
- doc/files/lib/mack-data_mapper/dm_patches/dm-timestamps_rb.html
|
154
|
-
- doc/files/lib/mack-data_mapper/dm_patches/migrations_rb.html
|
155
|
-
- doc/files/lib/mack-data_mapper/dm_patches/model_rb.html
|
156
|
-
- doc/files/lib/mack-data_mapper/dm_patches/property_set_rb.html
|
157
|
-
- doc/files/lib/mack-data_mapper/dm_patches/validations_rb.html
|
158
|
-
- doc/files/lib/mack-data_mapper/generators_rb.html
|
159
|
-
- doc/files/lib/mack-data_mapper/helpers/orm_helpers_rb.html
|
160
|
-
- doc/files/lib/mack-data_mapper/migration_generator/migration_generator_rb.html
|
161
|
-
- doc/files/lib/mack-data_mapper/model_generator/model_generator_rb.html
|
162
|
-
- doc/files/lib/mack-data_mapper/resource_rb.html
|
163
|
-
- doc/files/lib/mack-data_mapper/runner_rb.html
|
164
|
-
- doc/files/lib/mack-data_mapper/sessions/data_mapper_session_store_rb.html
|
165
|
-
- doc/files/lib/mack-data_mapper/sessions/session_rb.html
|
166
|
-
- doc/files/lib/mack-data_mapper/test_extensions_rb.html
|
167
|
-
- doc/files/lib/mack-data_mapper_rb.html
|
168
|
-
- doc/files/lib/mack-data_mapper_tasks_rb.html
|
169
|
-
- doc/files/README.html
|
170
|
-
- doc/fr_class_index.html
|
171
|
-
- doc/fr_file_index.html
|
172
|
-
- doc/fr_method_index.html
|
173
|
-
- doc/index.html
|
174
|
-
- doc/rdoc-style.css
|
175
139
|
has_rdoc: true
|
176
140
|
homepage: http://www.mackframework.com
|
177
141
|
post_install_message:
|
@@ -1,154 +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: DataMapper::Resource</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">DataMapper::Resource</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/mack-data_mapper/resource_rb.html">
|
59
|
-
lib/mack-data_mapper/resource.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
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="method-list">
|
80
|
-
<h3 class="section-bar">Methods</h3>
|
81
|
-
|
82
|
-
<div class="name-list">
|
83
|
-
<a href="#M000001">to_param</a>
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
<!-- if includes -->
|
91
|
-
|
92
|
-
<div id="section">
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<!-- if method_list -->
|
102
|
-
<div id="methods">
|
103
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
104
|
-
|
105
|
-
<div id="method-M000001" class="method-detail">
|
106
|
-
<a name="M000001"></a>
|
107
|
-
|
108
|
-
<div class="method-heading">
|
109
|
-
<a href="#M000001" class="method-signature">
|
110
|
-
<span class="method-name">to_param</span><span class="method-args">()</span>
|
111
|
-
</a>
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div class="method-description">
|
115
|
-
<p>
|
116
|
-
Returns the key of the <a href="Resource.html">DataMapper::Resource</a>
|
117
|
-
object when passed into a url helper
|
118
|
-
</p>
|
119
|
-
<p>
|
120
|
-
Example:
|
121
|
-
</p>
|
122
|
-
<pre>
|
123
|
-
class User
|
124
|
-
include DataMapper::Resource
|
125
|
-
property :name, String, :key => true
|
126
|
-
end
|
127
|
-
users_show_url(User.new(:username => "markbates")) # => /users/markbates
|
128
|
-
</pre>
|
129
|
-
<p><a class="source-toggle" href="#"
|
130
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
131
|
-
<div class="method-source-code" id="M000001-source">
|
132
|
-
<pre>
|
133
|
-
<span class="ruby-comment cmt"># File lib/mack-data_mapper/resource.rb, line 12</span>
|
134
|
-
12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_param</span>
|
135
|
-
13: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">key</span>
|
136
|
-
14: <span class="ruby-keyword kw">end</span>
|
137
|
-
</pre>
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
</div>
|
141
|
-
|
142
|
-
|
143
|
-
</div>
|
144
|
-
|
145
|
-
|
146
|
-
</div>
|
147
|
-
|
148
|
-
|
149
|
-
<div id="validator-badges">
|
150
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
</body>
|
154
|
-
</html>
|
data/doc/classes/Mack.html
DELETED
@@ -1,135 +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</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</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/mack-data_mapper/database_rb.html">
|
59
|
-
lib/mack-data_mapper/database.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/mack-data_mapper/database_migrations_rb.html">
|
63
|
-
lib/mack-data_mapper/database_migrations.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/mack-data_mapper/generators_rb.html">
|
67
|
-
lib/mack-data_mapper/generators.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/mack-data_mapper/helpers/orm_helpers_rb.html">
|
71
|
-
lib/mack-data_mapper/helpers/orm_helpers.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/mack-data_mapper/sessions/data_mapper_session_store_rb.html">
|
75
|
-
lib/mack-data_mapper/sessions/data_mapper_session_store.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
<a href="../files/lib/mack-data_mapper/sessions/session_rb.html">
|
79
|
-
lib/mack-data_mapper/sessions/session.rb
|
80
|
-
</a>
|
81
|
-
<br />
|
82
|
-
<a href="../files/lib/mack-data_mapper/test_extensions_rb.html">
|
83
|
-
lib/mack-data_mapper/test_extensions.rb
|
84
|
-
</a>
|
85
|
-
<br />
|
86
|
-
</td>
|
87
|
-
</tr>
|
88
|
-
|
89
|
-
</table>
|
90
|
-
</div>
|
91
|
-
<!-- banner header -->
|
92
|
-
|
93
|
-
<div id="bodyContent">
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<div id="contextContent">
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
</div>
|
102
|
-
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if includes -->
|
108
|
-
|
109
|
-
<div id="section">
|
110
|
-
|
111
|
-
<div id="class-list">
|
112
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
113
|
-
|
114
|
-
Module <a href="Mack/Database.html" class="link">Mack::Database</a><br />
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<!-- if method_list -->
|
125
|
-
|
126
|
-
|
127
|
-
</div>
|
128
|
-
|
129
|
-
|
130
|
-
<div id="validator-badges">
|
131
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
</body>
|
135
|
-
</html>
|
@@ -1,124 +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::DataMapper::Session</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::DataMapper::Session</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/mack-data_mapper/sessions/session_rb.html">
|
59
|
-
lib/mack-data_mapper/sessions/session.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
|
-
Object
|
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
|
-
Used to store the Mack::Session object in the db.
|
84
|
-
</p>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
|
95
|
-
<!-- if includes -->
|
96
|
-
<div id="includes">
|
97
|
-
<h3 class="section-bar">Included Modules</h3>
|
98
|
-
|
99
|
-
<div id="includes-list">
|
100
|
-
<span class="include-name"><a href="../../DataMapper/Resource.html">::DataMapper::Resource</a></span>
|
101
|
-
</div>
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
<div id="validator-badges">
|
120
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
121
|
-
</div>
|
122
|
-
|
123
|
-
</body>
|
124
|
-
</html>
|