retreaverjs-rails 0.2.25 → 0.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/build.js +104 -0
  3. data/lib/retreaverjs/compile.rb +6 -5
  4. data/lib/retreaverjs/rails/version.rb +1 -1
  5. data/package.json +14 -27
  6. data/vendor/assets/javascripts/retreaver.js +25 -11
  7. data/vendor/assets/javascripts/retreaver.min.js +2 -2
  8. data/vendor/documentation/javascript/v1/Retreaver.Campaign.html +343 -282
  9. data/vendor/documentation/javascript/v1/Retreaver.Number.html +875 -713
  10. data/vendor/documentation/javascript/v1/Retreaver.html +161 -130
  11. data/vendor/documentation/javascript/v1/campaign.js.html +11 -87
  12. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.eot +0 -0
  13. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.svg +1830 -0
  14. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.woff +0 -0
  15. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  16. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  17. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  18. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.eot +0 -0
  19. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.svg +1830 -0
  20. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.woff +0 -0
  21. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.eot +0 -0
  22. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.svg +1831 -0
  23. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.woff +0 -0
  24. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  25. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  26. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  27. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.eot +0 -0
  28. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.svg +1831 -0
  29. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.woff +0 -0
  30. data/vendor/documentation/javascript/v1/global.html +123 -93
  31. data/vendor/documentation/javascript/v1/index.html +10 -8
  32. data/vendor/documentation/javascript/v1/number.js.html +1 -1
  33. data/vendor/documentation/javascript/v1/retreaver.js.html +8 -7
  34. data/vendor/documentation/javascript/v1/retreaver_campaign.js.html +400 -0
  35. data/vendor/documentation/javascript/v1/retreaver_number.js.html +275 -0
  36. data/vendor/documentation/javascript/v1/scripts/linenumber.js +20 -12
  37. data/vendor/documentation/javascript/v1/styles/jsdoc-default.css +201 -133
  38. data/vendor/documentation/javascript/v1/styles/prettify-tomorrow.css +1 -1
  39. data/vendor/documentation/javascript/{dev → v2}/Retreaver.Campaign.html +3 -3
  40. data/vendor/documentation/javascript/{dev → v2}/Retreaver.Number.html +1 -1
  41. data/vendor/documentation/javascript/{dev → v2}/Retreaver.html +2 -2
  42. data/vendor/documentation/javascript/{dev → v2}/campaign.js.html +39 -48
  43. data/vendor/documentation/javascript/{dev → v2}/global.html +2 -2
  44. data/vendor/documentation/javascript/{dev → v2}/index.html +1 -1
  45. data/vendor/documentation/javascript/{dev → v2}/number.js.html +1 -1
  46. data/vendor/documentation/javascript/{dev → v2}/retreaver.js.html +2 -2
  47. metadata +42 -24
  48. data/Gruntfile.js +0 -50
  49. /data/vendor/documentation/javascript/{dev → v2}/scripts/linenumber.js +0 -0
  50. /data/vendor/documentation/javascript/{dev → v2}/scripts/prettify/Apache-License-2.0.txt +0 -0
  51. /data/vendor/documentation/javascript/{dev → v2}/scripts/prettify/lang-css.js +0 -0
  52. /data/vendor/documentation/javascript/{dev → v2}/scripts/prettify/prettify.js +0 -0
  53. /data/vendor/documentation/javascript/{dev → v2}/styles/jsdoc-default.css +0 -0
  54. /data/vendor/documentation/javascript/{dev → v2}/styles/prettify-jsdoc.css +0 -0
  55. /data/vendor/documentation/javascript/{dev → v2}/styles/prettify-tomorrow.css +0 -0
