basic_temperature 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +33 -0
  3. data/.coveralls.yml +1 -0
  4. data/.gitignore +3 -0
  5. data/.rubocop.yml +12 -0
  6. data/.travis.yml +2 -1
  7. data/README.md +223 -9
  8. data/basic_temperature.gemspec +6 -1
  9. data/bin/console +4 -4
  10. data/docs/apple-touch-icon.png +0 -0
  11. data/docs/classes/BasicTemperature.html +1227 -0
  12. data/docs/classes/BasicTemperature/InitializationArgumentsError.html +94 -0
  13. data/docs/classes/BasicTemperature/InvalidDegreesError.html +94 -0
  14. data/docs/classes/BasicTemperature/InvalidNumericOrTemperatureError.html +94 -0
  15. data/docs/classes/BasicTemperature/InvalidScaleError.html +94 -0
  16. data/docs/classes/Object.html +274 -0
  17. data/docs/classes/Temperature.html +1227 -0
  18. data/docs/created.rid +4 -0
  19. data/docs/css/github.css +123 -0
  20. data/docs/css/main.css +374 -0
  21. data/docs/css/panel.css +361 -0
  22. data/docs/css/reset.css +48 -0
  23. data/docs/favicon.ico +0 -0
  24. data/docs/files/lib/basic_temperature/temperature_rb.html +73 -0
  25. data/docs/files/lib/basic_temperature/version_rb.html +84 -0
  26. data/docs/files/lib/basic_temperature_rb.html +112 -0
  27. data/docs/i/arrow-down.svg +8 -0
  28. data/docs/i/arrow-right.svg +8 -0
  29. data/docs/i/search.svg +12 -0
  30. data/docs/i/tree_bg.svg +8 -0
  31. data/docs/index.html +11 -0
  32. data/docs/js/highlight.pack.js +1 -0
  33. data/docs/js/jquery-1.3.2.min.js +19 -0
  34. data/docs/js/main.js +25 -0
  35. data/docs/js/navigation.js +105 -0
  36. data/docs/js/navigation.js.gz +0 -0
  37. data/docs/js/search_index.js +1 -0
  38. data/docs/js/search_index.js.gz +0 -0
  39. data/docs/js/searchdoc.js +465 -0
  40. data/docs/js/searcher.js +229 -0
  41. data/docs/js/searcher.js.gz +0 -0
  42. data/docs/panel/index.html +47 -0
  43. data/docs/panel/links.html +12 -0
  44. data/docs/panel/tree.js +1 -0
  45. data/lib/basic_temperature.rb +552 -75
  46. data/lib/basic_temperature/temperature.rb +5 -0
  47. data/lib/basic_temperature/version.rb +1 -1
  48. data/logo.png +0 -0
  49. metadata +112 -4
  50. data/Gemfile.lock +0 -54
