voteable_mongoid 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,7 @@
63
63
 
64
64
 
65
65
  <dt class="r2 last">Defined in:</dt>
66
- <dd class="r2 last">lib/mongoid/voter.rb</dd>
66
+ <dd class="r2 last">lib/voteable_mongoid/voter.rb</dd>
67
67
 
68
68
  </dl>
69
69
  <div class="clear"></div>
@@ -258,7 +258,7 @@
258
258
  60</pre>
259
259
  </td>
260
260
  <td>
261
- <pre class="code"><span class="info file"># File 'lib/mongoid/voter.rb', line 53</span>
261
+ <pre class="code"><span class="info file"># File 'lib/voteable_mongoid/voter.rb', line 53</span>
262
262
 
263
263
  <span class='def def kw'>def</span> <span class='unvote identifier id'>unvote</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='rparen token'>)</span>
264
264
  <span class='unless unless kw'>unless</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Hash constant id'>Hash</span><span class='rparen token'>)</span>
@@ -361,7 +361,7 @@
361
361
  91</pre>
362
362
  </td>
363
363
  <td>
364
- <pre class="code"><span class="info file"># File 'lib/mongoid/voter.rb', line 66</span>
364
+ <pre class="code"><span class="info file"># File 'lib/voteable_mongoid/voter.rb', line 66</span>
365
365
 
366
366
  <span class='def def kw'>def</span> <span class='vote identifier id'>vote</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='comma token'>,</span> <span class='value identifier id'>value</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='rparen token'>)</span>
367
367
  <span class='if if kw'>if</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Hash constant id'>Hash</span><span class='rparen token'>)</span>
@@ -468,7 +468,7 @@
468
468
  48</pre>
469
469
  </td>
470
470
  <td>
471
- <pre class="code"><span class="info file"># File 'lib/mongoid/voter.rb', line 39</span>
471
+ <pre class="code"><span class="info file"># File 'lib/voteable_mongoid/voter.rb', line 39</span>
472
472
 
473
473
  <span class='def def kw'>def</span> <span class='vote_value identifier id'>vote_value</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='rparen token'>)</span>
474
474
  <span class='votee identifier id'>votee</span> <span class='assign token'>=</span> <span class='unless unless kw'>unless</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Hash constant id'>Hash</span><span class='rparen token'>)</span>
@@ -566,7 +566,7 @@
566
566
  33</pre>
567
567
  </td>
568
568
  <td>
569
- <pre class="code"><span class="info file"># File 'lib/mongoid/voter.rb', line 17</span>
569
+ <pre class="code"><span class="info file"># File 'lib/voteable_mongoid/voter.rb', line 17</span>
570
570
 
571
571
  <span class='def def kw'>def</span> <span class='voted? fid id'>voted?</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='rparen token'>)</span>
572
572
  <span class='unless unless kw'>unless</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Hash constant id'>Hash</span><span class='rparen token'>)</span>
@@ -657,7 +657,7 @@
657
657
  11</pre>
658
658
  </td>
659
659
  <td>
660
- <pre class="code"><span class="info file"># File 'lib/mongoid/voter.rb', line 9</span>
660
+ <pre class="code"><span class="info file"># File 'lib/voteable_mongoid/voter.rb', line 9</span>
661
661
 
662
662
  <span class='def def kw'>def</span> <span class='votees identifier id'>votees</span><span class='lparen token'>(</span><span class='klass identifier id'>klass</span><span class='rparen token'>)</span>
