gravaty 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG +835 -0
  3. data/COPYING.md +675 -0
  4. data/Gemfile +21 -0
  5. data/ISSUES.md +62 -0
  6. data/README.md +287 -0
  7. data/Rakefile +52 -0
  8. data/acknowledgements.md +66 -0
  9. data/authors.md +63 -0
  10. data/copyright.md +468 -0
  11. data/examples/avatar.rb +159 -0
  12. data/examples/basics.rb +75 -0
  13. data/examples/cacert.pem +3401 -0
  14. data/examples/profile.rb +187 -0
  15. data/examples/xmlrpc.rb +41 -0
  16. data/gravaty.gemspec +78 -0
  17. data/gravaty.odp +0 -0
  18. data/gravaty.pdf +0 -0
  19. data/html/CHANGELOG.html +1117 -0
  20. data/html/COPYING_md.html +393 -0
  21. data/html/Gemfile.html +108 -0
  22. data/html/Gravaty/Gravaty.html +1002 -0
  23. data/html/Gravaty/ParsableDuckType.html +162 -0
  24. data/html/Gravaty/Parser.html +239 -0
  25. data/html/Gravaty/Parsers/Avatar.html +169 -0
  26. data/html/Gravaty/Parsers/Callback.html +170 -0
  27. data/html/Gravaty/Parsers/Default.html +178 -0
  28. data/html/Gravaty/Parsers/Force.html +170 -0
  29. data/html/Gravaty/Parsers/Format.html +181 -0
  30. data/html/Gravaty/Parsers/Pixelsize.html +181 -0
  31. data/html/Gravaty/Parsers/Rating.html +181 -0
  32. data/html/Gravaty/Parsers/Secure.html +169 -0
  33. data/html/Gravaty/Parsers/Type.html +181 -0
  34. data/html/Gravaty/Parsers.html +96 -0
  35. data/html/Gravaty/Utils/Downloader/Downloader.html +227 -0
  36. data/html/Gravaty/Utils/Downloader.html +108 -0
  37. data/html/Gravaty/Utils/Raisers.html +203 -0
  38. data/html/Gravaty/Utils/Rfc5322.html +139 -0
  39. data/html/Gravaty/Utils/RpcConnector/RpcConnector.html +248 -0
  40. data/html/Gravaty/Utils/RpcConnector.html +111 -0
  41. data/html/Gravaty/Utils.html +111 -0
  42. data/html/Gravaty.html +320 -0
  43. data/html/ISSUES_md.html +165 -0
  44. data/html/Object.html +187 -0
  45. data/html/README_md.html +276 -0
  46. data/html/Rakefile.html +141 -0
  47. data/html/acknowledgements_md.html +160 -0
  48. data/html/authors_md.html +173 -0
  49. data/html/copyright_md.html +481 -0
  50. data/html/created.rid +59 -0
  51. data/html/css/fonts.css +167 -0
  52. data/html/css/rdoc.css +590 -0
  53. data/html/examples/cacert_pem.html +1056 -0
  54. data/html/fonts/Lato-Light.ttf +0 -0
  55. data/html/fonts/Lato-LightItalic.ttf +0 -0
  56. data/html/fonts/Lato-Regular.ttf +0 -0
  57. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  58. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  59. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  60. data/html/gravaty_gemspec.html +169 -0
  61. data/html/images/add.png +0 -0
  62. data/html/images/arrow_up.png +0 -0
  63. data/html/images/brick.png +0 -0
  64. data/html/images/brick_link.png +0 -0
  65. data/html/images/bug.png +0 -0
  66. data/html/images/bullet_black.png +0 -0
  67. data/html/images/bullet_toggle_minus.png +0 -0
  68. data/html/images/bullet_toggle_plus.png +0 -0
  69. data/html/images/date.png +0 -0
  70. data/html/images/delete.png +0 -0
  71. data/html/images/find.png +0 -0
  72. data/html/images/loadingAnimation.gif +0 -0
  73. data/html/images/macFFBgHack.png +0 -0
  74. data/html/images/package.png +0 -0
  75. data/html/images/page_green.png +0 -0
  76. data/html/images/page_white_text.png +0 -0
  77. data/html/images/page_white_width.png +0 -0
  78. data/html/images/plugin.png +0 -0
  79. data/html/images/ruby.png +0 -0
  80. data/html/images/tag_blue.png +0 -0
  81. data/html/images/tag_green.png +0 -0
  82. data/html/images/transparent.png +0 -0
  83. data/html/images/wrench.png +0 -0
  84. data/html/images/wrench_orange.png +0 -0
  85. data/html/images/zoom.png +0 -0
  86. data/html/index.html +308 -0
  87. data/html/js/darkfish.js +161 -0
  88. data/html/js/jquery.js +4 -0
  89. data/html/js/navigation.js +141 -0
  90. data/html/js/navigation.js.gz +0 -0
  91. data/html/js/search.js +109 -0
  92. data/html/js/search_index.js +1 -0
  93. data/html/js/search_index.js.gz +0 -0
  94. data/html/js/searcher.js +229 -0
  95. data/html/js/searcher.js.gz +0 -0
  96. data/html/table_of_contents.html +995 -0
  97. data/lib/gravaty/application.rb +354 -0
  98. data/lib/gravaty/constants.rb +65 -0
  99. data/lib/gravaty/locales/en.yml +38 -0
  100. data/lib/gravaty/locales/it.yml +38 -0
  101. data/lib/gravaty/locales/ja.yml +39 -0
  102. data/lib/gravaty/parser.rb +50 -0
  103. data/lib/gravaty/parsers/avatar.rb +40 -0
  104. data/lib/gravaty/parsers/callback.rb +41 -0
  105. data/lib/gravaty/parsers/default.rb +92 -0
  106. data/lib/gravaty/parsers/force.rb +40 -0
  107. data/lib/gravaty/parsers/format.rb +45 -0
  108. data/lib/gravaty/parsers/pixelsize.rb +45 -0
  109. data/lib/gravaty/parsers/rating.rb +45 -0
  110. data/lib/gravaty/parsers/secure.rb +39 -0
  111. data/lib/gravaty/parsers/type.rb +45 -0
  112. data/lib/gravaty/utils/downloader.rb +156 -0
  113. data/lib/gravaty/utils/raisers.rb +63 -0
  114. data/lib/gravaty/utils/rfc5322.rb +110 -0
  115. data/lib/gravaty/utils/rpc_connector.rb +86 -0
  116. data/lib/gravaty/version.rb +24 -0
  117. data/lib/gravaty.rb +75 -0
  118. data/test/gravaty/locales/test_locales.rb +69 -0
  119. data/test/gravaty/parsers/test_avatar.rb +39 -0
  120. data/test/gravaty/parsers/test_callback.rb +42 -0
  121. data/test/gravaty/parsers/test_default.rb +79 -0
  122. data/test/gravaty/parsers/test_force.rb +39 -0
  123. data/test/gravaty/parsers/test_format.rb +54 -0
  124. data/test/gravaty/parsers/test_pixelsize.rb +56 -0
  125. data/test/gravaty/parsers/test_rating.rb +54 -0
  126. data/test/gravaty/parsers/test_secure.rb +39 -0
  127. data/test/gravaty/parsers/test_type.rb +44 -0
  128. data/test/gravaty/test_application.rb +126 -0
  129. data/test/gravaty/test_avatar.rb +122 -0
  130. data/test/gravaty/test_parser.rb +59 -0
  131. data/test/gravaty/test_profile.rb +70 -0
  132. data/test/gravaty/utils/test_downloader.rb +51 -0
  133. data/test/gravaty/utils/test_raisers.rb +62 -0
  134. data/test/gravaty/utils/test_rfc5322.rb +82 -0
  135. data/test/gravaty/utils/test_rpc_connector.rb +82 -0
  136. data/test/test_gravaty.rb +48 -0
  137. data/test/test_helper.rb +105 -0
  138. metadata +348 -0
