silkey-sdk 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rubocop.yml +59 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +9 -0
  6. data/DEVELOPMENT.md +83 -0
  7. data/Gemfile +13 -0
  8. data/Gemfile.lock +128 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +46 -0
  11. data/Rakefile +2 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/doc/CHANGELOG_md.html +112 -0
  15. data/doc/LICENSE_txt.html +99 -0
  16. data/doc/Object.html +117 -0
  17. data/doc/README_md.html +144 -0
  18. data/doc/Silkey.html +269 -0
  19. data/doc/Silkey/ClientFactory.html +106 -0
  20. data/doc/Silkey/Configuration.html +217 -0
  21. data/doc/Silkey/Contract.html +106 -0
  22. data/doc/Silkey/Contract/FrozenArray.html +106 -0
  23. data/doc/Silkey/ContractFactory.html +106 -0
  24. data/doc/Silkey/LoggerService.html +106 -0
  25. data/doc/Silkey/Models.html +99 -0
  26. data/doc/Silkey/Models/JwtPayload.html +622 -0
  27. data/doc/Silkey/RegistryContract.html +106 -0
  28. data/doc/Silkey/SDK.html +356 -0
  29. data/doc/Silkey/Utils.html +709 -0
  30. data/doc/created.rid +23 -0
  31. data/doc/css/fonts.css +167 -0
  32. data/doc/css/rdoc.css +619 -0
  33. data/doc/fonts/Lato-Light.ttf +0 -0
  34. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  35. data/doc/fonts/Lato-Regular.ttf +0 -0
  36. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  37. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  38. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  39. data/doc/images/add.png +0 -0
  40. data/doc/images/arrow_up.png +0 -0
  41. data/doc/images/brick.png +0 -0
  42. data/doc/images/brick_link.png +0 -0
  43. data/doc/images/bug.png +0 -0
  44. data/doc/images/bullet_black.png +0 -0
  45. data/doc/images/bullet_toggle_minus.png +0 -0
  46. data/doc/images/bullet_toggle_plus.png +0 -0
  47. data/doc/images/date.png +0 -0
  48. data/doc/images/delete.png +0 -0
  49. data/doc/images/find.png +0 -0
  50. data/doc/images/loadingAnimation.gif +0 -0
  51. data/doc/images/macFFBgHack.png +0 -0
  52. data/doc/images/package.png +0 -0
  53. data/doc/images/page_green.png +0 -0
  54. data/doc/images/page_white_text.png +0 -0
  55. data/doc/images/page_white_width.png +0 -0
  56. data/doc/images/plugin.png +0 -0
  57. data/doc/images/ruby.png +0 -0
  58. data/doc/images/tag_blue.png +0 -0
  59. data/doc/images/tag_green.png +0 -0
  60. data/doc/images/transparent.png +0 -0
  61. data/doc/images/wrench.png +0 -0
  62. data/doc/images/wrench_orange.png +0 -0
  63. data/doc/images/zoom.png +0 -0
  64. data/doc/index.html +112 -0
  65. data/doc/js/darkfish.js +84 -0
  66. data/doc/js/navigation.js +105 -0
  67. data/doc/js/navigation.js.gz +0 -0
  68. data/doc/js/search.js +110 -0
  69. data/doc/js/search_index.js +1 -0
  70. data/doc/js/search_index.js.gz +0 -0
  71. data/doc/js/searcher.js +229 -0
  72. data/doc/js/searcher.js.gz +0 -0
  73. data/doc/table_of_contents.html +318 -0
  74. data/lib/silkey-sdk.rb +23 -0
  75. data/lib/silkey.rb +22 -0
  76. data/lib/silkey/abi/registry_contract_abi.json +129 -0
  77. data/lib/silkey/configuration.rb +24 -0
  78. data/lib/silkey/contract.rb +38 -0
  79. data/lib/silkey/factories/client_factory.rb +30 -0
  80. data/lib/silkey/factories/contract_factory.rb +47 -0
  81. data/lib/silkey/models/jwt_payload.rb +157 -0
  82. data/lib/silkey/registry_contract/registry_contract.rb +33 -0
  83. data/lib/silkey/sdk.rb +207 -0
  84. data/lib/silkey/services/logger_service.rb +19 -0
  85. data/lib/silkey/utils.rb +107 -0
  86. data/lib/silkey/version.rb +5 -0
  87. data/lib/silkey_sdk.rb +3 -0
  88. data/silkey-sdk.gemspec +48 -0
  89. metadata +332 -0