663
663
  <span class='klass identifier id'>klass</span><span class='dot token'>.</span><span class='any_of identifier id'>any_of</span><span class='lparen token'>(</span><span class='lbrace token'>{</span> <span class='string val'>&quot;voteable.up_voter_ids&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='_id identifier id'>_id</span> <span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='lbrace token'>{</span> <span class='string val'>&quot;voteable.down_voter_ids&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='_id identifier id'>_id</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
@@ -673,7 +673,7 @@
673
673
  </div>
674
674
 
675
675
  <div id="footer">
676
- Generated on Wed Mar 30 11:06:27 2011 by
676
+ Generated on Wed Mar 30 22:06:28 2011 by
677
677
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
678
678
  0.6.5 (ruby-1.8.7).
679
679
  </div>
@@ -0,0 +1,101 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Module: Rails</title>
7
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="_index.html">Index (R)</a> &raquo;
27
+
28
+
29
+ <span class="title">Rails</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Module: Rails
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+ <dt class="r1 last">Defined in:</dt>
62
+ <dd class="r1 last">lib/voteable_mongoid/railtie.rb</dd>
63
+
64
+ </dl>
65
+ <div class="clear"></div>
66
+
67
+ <h2>Overview</h2><div class="docstring">
68
+ <div class="discussion">
69
+
70
+ <p>:nodoc:</p>
71
+
72
+
73
+ </div>
74
+ </div>
75
+ <div class="tags">
76
+
77
+ </div><h2>Defined Under Namespace</h2>
78
+ <p class="children">
79
+
80
+
81
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Rails/VoteableMongoid.html" title="Rails::VoteableMongoid (module)">VoteableMongoid</a></span>
82
+
83
+
84
+
85
+
86
+ </p>
87
+
88
+
89
+
90
+
91
+
92
+ </div>
93
+
94
+ <div id="footer">
95
+ Generated on Wed Mar 30 22:06:28 2011 by
96
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
97
+ 0.6.5 (ruby-1.8.7).
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,101 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Module: Rails::VoteableMongoid</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (V)</a> &raquo;
27
+ <span class='title'><span class='object_link'><a href="../Rails.html" title="Rails (module)">Rails</a></span></span>
28
+ &raquo;
29
+ <span class="title">VoteableMongoid</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Module: Rails::VoteableMongoid
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+ <dt class="r1 last">Defined in:</dt>
62
+ <dd class="r1 last">lib/voteable_mongoid/railtie.rb</dd>
63
+
64
+ </dl>
65
+ <div class="clear"></div>
66
+
67
+ <h2>Overview</h2><div class="docstring">
68
+ <div class="discussion">
69
+
70
+ <p>:nodoc:</p>
71
+
72
+
73
+ </div>
74
+ </div>
75
+ <div class="tags">
76
+
77
+ </div><h2>Defined Under Namespace</h2>
78
+ <p class="children">
79
+
80
+
81
+
82
+
83
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="VoteableMongoid/Railtie.html" title="Rails::VoteableMongoid::Railtie (class)">Railtie</a></span>
84
+
85
+
86
+ </p>
87
+
88
+
89
+
90
+
91
+
92
+ </div>
93
+
94
+ <div id="footer">
95
+ Generated on Wed Mar 30 22:06:27 2011 by
96
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
97
+ 0.6.5 (ruby-1.8.7).
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Rails::VoteableMongoid::Railtie</title>
7
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '../..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../../_index.html">Index (R)</a> &raquo;
27
+ <span class='title'><span class='object_link'><a href="../../Rails.html" title="Rails (module)">Rails</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../VoteableMongoid.html" title="Rails::VoteableMongoid (module)">VoteableMongoid</a></span></span>
28
+ &raquo;
29
+ <span class="title">Railtie</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Rails::VoteableMongoid::Railtie
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+ <dt class="r1">Inherits:</dt>
55
+ <dd class="r1">
56
+ <span class="inheritName">Railtie</span>
57
+
58
+ <ul class="fullTree">
59
+ <li>Object</li>
60
+
61
+ <li class="next">Railtie</li>
62
+
63
+ <li class="next">Rails::VoteableMongoid::Railtie</li>
64
+
65
+ </ul>
66
+ <a href="#" class="inheritanceTree">show all</a>
67
+
68
+ </dd>
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+ <dt class="r2 last">Defined in:</dt>
79
+ <dd class="r2 last">lib/voteable_mongoid/railtie.rb</dd>
80
+
81
+ </dl>
82
+ <div class="clear"></div>
83
+
84
+ <h2>Overview</h2><div class="docstring">
85
+ <div class="discussion">
86
+
87
+ <p>:nodoc:</p>
88
+
89
+
90
+ </div>
91
+ </div>
92
+ <div class="tags">
93
+
94
+ </div>
95
+
96
+
97
+
98
+
99
+
100
+
101
+ </div>
102
+
103
+ <div id="footer">
104
+ Generated on Wed Mar 30 22:06:27 2011 by
105
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
106
+ 0.6.5 (ruby-1.8.7).
107
+ </div>
108
+
109
+ </body>
110
+ </html>
@@ -72,7 +72,7 @@
72
72
  <dt id="VERSION-constant" class="">VERSION =
73
73
 
74
74
  </dt>
75
- <dd><pre class="code"><span class='string val'>&quot;0.4.3&quot;</span>
75
+ <dd><pre class="code"><span class='string val'>'0.4.5'</span>
76
76
  </pre></dd>
77
77
 
78
78
  </dl>
@@ -85,7 +85,7 @@
85
85
  </div>
86
86
 
87
87
  <div id="footer">
88
- Generated on Wed Mar 30 11:06:27 2011 by
88
+ Generated on Wed Mar 30 22:06:27 2011 by
89
89
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
90
90
  0.6.5 (ruby-1.8.7).
91
91
  </div>
@@ -78,6 +78,41 @@
78
78
  </ul>
79
79
 
80
80
 
81
+ <ul id="alpha_R" class="alpha">
82
+ <li class="letter">R</li>
83
+ <ul>
84
+
85
+ <li>
86
+ <span class='object_link'><a href="Rails.html" title="Rails (module)">Rails</a></span>
87
+
88
+ </li>
89
+
90
+ <li>
91
+ <span class='object_link'><a href="Rails/VoteableMongoid/Railtie.html" title="Rails::VoteableMongoid::Railtie (class)">Railtie</a></span>
92
+
93
+ <small>(Rails::VoteableMongoid)</small>
94
+
95
+ </li>
96
+
97
+ </ul>
98
+ </ul>
99
+
100
+
101
+ <ul id="alpha_S" class="alpha">
102
+ <li class="letter">S</li>
103
+ <ul>
104
+
105
+ <li>
106
+ <span class='object_link'><a href="Mongoid/Voteable/Stats.html" title="Mongoid::Voteable::Stats (module)">Stats</a></span>
107
+
108
+ <small>(Mongoid::Voteable)</small>
109
+
110
+ </li>
111
+
112
+ </ul>
113
+ </ul>
114
+
115
+
81
116
  <ul id="alpha_V" class="alpha">
82
117
  <li class="letter">V</li>
83
118
  <ul>
@@ -89,6 +124,13 @@
89
124
 
90
125
  </li>
91
126
 
127
+ <li>
128
+ <span class='object_link'><a href="Rails/VoteableMongoid.html" title="Rails::VoteableMongoid (module)">VoteableMongoid</a></span>
129
+
130
+ <small>(Rails)</small>
131
+
132
+ </li>
133
+
92
134
  <li>
93
135
  <span class='object_link'><a href="VoteableMongoid.html" title="VoteableMongoid (module)">VoteableMongoid</a></span>
94
136
 
@@ -113,7 +155,7 @@
113
155
  </div>
114
156
 
115
157
  <div id="footer">
116
- Generated on Wed Mar 30 11:06:26 2011 by
158
+ Generated on Wed Mar 30 22:06:27 2011 by
117
159
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
118
160
  0.6.5 (ruby-1.8.7).
119
161
  </div>