gravaty 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +835 -0
- data/COPYING.md +675 -0
- data/Gemfile +21 -0
- data/ISSUES.md +62 -0
- data/README.md +287 -0
- data/Rakefile +52 -0
- data/acknowledgements.md +66 -0
- data/authors.md +63 -0
- data/copyright.md +468 -0
- data/examples/avatar.rb +159 -0
- data/examples/basics.rb +75 -0
- data/examples/cacert.pem +3401 -0
- data/examples/profile.rb +187 -0
- data/examples/xmlrpc.rb +41 -0
- data/gravaty.gemspec +78 -0
- data/gravaty.odp +0 -0
- data/gravaty.pdf +0 -0
- data/html/CHANGELOG.html +1117 -0
- data/html/COPYING_md.html +393 -0
- data/html/Gemfile.html +108 -0
- data/html/Gravaty/Gravaty.html +1002 -0
- data/html/Gravaty/ParsableDuckType.html +162 -0
- data/html/Gravaty/Parser.html +239 -0
- data/html/Gravaty/Parsers/Avatar.html +169 -0
- data/html/Gravaty/Parsers/Callback.html +170 -0
- data/html/Gravaty/Parsers/Default.html +178 -0
- data/html/Gravaty/Parsers/Force.html +170 -0
- data/html/Gravaty/Parsers/Format.html +181 -0
- data/html/Gravaty/Parsers/Pixelsize.html +181 -0
- data/html/Gravaty/Parsers/Rating.html +181 -0
- data/html/Gravaty/Parsers/Secure.html +169 -0
- data/html/Gravaty/Parsers/Type.html +181 -0
- data/html/Gravaty/Parsers.html +96 -0
- data/html/Gravaty/Utils/Downloader/Downloader.html +227 -0
- data/html/Gravaty/Utils/Downloader.html +108 -0
- data/html/Gravaty/Utils/Raisers.html +203 -0
- data/html/Gravaty/Utils/Rfc5322.html +139 -0
- data/html/Gravaty/Utils/RpcConnector/RpcConnector.html +248 -0
- data/html/Gravaty/Utils/RpcConnector.html +111 -0
- data/html/Gravaty/Utils.html +111 -0
- data/html/Gravaty.html +320 -0
- data/html/ISSUES_md.html +165 -0
- data/html/Object.html +187 -0
- data/html/README_md.html +276 -0
- data/html/Rakefile.html +141 -0
- data/html/acknowledgements_md.html +160 -0
- data/html/authors_md.html +173 -0
- data/html/copyright_md.html +481 -0
- data/html/created.rid +59 -0
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +590 -0
- data/html/examples/cacert_pem.html +1056 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/gravaty_gemspec.html +169 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/transparent.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +308 -0
- data/html/js/darkfish.js +161 -0
- data/html/js/jquery.js +4 -0
- data/html/js/navigation.js +141 -0
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +109 -0
- data/html/js/search_index.js +1 -0
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +229 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +995 -0
- data/lib/gravaty/application.rb +354 -0
- data/lib/gravaty/constants.rb +65 -0
- data/lib/gravaty/locales/en.yml +38 -0
- data/lib/gravaty/locales/it.yml +38 -0
- data/lib/gravaty/locales/ja.yml +39 -0
- data/lib/gravaty/parser.rb +50 -0
- data/lib/gravaty/parsers/avatar.rb +40 -0
- data/lib/gravaty/parsers/callback.rb +41 -0
- data/lib/gravaty/parsers/default.rb +92 -0
- data/lib/gravaty/parsers/force.rb +40 -0
- data/lib/gravaty/parsers/format.rb +45 -0
- data/lib/gravaty/parsers/pixelsize.rb +45 -0
- data/lib/gravaty/parsers/rating.rb +45 -0
- data/lib/gravaty/parsers/secure.rb +39 -0
- data/lib/gravaty/parsers/type.rb +45 -0
- data/lib/gravaty/utils/downloader.rb +156 -0
- data/lib/gravaty/utils/raisers.rb +63 -0
- data/lib/gravaty/utils/rfc5322.rb +110 -0
- data/lib/gravaty/utils/rpc_connector.rb +86 -0
- data/lib/gravaty/version.rb +24 -0
- data/lib/gravaty.rb +75 -0
- data/test/gravaty/locales/test_locales.rb +69 -0
- data/test/gravaty/parsers/test_avatar.rb +39 -0
- data/test/gravaty/parsers/test_callback.rb +42 -0
- data/test/gravaty/parsers/test_default.rb +79 -0
- data/test/gravaty/parsers/test_force.rb +39 -0
- data/test/gravaty/parsers/test_format.rb +54 -0
- data/test/gravaty/parsers/test_pixelsize.rb +56 -0
- data/test/gravaty/parsers/test_rating.rb +54 -0
- data/test/gravaty/parsers/test_secure.rb +39 -0
- data/test/gravaty/parsers/test_type.rb +44 -0
- data/test/gravaty/test_application.rb +126 -0
- data/test/gravaty/test_avatar.rb +122 -0
- data/test/gravaty/test_parser.rb +59 -0
- data/test/gravaty/test_profile.rb +70 -0
- data/test/gravaty/utils/test_downloader.rb +51 -0
- data/test/gravaty/utils/test_raisers.rb +62 -0
- data/test/gravaty/utils/test_rfc5322.rb +82 -0
- data/test/gravaty/utils/test_rpc_connector.rb +82 -0
- data/test/test_gravaty.rb +48 -0
- data/test/test_helper.rb +105 -0
- metadata +348 -0
@@ -0,0 +1,108 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module Gravaty::Utils::Downloader - gravaty 9.0.0</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/jquery.js"></script>
|
15
|
+
<script src="../../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="module">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</div>
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
<main role="main" aria-labelledby="module-Gravaty::Utils::Downloader">
|
67
|
+
<h1 id="module-Gravaty::Utils::Downloader" class="module">
|
68
|
+
module Gravaty::Utils::Downloader
|
69
|
+
</h1>
|
70
|
+
|
71
|
+
<section class="description">
|
72
|
+
|
73
|
+
<p>This module is a simple wrapper container for Peter R. Marreck's gist.</p>
|
74
|
+
<dl class="rdoc-list note-list"><dt>Author
|
75
|
+
<dd>
|
76
|
+
<p><a href="mailto:jon.forums@gmail.com">Jon Maken</a></p>
|
77
|
+
</dd><dt>License
|
78
|
+
<dd>
|
79
|
+
<p>3-clause BSD</p>
|
80
|
+
</dd><dt>Revision
|
81
|
+
<dd>
|
82
|
+
<p>2012-03-25 23:01:19 -0600</p>
|
83
|
+
</dd></dl>
|
84
|
+
|
85
|
+
</section>
|
86
|
+
|
87
|
+
|
88
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
</section>
|
99
|
+
|
100
|
+
</main>
|
101
|
+
|
102
|
+
|
103
|
+
<footer id="validator-badges" role="contentinfo">
|
104
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
106
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
107
|
+
</footer>
|
108
|
+
|
@@ -0,0 +1,203 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module Gravaty::Utils::Raisers - gravaty 9.0.0</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/jquery.js"></script>
|
15
|
+
<script src="../../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="module">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
<!-- Method Quickref -->
|
63
|
+
<div id="method-list-section" class="nav-section">
|
64
|
+
<h3>Methods</h3>
|
65
|
+
|
66
|
+
<ul class="link-list" role="directory">
|
67
|
+
|
68
|
+
<li ><a href="#method-i-raiser_downcase">#raiser_downcase</a>
|
69
|
+
|
70
|
+
<li ><a href="#method-i-raiser_to_i">#raiser_to_i</a>
|
71
|
+
|
72
|
+
</ul>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
</div>
|
76
|
+
</nav>
|
77
|
+
|
78
|
+
<main role="main" aria-labelledby="module-Gravaty::Utils::Raisers">
|
79
|
+
<h1 id="module-Gravaty::Utils::Raisers" class="module">
|
80
|
+
module Gravaty::Utils::Raisers
|
81
|
+
</h1>
|
82
|
+
|
83
|
+
<section class="description">
|
84
|
+
|
85
|
+
<p>This module contains some utility method to raise errors according to (possibly) common conditions.</p>
|
86
|
+
<dl class="rdoc-list note-list"><dt>Author
|
87
|
+
<dd>
|
88
|
+
<p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
|
89
|
+
</dd><dt>Copyright
|
90
|
+
<dd>
|
91
|
+
<p>Copyright © 2013, 2014, 2015, 2016, 2017, 2018,</p>
|
92
|
+
</dd></dl>
|
93
|
+
|
94
|
+
<p>2019 Marco Bresciani</p>
|
95
|
+
<dl class="rdoc-list note-list"><dt>License
|
96
|
+
<dd>
|
97
|
+
<p>GNU General Public License version 3</p>
|
98
|
+
</dd></dl>
|
99
|
+
|
100
|
+
</section>
|
101
|
+
|
102
|
+
|
103
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
114
|
+
<header>
|
115
|
+
<h3>Public Instance Methods</h3>
|
116
|
+
</header>
|
117
|
+
|
118
|
+
|
119
|
+
<div id="method-i-raiser_downcase" class="method-detail ">
|
120
|
+
|
121
|
+
<div class="method-heading">
|
122
|
+
<span class="method-name">raiser_downcase</span><span
|
123
|
+
class="method-args">(name = 'error.value', value = nil, array = nil)</span>
|
124
|
+
|
125
|
+
<span class="method-click-advice">click to toggle source</span>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
|
130
|
+
<div class="method-description">
|
131
|
+
|
132
|
+
<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains a downcased <code>value</code>.</p>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<div class="method-source-code" id="raiser_downcase-source">
|
138
|
+
<pre> <span class="ruby-comment"># File lib/gravaty/utils/raisers.rb</span>
|
139
|
+
<span class="line-num">46</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raiser_downcase</span>(<span class="ruby-identifier">name</span> = <span class="ruby-string">'error.value'</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">array</span> = <span class="ruby-keyword">nil</span>)
|
140
|
+
<span class="line-num">47</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">nil?</span>
|
141
|
+
<span class="line-num">48</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>,
|
142
|
+
<span class="line-num">49</span> <span class="ruby-constant">I18n</span>.<span class="ruby-identifier">t</span>(<span class="ruby-identifier">name</span>, <span class="ruby-value">value:</span> <span class="ruby-identifier">value</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">array</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">downcase</span>
|
143
|
+
<span class="line-num">50</span> <span class="ruby-keyword">end</span>
|
144
|
+
<span class="line-num">51</span> <span class="ruby-keyword">end</span></pre>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
</div>
|
153
|
+
|
154
|
+
|
155
|
+
<div id="method-i-raiser_to_i" class="method-detail ">
|
156
|
+
|
157
|
+
<div class="method-heading">
|
158
|
+
<span class="method-name">raiser_to_i</span><span
|
159
|
+
class="method-args">(name = 'error.value', value = nil, array = nil)</span>
|
160
|
+
|
161
|
+
<span class="method-click-advice">click to toggle source</span>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
|
166
|
+
<div class="method-description">
|
167
|
+
|
168
|
+
<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the number of the <code>value</code>.</p>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<div class="method-source-code" id="raiser_to_i-source">
|
174
|
+
<pre> <span class="ruby-comment"># File lib/gravaty/utils/raisers.rb</span>
|
175
|
+
<span class="line-num">55</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raiser_to_i</span>(<span class="ruby-identifier">name</span> = <span class="ruby-string">'error.value'</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">array</span> = <span class="ruby-keyword">nil</span>)
|
176
|
+
<span class="line-num">56</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">nil?</span>
|
177
|
+
<span class="line-num">57</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>,
|
178
|
+
<span class="line-num">58</span> <span class="ruby-constant">I18n</span>.<span class="ruby-identifier">t</span>(<span class="ruby-identifier">name</span>, <span class="ruby-value">value:</span> <span class="ruby-identifier">value</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">array</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">to_i</span>
|
179
|
+
<span class="line-num">59</span> <span class="ruby-keyword">end</span>
|
180
|
+
<span class="line-num">60</span> <span class="ruby-keyword">end</span></pre>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
</div>
|
189
|
+
|
190
|
+
|
191
|
+
</section>
|
192
|
+
|
193
|
+
</section>
|
194
|
+
|
195
|
+
</main>
|
196
|
+
|
197
|
+
|
198
|
+
<footer id="validator-badges" role="contentinfo">
|
199
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
200
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
201
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
202
|
+
</footer>
|
203
|
+
|
@@ -0,0 +1,139 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module Gravaty::Utils::Rfc5322 - gravaty 9.0.0</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/jquery.js"></script>
|
15
|
+
<script src="../../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" role="document" class="module">
|
24
|
+
<nav role="navigation">
|
25
|
+
<div id="project-navigation">
|
26
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
27
|
+
<h2>
|
28
|
+
<a href="../../index.html" rel="home">Home</a>
|
29
|
+
</h2>
|
30
|
+
|
31
|
+
<div id="table-of-contents-navigation">
|
32
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
33
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
34
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
39
|
+
<form action="#" method="get" accept-charset="utf-8">
|
40
|
+
<div id="search-field-wrapper">
|
41
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
42
|
+
aria-autocomplete="list" aria-controls="search-results"
|
43
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<ul id="search-results" aria-label="Search Results"
|
48
|
+
aria-busy="false" aria-expanded="false"
|
49
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
50
|
+
</form>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</div>
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
<main role="main" aria-labelledby="module-Gravaty::Utils::Rfc5322">
|
67
|
+
<h1 id="module-Gravaty::Utils::Rfc5322" class="module">
|
68
|
+
module Gravaty::Utils::Rfc5322
|
69
|
+
</h1>
|
70
|
+
|
71
|
+
<section class="description">
|
72
|
+
|
73
|
+
<p>This module is a simple wrapper container for Peter R. Marreck's gist.</p>
|
74
|
+
<dl class="rdoc-list note-list"><dt>Author
|
75
|
+
<dd>
|
76
|
+
<p><a href="mailto:lumbergh@gmail.com">Peter R. Marreck</a></p>
|
77
|
+
</dd><dt>Copyright
|
78
|
+
<dd>
|
79
|
+
<p>Copyleft (©) 2013, Peter R. Marreck</p>
|
80
|
+
</dd><dt>License
|
81
|
+
<dd>
|
82
|
+
<p>This work is released under the BSD 3-Clause License</p>
|
83
|
+
</dd></dl>
|
84
|
+
|
85
|
+
<p><a href="http://choosealicense.com/licenses/bsd-3-clause">choosealicense.com/licenses/bsd-3-clause</a>/</p>
|
86
|
+
|
87
|
+
</section>
|
88
|
+
|
89
|
+
|
90
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<section class="constants-list">
|
97
|
+
<header>
|
98
|
+
<h3>Constants</h3>
|
99
|
+
</header>
|
100
|
+
<dl>
|
101
|
+
|
102
|
+
<dt id="EMAIL">EMAIL
|
103
|
+
|
104
|
+
<dd><p>This work is released under the BSD 3-Clause License <a href="http://choosealicense.com/licenses/bsd-3-clause">choosealicense.com/licenses/bsd-3-clause</a>/ Copyleft (©) 2013, Peter R. Marreck All rights reserved.</p>
|
105
|
+
|
106
|
+
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
|
107
|
+
|
108
|
+
<pre>Redistributions of source code must retain the above copyright
|
109
|
+
notice, this list of conditions and the following disclaimer.
|
110
|
+
|
111
|
+
Redistributions in binary form must reproduce the above copyright
|
112
|
+
notice, this list of conditions and the following disclaimer in the
|
113
|
+
documentation and/or other materials provided with the distribution.
|
114
|
+
|
115
|
+
Neither the name of the {organization} nor the names of its
|
116
|
+
contributors may be used to endorse or promote products derived from
|
117
|
+
this software without specific prior written permission.</pre>
|
118
|
+
|
119
|
+
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
|
120
|
+
|
121
|
+
|
122
|
+
</dl>
|
123
|
+
</section>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
</section>
|
130
|
+
|
131
|
+
</main>
|
132
|
+
|
133
|
+
|
134
|
+
<footer id="validator-badges" role="contentinfo">
|
135
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
136
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
137
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
138
|
+
</footer>
|
139
|
+
|