@@ -0,0 +1,23 @@
1
+ Fri, 20 Nov 2020 17:40:49 +0100
2
+ ./bin/console Thu, 12 Nov 2020 14:25:33 +0100
3
+ ./CHANGELOG.md Mon, 16 Nov 2020 13:57:57 +0100
4
+ ./spec/spec_helper.rb Thu, 12 Nov 2020 16:16:22 +0100
5
+ ./spec/models/jwt_payload_spec.rb Mon, 16 Nov 2020 11:04:25 +0100
6
+ ./spec/utils_spec.rb Mon, 16 Nov 2020 18:46:02 +0100
7
+ ./spec/services/sdk_spec.rb Mon, 16 Nov 2020 18:45:41 +0100
8
+ ./silkey-sdk-0.0.0.gem Fri, 20 Nov 2020 17:40:32 +0100
9
+ ./README.md Tue, 17 Nov 2020 15:31:43 +0100
10
+ ./lib/silkey_sdk.rb Thu, 12 Nov 2020 11:01:43 +0100
11
+ ./lib/silkey/contract.rb Mon, 16 Nov 2020 14:05:12 +0100
12
+ ./lib/silkey/models/jwt_payload.rb Mon, 16 Nov 2020 13:43:57 +0100
13
+ ./lib/silkey/utils.rb Sat, 14 Nov 2020 09:08:23 +0100
14
+ ./lib/silkey/factories/client_factory.rb Mon, 16 Nov 2020 14:06:45 +0100
15
+ ./lib/silkey/factories/contract_factory.rb Mon, 16 Nov 2020 14:06:45 +0100
16
+ ./lib/silkey/registry_contract/registry_contract.rb Mon, 16 Nov 2020 14:06:45 +0100
17
+ ./lib/silkey/sdk.rb Tue, 17 Nov 2020 15:55:03 +0100
18
+ ./lib/silkey/version.rb Mon, 16 Nov 2020 14:09:38 +0100
19
+ ./lib/silkey/configuration.rb Mon, 16 Nov 2020 12:42:57 +0100
20
+ ./lib/silkey/services/logger_service.rb Mon, 16 Nov 2020 14:06:45 +0100
21
+ ./lib/silkey.rb Thu, 12 Nov 2020 11:01:43 +0100
22
+ ./lib/silkey-sdk.rb Mon, 16 Nov 2020 14:29:58 +0100
23
+ ./LICENSE.txt Mon, 16 Nov 2020 13:57:57 +0100
@@ -0,0 +1,167 @@
1
+ /*
2
+ * Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3
+ * with Reserved Font Name "Source". All Rights Reserved. Source is a
4
+ * trademark of Adobe Systems Incorporated in the United States and/or other
5
+ * countries.
6
+ *
7
+ * This Font Software is licensed under the SIL Open Font License, Version
8
+ * 1.1.
9
+ *
10
+ * This license is copied below, and is also available with a FAQ at:
11
+ * http://scripts.sil.org/OFL
12
+ */
13
+
14
+ @font-face {
15
+ font-family: "Source Code Pro";
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ src: local("Source Code Pro"),
19
+ local("SourceCodePro-Regular"),
20
+ url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Source Code Pro";
25
+ font-style: normal;
26
+ font-weight: 700;
27
+ src: local("Source Code Pro Bold"),
28
+ local("SourceCodePro-Bold"),
29
+ url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
30
+ }
31
+
32
+ /*
33
+ * Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
34
+ * with Reserved Font Name Lato.
35
+ *
36
+ * This Font Software is licensed under the SIL Open Font License, Version
37
+ * 1.1.
38
+ *
39
+ * This license is copied below, and is also available with a FAQ at:
40
+ * http://scripts.sil.org/OFL
41
+ */
42
+
43
+ @font-face {
44
+ font-family: "Lato";
45
+ font-style: normal;
46
+ font-weight: 300;
47
+ src: local("Lato Light"),
48
+ local("Lato-Light"),
49
+ url("../fonts/Lato-Light.ttf") format("truetype");
50
+ }
51
+
52
+ @font-face {
53
+ font-family: "Lato";
54
+ font-style: italic;
55
+ font-weight: 300;
56
+ src: local("Lato Light Italic"),
57
+ local("Lato-LightItalic"),
58
+ url("../fonts/Lato-LightItalic.ttf") format("truetype");
59
+ }
60
+
61
+ @font-face {
62
+ font-family: "Lato";
63
+ font-style: normal;
64
+ font-weight: 700;
65
+ src: local("Lato Regular"),
66
+ local("Lato-Regular"),
67
+ url("../fonts/Lato-Regular.ttf") format("truetype");
68
+ }
69
+
70
+ @font-face {
71
+ font-family: "Lato";
72
+ font-style: italic;
73
+ font-weight: 700;
74
+ src: local("Lato Italic"),
75
+ local("Lato-Italic"),
76
+ url("../fonts/Lato-RegularItalic.ttf") format("truetype");
77
+ }
78
+
79
+ /*
80
+ * -----------------------------------------------------------
81
+ * SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
82
+ * -----------------------------------------------------------
83
+ *
84
+ * PREAMBLE
85
+ * The goals of the Open Font License (OFL) are to stimulate worldwide
86
+ * development of collaborative font projects, to support the font creation
87
+ * efforts of academic and linguistic communities, and to provide a free and
88
+ * open framework in which fonts may be shared and improved in partnership
89
+ * with others.
90
+ *
91
+ * The OFL allows the licensed fonts to be used, studied, modified and
92
+ * redistributed freely as long as they are not sold by themselves. The
93
+ * fonts, including any derivative works, can be bundled, embedded,
94
+ * redistributed and/or sold with any software provided that any reserved
95
+ * names are not used by derivative works. The fonts and derivatives,
96
+ * however, cannot be released under any other type of license. The
97
+ * requirement for fonts to remain under this license does not apply
98
+ * to any document created using the fonts or their derivatives.
99
+ *
100
+ * DEFINITIONS
101
+ * "Font Software" refers to the set of files released by the Copyright
102
+ * Holder(s) under this license and clearly marked as such. This may
103
+ * include source files, build scripts and documentation.
104
+ *
105
+ * "Reserved Font Name" refers to any names specified as such after the
106
+ * copyright statement(s).
107
+ *
108
+ * "Original Version" refers to the collection of Font Software components as
109
+ * distributed by the Copyright Holder(s).
110
+ *
111
+ * "Modified Version" refers to any derivative made by adding to, deleting,
112
+ * or substituting -- in part or in whole -- any of the components of the
113
+ * Original Version, by changing formats or by porting the Font Software to a
114
+ * new environment.
115
+ *
116
+ * "Author" refers to any designer, engineer, programmer, technical
117
+ * writer or other person who contributed to the Font Software.
118
+ *
119
+ * PERMISSION & CONDITIONS
120
+ * Permission is hereby granted, free of charge, to any person obtaining
121
+ * a copy of the Font Software, to use, study, copy, merge, embed, modify,
122
+ * redistribute, and sell modified and unmodified copies of the Font
123
+ * Software, subject to the following conditions:
124
+ *
125
+ * 1) Neither the Font Software nor any of its individual components,
126
+ * in Original or Modified Versions, may be sold by itself.
127
+ *
128
+ * 2) Original or Modified Versions of the Font Software may be bundled,
129
+ * redistributed and/or sold with any software, provided that each copy
130
+ * contains the above copyright notice and this license. These can be
131
+ * included either as stand-alone text files, human-readable headers or
132
+ * in the appropriate machine-readable metadata fields within text or
133
+ * binary files as long as those fields can be easily viewed by the user.
134
+ *
135
+ * 3) No Modified Version of the Font Software may use the Reserved Font
136
+ * Name(s) unless explicit written permission is granted by the corresponding
137
+ * Copyright Holder. This restriction only applies to the primary font name as
138
+ * presented to the users.
139
+ *
140
+ * 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
141
+ * Software shall not be used to promote, endorse or advertise any
142
+ * Modified Version, except to acknowledge the contribution(s) of the
143
+ * Copyright Holder(s) and the Author(s) or with their explicit written
144
+ * permission.
145
+ *
146
+ * 5) The Font Software, modified or unmodified, in part or in whole,
147
+ * must be distributed entirely under this license, and must not be
148
+ * distributed under any other license. The requirement for fonts to
149
+ * remain under this license does not apply to any document created
150
+ * using the Font Software.
151
+ *
152
+ * TERMINATION
153
+ * This license becomes null and void if any of the above conditions are
154
+ * not met.
155
+ *
156
+ * DISCLAIMER
157
+ * THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
159
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
160
+ * OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
161
+ * COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162
+ * INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
163
+ * DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
164
+ * FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
165
+ * OTHER DEALINGS IN THE FONT SOFTWARE.
166
+ */
167
+
@@ -0,0 +1,619 @@
1
+ /*
2
+ * "Darkfish" Rdoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* vim: ft=css et sw=2 ts=2 sts=2 */
10
+ /* Base Green is: #6C8C22 */
11
+
12
+ .hide { display: none !important; }
13
+
14
+ * { padding: 0; margin: 0; }
15
+
16
+ body {
17
+ background: #fafafa;
18
+ font-family: Lato, sans-serif;
19
+ font-weight: 300;
20
+ }
21
+
22
+ h1 span,
23
+ h2 span,
24
+ h3 span,
25
+ h4 span,
26
+ h5 span,
27
+ h6 span {
28
+ position: relative;
29
+
30
+ display: none;
31
+ padding-left: 1em;
32
+ line-height: 0;
33
+ vertical-align: baseline;
34
+ font-size: 10px;
35
+ }
36
+
37
+ h1 span { top: -1.3em; }
38
+ h2 span { top: -1.2em; }
39
+ h3 span { top: -1.0em; }
40
+ h4 span { top: -0.8em; }
41
+ h5 span { top: -0.5em; }
42
+ h6 span { top: -0.5em; }
43
+
44
+ h1:hover span,
45
+ h2:hover span,
46
+ h3:hover span,
47
+ h4:hover span,
48
+ h5:hover span,
49
+ h6:hover span {
50
+ display: inline;
51
+ }
52
+
53
+ h1:target,
54
+ h2:target,
55
+ h3:target,
56
+ h4:target,
57
+ h5:target,
58
+ h6:target {
59
+ margin-left: -10px;
60
+ border-left: 10px solid #f1edba;
61
+ }
62
+
63
+ :link,
64
+ :visited {
65
+ color: #6C8C22;
66
+ text-decoration: none;
67
+ }
68
+
69
+ :link:hover,
70
+ :visited:hover {
71
+ border-bottom: 1px dotted #6C8C22;
72
+ }
73
+
74
+ code,
75
+ pre {
76
+ font-family: "Source Code Pro", Monaco, monospace;
77
+ background-color: rgba(27,31,35,0.05);
78
+ padding: 0em 0.2em;
79
+ border-radius: 0.2em;
80
+ }
81
+
82
+ /* @group Generic Classes */
83
+
84
+ .initially-hidden {
85
+ display: none;
86
+ }
87
+
88
+ #search-field {
89
+ width: 98%;
90
+ background: white;
91
+ border: none;
92
+ height: 1.5em;
93
+ -webkit-border-radius: 4px;
94
+ -moz-border-radius: 4px;
95
+ border-radius: 4px;
96
+ text-align: left;
97
+ }
98
+ #search-field:focus {
99
+ background: #f1edba;
100
+ }
101
+ #search-field:-moz-placeholder,
102
+ #search-field::-webkit-input-placeholder {
103
+ font-weight: bold;
104
+ color: #666;
105
+ }
106
+
107
+ .missing-docs {
108
+ font-size: 120%;
109
+ background: white url(../images/wrench_orange.png) no-repeat 4px center;
110
+ color: #ccc;
111
+ line-height: 2em;
112
+ border: 1px solid #d00;
113
+ opacity: 1;
114
+ padding-left: 20px;
115
+ text-indent: 24px;
116
+ letter-spacing: 3px;
117
+ font-weight: bold;
118
+ -webkit-border-radius: 5px;
119
+ -moz-border-radius: 5px;
120
+ }
121
+
122
+ .target-section {
123
+ border: 2px solid #dcce90;
124
+ border-left-width: 8px;
125
+ padding: 0 1em;
126
+ background: #fff3c2;
127
+ }
128
+
129
+ /* @end */
130
+
131
+ /* @group Index Page, Standalone file pages */
132
+ .table-of-contents ul {
133
+ margin: 1em;
134
+ list-style: none;
135
+ }
136
+
137
+ .table-of-contents ul ul {
138
+ margin-top: 0.25em;
139
+ }
140
+
141
+ .table-of-contents ul :link,
142
+ .table-of-contents ul :visited {
143
+ font-size: 16px;
144
+ }
145
+
146
+ .table-of-contents li {
147
+ margin-bottom: 0.25em;
148
+ }
149
+
150
+ .table-of-contents li .toc-toggle {
151
+ width: 16px;
152
+ height: 16px;
153
+ background: url(../images/add.png) no-repeat;
154
+ }
155
+
156
+ .table-of-contents li .toc-toggle.open {
157
+ background: url(../images/delete.png) no-repeat;
158
+ }
159
+
160
+ /* @end */
161
+
162
+ /* @group Top-Level Structure */
163
+
164
+ nav {
165
+ float: left;
166
+ width: 260px;
167
+ font-family: Helvetica, sans-serif;
168
+ font-size: 14px;
169
+ }
170
+
171
+ main {
172
+ display: block;
173
+ margin: 0 2em 5em 260px;
174
+ padding-left: 20px;
175
+ min-width: 340px;
176
+ font-size: 16px;
177
+ }
178
+
179
+ main h1,
180
+ main h2,
181
+ main h3,
182
+ main h4,
183
+ main h5,
184
+ main h6 {
185
+ font-family: Helvetica, sans-serif;
186
+ }
187
+
188
+ .table-of-contents main {
189
+ margin-left: 2em;
190
+ }
191
+
192
+ #validator-badges {
193
+ clear: both;
194
+ margin: 1em 1em 2em;
195
+ font-size: smaller;
196
+ }
197
+
198
+ /* @end */
199
+
200
+ /* @group navigation */
201
+ nav {
202
+ margin-bottom: 1em;
203
+ }
204
+
205
+ nav .nav-section {
206
+ margin-top: 2em;
207
+ border-top: 2px solid #aaa;
208
+ font-size: 90%;
209
+ overflow: hidden;
210
+ }
211
+
212
+ nav h2 {
213
+ margin: 0;
214
+ padding: 2px 8px 2px 8px;
215
+ background-color: #e8e8e8;
216
+ color: #555;
217
+ font-size: 125%;
218
+ text-align: center;
219
+ }
220
+
221
+ nav h3,
222
+ #table-of-contents-navigation {
223
+ margin: 0;
224
+ padding: 2px 8px 2px 8px;
225
+ text-align: right;
226
+ background-color: #e8e8e8;
227
+ color: #555;
228
+ }
229
+
230
+ nav ul,
231
+ nav dl,
232
+ nav p {
233
+ padding: 4px 8px 0;
234
+ list-style: none;
235
+ }
236
+
237
+ #project-navigation .nav-section {
238
+ margin: 0;
239
+ border-top: 0;
240
+ }
241
+
242
+ #home-section h2 {
243
+ text-align: center;
244
+ }
245
+
246
+ #table-of-contents-navigation {
247
+ font-size: 1.2em;
248
+ font-weight: bold;
249
+ text-align: center;
250
+ }
251
+
252
+ #search-section {
253
+ margin-top: 0;
254
+ border-top: 0;
255
+ }
256
+
257
+ #search-field-wrapper {
258
+ border-top: 1px solid #aaa;
259
+ border-bottom: 1px solid #aaa;
260
+ padding: 3px 8px;
261
+ background-color: #e8e8e8;
262
+ color: #555;
263
+ }
264
+
265
+ ul.link-list li {
266
+ white-space: nowrap;
267
+ line-height: 1.4em;
268
+ }
269
+
270
+ ul.link-list .type {
271
+ font-size: 8px;
272
+ text-transform: uppercase;
273
+ color: white;
274
+ background: #969696;
275
+ padding: 2px 4px;
276
+ -webkit-border-radius: 5px;
277
+ }
278
+
279
+ dl.label-list dt {
280
+ float: left;
281
+ margin-right: 1em;
282
+ }
283
+
284
+ .calls-super {
285
+ background: url(../images/arrow_up.png) no-repeat right center;
286
+ }
287
+
288
+ /* @end */
289
+
290
+ /* @group Documentation Section */
291
+ main {
292
+ color: #333;
293
+ }
294
+
295
+ main > h1:first-child,
296
+ main > h2:first-child,
297
+ main > h3:first-child,
298
+ main > h4:first-child,
299
+ main > h5:first-child,
300
+ main > h6:first-child {
301
+ margin-top: 0px;
302
+ }
303
+
304
+ main sup {
305
+ vertical-align: super;
306
+ font-size: 0.8em;
307
+ }
308
+
309
+ /* The heading with the class name */
310
+ main h1[class] {
311
+ margin-top: 0;
312
+ margin-bottom: 1em;
313
+ font-size: 2em;
314
+ color: #6C8C22;
315
+ }
316
+
317
+ main h1 {
318
+ margin: 2em 0 0.5em;
319
+ font-size: 1.7em;
320
+ }
321
+
322
+ main h2 {
323
+ margin: 2em 0 0.5em;
324
+ font-size: 1.5em;
325
+ }
326
+
327
+ main h3 {
328
+ margin: 2em 0 0.5em;
329
+ font-size: 1.2em;
330
+ }
331
+
332
+ main h4 {
333
+ margin: 2em 0 0.5em;
334
+ font-size: 1.1em;
335
+ }
336
+
337
+ main h5 {
338
+ margin: 2em 0 0.5em;
339
+ font-size: 1em;
340
+ }
341
+
342
+ main h6 {
343
+ margin: 2em 0 0.5em;
344
+ font-size: 1em;
345
+ }
346
+
347
+ main p {
348
+ margin: 0 0 0.5em;
349
+ line-height: 1.4em;
350
+ }
351
+
352
+ main pre {
353
+ margin: 1.2em 0.5em;
354
+ padding: 1em;
355
+ font-size: 0.8em;
356
+ }
357
+
358
+ main hr {
359
+ margin: 1.5em 1em;
360
+ border: 2px solid #ddd;
361
+ }
362
+
363
+ main blockquote {
364
+ margin: 0 2em 1.2em 1.2em;
365
+ padding-left: 0.5em;
366
+ border-left: 2px solid #ddd;
367
+ }
368
+
369
+ main ol,
370
+ main ul {
371
+ margin: 1em 2em;
372
+ }
373
+
374
+ main li > p {
375
+ margin-bottom: 0.5em;
376
+ }
377
+
378
+ main dl {
379
+ margin: 1em 0.5em;
380
+ }
381
+
382
+ main dt {
383
+ margin-bottom: 0.5em;
384
+ font-weight: bold;
385
+ }
386
+
387
+ main dd {
388
+ margin: 0 1em 1em 0.5em;
389
+ }
390
+
391
+ main header h2 {
392
+ margin-top: 2em;
393
+ border-width: 0;
394
+ border-top: 4px solid #bbb;
395
+ font-size: 130%;
396
+ }
397
+
398
+ main header h3 {
399
+ margin: 2em 0 1.5em;
400
+ border-width: 0;
401
+ border-top: 3px solid #bbb;
402
+ font-size: 120%;
403
+ }
404
+
405
+ .documentation-section-title {
406
+ position: relative;
407
+ }
408
+ .documentation-section-title .section-click-top {
409
+ position: absolute;
410
+ top: 6px;
411
+ left: 12px;
412
+ font-size: 10px;
413
+ color: #9b9877;
414
+ visibility: hidden;
415
+ padding-left: 0.5px;
416
+ }
417
+
418
+ .documentation-section-title:hover .section-click-top {
419
+ visibility: visible;
420
+ }
421
+
422
+ .constants-list > dl {
423
+ margin: 1em 0 2em;
424
+ border: 0;
425
+ }
426
+
427
+ .constants-list > dl dt {
428
+ margin-bottom: 0.75em;
429
+ padding-left: 0;
430
+ font-family: "Source Code Pro", Monaco, monospace;
431
+ font-size: 110%;
432
+ }
433
+
434
+ .constants-list > dl dt a {
435
+ color: inherit;
436
+ }
437
+
438
+ .constants-list > dl dd {
439
+ margin: 0 0 2em 0;
440
+ padding: 0;
441
+ color: #666;
442
+ }
443
+
444
+ .documentation-section h2 {
445
+ position: relative;
446
+ }
447
+
448
+ .documentation-section h2 a {
449
+ position: absolute;
450
+ top: 8px;
451
+ right: 10px;
452
+ font-size: 12px;
453
+ color: #9b9877;
454
+ visibility: hidden;
455
+ }
456
+
457
+ .documentation-section h2:hover a {
458
+ visibility: visible;
459
+ }
460
+
461
+ /* @group Method Details */
462
+
463
+ main .method-source-code {
464
+ max-height: 0;
465
+ overflow: hidden;
466
+ transition-duration: 200ms;
467
+ transition-delay: 0ms;
468
+ transition-property: all;
469
+ transition-timing-function: ease-in-out;
470
+ }
471
+
472
+ main .method-source-code.active-menu {
473
+ max-height: 100vh;
474
+ }
475
+
476
+ main .method-description .method-calls-super {
477
+ color: #333;
478
+ font-weight: bold;
479
+ }
480
+
481
+ main .method-detail {
482
+ margin-bottom: 2.5em;
483
+ cursor: pointer;
484
+ }
485
+
486
+ main .method-detail:target {
487
+ margin-left: -10px;
488
+ border-left: 10px solid #f1edba;
489
+ }
490
+
491
+ main .method-heading {
492
+ position: relative;
493
+ font-family: "Source Code Pro", Monaco, monospace;
494
+ font-size: 110%;
495
+ font-weight: bold;
496
+ color: #333;
497
+ }
498
+ main .method-heading :link,
499
+ main .method-heading :visited {
500
+ color: inherit;
501
+ }
502
+ main .method-click-advice {
503
+ position: absolute;
504
+ top: 2px;
505
+ right: 5px;
506
+ font-size: 12px;
507
+ color: #9b9877;
508
+ visibility: hidden;
509
+ padding-right: 20px;
510
+ line-height: 20px;
511
+ background: url(../images/zoom.png) no-repeat right top;
512
+ }
513
+ main .method-heading:hover .method-click-advice {
514
+ visibility: visible;
515
+ }
516
+
517
+ main .method-alias .method-heading {
518
+ color: #666;
519
+ }
520
+
521
+ main .method-description,
522
+ main .aliases {
523
+ margin-top: 0.75em;
524
+ color: #333;
525
+ }
526
+
527
+ main .aliases {
528
+ padding-top: 4px;
529
+ font-style: italic;
530
+ cursor: default;
531
+ }
532
+ main .method-description ul {
533
+ margin-left: 1.5em;
534
+ }
535
+
536
+ main #attribute-method-details .method-detail:hover {
537
+ background-color: transparent;
538
+ cursor: default;
539
+ }
540
+ main .attribute-access-type {
541
+ text-transform: uppercase;
542
+ padding: 0 1em;
543
+ }
544
+ /* @end */
545
+
546
+ /* @end */
547
+
548
+ /* @group Source Code */
549
+
550
+ pre {
551
+ margin: 0.5em 0;
552
+ border: 1px dashed #999;
553
+ padding: 0.5em;
554
+ background: #262626;
555
+ color: white;
556
+ overflow: auto;
557
+ }
558
+
559
+ .ruby-constant { color: #7fffd4; background: transparent; }
560
+ .ruby-keyword { color: #00ffff; background: transparent; }
561
+ .ruby-ivar { color: #eedd82; background: transparent; }
562
+ .ruby-operator { color: #00ffee; background: transparent; }
563
+ .ruby-identifier { color: #ffdead; background: transparent; }
564
+ .ruby-node { color: #ffa07a; background: transparent; }
565
+ .ruby-comment { color: #dc0000; background: transparent; }
566
+ .ruby-regexp { color: #ffa07a; background: transparent; }
567
+ .ruby-value { color: #7fffd4; background: transparent; }
568
+
569
+ /* @end */
570
+
571
+
572
+ /* @group search results */
573
+ #search-results {
574
+ font-family: Lato, sans-serif;
575
+ font-weight: 300;
576
+ }
577
+
578
+ #search-results .search-match {
579
+ font-family: Helvetica, sans-serif;
580
+ font-weight: normal;
581
+ }
582
+
583
+ #search-results .search-selected {
584
+ background: #e8e8e8;
585
+ border-bottom: 1px solid transparent;
586
+ }
587
+
588
+ #search-results li {
589
+ list-style: none;
590
+ border-bottom: 1px solid #aaa;
591
+ margin-bottom: 0.5em;
592
+ }
593
+
594
+ #search-results li:last-child {
595
+ border-bottom: none;
596
+ margin-bottom: 0;
597
+ }
598
+
599
+ #search-results li p {
600
+ padding: 0;
601
+ margin: 0.5em;
602
+ }
603
+
604
+ #search-results .search-namespace {
605
+ font-weight: bold;
606
+ }
607
+
608
+ #search-results li em {
609
+ background: yellow;
610
+ font-style: normal;
611
+ }
612
+
613
+ #search-results pre {
614
+ margin: 0.5em;
615
+ font-family: "Source Code Pro", Monaco, monospace;
616
+ }
617
+
618
+ /* @end */
619
+