data/html/Gravaty.html ADDED
@@ -0,0 +1,320 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Gravaty - 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-c-gravatize">::gravatize</a>
69
+
70
+ </ul>
71
+ </div>
72
+
73
+ </div>
74
+ </nav>
75
+
76
+ <main role="main" aria-labelledby="module-Gravaty">
77
+ <h1 id="module-Gravaty" class="module">
78
+ module Gravaty
79
+ </h1>
80
+
81
+ <section class="description">
82
+ <dl class="rdoc-list note-list"><dt>Author
83
+ <dd>
84
+ <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
85
+ </dd><dt>Copyright
86
+ <dd>
87
+ <p>Copyright © 2013, 2014, 2015, 2016, 2017, 2018,</p>
88
+ </dd></dl>
89
+
90
+ <p>2019 Marco Bresciani</p>
91
+ <dl class="rdoc-list note-list"><dt>License
92
+ <dd>
93
+ <p>GNU General Public License version 3</p>
94
+ </dd></dl>
95
+
96
+ </section>
97
+
98
+
99
+ <section id="5Buntitled-5D" class="documentation-section">
100
+
101
+
102
+
103
+
104
+
105
+ <section class="constants-list">
106
+ <header>
107
+ <h3>Constants</h3>
108
+ </header>
109
+ <dl>
110
+
111
+ <dt id="ALLOWED_PARAMS">ALLOWED_PARAMS
112
+
113
+ <dd><p>Allowed parameters names. Currently: avatar, callback, default, force, format, pixelsize, rating, secure and type.</p>
114
+
115
+
116
+ <dt id="ALLOWED_SIZES">ALLOWED_SIZES
117
+
118
+ <dd><p>Allowed sizes (in pixels) for images requests. Currently a range from 1 to 2048 (included).</p>
119
+
120
+
121
+ <dt id="AVATAR_FORMATS">AVATAR_FORMATS
122
+
123
+ <dd><p>Allowed formats (extensions) for avatar requests. Currently: jp(e)g, png and gif.</p>
124
+
125
+
126
+ <dt id="DEFAULT_OPTIONS">DEFAULT_OPTIONS
127
+
128
+ <dd><p>Currently allowed default builtin options. Currently: 404, mp, identicon, monsterid,wavatar, retro, robohash and blank.</p>
129
+
130
+
131
+ <dt id="IMAGES_FORMATS">IMAGES_FORMATS
132
+
133
+ <dd><p>Allowed formats (extensions) for default own images. Currently: jp(e)g, png and gif.</p>
134
+
135
+
136
+ <dt id="PROFILES">PROFILES
137
+
138
+ <dd><p>Formats allowing supplemental options for profile requests. Currently json and qr.</p>
139
+
140
+
141
+ <dt id="PROFILE_FORMATS">PROFILE_FORMATS
142
+
143
+ <dd><p>Allowed formats (extensions) for profile requests. Currently: json, xml, php, vcf and qr.</p>
144
+
145
+
146
+ <dt id="RATING_OPTIONS">RATING_OPTIONS
147
+
148
+ <dd><p>Allowed rating options. Currently: g, pg, r and x.</p>
149
+
150
+
151
+ <dt id="RPC_ERRORS">RPC_ERRORS
152
+
153
+ <dd><p>Possible XML-RPC API errors.</p>
154
+
155
+
156
+ <dt id="RPC_METHODS">RPC_METHODS
157
+
158
+ <dd><p>Allowed XML-RPC API methods.</p>
159
+
160
+
161
+ <dt id="RPC_TEST_METHOD">RPC_TEST_METHOD
162
+
163
+ <dd><p>Default test method for XML-RPC API.</p>
164
+
165
+
166
+ <dt id="RPC_URI">RPC_URI
167
+
168
+ <dd><p>Reference URI for XML-RPC API.</p>
169
+
170
+
171
+ <dt id="TEST_BASIC_AVATAR">TEST_BASIC_AVATAR
172
+
173
+ <dd><p>Example basic URI (avatar part) for testing purposes.</p>
174
+
175
+
176
+ <dt id="TEST_BASIC_PROFILE">TEST_BASIC_PROFILE
177
+
178
+ <dd><p>Example basic URI (profile part) for testing purposes.</p>
179
+
180
+
181
+ <dt id="TEST_CALLBACK">TEST_CALLBACK
182
+
183
+ <dd><p>Example generic callback string for testing purposes.</p>
184
+
185
+
186
+ <dt id="TEST_FORCED">TEST_FORCED
187
+
188
+ <dd><p>Example resulting query string when forced default for testing purposes.</p>
189
+
190
+
191
+ <dt id="TEST_JSON_REGEXP">TEST_JSON_REGEXP
192
+
193
+ <dd><p>Example json file extension regular expression for testing purposes.</p>
194
+
195
+
196
+ <dt id="TEST_MY_ADDRESS">TEST_MY_ADDRESS
197
+
198
+ <dd><p>Example mail address for testing purposes.</p>
199
+
200
+
201
+ <dt id="TEST_MY_MD5">TEST_MY_MD5
202
+
203
+ <dd><p>Example MD5&#39;ed mail address for testing purposes.</p>
204
+
205
+
206
+ <dt id="TEST_QR_REGEXP">TEST_QR_REGEXP
207
+
208
+ <dd><p>Example QRCode file extension regular expression for testing purposes.</p>
209
+
210
+
211
+ <dt id="TEST_SECURE_URI_REGEXP">TEST_SECURE_URI_REGEXP
212
+
213
+ <dd><p>Example secure (HTTPS) URI header regular expression for testing purposes.</p>
214
+
215
+
216
+ <dt id="TEST_SIMPLE_URI_REGEXP">TEST_SIMPLE_URI_REGEXP
217
+
218
+ <dd><p>Example simple (HTTP) URI header regular expression for testing purposes.</p>
219
+
220
+
221
+ <dt id="TEST_SIZE_REGEXP">TEST_SIZE_REGEXP
222
+
223
+ <dd><p>Example size string regular expression for testing purposes.</p>
224
+
225
+
226
+ <dt id="TEST_STRING">TEST_STRING
227
+
228
+ <dd><p>Example hash with basic URI parts for testing purposes.</p>
229
+
230
+
231
+ <dt id="TEST_UNSECURE_URI_REGEXP">TEST_UNSECURE_URI_REGEXP
232
+
233
+ <dd><p>Example unsecure (HTTP) URI header regular expression for testing purposes.</p>
234
+
235
+
236
+ <dt id="VERSION">VERSION
237
+
238
+ <dd><p>Current version number for <a href="Gravaty/Gravaty.html"><code>Gravaty</code></a> gem.</p>
239
+
240
+
241
+ </dl>
242
+ </section>
243
+
244
+
245
+
246
+
247
+
248
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
249
+ <header>
250
+ <h3>Public Class Methods</h3>
251
+ </header>
252
+
253
+
254
+ <div id="method-c-gravatize" class="method-detail ">
255
+
256
+ <div class="method-heading">
257
+ <span class="method-name">gravatize</span><span
258
+ class="method-args">(email_address)</span>
259
+
260
+ <span class="method-click-advice">click to toggle source</span>
261
+
262
+ </div>
263
+
264
+
265
+ <div class="method-description">
266
+
267
+ <p>Creates a new <a href="Gravaty/Gravaty.html"><code>Gravaty</code></a> described by the user&#39;s <code>email</code>. Throws a <code>ArgumentError</code> exception if the supplied <code>email</code> address is nil or not valid according to RFC5322.</p>
268
+ <dl class="rdoc-list note-list"><dt>Usage
269
+ <dd><ul><li>
270
+ <p><code>new_gravaty = Gravaty::gravatize email</code></p>
271
+ </li><li>
272
+ <p><code>new_gravaty = Gravaty::gravatize(email)</code></p>
273
+ </li></ul>
274
+ </dd><dt>Params
275
+ <dd>
276
+ <p><code>email_address</code>, the user&#39;s email address (a syntactically</p>
277
+ </dd></dl>
278
+
279
+ <p>valid one).</p>
280
+ <dl class="rdoc-list note-list"><dt>Returns
281
+ <dd>
282
+ <p>a <code>Gravaty</code> object for the specified <code>email</code> address.</p>
283
+ </dd><dt>Raises
284
+ <dd>
285
+ <p><code>ArgumentError</code>, if the supplied <code>email</code> address is <code>nil</code></p>
286
+ </dd></dl>
287
+
288
+ <p>or not valid according to RFC 5322.</p>
289
+
290
+
291
+
292
+
293
+ <div class="method-source-code" id="gravatize-source">
294
+ <pre> <span class="ruby-comment"># File lib/gravaty.rb</span>
295
+ <span class="line-num">53</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">gravatize</span>(<span class="ruby-identifier">email_address</span>)
296
+ <span class="line-num">54</span> <span class="ruby-constant">Gravaty</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">email_address</span>, <span class="ruby-identifier">parser</span>
297
+ <span class="line-num">55</span> <span class="ruby-keyword">end</span></pre>
298
+ </div>
299
+
300
+ </div>
301
+
302
+
303
+
304
+
305
+ </div>
306
+
307
+
308
+ </section>
309
+
310
+ </section>
311
+
312
+ </main>
313
+
314
+
315
+ <footer id="validator-badges" role="contentinfo">
316
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
317
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
318
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
319
+ </footer>
320
+
@@ -0,0 +1,165 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>ISSUES - 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="file">
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
+ <div class="nav-section">
57
+ <h3>Table of Contents</h3>
58
+
59
+ <ul class="link-list" role="directory">
60
+ <li><a href="#label-Gravaty+Issues">Gravaty Issues</a>
61
+ <li><a href="#label-Documentation">Documentation</a>
62
+ <li><a href="#label-Known+Bugs">Known Bugs</a>
63
+ <li><a href="#label-Reporting+Unresolved+Problems">Reporting Unresolved Problems</a>
64
+ </ul>
65
+ </div>
66
+
67
+
68
+ <div id="project-metadata">
69
+ <div id="fileindex-section" class="nav-section">
70
+ <h3>Pages</h3>
71
+
72
+ <ul class="link-list">
73
+
74
+ <li><a href="./CHANGELOG.html">CHANGELOG</a>
75
+
76
+ <li><a href="./COPYING_md.html">COPYING</a>
77
+
78
+ <li><a href="./Gemfile.html">Gemfile</a>
79
+
80
+ <li><a href="./ISSUES_md.html">ISSUES</a>
81
+
82
+ <li><a href="./README_md.html">README</a>
83
+
84
+ <li><a href="./Rakefile.html">Rakefile</a>
85
+
86
+ <li><a href="./acknowledgements_md.html">acknowledgements</a>
87
+
88
+ <li><a href="./authors_md.html">authors</a>
89
+
90
+ <li><a href="./copyright_md.html">copyright</a>
91
+
92
+ <li><a href="./examples/cacert_pem.html">cacert.pem</a>
93
+
94
+ <li><a href="./gravaty_gemspec.html">gravaty.gemspec</a>
95
+
96
+ </ul>
97
+ </div>
98
+
99
+ </div>
100
+ </nav>
101
+
102
+ <main role="main" aria-label="Page ISSUES.md">
103
+ <!--
104
+ gravaty
105
+
106
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
107
+
108
+ This file is part of gravaty.
109
+
110
+ gravaty is free software: you can redistribute it and/or modify it under
111
+ the terms of the GNU General Public License as published by the Free
112
+ Software Foundation, either version 3 of the License, or (at your
113
+ option) any later version.
114
+
115
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
116
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
117
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
118
+ more details.
119
+
120
+ You should have received a copy of the GNU General Public License along
121
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
122
+ -->
123
+ <h1 id="label-Gravaty+Issues"><a href="Gravaty.html"><code>Gravaty</code></a> Issues<span><a href="#label-Gravaty+Issues">&para;</a> <a href="#top">&uarr;</a></span></h1>
124
+
125
+ <h2 id="label-Documentation">Documentation<span><a href="#label-Documentation">&para;</a> <a href="#top">&uarr;</a></span></h2>
126
+
127
+ <p>See <a href="https://savannah.nongnu.org/projects/gravaty">savannah.nongnu.org/projects/gravaty</a>/ or <a href="http://rubydoc.info/gems/gravaty">rubydoc.info/gems/gravaty</a>/ for latest information.</p>
128
+
129
+ <h2 id="label-Known+Bugs">Known Bugs<span><a href="#label-Known+Bugs">&para;</a> <a href="#top">&uarr;</a></span></h2>
130
+ <table border="1">
131
+ <thead><tr><th>Bug</th><th>Level</th><th>Description</th><th>Other
132
+ Info</th></tr></thead>
133
+ <tbody><tr><td><a href="https://savannah.nongnu.org/bugs/?39928">
134
+ 39928</a></td><td>important</td><td>Matches of 'Joe Q. Public
135
+ <john.q.public@example.com>' invalid email</td><td><a
136
+ href="https://freedomsponsors.org/issue/335/matches-of-joe-q-public-johnqpublicexamplecom-invalid-email">Sponsor
137
+ this issue</a></td></tr></tbody>
138
+ </table>
139
+ <h2 id="label-Reporting+Unresolved+Problems">Reporting Unresolved Problems<span><a href="#label-Reporting+Unresolved+Problems">&para;</a> <a href="#top">&uarr;</a></span></h2>
140
+
141
+ <p>See <a href="https://savannah.nongnu.org/bugs/?group=gravaty">savannah.nongnu.org/bugs/?group=gravaty</a> and the submit page <a href="https://savannah.nongnu.org/bugs/?func=additem&group=gravaty">savannah.nongnu.org/bugs/?func=additem&group=gravaty</a> on Savannah.NonGNU server.</p>
142
+ <hr>
143
+
144
+ <p>gravaty</p>
145
+
146
+ <p>Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani</p>
147
+
148
+ <p>This file is part of gravaty.</p>
149
+
150
+ <p>gravaty is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
151
+
152
+ <p>gravaty is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
153
+
154
+ <p>You should have received a copy of the GNU General Public License along with gravaty. If not, see <a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
155
+
156
+ </main>
157
+
158
+
159
+
160
+ <footer id="validator-badges" role="contentinfo">
161
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
162
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
163
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
164
+ </footer>
165
+
data/html/Object.html ADDED
@@ -0,0 +1,187 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Object - 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="class">
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
+ <div id="parent-class-section" class="nav-section">
60
+ <h3>Parent</h3>
61
+
62
+
63
+ <p class="link">BasicObject
64
+
65
+ </div>
66
+
67
+ <div id="includes-section" class="nav-section">
68
+ <h3>Included Modules</h3>
69
+
70
+ <ul class="link-list">
71
+
72
+
73
+ <li><a class="include" href="Gravaty/ParsableDuckType.html">Gravaty::ParsableDuckType</a>
74
+
75
+
76
+
77
+ <li><a class="include" href="Gravaty/Utils/Raisers.html">Gravaty::Utils::Raisers</a>
78
+
79
+
80
+ </ul>
81
+ </div>
82
+
83
+
84
+ <!-- Method Quickref -->
85
+ <div id="method-list-section" class="nav-section">
86
+ <h3>Methods</h3>
87
+
88
+ <ul class="link-list" role="directory">
89
+
90
+ <li ><a href="#method-i-load_yaml_file">#load_yaml_file</a>
91
+
92
+ </ul>
93
+ </div>
94
+
95
+ </div>
96
+ </nav>
97
+
98
+ <main role="main" aria-labelledby="class-Object">
99
+ <h1 id="class-Object" class="class">
100
+ class Object
101
+ </h1>
102
+
103
+ <section class="description">
104
+
105
+ </section>
106
+
107
+
108
+ <section id="5Buntitled-5D" class="documentation-section">
109
+
110
+
111
+
112
+
113
+
114
+ <section class="constants-list">
115
+ <header>
116
+ <h3>Constants</h3>
117
+ </header>
118
+ <dl>
119
+
120
+ <dt id="RELATIVE_PATH">RELATIVE_PATH
121
+
122
+ <dd>
123
+
124
+
125
+ </dl>
126
+ </section>
127
+
128
+
129
+
130
+
131
+
132
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
133
+ <header>
134
+ <h3>Public Instance Methods</h3>
135
+ </header>
136
+
137
+
138
+ <div id="method-i-load_yaml_file" class="method-detail ">
139
+
140
+ <div class="method-heading">
141
+ <span class="method-name">load_yaml_file</span><span
142
+ class="method-args">(locale)</span>
143
+
144
+ <span class="method-click-advice">click to toggle source</span>
145
+
146
+ </div>
147
+
148
+
149
+ <div class="method-description">
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <div class="method-source-code" id="load_yaml_file-source">
157
+ <pre> <span class="ruby-comment"># File test/gravaty/locales/test_locales.rb</span>
158
+ <span class="line-num">47</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">load_yaml_file</span>(<span class="ruby-identifier">locale</span>)
159
+ <span class="line-num">48</span> <span class="ruby-identifier">filename</span> = <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">dirname</span>(<span class="ruby-keyword">__FILE__</span>),
160
+ <span class="line-num">49</span> <span class="ruby-constant">RELATIVE_PATH</span>, <span class="ruby-node">&quot;#{locale}&quot;</span> <span class="ruby-operator">+</span>
161
+ <span class="line-num">50</span> <span class="ruby-string">&#39;.yml&#39;</span>)
162
+ <span class="line-num">51</span> <span class="ruby-identifier">filename</span> = <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">expand_path</span> <span class="ruby-identifier">filename</span>
163
+ <span class="line-num">52</span> <span class="ruby-constant">YAML</span><span class="ruby-operator">::</span><span class="ruby-identifier">load</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">open</span> <span class="ruby-node">&quot;#{filename}&quot;</span>)
164
+ <span class="line-num">53</span> <span class="ruby-keyword">end</span></pre>
165
+ </div>
166
+
167
+ </div>
168
+
169
+
170
+
171
+
172
+ </div>
173
+
174
+
175
+ </section>
176
+
177
+ </section>
178
+
179
+ </main>
180
+
181
+
182
+ <footer id="validator-badges" role="contentinfo">
183
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
184
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
185
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
186
+ </footer>
187
+