@@ -1,17 +1,25 @@
1
- (function() {
2
- var counter = 0;
3
- var numbered;
4
- var source = document.getElementsByClassName('prettyprint source');
1
+ /*global document */
2
+ (() => {
3
+ const source = document.getElementsByClassName('prettyprint source linenums');
4
+ let i = 0;
5
+ let lineNumber = 0;
6
+ let lineId;
7
+ let lines;
8
+ let totalLines;
9
+ let anchorHash;
5
10
 
6
11
  if (source && source[0]) {
7
- source = source[0].getElementsByTagName('code')[0];
12
+ anchorHash = document.location.hash.substring(1);
13
+ lines = source[0].getElementsByTagName('li');
14
+ totalLines = lines.length;
8
15
 
9
- numbered = source.innerHTML.split('\n');
10
- numbered = numbered.map(function(item) {
11
- counter++;
12
- return '<span id="line' + counter + '" class="line"></span>' + item;
13
- });
14
-
15
- source.innerHTML = numbered.join('\n');
16
+ for (; i < totalLines; i++) {
17
+ lineNumber++;
18
+ lineId = `line${lineNumber}`;
19
+ lines[i].id = lineId;
20
+ if (lineId === anchorHash) {
21
+ lines[i].className += ' selected';
22
+ }
23
+ }
16
24
  }
17
25
  })();
@@ -1,94 +1,131 @@
1
+ @font-face {
2
+ font-family: 'Open Sans';
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ src: url('../fonts/OpenSans-Regular-webfont.eot');
6
+ src:
7
+ local('Open Sans'),
8
+ local('OpenSans'),
9
+ url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
10
+ url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
11
+ url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'Open Sans Light';
16
+ font-weight: normal;
17
+ font-style: normal;
18
+ src: url('../fonts/OpenSans-Light-webfont.eot');
19
+ src:
20
+ local('Open Sans Light'),
21
+ local('OpenSans Light'),
22
+ url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
23
+ url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
24
+ url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
25
+ }
26
+
1
27
  html
2
28
  {
3
29
  overflow: auto;
4
30
  background-color: #fff;
31
+ font-size: 14px;
5
32
  }
6
33
 
7
34
  body
8
35
  {
9
- font: 14px "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;
10
- line-height: 130%;
11
- color: #000;
12
- background-color: #fff;
13
- }
14
-
15
- a {
16
- color: #444;
36
+ font-family: 'Open Sans', sans-serif;
37
+ line-height: 1.5;
38
+ color: #4d4e53;
39
+ background-color: white;
17
40
  }
18
41
 
19
- a:visited {
20
- color: #444;
42
+ a, a:visited, a:active {
43
+ color: #0095dd;
44
+ text-decoration: none;
21
45
  }
22
46
 
23
- a:active {
24
- color: #444;
47
+ a:hover {
48
+ text-decoration: underline;
25
49
  }
26
50
 
27
51
  header
28
52
  {
29
- display: block;
30
- padding: 6px 4px;
53
+ display: block;
54
+ padding: 0px 4px;
55
+ }
56
+
57
+ tt, code, kbd, samp {
58
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
31
59
  }
32
60
 
33
61
  .class-description {
34
- font-style: italic;
35
- font-family: Palatino, 'Palatino Linotype', serif;
36
- font-size: 130%;
37
- line-height: 140%;
38
- margin-bottom: 1em;
39
- margin-top: 1em;
62
+ font-size: 130%;
63
+ line-height: 140%;
64
+ margin-bottom: 1em;
65
+ margin-top: 1em;
66
+ }
67
+
68
+ .class-description:empty {
69
+ margin: 0;
40
70
  }
41
71
 
42
72
  #main {
43
73
  float: left;
44
- width: 100%;
74
+ width: 70%;
75
+ }
76
+
77
+ article dl {
78
+ margin-bottom: 40px;
79
+ }
80
+
81
+ article img {
82
+ max-width: 100%;
45
83
  }
46
84
 
47
85
  section
48
86
  {
49
- display: block;
50
-
51
- background-color: #fff;
52
- padding: 12px 24px;
87
+ display: block;
88
+ background-color: #fff;
89
+ padding: 12px 24px;
53
90
  border-bottom: 1px solid #ccc;
54
- margin-right: 240px;
91
+ margin-right: 30px;
55
92
  }
56
93
 
57
94
  .variation {
58
95
  display: none;
59
96
  }
60
97
 
61
- .optional:after {
62
- content: "opt";
63
- font-size: 60%;
64
- color: #aaa;
65
- font-style: italic;
66
- font-weight: lighter;
98
+ .signature-attributes {
99
+ font-size: 60%;
100
+ color: #aaa;
101
+ font-style: italic;
102
+ font-weight: lighter;
67
103
  }
68
104
 
69
105
  nav
70
106
  {
71
- display: block;
72
- float: left;
73
- margin-left: -230px;
107
+ display: block;
108
+ float: right;
74
109
  margin-top: 28px;
75
- width: 220px;
110
+ width: 30%;
111
+ box-sizing: border-box;
76
112
  border-left: 1px solid #ccc;
77
- padding-left: 9px;
113
+ padding-left: 16px;
78
114
  }
79
115
 
80
116
  nav ul {
81
117
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
82
118
  font-size: 100%;
83
119
  line-height: 17px;
84
- padding:0;
85
- margin:0;
86
- list-style-type:none;
120
+ padding: 0;
121
+ margin: 0;
122
+ list-style-type: none;
87
123
  }
88
124
 
89
- nav h2 a, nav h2 a:visited {
90
- color: #A35A00;
91
- text-decoration: none;
125
+ nav ul a, nav ul a:visited, nav ul a:active {
126
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
127
+ line-height: 18px;
128
+ color: #4D4E53;
92
129
  }
93
130
 
94
131
  nav h3 {
@@ -99,18 +136,6 @@ nav li {
99
136
  margin-top: 6px;
100
137
  }
101
138
 
102
- nav a {
103
- color: #5C5954;
104
- }
105
-
106
- nav a:visited {
107
- color: #5C5954;
108
- }
109
-
110
- nav a:active {
111
- color: #5C5954;
112
- }
113
-
114
139
  footer {
115
140
  display: block;
116
141
  padding: 6px;
@@ -119,68 +144,100 @@ footer {
119
144
  font-size: 90%;
120
145
  }
121
146
 
147
+ h1, h2, h3, h4 {
148
+ font-weight: 200;
149
+ margin: 0;
150
+ }
151
+
122
152
  h1
123
153
  {
124
- font-size: 200%;
125
- font-weight: bold;
126
- letter-spacing: -0.01em;
127
- margin: 6px 0 9px 0;
154
+ font-family: 'Open Sans Light', sans-serif;
155
+ font-size: 48px;
156
+ letter-spacing: -2px;
157
+ margin: 12px 24px 20px;
128
158
  }
129
159
 
130
- h2
160
+ h2, h3.subsection-title
131
161
  {
132
- font-size: 170%;
133
- font-weight: bold;
134
- letter-spacing: -0.01em;
135
- margin: 6px 0 3px 0;
162
+ font-size: 30px;
163
+ font-weight: 700;
164
+ letter-spacing: -1px;
165
+ margin-bottom: 12px;
136
166
  }
137
167
 
138
168
  h3
139
169
  {
140
- font-size: 150%;
141
- font-weight: bold;
142
- letter-spacing: -0.01em;
143
- margin-top: 16px;
144
- margin: 6px 0 3px 0;
170
+ font-size: 24px;
171
+ letter-spacing: -0.5px;
172
+ margin-bottom: 12px;
145
173
  }
146
174
 
147
175
  h4
148
176
  {
149
- font-size: 130%;
150
- font-weight: bold;
151
- letter-spacing: -0.01em;
152
- margin-top: 16px;
153
- margin: 18px 0 3px 0;
154
- color: #A35A00;
177
+ font-size: 18px;
178
+ letter-spacing: -0.33px;
179
+ margin-bottom: 12px;
180
+ color: #4d4e53;
155
181
  }
156
182
 
157
183
  h5, .container-overview .subsection-title
158
184
  {
159
- font-size: 120%;
160
- font-weight: bold;
161
- letter-spacing: -0.01em;
162
- margin: 8px 0 3px -16px;
185
+ font-size: 120%;
186
+ font-weight: bold;
187
+ letter-spacing: -0.01em;
188
+ margin: 8px 0 3px 0;
163
189
  }
164
190
 
165
191
  h6
166
192
  {
167
- font-size: 100%;
168
- letter-spacing: -0.01em;
169
- margin: 6px 0 3px 0;
170
- font-style: italic;
193
+ font-size: 100%;
194
+ letter-spacing: -0.01em;
195
+ margin: 6px 0 3px 0;
196
+ font-style: italic;
197
+ }
198
+
199
+ table
200
+ {
201
+ border-spacing: 0;
202
+ border: 0;
203
+ border-collapse: collapse;
171
204
  }
172
205
 
173
- .ancestors { color: #999; }
174
- .ancestors a
206
+ td, th
207
+ {
208
+ border: 1px solid #ddd;
209
+ margin: 0px;
210
+ text-align: left;
211
+ vertical-align: top;
212
+ padding: 4px 6px;
213
+ display: table-cell;
214
+ }
215
+
216
+ thead tr
217
+ {
218
+ background-color: #ddd;
219
+ font-weight: bold;
220
+ }
221
+
222
+ th { border-right: 1px solid #aaa; }
223
+ tr > th:last-child { border-right: 1px solid #ddd; }
224
+
225
+ .ancestors, .attribs { color: #999; }
226
+ .ancestors a, .attribs a
175
227
  {
176
228
  color: #999 !important;
177
229
  text-decoration: none;
178
230
  }
179
231
 
232
+ .clear
233
+ {
234
+ clear: both;
235
+ }
236
+
180
237
  .important
181
238
  {
182
- font-weight: bold;
183
- color: #950B02;
239
+ font-weight: bold;
240
+ color: #950B02;
184
241
  }
185
242
 
186
243
  .yes-def {
@@ -192,12 +249,12 @@ h6
192
249
  }
193
250
 
194
251
  .name, .signature {
195
- font-family: Consolas, "Lucida Console", Monaco, monospace;
252
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
196
253
  }
197
254
 
198
255
  .details { margin-top: 14px; border-left: 2px solid #DDD; }
199
- .details dt { width:100px; float:left; padding-left: 10px; padding-top: 6px; }
200
- .details dd { margin-left: 50px; }
256
+ .details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
257
+ .details dd { margin-left: 70px; }
201
258
  .details ul { margin: 0; }
202
259
  .details ul { list-style-type: none; }
203
260
  .details li { margin-left: 30px; padding-top: 6px; }
@@ -205,23 +262,21 @@ h6
205
262
  .details .object-value { padding-top: 0; }
206
263
 
207
264
  .description {
208
- margin-bottom: 1em;
209
- margin-left: -16px;
210
- margin-top: 1em;
265
+ margin-bottom: 1em;
266
+ margin-top: 1em;
211
267
  }
212
268
 
213
269
  .code-caption
214
270
  {
215
- font-style: italic;
216
- font-family: Palatino, 'Palatino Linotype', serif;
217
- font-size: 107%;
218
- margin: 0;
271
+ font-style: italic;
272
+ font-size: 107%;
273
+ margin: 0;
219
274
  }
220
275
 
221
- .prettyprint
276
+ .source
222
277
  {
223
- border: 1px solid #ddd;
224
- width: 80%;
278
+ border: 1px solid #ddd;
279
+ width: 80%;
225
280
  overflow: auto;
226
281
  }
227
282
 
@@ -229,17 +284,15 @@ h6
229
284
  width: inherit;
230
285
  }
231
286
 
232
- .prettyprint code
287
+ .source code
233
288
  {
234
- font-family: Consolas, 'Lucida Console', Monaco, monospace;
235
- font-size: 100%;
236
- line-height: 18px;
237
- display: block;
238
- padding: 4px 12px;
239
- margin: 0;
240
- background-color: #fff;
241
- color: #000;
242
- border-left: 3px #ddd solid;
289
+ font-size: 100%;
290
+ line-height: 18px;
291
+ display: block;
292
+ padding: 4px 12px;
293
+ margin: 0;
294
+ background-color: #fff;
295
+ color: #4D4E53;
243
296
  }
244
297
 
245
298
  .prettyprint code span.line
@@ -247,43 +300,58 @@ h6
247
300
  display: inline-block;
248
301
  }
249
302
 
250
- .params, .props
303
+ .prettyprint.linenums
251
304
  {
252
- border-spacing: 0;
253
- border: 0;
254
- border-collapse: collapse;
305
+ padding-left: 70px;
306
+ -webkit-user-select: none;
307
+ -moz-user-select: none;
308
+ -ms-user-select: none;
309
+ user-select: none;
255
310
  }
256
311
 
257
- .params .name, .props .name, .name code {
258
- color: #A35A00;
259
- font-family: Consolas, 'Lucida Console', Monaco, monospace;
260
- font-size: 100%;
312
+ .prettyprint.linenums ol
313
+ {
314
+ padding-left: 0;
315
+ }
316
+
317
+ .prettyprint.linenums li
318
+ {
319
+ border-left: 3px #ddd solid;
261
320
  }
262
321
 
263
- .params td, .params th, .props td, .props th
322
+ .prettyprint.linenums li.selected,
323
+ .prettyprint.linenums li.selected *
264
324
  {
265
- border: 1px solid #ddd;
266
- margin: 0px;
267
- text-align: left;
268
- vertical-align: top;
269
- padding: 4px 6px;
270
- display: table-cell;
325
+ background-color: lightyellow;
271
326
  }
272
327
 
273
- .params thead tr, .props thead tr
328
+ .prettyprint.linenums li *
274
329
  {
275
- background-color: #ddd;
276
- font-weight: bold;
330
+ -webkit-user-select: text;
331
+ -moz-user-select: text;
332
+ -ms-user-select: text;
333
+ user-select: text;
277
334
  }
278
335
 
279
- .params .params thead tr, .props .props thead tr
336
+ .params .name, .props .name, .name code {
337
+ color: #4D4E53;
338
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
339
+ font-size: 100%;
340
+ }
341
+
342
+ .params td.description > p:first-child,
343
+ .props td.description > p:first-child
280
344
  {
281
- background-color: #fff;
282
- font-weight: bold;
345
+ margin-top: 0;
346
+ padding-top: 0;
283
347
  }
284
348
 
285
- .params th, .props th { border-right: 1px solid #aaa; }
286
- .params thead .last, .props thead .last { border-right: 1px solid #ddd; }
349
+ .params td.description > p:last-child,
350
+ .props td.description > p:last-child
351
+ {
352
+ margin-bottom: 0;
353
+ padding-bottom: 0;
354
+ }
287
355
 
288
356
  .disabled {
289
357
  color: #454545;
@@ -98,7 +98,7 @@
98
98
  /*
99
99
  pre.prettyprint {
100
100
  background: white;
101
- font-family: Menlo, Monaco, Consolas, monospace;
101
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
102
102
  font-size: 12px;
103
103
  line-height: 1.5;
104
104
  border: 1px solid #ccc;
@@ -389,7 +389,7 @@ Calls campaign.request_number
389
389
 
390
390
  <dt class="tag-source">Source:</dt>
391
391
  <dd class="tag-source"><ul class="dummy"><li>
392
- <a href="campaign.js.html">retreaver/campaign.js</a>, <a href="campaign.js.html#line153">line 153</a>
392
+ <a href="campaign.js.html">retreaver/campaign.js</a>, <a href="campaign.js.html#line144">line 144</a>
393
393
  </li></ul></dd>
394
394
 
395
395
 
@@ -589,7 +589,7 @@ Calls campaign.request_number
589
589
 
590
590
  <dt class="tag-source">Source:</dt>
591
591
  <dd class="tag-source"><ul class="dummy"><li>
592
- <a href="campaign.js.html">retreaver/campaign.js</a>, <a href="campaign.js.html#line85">line 85</a>
592
+ <a href="campaign.js.html">retreaver/campaign.js</a>, <a href="campaign.js.html#line48">line 48</a>
593
593
  </li></ul></dd>
594
594
 
595
595
 
@@ -645,7 +645,7 @@ Calls campaign.request_number
645
645
  <br clear="both">
646
646
 
647
647
  <footer>
648
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Mon Jun 17 2024 14:31:16 GMT+0300 (EEST)
648
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri May 31 2024 11:55:23 GMT+0300 (EEST)
649
649
  </footer>
650
650
 
651
651
  <script> prettyPrint(); </script>
@@ -1606,7 +1606,7 @@ with per-visitor numbers enabled.
1606
1606
  <br clear="both">
1607
1607
 
1608
1608
  <footer>
1609
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Mon Jun 17 2024 14:31:16 GMT+0300 (EEST)
1609
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri May 31 2024 11:55:23 GMT+0300 (EEST)
1610
1610
  </footer>
1611
1611
 
1612
1612
  <script> prettyPrint(); </script>
@@ -45,7 +45,7 @@
45
45
 
46
46
 
47
47
  <dt class="tag-version">Version:</dt>
48
- <dd class="tag-version"><ul class="dummy"><li>dev</li></ul></dd>
48
+ <dd class="tag-version"><ul class="dummy"><li>v2</li></ul></dd>
49
49
 
50
50
 
51
51
 
@@ -321,7 +321,7 @@
321
321
  <br clear="both">
322
322
 
323
323
  <footer>
324
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Mon Jun 17 2024 14:31:16 GMT+0300 (EEST)
324
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri May 31 2024 11:55:23 GMT+0300 (EEST)
325
325
  </footer>
326
326
 
327
327
  <script> prettyPrint(); </script>