@@ -0,0 +1,4 @@
1
+ Thu, 26 Mar 2020 12:49:37 -0000
2
+ lib/basic_temperature.rb Thu, 26 Mar 2020 14:43:32 +0200
3
+ lib/basic_temperature/temperature.rb Thu, 19 Mar 2020 21:16:10 +0200
4
+ lib/basic_temperature/version.rb Mon, 23 Mar 2020 21:38:55 +0200
@@ -0,0 +1,123 @@
1
+ /*
2
+
3
+ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
4
+
5
+ */
6
+
7
+ pre .comment,
8
+ pre .template_comment,
9
+ pre .diff .header,
10
+ pre .javadoc {
11
+ color: #998;
12
+ font-style: italic
13
+ }
14
+
15
+ pre .keyword,
16
+ pre .css .rule .keyword,
17
+ pre .winutils,
18
+ pre .javascript .title,
19
+ pre .lisp .title,
20
+ pre .subst {
21
+ color: #000;
22
+ font-weight: bold
23
+ }
24
+
25
+ pre .number,
26
+ pre .hexcolor {
27
+ color: #40a070
28
+ }
29
+
30
+ pre .string,
31
+ pre .tag .value,
32
+ pre .phpdoc,
33
+ pre .tex .formula {
34
+ color: #d14
35
+ }
36
+
37
+ pre .title,
38
+ pre .id {
39
+ color: #900;
40
+ font-weight: bold
41
+ }
42
+
43
+ pre .javascript .title,
44
+ pre .lisp .title,
45
+ pre .subst {
46
+ font-weight: normal
47
+ }
48
+
49
+ pre .class .title,
50
+ pre .haskell .label,
51
+ pre .tex .command {
52
+ color: #458;
53
+ font-weight: bold
54
+ }
55
+
56
+ pre .tag,
57
+ pre .tag .title,
58
+ pre .rules .property,
59
+ pre .django .tag .keyword {
60
+ color: #000080;
61
+ font-weight: normal
62
+ }
63
+
64
+ pre .attribute,
65
+ pre .variable,
66
+ pre .instancevar,
67
+ pre .lisp .body {
68
+ color: #008080
69
+ }
70
+
71
+ pre .regexp {
72
+ color: #009926
73
+ }
74
+
75
+ pre .class {
76
+ color: #458;
77
+ font-weight: bold
78
+ }
79
+
80
+ pre .symbol,
81
+ pre .ruby .symbol .string,
82
+ pre .ruby .symbol .keyword,
83
+ pre .ruby .symbol .keymethods,
84
+ pre .lisp .keyword,
85
+ pre .tex .special,
86
+ pre .input_number {
87
+ color: #990073
88
+ }
89
+
90
+ pre .builtin,
91
+ pre .built_in,
92
+ pre .lisp .title {
93
+ color: #0086b3
94
+ }
95
+
96
+ pre .preprocessor,
97
+ pre .pi,
98
+ pre .doctype,
99
+ pre .shebang,
100
+ pre .cdata {
101
+ color: #999;
102
+ font-weight: bold
103
+ }
104
+
105
+ pre .deletion {
106
+ background: #fdd
107
+ }
108
+
109
+ pre .addition {
110
+ background: #dfd
111
+ }
112
+
113
+ pre .diff .change {
114
+ background: #0086b3
115
+ }
116
+
117
+ pre .chunk {
118
+ color: #aaa
119
+ }
120
+
121
+ pre .tex .formula {
122
+ opacity: 0.5;
123
+ }
@@ -0,0 +1,374 @@
1
+ body {
2
+ font-family: "Helvetica Neue", Arial, sans-serif;
3
+ background: #FFF;
4
+ color: #3B3B3B;
5
+ margin: 0px;
6
+ font-size: 15px;
7
+ line-height: 1.25em;
8
+ }
9
+
10
+ a:link, a:active, a:visited, a:hover {
11
+ color: #CC0000;
12
+ text-decoration: none;
13
+ }
14
+
15
+ a:hover {
16
+ color: #990000;
17
+ text-decoration: underline;
18
+ }
19
+
20
+ .banner a:hover {
21
+ color: white;
22
+ }
23
+
24
+ h1 a, h2 a, .banner a {
25
+ color: #fff;
26
+ }
27
+
28
+ h1 a:hover, h2 a:hover {
29
+ color: #fff;
30
+ }
31
+
32
+ p {
33
+ margin-bottom: 1em;
34
+ text-align: justify;
35
+ }
36
+
37
+ h1 {
38
+ font-size: 2.1em;
39
+ font-weight: normal;
40
+ line-height: 1.2em;
41
+ margin: 1.4em 0 0.7em 0;
42
+ }
43
+
44
+ h2 {
45
+ font-size: 1.6em;
46
+ margin: 1.8em 0 0.8em 0;
47
+ font-weight: normal;
48
+ line-height: 1.2em;
49
+ }
50
+
51
+ h3 {
52
+ font-size: 1.4em;
53
+ color:#555;
54
+ margin: 1.4em 0 0.7em 0;
55
+ font-weight: normal;
56
+ }
57
+
58
+ h4 {
59
+ margin: 1.4em 0 0.5em 0;
60
+ font-size: 1em;
61
+ }
62
+
63
+ table
64
+ {
65
+ margin-bottom: 1em;
66
+ }
67
+
68
+ td, th
69
+ {
70
+ padding: 0 0.7em 0.3em 0;
71
+ }
72
+
73
+ th
74
+ {
75
+ font-weight: bold;
76
+ }
77
+
78
+ .clear
79
+ {
80
+ clear: both;
81
+ width: 0; height: 0;
82
+ }
83
+
84
+ dt
85
+ {
86
+ margin-bottom: 0.3em;
87
+ font-weight: bold;
88
+ }
89
+
90
+ dd
91
+ {
92
+ margin-left: 2em;
93
+ margin-bottom: 1em;
94
+ }
95
+
96
+ dd p
97
+ {
98
+ margin-top: 0.6em;
99
+ }
100
+
101
+ li
102
+ {
103
+ margin: 0 0 0.5em 2em;
104
+ }
105
+
106
+ ul li
107
+ {
108
+ list-style: disc;
109
+ }
110
+
111
+ ol li
112
+ {
113
+ list-style: decimal;
114
+ }
115
+
116
+ .banner
117
+ {
118
+ background: #B61D1D;
119
+ color: #FFF;
120
+ border-bottom: 1px solid #9b281c;
121
+ padding: 1em;
122
+ box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
123
+ }
124
+ .banner h1
125
+ {
126
+ font-size: 1.2em;
127
+ margin: 0;
128
+ }
129
+
130
+ .banner h1 .type
131
+ {
132
+ font-size: 0.833em;
133
+ display:block;
134
+ }
135
+
136
+ .banner h1 .type,
137
+ .banner h1 .parent
138
+ {
139
+ color: #CCC;
140
+ }
141
+
142
+ .banner ul
143
+ {
144
+ margin-top: 0.3em;
145
+ margin-bottom: 0;
146
+ font-size: 0.85em;
147
+ }
148
+
149
+ .banner li
150
+ {
151
+ list-style: none;
152
+ margin-left: 0;
153
+ margin-bottom: 0;
154
+ }
155
+
156
+ .banner .github_url {
157
+ color: #CCC;
158
+ }
159
+
160
+ pre
161
+ {
162
+ margin-bottom: 1em;
163
+ }
164
+
165
+ .methods dt
166
+ {
167
+ width: 1em;
168
+ font-size: 1.5em;
169
+ color:#AAA;
170
+ position: absolute;
171
+ font-weight: normal;
172
+ margin: 0;
173
+ }
174
+
175
+ .methods dd
176
+ {
177
+ margin-left: 2.5em;
178
+ min-height: 1.8em;
179
+ -height: 1.8em;
180
+ padding-bottom: 0.8em;
181
+ }
182
+
183
+
184
+ .methods ul li
185
+ {
186
+ margin-right: 0.7em;
187
+ margin-left: 0;
188
+ list-style: none;
189
+ display: inline;
190
+ }
191
+
192
+ #content {
193
+ margin: 2em;
194
+ margin-left: 3.5em;
195
+ margin-right: 3.5em;
196
+ max-width: 980px;
197
+ }
198
+
199
+
200
+ .sectiontitle {
201
+ margin-top: 2em;
202
+ margin-bottom: 1.3em;
203
+ margin-left: -1.2em;
204
+ font-size: 1.2em;
205
+ padding: 0 0 0.25em 0;
206
+ font-weight: bold;
207
+ border-bottom: 1px solid #000;
208
+ }
209
+
210
+ .contenttitle {
211
+ margin-top: 4em;
212
+ margin-bottom: 1.3em;
213
+ margin-left: -0.9em;
214
+ font-size: 1.6em;
215
+ padding: 0 0 0.25em 0;
216
+ font-weight: bold;
217
+ }
218
+
219
+ .attr-rw {
220
+ padding-right: 1em;
221
+ text-align: center;
222
+ color: #055;
223
+ }
224
+
225
+ .attr-name {
226
+ font-weight: bold;
227
+ padding-right: 1em;
228
+ }
229
+
230
+ .attr-desc {
231
+ }
232
+
233
+ tt {
234
+ font-size: 1.15em;
235
+ }
236
+
237
+ .attr-value {
238
+ font-family: monospace;
239
+ padding-left: 1em;
240
+ font-size: 1.15em;
241
+ }
242
+
243
+ .dyn-source {
244
+ display: none;
245
+ background: #fffde8;
246
+ color: #000;
247
+ border: #ffe0bb dotted 1px;
248
+ margin: 0.5em 2em 0.5em 0;
249
+ padding: 0.5em;
250
+ }
251
+
252
+ .dyn-source .cmt {
253
+ color: #00F;
254
+ font-style: italic;
255
+ }
256
+
257
+ .dyn-source .kw {
258
+ color: #070;
259
+ font-weight: bold;
260
+ }
261
+
262
+ .description pre {
263
+ padding: 0.5em;
264
+ background: #EEEEEE;
265
+ font-size: 15px;
266
+ overflow-x: scroll;
267
+ }
268
+
269
+ .method {
270
+ margin-bottom: 2em;
271
+ }
272
+ .method .description,
273
+ .method .sourcecode
274
+ {
275
+ margin-left: 1.2em;
276
+ }
277
+ .method h4
278
+ {
279
+ border-bottom: 1px dotted #999;
280
+ padding: 0 0 0.2em 0;
281
+ margin-bottom: 0.8em;
282
+ font-size: 1.1em;
283
+ color:#333;
284
+ }
285
+ .method .method-title {
286
+ border-bottom: 1px dotted #666;
287
+ padding: 0 0 0.15em 0;
288
+ margin: 0 0 0.5em 0;
289
+ font-size: 1.2em;
290
+ line-height: 1.25em;
291
+ position: relative;
292
+ }
293
+
294
+ .method .method-title a.permalink {
295
+ position: absolute;
296
+ font-size: 0.75em;
297
+ right: 0;
298
+ }
299
+
300
+ .method .sourcecode p.source-link {
301
+ text-indent: 0em;
302
+ margin-top: 0.5em;
303
+ }
304
+
305
+ .method .aka {
306
+ margin-top: 0.3em;
307
+ margin-left: 1em;
308
+ font-style: italic;
309
+ text-indent: 2em;
310
+ }
311
+
312
+ .method .source-link
313
+ {
314
+ font-size: 0.85em;
315
+ }
316
+
317
+ .ruby-constant {
318
+ color: teal;
319
+ }
320
+ .ruby-keyword {
321
+ color: #000;
322
+ font-weight: bold
323
+ }
324
+ .ruby-title {
325
+ color: #900;
326
+ font-weight: bold;
327
+ }
328
+ .ruby-ivar {
329
+ color: teal;
330
+ }
331
+ .ruby-operator {
332
+ color: #000;
333
+ font-weight: bold
334
+ }
335
+ .ruby-identifier {
336
+ color: #000;
337
+ }
338
+ .ruby-string,
339
+ .ruby-node {
340
+ color: #D14;
341
+ }
342
+ .ruby-comment {
343
+ color: #998;
344
+ font-style: italic;
345
+ }
346
+ .ruby-regexp {
347
+ color: #009926;
348
+ }
349
+ .ruby-value {
350
+ color: #990073;
351
+ }
352
+ .ruby-number {
353
+ color: #40A070;
354
+ }
355
+
356
+ @keyframes highlight {
357
+ from { background-color: yellow; }
358
+ to { background-color: white; }
359
+ }
360
+
361
+ .highlight {
362
+ animation-name: highlight;
363
+ animation-duration: 1s;
364
+ }
365
+
366
+ p code {
367
+ background: #eeeeee;
368
+ border-radius: 2px;
369
+ border: 1px solid #dddddd;
370
+ font-family: Consolas, Menlo, Courier, monospace;
371
+ font-size: 14px;
372
+ margin-bottom: 1px;
373
+ padding: 0 5px;
374
+ }