rockdove 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/.yardopts +1 -0
  2. data/CHANGELOG.md +8 -1
  3. data/README.md +5 -2
  4. data/lib/generators/rockdove/install_generator.rb +4 -1
  5. data/lib/rockdove/email_parser.rb +6 -8
  6. data/lib/rockdove/exchange_mail.rb +18 -2
  7. data/lib/rockdove/version.rb +1 -1
  8. data/lib/rockdove.rb +11 -0
  9. data/rockdove.gemspec +2 -2
  10. data/spec/rockdove/collect_mail_spec.rb +29 -0
  11. data/spec/rockdove/emails/attachment.yml +4 -0
  12. data/spec/rockdove/emails/mail_with_attachment.yml +51 -0
  13. data/spec/rockdove/rockdove_shared_spec.rb +8 -1
  14. data/spec/spec_helper.rb +7 -5
  15. metadata +26 -52
  16. data/.yardoc/checksums +0 -9
  17. data/.yardoc/object_types +0 -0
  18. data/.yardoc/objects/root.dat +0 -0
  19. data/.yardoc/proxy_types +0 -0
  20. data/doc/Rockdove/CollectMail.html +0 -1302
  21. data/doc/Rockdove/Config.html +0 -1125
  22. data/doc/Rockdove/Dovetie.html +0 -123
  23. data/doc/Rockdove/EmailParser.html +0 -377
  24. data/doc/Rockdove/ExchangeMail.html +0 -1054
  25. data/doc/Rockdove/Generators/InstallGenerator.html +0 -192
  26. data/doc/Rockdove/Generators.html +0 -115
  27. data/doc/Rockdove/RockdoveCollection.html +0 -123
  28. data/doc/Rockdove.html +0 -215
  29. data/doc/RockdoveServer.html +0 -404
  30. data/doc/_index.html +0 -214
  31. data/doc/class_list.html +0 -53
  32. data/doc/css/common.css +0 -1
  33. data/doc/css/full_list.css +0 -57
  34. data/doc/css/style.css +0 -328
  35. data/doc/file.CHANGELOG.html +0 -93
  36. data/doc/file.README.html +0 -164
  37. data/doc/file_list.html +0 -58
  38. data/doc/frames.html +0 -28
  39. data/doc/index.html +0 -164
  40. data/doc/js/app.js +0 -214
  41. data/doc/js/full_list.js +0 -173
  42. data/doc/js/jquery.js +0 -4
  43. data/doc/method_list.html +0 -492
  44. data/doc/top-level-namespace.html +0 -126
