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/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # gravaty
2
+ # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
3
+ #
4
+ # This file is part of gravaty.
5
+ #
6
+ # gravaty is free software: you can redistribute it and/or modify it
7
+ # under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # gravaty is distributed in the hope that it will be useful, but WITHOUT
12
+ # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with gravaty. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ source 'https://rubygems.org'
20
+
21
+ gemspec
data/ISSUES.md ADDED
@@ -0,0 +1,62 @@
1
+ <!--
2
+ gravaty
3
+
4
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
5
+
6
+ This file is part of gravaty.
7
+
8
+ gravaty is free software: you can redistribute it and/or modify it under
9
+ the terms of the GNU General Public License as published by the Free
10
+ Software Foundation, either version 3 of the License, or (at your
11
+ option) any later version.
12
+
13
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
14
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
+ more details.
17
+
18
+ You should have received a copy of the GNU General Public License along
19
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
20
+ -->
21
+
22
+ # Gravaty Issues
23
+ ## Documentation
24
+ See https://savannah.nongnu.org/projects/gravaty/ or
25
+ http://rubydoc.info/gems/gravaty/ for latest information.
26
+
27
+ ## Known Bugs
28
+ <table border="1">
29
+ <thead><tr><th>Bug</th><th>Level</th><th>Description</th><th>Other
30
+ Info</th></tr></thead>
31
+ <tbody><tr><td><a href="https://savannah.nongnu.org/bugs/?39928">
32
+ 39928</a></td><td>important</td><td>Matches of 'Joe Q. Public
33
+ <john.q.public@example.com>' invalid email</td><td><a
34
+ href="https://freedomsponsors.org/issue/335/matches-of-joe-q-public-johnqpublicexamplecom-invalid-email">Sponsor
35
+ this issue</a></td></tr></tbody>
36
+ </table>
37
+
38
+ ## Reporting Unresolved Problems
39
+ See <https://savannah.nongnu.org/bugs/?group=gravaty> and the submit
40
+ page <https://savannah.nongnu.org/bugs/?func=additem&group=gravaty> on
41
+ Savannah.NonGNU server.
42
+
43
+ ------------------------------------------
44
+
45
+ gravaty
46
+
47
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
48
+
49
+ This file is part of gravaty.
50
+
51
+ gravaty is free software: you can redistribute it and/or modify it under
52
+ the terms of the GNU General Public License as published by the Free
53
+ Software Foundation, either version 3 of the License, or (at your
54
+ option) any later version.
55
+
56
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
57
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
58
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
59
+ more details.
60
+
61
+ You should have received a copy of the GNU General Public License along
62
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
data/README.md ADDED
@@ -0,0 +1,287 @@
1
+ <!--
2
+ gravaty
3
+
4
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
5
+
6
+ This file is part of gravaty.
7
+
8
+ gravaty is free software: you can redistribute it and/or modify it under
9
+ the terms of the GNU General Public License as published by the Free
10
+ Software Foundation, either version 3 of the License, or (at your
11
+ option) any later version.
12
+
13
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
14
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
+ more details.
17
+
18
+ You should have received a copy of the GNU General Public License along
19
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
20
+ -->
21
+
22
+ # Gravaty
23
+ ![Gem](https://img.shields.io/gem/v/gravaty.svg?style=plastic)
24
+ ![Gem](https://img.shields.io/gem/dt/gravaty.svg?style=plastic)
25
+ ![Gem](https://img.shields.io/gem/dtv/gravaty.svg?style=plastic)
26
+ ![Gem download rank](https://img.shields.io/gem/rt/gravaty.svg?style=plastic)
27
+ ![Gem download rank (daily)](https://img.shields.io/gem/rd/gravaty.svg?style=plastic)
28
+ ![Dependent repos (via libraries.io)](https://img.shields.io/librariesio/dependent-repos/rubygems/gravaty.svg?style=plastic)
29
+
30
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
31
+
32
+ This file is part of gravaty.
33
+
34
+ gravaty is free software: you can redistribute it and/or modify it under
35
+ the terms of the GNU General Public License as published by the Free
36
+ Software Foundation, either version 3 of the License, or (at your
37
+ option) any later version.
38
+
39
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
40
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
41
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
42
+ more details.
43
+
44
+ You should have received a copy of the GNU General Public License along
45
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
46
+
47
+ ## Description
48
+ This gem automagically prepares complete URIs for Gravatar, for both
49
+ avatars and profiles, with all currently supported options, included the
50
+ XML-RPC API, as of 2019-04-23, starting from a single email address!
51
+
52
+ It's my first 'real' Ruby gem, hoping it will be useful for someone (let
53
+ me know if you use it, please!).
54
+
55
+ GNU GPLv3 license; source code available through anonymous checkout:
56
+ `hg clone http://hg.savannah.nongnu.org/hgweb/gravaty/` or write me and
57
+ I'll send it.
58
+
59
+ You can even decide to contribute to this little free software project
60
+ by registering to Savannah and ask to be part of the 'gravaty' project!
61
+ With contributions from: 新部裕, Peter R. Marreck, Jon Maken, Łukasz
62
+ Niemier.
63
+
64
+ ## Documentation
65
+ Gravaty tries to follow semantic versioning (see <http://semver.org/>).
66
+ There may be backward incompatible changes each time minor version
67
+ number changes, but that any tiny version number change should be bug
68
+ fixes and internal changes only. Be sure to read the CHANGELOG each time
69
+ we cut a new release and lock your gems accordingly.
70
+
71
+ RDoc documentation available in the html folder.
72
+
73
+ ### Installing Gravaty
74
+ RubyGems is the preferred easy install method for Gravaty. Gravaty is
75
+ intended to be installed via the
76
+ [RubyGems](http://rubyforge.org/projects/rubygems/) system. To get the
77
+ latest version, simply enter the following into your command prompt:
78
+ `gem install gravaty`.
79
+
80
+ *NOTE*: for both examples and tests, you may need to set a SSL
81
+ certificate file. In Microsoft Windows environment, the easiest way is
82
+ as described by the downloader gist. You have to download the
83
+ certificates from <http://curl.haxx.se/ca/cacert.pem> (for example)
84
+ and, for example, put the cacert.pem file in the gravaty home directory.
85
+ Then `set SSL_CERT_FILE=`{FULL_PATH}`\cacert.pem` and finally try to run
86
+ `ruby avatar.rb` or `ruby profiles.rb` from the `examples` directory;
87
+ both examples should download two files each! The same environment
88
+ variable would be needed to run the tests against the XML-RPC API.
89
+
90
+ ### Supported Ruby Versions and Implementations
91
+ Because Gravaty is pure Ruby, it should run pretty much anywhere,
92
+ including Rubinius, JRuby, MacRuby, etc. Officially the support is for
93
+ \>= 2.6 YARV/KRI.
94
+
95
+ ### Support
96
+ The easiest way to get help with Gravaty is to post a message to the
97
+ mailing list: `http://lists.nongnu.org/mailman/listinfo/gravaty-users`.
98
+
99
+ Feel free to post any question there, developers are responsive and will
100
+ be happy to help you figure out how to use Gravaty, or help you
101
+ determine whether it's the right tool for the task you are working on.
102
+
103
+ Please make your posts to the list as specific as possible, including
104
+ code samples and output where relevant. Do not post any information that
105
+ should not be shared publicly, and be sure to reduce your example code
106
+ as much as possible so that those who are responding to your question
107
+ can more easily see what the issue might be.
108
+
109
+ ### Contributing
110
+ If you've found a bug, want to submit a patch, or have a feature
111
+ request, please enter a ticket into our bug tracker:
112
+ `https://savannah.nongnu.org/bugs/?func=additem&group=gravaty`.
113
+
114
+ We strongly encourage bug reports to come with failing tests or at least
115
+ a reduced example that demonstrates the problem.
116
+
117
+ Similarly, patches should include tests, API documentation, and an
118
+ update to the manual where relevant. Feel free to clone early though and
119
+ participate in the project, if you just want some feedback or a code
120
+ review before preparing your code to be merged.
121
+
122
+ If you are unsure about whether or not you've found a bug, or want to
123
+ check to see whether we'd be interested in the feature you want to add
124
+ before you start working on it, feel free to post to our mailing list.
125
+
126
+ ### License
127
+ Gravaty is released under GNU GPL v3 license: if you wish to contribute
128
+ to Gravaty, you will retain your own copyright but must agree to license
129
+ your code under the same terms as the project itself (or any compatible
130
+ license according to
131
+ [GPL-Compatible Free Software
132
+ Licenses](http://www.gnu.org/licenses/license-list.en.html#GPLCompatibleLicenses)).
133
+
134
+ ### Links
135
+
136
+ #### Savannah
137
+ * Project page: <https://savannah.nongnu.org/projects/gravaty/>
138
+ * Source code (Mercurial) repository:
139
+ <http://hg.savannah.gnu.org/hgweb/gravaty/>
140
+ * Known Bugs: <https://savannah.nongnu.org/bugs/?group=gravaty>
141
+ * Users Mailing List: <https://savannah.nongnu.org/mail/?group=gravaty>
142
+ * News: <https://savannah.nongnu.org/news/?group=gravaty>
143
+
144
+ #### RubyGems
145
+ * Gem page: <https://rubygems.org/gems/gravaty>
146
+ * Online RDoc: <http://rubydoc.info/gems/gravaty/>
147
+ * Gem updates Atom Feed:
148
+ <https://rubygems.org/gems/gravaty/versions.atom>
149
+
150
+ #### Other links
151
+ * Gravatar: <https://www.gravatar.com>.
152
+ * FSIJ (フリーソフトウェアイニシアティブ, Free Software Initiative of
153
+ Japan): <http://www.fsij.org>.
154
+ * "RFC 5322 Email Validation Regex in Ruby Regular Expressions" gist by
155
+ Peter R. Marreck: <https://gist.github.com/pmarreck/4626713>.
156
+ * "An HTTP/HTTPS/FTP file downloader library/CLI based upon
157
+ MiniPortile's HTTP implementation." gist by Jon Maken:
158
+ <https://gist.github.com/jonforums/2202048>.
159
+
160
+ ### Usage Examples
161
+ See `examples` folder. To run the examples just type go into the
162
+ `examples` directory and run `ruby `{EXAMPLE_NAME}`.rb`. Running the
163
+ examples you'll see both the example description and correct code usage
164
+ to perform such action. Here below are listed the currently available
165
+ examples:
166
+ * The `basics.rb` example (run `ruby basics.rb`) shows how to initialize
167
+ and use a Gravaty object through the `gravatize` factory method;
168
+ * The `avatar.rb` example (run `ruby avatar.rb`) shows how to ask for an
169
+ avatar image through Gravatar (free) service, with all available
170
+ options and configurations. It will also show how to download such
171
+ images;
172
+ * The `profile.rb` example (run `ruby profile.rb`) shows how to ask for
173
+ profile data through Gravatar (free) service, with all available
174
+ options and configurations. It will also show how to download such
175
+ data.
176
+ * The `xmlrpc.rb` example (run `ruby xmlrpc.rb`) shows how to use the
177
+ XML-RPC API through Gravatar (free) service, with all available
178
+ options and configurations. This need a valid username and password to
179
+ type x work properly.
180
+
181
+ ## Gravatar Terms of Service
182
+ *Here follows the unmodified 2019-02-21 11.07 CET version of Gravatar
183
+ site terms of service, titled "Gravatar Terms of Use". For the most
184
+ updated version, please refer to
185
+ https://secure.gravatar.com/site/terms-of-service in order to know how
186
+ to properly use computer gravatars.*
187
+
188
+ Gravatar Terms of Use
189
+
190
+ PLEASE READ THESE GRAVATAR TERMS OF USE ("GRAVATAR TERMS") CAREFULLY
191
+ BEFORE ACCESSING OR USING ANY PART OF THE SERVICES OR WEBSITE. BY USING
192
+ THE SERVICES OR WEBSITE IN ANY MANNER, YOU AGREE THAT YOU HAVE READ AND
193
+ AGREE TO BECOME BOUND BY THE GRAVATAR TERMS. IF THE GRAVATAR TERMS ARE
194
+ CONSIDERED AN OFFER, ACCEPTANCE IS EXPRESSLY LIMITED TO SUCH TERMS. IF
195
+ YOU DO NOT UNCONDITIONALLY AGREE TO ALL THE TERMS AND CONDITIONS OF THE
196
+ GRAVATAR TERMS, YOU HAVE NO RIGHT TO USE ANY PORTION OF THE SERVICES OR
197
+ WEBSITE.
198
+
199
+ The Gravatar Terms govern the terms and conditions under which you may
200
+ use the website located at www.gravatar.com and related services by
201
+ Automattic, including without limitation, the user accounts, profiles,
202
+ avatars, technology, and other content and materials offered on or
203
+ through that website (collectively, "Services", and each of which shall
204
+ be deemed a "Website" for purposes of the Terms of Service (defined
205
+ below)). The Gravatar Terms supplement the Terms of Service located at
206
+ http://wordpress.com/tos/ (the "Terms of Service"), including without
207
+ limitation, the Responsibilities of Website Visitors, all warranty
208
+ disclaimers, limitations of liability, and dispute resolution provisions
209
+ therein, which shall apply to the subject matter of these Gravatar
210
+ Terms, and which are incorporated herein by this reference. If there is
211
+ any conflict between the Gravatar Terms and the Terms of Service, the
212
+ Gravatar Terms will govern. All capitalized terms that are not defined
213
+ herein have the meaning specified in the Terms of Service.');
214
+
215
+ Automattic may update the Gravatar Terms from time to time. Your
216
+ continued use of the Services following notification of such updates
217
+ constitutes your acceptance of those changes.
218
+
219
+ 1. User Submissions. The Services may provide you with the ability to
220
+ create, upload, distribute or post ("Submit(ting)") data, photographs,
221
+ avatars, software, graphics, profile and other information to the
222
+ Services (collectively, the "User Submissions"). By Submitting User
223
+ Submissions, you acknowledge that you are publishing that User
224
+ Submission, and that you may be identified publicly by your avatar and
225
+ other User Submissions (e.g., in connection with your blogs, comments
226
+ and/or email address) by Automattic, third party Gravatar-enabled
227
+ websites (as that term in defined below), and others. More specifically,
228
+ you hereby do and shall grant to Automattic a worldwide, perpetual,
229
+ irrevocable, royalty-free and fully-paid, transferable (including rights
230
+ to sublicense) right to perform the Services (e.g., to use, modify,
231
+ reproduce, distribute, prepare derivative works of, display, perform,
232
+ and otherwise fully exercise and exploit all intellectual property,
233
+ publicity, and moral rights with respect to any User Submissions, and to
234
+ allow others to do so).
235
+
236
+ By Submitting, you agree to be solely responsible for the User
237
+ Submissions and release Automattic from any liability related to your
238
+ use of the Services. You warrant, represent and agree that you will not
239
+ Submit any User Submissions or otherwise use the Services in a manner
240
+ that (i) infringes the intellectual property or proprietary rights, or
241
+ rights of publicity or privacy, of any third party; (ii) violates any
242
+ law, statute, ordinance or regulation; or (iii) is harmful, threatening,
243
+ abusive, harassing, tortuous, defamatory, vulgar, obscene, libelous, or
244
+ otherwise objectionable. You understand that Automattic shall not be
245
+ responsible or liable for controlling or editing any User Submission,
246
+ for any errors or omissions in any User Submission, for any damage or
247
+ loss caused or alleged to be caused by or in connection with the use of
248
+ or reliance on any User Submission; nor can Automattic ensure prompt
249
+ removal of inappropriate or unlawful content or guarantee the identity
250
+ of any other users or websites with whom you may interact in the course
251
+ of using the Services.
252
+
253
+ 2. Use of the Services by Third Party Websites. Third party websites may
254
+ enable the use of the Services on their respective websites as expressly
255
+ authorized by Automattic (e.g., API calls into Gravatar:
256
+ http://en.gravatar.com/site/implement); provided that they (i) do not
257
+ copy, store or modify User Submissions; (ii) do not distribute, display,
258
+ perform, use or otherwise exercise or exploit any User Submission or
259
+ other user information for any purpose other than as necessary to
260
+ perform the Services for the applicable user; (iii) have a privacy
261
+ policy in effect and posted on such website that complies with all
262
+ applicable laws and regulations and that notifies such user that it will
263
+ only use personally identifiable information as set forth in (ii) above;
264
+ and (iv) agree to be bound by and comply with all the terms, conditions,
265
+ and limitations set forth in the Terms of Service ("Gravatar-enabled
266
+ website").
267
+
268
+ ------------------------------------------
269
+
270
+ gravaty
271
+
272
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
273
+
274
+ This file is part of gravaty.
275
+
276
+ gravaty is free software: you can redistribute it and/or modify it under
277
+ the terms of the GNU General Public License as published by the Free
278
+ Software Foundation, either version 3 of the License, or (at your
279
+ option) any later version.
280
+
281
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
282
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
283
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
284
+ more details.
285
+
286
+ You should have received a copy of the GNU General Public License along
287
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
data/Rakefile ADDED
@@ -0,0 +1,52 @@
1
+ # gravaty
2
+ # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
3
+ #
4
+ # This file is part of gravaty.
5
+ #
6
+ # gravaty is free software: you can redistribute it and/or modify it
7
+ # under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # gravaty is distributed in the hope that it will be useful, but WITHOUT
12
+ # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with gravaty. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ require 'rake'
20
+ require 'rake/clean'
21
+ require 'rake/testtask'
22
+ require 'rdoc/task'
23
+ require 'rubygems/package_task'
24
+
25
+ gravaty = Gem::Specification.load 'gravaty.gemspec'
26
+
27
+ desc "Build the gem (Task 'rake package')"
28
+ Rake::PackageTask.new gravaty do |package|
29
+ package.name = gravaty.name
30
+ package.need_tar = true
31
+ package.need_tar_bz2 = true
32
+ package.need_tar_gz = true
33
+ package.need_zip = true
34
+ package.package_files = gravaty.files
35
+ package.version = gravaty.version
36
+ end
37
+
38
+ desc "Build the RDoc gem documentation (task 'rake rdoc')"
39
+ Rake::RDocTask.new do |rdoc|
40
+ rdoc.rdoc_files.add gravaty.files
41
+ rdoc.title = gravaty.name + ' ' + gravaty.version.to_s
42
+ rdoc.main = 'README.md'
43
+ rdoc.options += %w(-e UTF-8 --hyperlink-all --line-numbers)
44
+ end
45
+
46
+ desc "Run the gem unit tests (task 'rake test')"
47
+ Rake::TestTask.new do |test_task|
48
+ test_task.libs << 'test'
49
+ test_task.test_files = FileList['test/**/test_*.rb']
50
+ test_task.verbose = true
51
+ test_task.warning = true
52
+ end
@@ -0,0 +1,66 @@
1
+ <!--
2
+ gravaty
3
+
4
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
5
+
6
+ This file is part of gravaty.
7
+
8
+ gravaty is free software: you can redistribute it and/or modify it under
9
+ the terms of the GNU General Public License as published by the Free
10
+ Software Foundation, either version 3 of the License, or (at your
11
+ option) any later version.
12
+
13
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
14
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
+ more details.
17
+
18
+ You should have received a copy of the GNU General Public License along
19
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
20
+ -->
21
+
22
+ # Acknowledgements
23
+ FSIJ理事会の理事長、新部裕さんの日本語の翻訳。 Japanese translation by
24
+ Yutaka Niibe, President of Free Software Initiative of Japan.
25
+
26
+ Thanks to Łukasz Niemier for his suggestions on possible improvements.
27
+
28
+ ## RFC 5322 Email Validation Regex in Ruby Regular Expressions
29
+ Thanks to [Marc Heiligers](https://za.linkedin.com/in/marcheiligers/)
30
+ for the note about Peter R. Marreck's gist.
31
+
32
+ [RFC 5322 Email Validation Regex in Ruby Regular
33
+ Expressions](https://gist.github.com/pmarreck/4626713) gist by Peter R.
34
+ Marreck. About *RFC 5322 Email Validation Regex in Ruby Regular
35
+ Expressions*, please note that "This work is released under the BSD
36
+ 3-Clause License". This license is GNU GPLv3 compatible according to
37
+ <http://www.gnu.org/licenses/license-list.en.html#ModifiedBSD>.
38
+
39
+ ## An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's HTTP implementation.
40
+ [An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's
41
+ HTTP implementation.](https://gist.github.com/jonforums/2202048) gist by
42
+ Jon Maken. About *An HTTP/HTTPS/FTP file downloader library/CLI based
43
+ upon MiniPortile's HTTP implementation*, please note that "License:
44
+ 3-clause BSD". This license is GNU GPLv3 compatible according to
45
+ <http://www.gnu.org/licenses/license-list.en.html#ModifiedBSD>.
46
+
47
+ ------------------------------------------
48
+
49
+ gravaty
50
+
51
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
52
+
53
+ This file is part of gravaty.
54
+
55
+ gravaty is free software: you can redistribute it and/or modify it under
56
+ the terms of the GNU General Public License as published by the Free
57
+ Software Foundation, either version 3 of the License, or (at your
58
+ option) any later version.
59
+
60
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
61
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
62
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
63
+ more details.
64
+
65
+ You should have received a copy of the GNU General Public License along
66
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
data/authors.md ADDED
@@ -0,0 +1,63 @@
1
+ <!--
2
+ gravaty
3
+
4
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
5
+
6
+ This file is part of gravaty.
7
+
8
+ gravaty is free software: you can redistribute it and/or modify it under
9
+ the terms of the GNU General Public License as published by the Free
10
+ Software Foundation, either version 3 of the License, or (at your
11
+ option) any later version.
12
+
13
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
14
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
+ more details.
17
+
18
+ You should have received a copy of the GNU General Public License along
19
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.
20
+ -->
21
+
22
+ # Project and gem owned by
23
+ * *Author*: [Marco Bresciani](mailto:marcobresciani_1974@libero.it)
24
+
25
+ # Authors list (in appearing order)
26
+ * *Author*: [Marco Bresciani](mailto:marcobresciani_1974@libero.it)
27
+ * *Contributor*: [Marc
28
+ Heiligers](https://za.linkedin.com/in/marcheiligers/)
29
+ * *Author*: [Peter R. Marreck](mailto:lumbergh@gmail.com), [RFC 5322
30
+ Email Validation Regex in Ruby Regular
31
+ Expressions](https://gist.github.com/pmarreck/4626713)
32
+ * *Author*: [Jon Maken](mailto:jon.forums@gmail.com), [An HTTP/HTTPS/FTP
33
+ file downloader library/CLI based upon MiniPortile's HTTP
34
+ implementation.](https://gist.github.com/jonforums/2202048)
35
+ * *Contributor*: [Łukasz Niemier](http://lukasz.niemier.pl/)
36
+
37
+ ## Translations Authors (in appearing order)
38
+ * *Italiano*: [Marco Bresciani](mailto:marcobresciani_1974@libero.it)
39
+ * *English*: [Marco Bresciani][mailto:marcobresciani_1974@libero.it)
40
+ * *日本語*: [新部裕](mailto:gniibe@fsij.org)
41
+
42
+ No one else, yet.
43
+
44
+ ------------------------------------------
45
+
46
+ gravaty
47
+
48
+ Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani
49
+
50
+ This file is part of gravaty.
51
+
52
+ gravaty is free software: you can redistribute it and/or modify it under
53
+ the terms of the GNU General Public License as published by the Free
54
+ Software Foundation, either version 3 of the License, or (at your
55
+ option) any later version.
56
+
57
+ gravaty is distributed in the hope that it will be useful, but WITHOUT
58
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
59
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
60
+ more details.
61
+
62
+ You should have received a copy of the GNU General Public License along
63
+ with gravaty. If not, see <http://www.gnu.org/licenses/>.