retreaverjs-rails 0.0.12 → 0.1.0
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.
- checksums.yaml +4 -4
- data/Gruntfile.js +1 -0
- data/config/README +1 -1
- data/config/jsdocs.json +1 -0
- data/lib/retreaverjs/compile.rb +5 -5
- data/lib/retreaverjs/rails/version.rb +1 -1
- data/src/retreaver/base/model.js +1 -1
- data/src/retreaver/campaign.js +1 -1
- data/src/retreaver.js +28 -0
- data/vendor/assets/javascripts/retreaver.js +1179 -0
- data/vendor/assets/javascripts/retreaver.min.js +2 -0
- data/vendor/documentation/javascript/v1/Retreaver.Campaign.html +425 -0
- data/vendor/documentation/javascript/v1/Retreaver.Number.html +1415 -0
- data/vendor/documentation/javascript/v1/Retreaver.Retreaver.html +146 -0
- data/vendor/documentation/javascript/v1/Retreaver.context.Retreaver.html +146 -0
- data/vendor/documentation/javascript/v1/Retreaver.html +304 -0
- data/vendor/documentation/javascript/v1/campaign.js.html +157 -0
- data/vendor/documentation/javascript/v1/global.html +232 -0
- data/vendor/documentation/javascript/v1/index.html +67 -0
- data/vendor/documentation/javascript/v1/number.js.html +255 -0
- data/vendor/documentation/javascript/v1/retreaver.js.html +78 -0
- data/vendor/documentation/javascript/v1/scripts/linenumber.js +17 -0
- data/vendor/documentation/javascript/v1/scripts/prettify/Apache-License-2.0.txt +202 -0
- data/vendor/documentation/javascript/v1/scripts/prettify/lang-css.js +2 -0
- data/vendor/documentation/javascript/v1/scripts/prettify/prettify.js +28 -0
- data/vendor/documentation/javascript/v1/styles/jsdoc-default.css +290 -0
- data/vendor/documentation/javascript/v1/styles/prettify-jsdoc.css +111 -0
- data/vendor/documentation/javascript/v1/styles/prettify-tomorrow.css +132 -0
- metadata +22 -2
@@ -0,0 +1,290 @@
|
|
1
|
+
html
|
2
|
+
{
|
3
|
+
overflow: auto;
|
4
|
+
background-color: #fff;
|
5
|
+
}
|
6
|
+
|
7
|
+
body
|
8
|
+
{
|
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;
|
17
|
+
}
|
18
|
+
|
19
|
+
a:visited {
|
20
|
+
color: #444;
|
21
|
+
}
|
22
|
+
|
23
|
+
a:active {
|
24
|
+
color: #444;
|
25
|
+
}
|
26
|
+
|
27
|
+
header
|
28
|
+
{
|
29
|
+
display: block;
|
30
|
+
padding: 6px 4px;
|
31
|
+
}
|
32
|
+
|
33
|
+
.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;
|
40
|
+
}
|
41
|
+
|
42
|
+
#main {
|
43
|
+
float: left;
|
44
|
+
width: 100%;
|
45
|
+
}
|
46
|
+
|
47
|
+
section
|
48
|
+
{
|
49
|
+
display: block;
|
50
|
+
|
51
|
+
background-color: #fff;
|
52
|
+
padding: 12px 24px;
|
53
|
+
border-bottom: 1px solid #ccc;
|
54
|
+
margin-right: 240px;
|
55
|
+
}
|
56
|
+
|
57
|
+
.variation {
|
58
|
+
display: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
.optional:after {
|
62
|
+
content: "opt";
|
63
|
+
font-size: 60%;
|
64
|
+
color: #aaa;
|
65
|
+
font-style: italic;
|
66
|
+
font-weight: lighter;
|
67
|
+
}
|
68
|
+
|
69
|
+
nav
|
70
|
+
{
|
71
|
+
display: block;
|
72
|
+
float: left;
|
73
|
+
margin-left: -230px;
|
74
|
+
margin-top: 28px;
|
75
|
+
width: 220px;
|
76
|
+
border-left: 1px solid #ccc;
|
77
|
+
padding-left: 9px;
|
78
|
+
}
|
79
|
+
|
80
|
+
nav ul {
|
81
|
+
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
|
82
|
+
font-size: 100%;
|
83
|
+
line-height: 17px;
|
84
|
+
padding:0;
|
85
|
+
margin:0;
|
86
|
+
list-style-type:none;
|
87
|
+
}
|
88
|
+
|
89
|
+
nav h2 a, nav h2 a:visited {
|
90
|
+
color: #A35A00;
|
91
|
+
text-decoration: none;
|
92
|
+
}
|
93
|
+
|
94
|
+
nav h3 {
|
95
|
+
margin-top: 12px;
|
96
|
+
}
|
97
|
+
|
98
|
+
nav li {
|
99
|
+
margin-top: 6px;
|
100
|
+
}
|
101
|
+
|
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
|
+
footer {
|
115
|
+
display: block;
|
116
|
+
padding: 6px;
|
117
|
+
margin-top: 12px;
|
118
|
+
font-style: italic;
|
119
|
+
font-size: 90%;
|
120
|
+
}
|
121
|
+
|
122
|
+
h1
|
123
|
+
{
|
124
|
+
font-size: 200%;
|
125
|
+
font-weight: bold;
|
126
|
+
letter-spacing: -0.01em;
|
127
|
+
margin: 6px 0 9px 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
h2
|
131
|
+
{
|
132
|
+
font-size: 170%;
|
133
|
+
font-weight: bold;
|
134
|
+
letter-spacing: -0.01em;
|
135
|
+
margin: 6px 0 3px 0;
|
136
|
+
}
|
137
|
+
|
138
|
+
h3
|
139
|
+
{
|
140
|
+
font-size: 150%;
|
141
|
+
font-weight: bold;
|
142
|
+
letter-spacing: -0.01em;
|
143
|
+
margin-top: 16px;
|
144
|
+
margin: 6px 0 3px 0;
|
145
|
+
}
|
146
|
+
|
147
|
+
h4
|
148
|
+
{
|
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;
|
155
|
+
}
|
156
|
+
|
157
|
+
h5, .container-overview .subsection-title
|
158
|
+
{
|
159
|
+
font-size: 120%;
|
160
|
+
font-weight: bold;
|
161
|
+
letter-spacing: -0.01em;
|
162
|
+
margin: 8px 0 3px -16px;
|
163
|
+
}
|
164
|
+
|
165
|
+
h6
|
166
|
+
{
|
167
|
+
font-size: 100%;
|
168
|
+
letter-spacing: -0.01em;
|
169
|
+
margin: 6px 0 3px 0;
|
170
|
+
font-style: italic;
|
171
|
+
}
|
172
|
+
|
173
|
+
.ancestors { color: #999; }
|
174
|
+
.ancestors a
|
175
|
+
{
|
176
|
+
color: #999 !important;
|
177
|
+
text-decoration: none;
|
178
|
+
}
|
179
|
+
|
180
|
+
.important
|
181
|
+
{
|
182
|
+
font-weight: bold;
|
183
|
+
color: #950B02;
|
184
|
+
}
|
185
|
+
|
186
|
+
.yes-def {
|
187
|
+
text-indent: -1000px;
|
188
|
+
}
|
189
|
+
|
190
|
+
.type-signature {
|
191
|
+
color: #aaa;
|
192
|
+
}
|
193
|
+
|
194
|
+
.name, .signature {
|
195
|
+
font-family: Consolas, "Lucida Console", Monaco, monospace;
|
196
|
+
}
|
197
|
+
|
198
|
+
.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; }
|
201
|
+
.details ul { margin: 0; }
|
202
|
+
.details ul { list-style-type: none; }
|
203
|
+
.details li { margin-left: 30px; padding-top: 6px; }
|
204
|
+
.details pre.prettyprint { margin: 0 }
|
205
|
+
.details .object-value { padding-top: 0; }
|
206
|
+
|
207
|
+
.description {
|
208
|
+
margin-bottom: 1em;
|
209
|
+
margin-left: -16px;
|
210
|
+
margin-top: 1em;
|
211
|
+
}
|
212
|
+
|
213
|
+
.code-caption
|
214
|
+
{
|
215
|
+
font-style: italic;
|
216
|
+
font-family: Palatino, 'Palatino Linotype', serif;
|
217
|
+
font-size: 107%;
|
218
|
+
margin: 0;
|
219
|
+
}
|
220
|
+
|
221
|
+
.prettyprint
|
222
|
+
{
|
223
|
+
border: 1px solid #ddd;
|
224
|
+
width: 80%;
|
225
|
+
overflow: auto;
|
226
|
+
}
|
227
|
+
|
228
|
+
.prettyprint.source {
|
229
|
+
width: inherit;
|
230
|
+
}
|
231
|
+
|
232
|
+
.prettyprint code
|
233
|
+
{
|
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;
|
243
|
+
}
|
244
|
+
|
245
|
+
.prettyprint code span.line
|
246
|
+
{
|
247
|
+
display: inline-block;
|
248
|
+
}
|
249
|
+
|
250
|
+
.params, .props
|
251
|
+
{
|
252
|
+
border-spacing: 0;
|
253
|
+
border: 0;
|
254
|
+
border-collapse: collapse;
|
255
|
+
}
|
256
|
+
|
257
|
+
.params .name, .props .name, .name code {
|
258
|
+
color: #A35A00;
|
259
|
+
font-family: Consolas, 'Lucida Console', Monaco, monospace;
|
260
|
+
font-size: 100%;
|
261
|
+
}
|
262
|
+
|
263
|
+
.params td, .params th, .props td, .props th
|
264
|
+
{
|
265
|
+
border: 1px solid #ddd;
|
266
|
+
margin: 0px;
|
267
|
+
text-align: left;
|
268
|
+
vertical-align: top;
|
269
|
+
padding: 4px 6px;
|
270
|
+
display: table-cell;
|
271
|
+
}
|
272
|
+
|
273
|
+
.params thead tr, .props thead tr
|
274
|
+
{
|
275
|
+
background-color: #ddd;
|
276
|
+
font-weight: bold;
|
277
|
+
}
|
278
|
+
|
279
|
+
.params .params thead tr, .props .props thead tr
|
280
|
+
{
|
281
|
+
background-color: #fff;
|
282
|
+
font-weight: bold;
|
283
|
+
}
|
284
|
+
|
285
|
+
.params th, .props th { border-right: 1px solid #aaa; }
|
286
|
+
.params thead .last, .props thead .last { border-right: 1px solid #ddd; }
|
287
|
+
|
288
|
+
.disabled {
|
289
|
+
color: #454545;
|
290
|
+
}
|
@@ -0,0 +1,111 @@
|
|
1
|
+
/* JSDoc prettify.js theme */
|
2
|
+
|
3
|
+
/* plain text */
|
4
|
+
.pln {
|
5
|
+
color: #000000;
|
6
|
+
font-weight: normal;
|
7
|
+
font-style: normal;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* string content */
|
11
|
+
.str {
|
12
|
+
color: #006400;
|
13
|
+
font-weight: normal;
|
14
|
+
font-style: normal;
|
15
|
+
}
|
16
|
+
|
17
|
+
/* a keyword */
|
18
|
+
.kwd {
|
19
|
+
color: #000000;
|
20
|
+
font-weight: bold;
|
21
|
+
font-style: normal;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* a comment */
|
25
|
+
.com {
|
26
|
+
font-weight: normal;
|
27
|
+
font-style: italic;
|
28
|
+
}
|
29
|
+
|
30
|
+
/* a type name */
|
31
|
+
.typ {
|
32
|
+
color: #000000;
|
33
|
+
font-weight: normal;
|
34
|
+
font-style: normal;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* a literal value */
|
38
|
+
.lit {
|
39
|
+
color: #006400;
|
40
|
+
font-weight: normal;
|
41
|
+
font-style: normal;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* punctuation */
|
45
|
+
.pun {
|
46
|
+
color: #000000;
|
47
|
+
font-weight: bold;
|
48
|
+
font-style: normal;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* lisp open bracket */
|
52
|
+
.opn {
|
53
|
+
color: #000000;
|
54
|
+
font-weight: bold;
|
55
|
+
font-style: normal;
|
56
|
+
}
|
57
|
+
|
58
|
+
/* lisp close bracket */
|
59
|
+
.clo {
|
60
|
+
color: #000000;
|
61
|
+
font-weight: bold;
|
62
|
+
font-style: normal;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* a markup tag name */
|
66
|
+
.tag {
|
67
|
+
color: #006400;
|
68
|
+
font-weight: normal;
|
69
|
+
font-style: normal;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* a markup attribute name */
|
73
|
+
.atn {
|
74
|
+
color: #006400;
|
75
|
+
font-weight: normal;
|
76
|
+
font-style: normal;
|
77
|
+
}
|
78
|
+
|
79
|
+
/* a markup attribute value */
|
80
|
+
.atv {
|
81
|
+
color: #006400;
|
82
|
+
font-weight: normal;
|
83
|
+
font-style: normal;
|
84
|
+
}
|
85
|
+
|
86
|
+
/* a declaration */
|
87
|
+
.dec {
|
88
|
+
color: #000000;
|
89
|
+
font-weight: bold;
|
90
|
+
font-style: normal;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* a variable name */
|
94
|
+
.var {
|
95
|
+
color: #000000;
|
96
|
+
font-weight: normal;
|
97
|
+
font-style: normal;
|
98
|
+
}
|
99
|
+
|
100
|
+
/* a function name */
|
101
|
+
.fun {
|
102
|
+
color: #000000;
|
103
|
+
font-weight: bold;
|
104
|
+
font-style: normal;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* Specify class=linenums on a pre to get line numbering */
|
108
|
+
ol.linenums {
|
109
|
+
margin-top: 0;
|
110
|
+
margin-bottom: 0;
|
111
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
/* Tomorrow Theme */
|
2
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
+
/* Pretty printing styles. Used with prettify.js. */
|
4
|
+
/* SPAN elements with the classes below are added by prettyprint. */
|
5
|
+
/* plain text */
|
6
|
+
.pln {
|
7
|
+
color: #4d4d4c; }
|
8
|
+
|
9
|
+
@media screen {
|
10
|
+
/* string content */
|
11
|
+
.str {
|
12
|
+
color: #718c00; }
|
13
|
+
|
14
|
+
/* a keyword */
|
15
|
+
.kwd {
|
16
|
+
color: #8959a8; }
|
17
|
+
|
18
|
+
/* a comment */
|
19
|
+
.com {
|
20
|
+
color: #8e908c; }
|
21
|
+
|
22
|
+
/* a type name */
|
23
|
+
.typ {
|
24
|
+
color: #4271ae; }
|
25
|
+
|
26
|
+
/* a literal value */
|
27
|
+
.lit {
|
28
|
+
color: #f5871f; }
|
29
|
+
|
30
|
+
/* punctuation */
|
31
|
+
.pun {
|
32
|
+
color: #4d4d4c; }
|
33
|
+
|
34
|
+
/* lisp open bracket */
|
35
|
+
.opn {
|
36
|
+
color: #4d4d4c; }
|
37
|
+
|
38
|
+
/* lisp close bracket */
|
39
|
+
.clo {
|
40
|
+
color: #4d4d4c; }
|
41
|
+
|
42
|
+
/* a markup tag name */
|
43
|
+
.tag {
|
44
|
+
color: #c82829; }
|
45
|
+
|
46
|
+
/* a markup attribute name */
|
47
|
+
.atn {
|
48
|
+
color: #f5871f; }
|
49
|
+
|
50
|
+
/* a markup attribute value */
|
51
|
+
.atv {
|
52
|
+
color: #3e999f; }
|
53
|
+
|
54
|
+
/* a declaration */
|
55
|
+
.dec {
|
56
|
+
color: #f5871f; }
|
57
|
+
|
58
|
+
/* a variable name */
|
59
|
+
.var {
|
60
|
+
color: #c82829; }
|
61
|
+
|
62
|
+
/* a function name */
|
63
|
+
.fun {
|
64
|
+
color: #4271ae; } }
|
65
|
+
/* Use higher contrast and text-weight for printable form. */
|
66
|
+
@media print, projection {
|
67
|
+
.str {
|
68
|
+
color: #060; }
|
69
|
+
|
70
|
+
.kwd {
|
71
|
+
color: #006;
|
72
|
+
font-weight: bold; }
|
73
|
+
|
74
|
+
.com {
|
75
|
+
color: #600;
|
76
|
+
font-style: italic; }
|
77
|
+
|
78
|
+
.typ {
|
79
|
+
color: #404;
|
80
|
+
font-weight: bold; }
|
81
|
+
|
82
|
+
.lit {
|
83
|
+
color: #044; }
|
84
|
+
|
85
|
+
.pun, .opn, .clo {
|
86
|
+
color: #440; }
|
87
|
+
|
88
|
+
.tag {
|
89
|
+
color: #006;
|
90
|
+
font-weight: bold; }
|
91
|
+
|
92
|
+
.atn {
|
93
|
+
color: #404; }
|
94
|
+
|
95
|
+
.atv {
|
96
|
+
color: #060; } }
|
97
|
+
/* Style */
|
98
|
+
/*
|
99
|
+
pre.prettyprint {
|
100
|
+
background: white;
|
101
|
+
font-family: Menlo, Monaco, Consolas, monospace;
|
102
|
+
font-size: 12px;
|
103
|
+
line-height: 1.5;
|
104
|
+
border: 1px solid #ccc;
|
105
|
+
padding: 10px; }
|
106
|
+
*/
|
107
|
+
|
108
|
+
/* Specify class=linenums on a pre to get line numbering */
|
109
|
+
ol.linenums {
|
110
|
+
margin-top: 0;
|
111
|
+
margin-bottom: 0; }
|
112
|
+
|
113
|
+
/* IE indents via margin-left */
|
114
|
+
li.L0,
|
115
|
+
li.L1,
|
116
|
+
li.L2,
|
117
|
+
li.L3,
|
118
|
+
li.L4,
|
119
|
+
li.L5,
|
120
|
+
li.L6,
|
121
|
+
li.L7,
|
122
|
+
li.L8,
|
123
|
+
li.L9 {
|
124
|
+
/* */ }
|
125
|
+
|
126
|
+
/* Alternate shading for lines */
|
127
|
+
li.L1,
|
128
|
+
li.L3,
|
129
|
+
li.L5,
|
130
|
+
li.L7,
|
131
|
+
li.L9 {
|
132
|
+
/* */ }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: retreaverjs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Hilscher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/retreaverjs/rails.rb
|
84
84
|
- lib/retreaverjs/rails/version.rb
|
85
85
|
- package.json
|
86
|
+
- src/retreaver.js
|
86
87
|
- src/retreaver/base/base64.js
|
87
88
|
- src/retreaver/base/cookies.js
|
88
89
|
- src/retreaver/base/data.js
|
@@ -94,6 +95,25 @@ files:
|
|
94
95
|
- src/retreaver/callpixels.js
|
95
96
|
- src/retreaver/campaign.js
|
96
97
|
- src/retreaver/number.js
|
98
|
+
- vendor/assets/javascripts/retreaver.js
|
99
|
+
- vendor/assets/javascripts/retreaver.min.js
|
100
|
+
- vendor/documentation/javascript/v1/Retreaver.Campaign.html
|
101
|
+
- vendor/documentation/javascript/v1/Retreaver.Number.html
|
102
|
+
- vendor/documentation/javascript/v1/Retreaver.Retreaver.html
|
103
|
+
- vendor/documentation/javascript/v1/Retreaver.context.Retreaver.html
|
104
|
+
- vendor/documentation/javascript/v1/Retreaver.html
|
105
|
+
- vendor/documentation/javascript/v1/campaign.js.html
|
106
|
+
- vendor/documentation/javascript/v1/global.html
|
107
|
+
- vendor/documentation/javascript/v1/index.html
|
108
|
+
- vendor/documentation/javascript/v1/number.js.html
|
109
|
+
- vendor/documentation/javascript/v1/retreaver.js.html
|
110
|
+
- vendor/documentation/javascript/v1/scripts/linenumber.js
|
111
|
+
- vendor/documentation/javascript/v1/scripts/prettify/Apache-License-2.0.txt
|
112
|
+
- vendor/documentation/javascript/v1/scripts/prettify/lang-css.js
|
113
|
+
- vendor/documentation/javascript/v1/scripts/prettify/prettify.js
|
114
|
+
- vendor/documentation/javascript/v1/styles/jsdoc-default.css
|
115
|
+
- vendor/documentation/javascript/v1/styles/prettify-jsdoc.css
|
116
|
+
- vendor/documentation/javascript/v1/styles/prettify-tomorrow.css
|
97
117
|
homepage: ''
|
98
118
|
licenses:
|
99
119
|
- GPLv3
|