@@ -1,192 +0,0 @@
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>
7
- Class: Rockdove::Generators::InstallGenerator
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../';
20
- framesUrl = "../../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../_index.html">Index (I)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../Rockdove.html" title="Rockdove (module)">Rockdove</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Generators.html" title="Rockdove::Generators (module)">Generators</a></span></span>
36
- &raquo;
37
- <span class="title">InstallGenerator</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Rockdove::Generators::InstallGenerator
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Rails::Generators::Base</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Rails::Generators::Base</li>
82
-
83
- <li class="next">Rockdove::Generators::InstallGenerator</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/generators/rockdove/install_generator.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <h2>
113
- Instance Method Summary
114
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
- </h2>
116
-
117
- <ul class="summary">
118
-
119
- <li class="public ">
120
- <span class="summary_signature">
121
-
122
- <a href="#copy_script-instance_method" title="#copy_script (instance method)">- (Object) <strong>copy_script</strong> </a>
123
-
124
-
125
-
126
- </span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <span class="summary_desc"><div class='inline'></div></span>
137
-
138
- </li>
139
-
140
-
141
- </ul>
142
-
143
-
144
-
145
-
146
-
147
- <div id="instance_method_details" class="method_details_list">
148
- <h2>Instance Method Details</h2>
149
-
150
-
151
- <div class="method_details first">
152
- <h3 class="signature first" id="copy_script-instance_method">
153
-
154
- - (<tt>Object</tt>) <strong>copy_script</strong>
155
-
156
-
157
-
158
-
159
-
160
- </h3><table class="source_code">
161
- <tr>
162
- <td>
163
- <pre class="lines">
164
-
165
-
166
- 7
167
- 8
168
- 9</pre>
169
- </td>
170
- <td>
171
- <pre class="code"><span class="info file"># File 'lib/generators/rockdove/install_generator.rb', line 7</span>
172
-
173
- <span class='kw'>def</span> <span class='id identifier rubyid_copy_script'>copy_script</span>
174
- <span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rockdove_server.rb</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>script/rockdove_server.rb</span><span class='tstring_end'>&quot;</span></span>
175
- <span class='kw'>end</span></pre>
176
- </td>
177
- </tr>
178
- </table>
179
- </div>
180
-
181
- </div>
182
-
183
- </div>
184
-
185
- <div id="footer">
186
- Generated on Wed Jul 11 11:40:25 2012 by
187
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
188
- 0.8.2.1 (ruby-1.9.2).
189
- </div>
190
-
191
- </body>
192
- </html>
@@ -1,115 +0,0 @@
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>
7
- Module: Rockdove::Generators
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (G)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Rockdove.html" title="Rockdove (module)">Rockdove</a></span></span>
36
- &raquo;
37
- <span class="title">Generators</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: Rockdove::Generators
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/generators/rockdove/install_generator.rb</dd>
83
-
84
- </dl>
85
- <div class="clear"></div>
86
-
87
- <h2>Defined Under Namespace</h2>
88
- <p class="children">
89
-
90
-
91
-
92
-
93
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Generators/InstallGenerator.html" title="Rockdove::Generators::InstallGenerator (class)">InstallGenerator</a></span>
94
-
95
-
96
- </p>
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- </div>
107
-
108
- <div id="footer">
109
- Generated on Wed Jul 11 11:40:24 2012 by
110
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
111
- 0.8.2.1 (ruby-1.9.2).
112
- </div>
113
-
114
- </body>
115
- </html>
@@ -1,123 +0,0 @@
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>
7
- Class: Rockdove::RockdoveCollection
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (R)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Rockdove.html" title="Rockdove (module)">Rockdove</a></span></span>
36
- &raquo;
37
- <span class="title">RockdoveCollection</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Rockdove::RockdoveCollection
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Array</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Array</li>
82
-
83
- <li class="next">Rockdove::RockdoveCollection</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/rockdove/exchange_mail.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- </div>
115
-
116
- <div id="footer">
117
- Generated on Wed Jul 11 11:40:25 2012 by
118
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
- 0.8.2.1 (ruby-1.9.2).
120
- </div>
121
-
122
- </body>
123
- </html>
data/doc/Rockdove.html DELETED
@@ -1,215 +0,0 @@
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>
7
- Module: Rockdove
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (R)</a> &raquo;
35
-
36
-
37
- <span class="title">Rockdove</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: Rockdove
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/rockdove.rb<span class="defines">,<br />
83
- lib/rockdove/config.rb,<br /> lib/rockdove/version.rb,<br /> lib/rockdove/dovetie.rb,<br /> lib/rockdove/email_parser.rb,<br /> lib/rockdove/collect_mail.rb,<br /> lib/rockdove/exchange_mail.rb,<br /> lib/generators/rockdove/install_generator.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Defined Under Namespace</h2>
90
- <p class="children">
91
-
92
-
93
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Rockdove/Generators.html" title="Rockdove::Generators (module)">Generators</a></span>
94
-
95
-
96
-
97
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Rockdove/CollectMail.html" title="Rockdove::CollectMail (class)">CollectMail</a></span>, <span class='object_link'><a href="Rockdove/Config.html" title="Rockdove::Config (class)">Config</a></span>, <span class='object_link'><a href="Rockdove/Dovetie.html" title="Rockdove::Dovetie (class)">Dovetie</a></span>, <span class='object_link'><a href="Rockdove/EmailParser.html" title="Rockdove::EmailParser (class)">EmailParser</a></span>, <span class='object_link'><a href="Rockdove/ExchangeMail.html" title="Rockdove::ExchangeMail (class)">ExchangeMail</a></span>, <span class='object_link'><a href="Rockdove/RockdoveCollection.html" title="Rockdove::RockdoveCollection (class)">RockdoveCollection</a></span>
98
-
99
-
100
- </p>
101
-
102
- <h2>Constant Summary</h2>
103
-
104
- <dl class="constants">
105
-
106
- <dt id="VERSION-constant" class="">VERSION =
107
-
108
- </dt>
109
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
110
-
111
- </dl>
112
-
113
-
114
-
115
-
116
-
117
- <h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
118
- <ul class="summary">
119
-
120
- <li class="public ">
121
- <span class="summary_signature">
122
-
123
- <a href="#logger-class_method" title="logger (class method)">+ (Object) <strong>logger</strong> </a>
124
-
125
-
126
-
127
- </span>
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
- <span class="summary_desc"><div class='inline'><p>
141
- Enabling the logger for Rockdove to track its where-abouts during the
142
- delivery process of the mail.
143
- </p>
144
- </div></span>
145
-
146
- </li>
147
-
148
-
149
- </ul>
150
-
151
-
152
-
153
-
154
-
155
- <div id="class_attr_details" class="attr_details">
156
- <h2>Class Attribute Details</h2>
157
-
158
-
159
- <span id="logger=-class_method"></span>
160
- <div class="method_details first">
161
- <h3 class="signature first" id="logger-class_method">
162
-
163
- + (<tt>Object</tt>) <strong>logger</strong>
164
-
165
-
166
-
167
-
168
-
169
- </h3><div class="docstring">
170
- <div class="discussion">
171
- <p>
172
- Enabling the logger for Rockdove to track its where-abouts during the
173
- delivery process of the mail.
174
- </p>
175
-
176
-
177
- </div>
178
- </div>
179
- <div class="tags">
180
-
181
-
182
- </div><table class="source_code">
183
- <tr>
184
- <td>
185
- <pre class="lines">
186
-
187
-
188
- 20
189
- 21
190
- 22</pre>
191
- </td>
192
- <td>
193
- <pre class="code"><span class="info file"># File 'lib/rockdove.rb', line 20</span>
194
-
195
- <span class='kw'>def</span> <span class='id identifier rubyid_logger'>logger</span>
196
- <span class='ivar'>@logger</span>
197
- <span class='kw'>end</span></pre>
198
- </td>
199
- </tr>
200
- </table>
201
- </div>
202
-
203
- </div>
204
-
205
-
206
- </div>
207
-
208
- <div id="footer">
209
- Generated on Wed Jul 11 11:40:24 2012 by
210
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
- 0.8.2.1 (ruby-1.9.2).
212
- </div>
213
-
214
- </body>
215
- </html>