mack-notifier 0.7.1 → 0.7.1.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.
Files changed (35) hide show
  1. metadata +2 -36
  2. data/doc/classes/Mack/Errors/UnconvertedNotifier.html +0 -111
  3. data/doc/classes/Mack/Notifier.html +0 -698
  4. data/doc/classes/Mack/Notifier/Adapters/Base.html +0 -134
  5. data/doc/classes/Mack/Notifier/Adapters/Tmail.html +0 -265
  6. data/doc/classes/Mack/Notifier/Attachment.html +0 -270
  7. data/doc/classes/Mack/Notifier/DeliveryHandlers/Sendmail.html +0 -154
  8. data/doc/classes/Mack/Notifier/DeliveryHandlers/Smtp.html +0 -153
  9. data/doc/classes/Mack/Notifier/DeliveryHandlers/Test.html +0 -147
  10. data/doc/classes/Mack/Notifier/Validatable.html +0 -419
  11. data/doc/classes/Mack/Paths.html +0 -197
  12. data/doc/classes/NotifierGenerator.html +0 -133
  13. data/doc/created.rid +0 -1
  14. data/doc/files/README.html +0 -150
  15. data/doc/files/lib/mack-notifier/adapters/base_rb.html +0 -101
  16. data/doc/files/lib/mack-notifier/adapters/tmail_rb.html +0 -108
  17. data/doc/files/lib/mack-notifier/attachment_rb.html +0 -101
  18. data/doc/files/lib/mack-notifier/delivery_handlers/sendmail_rb.html +0 -101
  19. data/doc/files/lib/mack-notifier/delivery_handlers/smtp_rb.html +0 -108
  20. data/doc/files/lib/mack-notifier/delivery_handlers/test_rb.html +0 -101
  21. data/doc/files/lib/mack-notifier/errors_rb.html +0 -101
  22. data/doc/files/lib/mack-notifier/loader_rb.html +0 -107
  23. data/doc/files/lib/mack-notifier/notifier_generator/notifier_generator_rb.html +0 -123
  24. data/doc/files/lib/mack-notifier/notifier_rb.html +0 -101
  25. data/doc/files/lib/mack-notifier/paths_rb.html +0 -101
  26. data/doc/files/lib/mack-notifier/rendering/type/mailer_rb.html +0 -101
  27. data/doc/files/lib/mack-notifier/settings_rb.html +0 -101
  28. data/doc/files/lib/mack-notifier/testing_rb.html +0 -142
  29. data/doc/files/lib/mack-notifier/validations_rb.html +0 -101
  30. data/doc/files/lib/mack-notifier_rb.html +0 -110
  31. data/doc/fr_class_index.html +0 -37
  32. data/doc/fr_file_index.html +0 -43
  33. data/doc/fr_method_index.html +0 -61
  34. data/doc/index.html +0 -24
  35. data/doc/rdoc-style.css +0 -208
@@ -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: Mack::Notifier::DeliveryHandlers::Sendmail</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::Notifier::DeliveryHandlers::Sendmail</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/lib/mack-notifier/delivery_handlers/sendmail_rb.html">
59
- lib/mack-notifier/delivery_handlers/sendmail.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
- Delivers <a href="../../Notifier.html">Mack::Notifier</a> objects using
78
- sendmail.
79
- </p>
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
- <div id="method-list">
87
- <h3 class="section-bar">Methods</h3>
88
-
89
- <div class="name-list">
90
- <a href="#M000026">deliver</a>&nbsp;&nbsp;
91
- </div>
92
- </div>
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
- <div id="methods">
110
- <h3 class="section-bar">Public Class methods</h3>
111
-
112
- <div id="method-M000026" class="method-detail">
113
- <a name="M000026"></a>
114
-
115
- <div class="method-heading">
116
- <a href="#M000026" class="method-signature">
117
- <span class="method-name">deliver</span><span class="method-args">(mail)</span>
118
- </a>
119
- </div>
120
-
121
- <div class="method-description">
122
- <p><a class="source-toggle" href="#"
123
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
124
- <div class="method-source-code" id="M000026-source">
125
- <pre>
126
- <span class="ruby-comment cmt"># File lib/mack-notifier/delivery_handlers/sendmail.rb, line 7</span>
127
- 7: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">deliver</span>(<span class="ruby-identifier">mail</span>)
128
- 8: <span class="ruby-identifier">sendmail_settings</span> = <span class="ruby-identifier">app_config</span>.<span class="ruby-identifier">notifier</span>.<span class="ruby-identifier">sendmail_settings</span>
129
- 9: <span class="ruby-identifier">sendmail_settings</span>.<span class="ruby-identifier">symbolize_keys!</span>
130
- 10: <span class="ruby-identifier">sendmail_args</span> = <span class="ruby-identifier">sendmail_settings</span>[<span class="ruby-identifier">:arguments</span>]
131
- 11: <span class="ruby-identifier">sendmail_args</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot; -f \&quot;#{mail.reply_to}\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mail</span>.<span class="ruby-identifier">reply_to</span>
132
- 12: <span class="ruby-constant">IO</span>.<span class="ruby-identifier">popen</span>(<span class="ruby-node">&quot;#{sendmail_settings[:location]} #{sendmail_args}&quot;</span>,<span class="ruby-value str">&quot;w+&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sm</span><span class="ruby-operator">|</span>
133
- 13: <span class="ruby-identifier">sm</span>.<span class="ruby-identifier">print</span>(<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">deliverable</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\r/</span>, <span class="ruby-value str">''</span>))
134
- 14: <span class="ruby-identifier">sm</span>.<span class="ruby-identifier">flush</span>
135
- 15: <span class="ruby-keyword kw">end</span>
136
- 16: <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>
@@ -1,153 +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::Notifier::DeliveryHandlers::Smtp</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::Notifier::DeliveryHandlers::Smtp</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/lib/mack-notifier/delivery_handlers/smtp_rb.html">
59
- lib/mack-notifier/delivery_handlers/smtp.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
- Delivers <a href="../../Notifier.html">Mack::Notifier</a> objects using
78
- Net::SMTP.
79
- </p>
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
- <div id="method-list">
87
- <h3 class="section-bar">Methods</h3>
88
-
89
- <div class="name-list">
90
- <a href="#M000027">deliver</a>&nbsp;&nbsp;
91
- </div>
92
- </div>
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
- <div id="methods">
110
- <h3 class="section-bar">Public Class methods</h3>
111
-
112
- <div id="method-M000027" class="method-detail">
113
- <a name="M000027"></a>
114
-
115
- <div class="method-heading">
116
- <a href="#M000027" class="method-signature">
117
- <span class="method-name">deliver</span><span class="method-args">(mail)</span>
118
- </a>
119
- </div>
120
-
121
- <div class="method-description">
122
- <p><a class="source-toggle" href="#"
123
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
124
- <div class="method-source-code" id="M000027-source">
125
- <pre>
126
- <span class="ruby-comment cmt"># File lib/mack-notifier/delivery_handlers/smtp.rb, line 8</span>
127
- 8: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">deliver</span>(<span class="ruby-identifier">mail</span>)
128
- 9: <span class="ruby-identifier">smtp_settings</span> = <span class="ruby-identifier">app_config</span>.<span class="ruby-identifier">notifier</span>.<span class="ruby-identifier">smtp_settings</span>
129
- 10: <span class="ruby-identifier">smtp_settings</span>.<span class="ruby-identifier">symbolize_keys!</span>
130
- 11: <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">SMTP</span>.<span class="ruby-identifier">start</span>(<span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:address</span>], <span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:port</span>],
131
- 12: <span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:domain</span>], <span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:user_name</span>],
132
- 13: <span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:password</span>], <span class="ruby-identifier">smtp_settings</span>[<span class="ruby-identifier">:authentication</span>]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">smtp</span><span class="ruby-operator">|</span>
133
- 14: <span class="ruby-identifier">smtp</span>.<span class="ruby-identifier">sendmail</span>(<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">deliverable</span>, <span class="ruby-identifier">mail</span>.<span class="ruby-identifier">reply_to</span>, <span class="ruby-identifier">mail</span>.<span class="ruby-identifier">recipients</span>)
134
- 15: <span class="ruby-keyword kw">end</span>
135
- 16: <span class="ruby-keyword kw">end</span>
136
- </pre>
137
- </div>
138
- </div>
139
- </div>
140
-
141
-
142
- </div>
143
-
144
-
145
- </div>
146
-
147
-
148
- <div id="validator-badges">
149
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
150
- </div>
151
-
152
- </body>
153
- </html>
@@ -1,147 +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::Notifier::DeliveryHandlers::Test</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::Notifier::DeliveryHandlers::Test</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/lib/mack-notifier/delivery_handlers/test_rb.html">
59
- lib/mack-notifier/delivery_handlers/test.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
- Delivers <a href="../../Notifier.html">Mack::Notifier</a> objects to an
78
- Array.
79
- </p>
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
- <div id="method-list">
87
- <h3 class="section-bar">Methods</h3>
88
-
89
- <div class="name-list">
90
- <a href="#M000028">deliver</a>&nbsp;&nbsp;
91
- </div>
92
- </div>
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
- <div id="methods">
110
- <h3 class="section-bar">Public Class methods</h3>
111
-
112
- <div id="method-M000028" class="method-detail">
113
- <a name="M000028"></a>
114
-
115
- <div class="method-heading">
116
- <a href="#M000028" class="method-signature">
117
- <span class="method-name">deliver</span><span class="method-args">(notifier)</span>
118
- </a>
119
- </div>
120
-
121
- <div class="method-description">
122
- <p><a class="source-toggle" href="#"
123
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
124
- <div class="method-source-code" id="M000028-source">
125
- <pre>
126
- <span class="ruby-comment cmt"># File lib/mack-notifier/delivery_handlers/test.rb, line 7</span>
127
- 7: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">deliver</span>(<span class="ruby-identifier">notifier</span>)
128
- 8: <span class="ruby-constant">NotifierRegistry</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">notifier</span>)
129
- 9: <span class="ruby-keyword kw">end</span>
130
- </pre>
131
- </div>
132
- </div>
133
- </div>
134
-
135
-
136
- </div>
137
-
138
-
139
- </div>
140
-
141
-
142
- <div id="validator-badges">
143
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
144
- </div>
145
-
146
- </body>
147
- </html>