clickatell 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/License.txt +20 -0
- data/Manifest.txt +29 -0
- data/README.txt +36 -0
- data/Rakefile +145 -0
- data/bin/sms +23 -0
- data/lib/clickatell.rb +7 -0
- data/lib/clickatell/api.rb +108 -0
- data/lib/clickatell/connection.rb +60 -0
- data/lib/clickatell/response.rb +19 -0
- data/lib/clickatell/utility.rb +6 -0
- data/lib/clickatell/utility/options.rb +59 -0
- data/lib/clickatell/version.rb +13 -0
- data/scripts/txt2html +67 -0
- data/setup.rb +1585 -0
- data/spec/api_spec.rb +98 -0
- data/spec/connection_spec.rb +25 -0
- data/spec/response_spec.rb +14 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +2 -0
- data/website/images/footer_bg.gif +0 -0
- data/website/index.html +111 -0
- data/website/index.txt +59 -0
- data/website/javascripts/codehighlighter/code_highlighter.js +188 -0
- data/website/javascripts/codehighlighter/ruby.js +18 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/limechoc.css +266 -0
- data/website/stylesheets/screen.css +456 -0
- data/website/template.rhtml +41 -0
- metadata +79 -0
@@ -0,0 +1,456 @@
|
|
1
|
+
/* =layout
|
2
|
+
-----------------------------------------------------------------------------*/
|
3
|
+
|
4
|
+
* {
|
5
|
+
margin: 0; padding: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
.clear {
|
9
|
+
clear: both
|
10
|
+
}
|
11
|
+
|
12
|
+
body {
|
13
|
+
margin: 0; padding: 0;
|
14
|
+
font-size: 62.5%;
|
15
|
+
text-align: center;
|
16
|
+
border-top-style: solid;
|
17
|
+
border-top-width: .5em;
|
18
|
+
}
|
19
|
+
|
20
|
+
#wrapper {
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
#container {
|
25
|
+
background: white;
|
26
|
+
text-align: left;
|
27
|
+
margin: 0 auto;
|
28
|
+
width: 78em;
|
29
|
+
font-family: Helvetica, Arial, sans-serif;
|
30
|
+
}
|
31
|
+
|
32
|
+
#header {
|
33
|
+
padding: 3em 5em 0em;
|
34
|
+
text-align: center;
|
35
|
+
}
|
36
|
+
|
37
|
+
#content {
|
38
|
+
padding: 0 5em 3em;
|
39
|
+
position: relative;
|
40
|
+
}
|
41
|
+
|
42
|
+
#latest_entry {
|
43
|
+
margin: 0 0 2em;
|
44
|
+
}
|
45
|
+
|
46
|
+
#latest_release {
|
47
|
+
text-align: center;
|
48
|
+
font-size: 1.4em;
|
49
|
+
margin: 0 0 2em; padding: .5em;
|
50
|
+
}
|
51
|
+
|
52
|
+
#latest_release p {
|
53
|
+
|
54
|
+
}
|
55
|
+
|
56
|
+
#footer_wrapper {
|
57
|
+
background-image: url(../images/footer_bg.gif);
|
58
|
+
background-repeat: repeat-x;
|
59
|
+
background-position: 0 -3px;
|
60
|
+
}
|
61
|
+
|
62
|
+
#footer {
|
63
|
+
font-family: Helvetica, Arial, sans-serif;
|
64
|
+
background: url(../images/footer_bg.gif) repeat-x 0 -3px;
|
65
|
+
margin: 0 auto; padding: 2em 5em;
|
66
|
+
width: 68em; min-height: 10em;
|
67
|
+
text-align: left;
|
68
|
+
border-top-width: 2em;
|
69
|
+
border-top-style: solid;
|
70
|
+
}
|
71
|
+
|
72
|
+
#footer div.footer_block {
|
73
|
+
width: 33em;
|
74
|
+
float: left;
|
75
|
+
padding: 0 0 2em;
|
76
|
+
}
|
77
|
+
|
78
|
+
#footer div.footer_block.center {
|
79
|
+
margin: 0 0 0 2em;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* =typography
|
83
|
+
-----------------------------------------------------------------------------*/
|
84
|
+
|
85
|
+
h1 {
|
86
|
+
font-family: Helvetica, Arial, sans-serif;
|
87
|
+
font-size: 4em;
|
88
|
+
letter-spacing: -3px;
|
89
|
+
margin: 0 0 .5em; padding: 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
h1 a:link,
|
93
|
+
h1 a:visited,
|
94
|
+
h1 a:hover {
|
95
|
+
|
96
|
+
}
|
97
|
+
|
98
|
+
h1 span.tagline {
|
99
|
+
display: block;
|
100
|
+
font-size: 60%;
|
101
|
+
letter-spacing: -2px;
|
102
|
+
}
|
103
|
+
|
104
|
+
h2 {
|
105
|
+
font-size: 1.2em;
|
106
|
+
line-height: 1.2;
|
107
|
+
}
|
108
|
+
|
109
|
+
h2 img {
|
110
|
+
vertical-align: middle;
|
111
|
+
}
|
112
|
+
|
113
|
+
h3 {
|
114
|
+
font-size: 1.8em;
|
115
|
+
margin: 0 0 .5em;
|
116
|
+
}
|
117
|
+
|
118
|
+
h4 {
|
119
|
+
font-size: 1.7em;
|
120
|
+
margin: 1.5em 0 1em; padding: 0;
|
121
|
+
vertical-align: baseline;
|
122
|
+
}
|
123
|
+
|
124
|
+
p {
|
125
|
+
line-height: 1.3;
|
126
|
+
}
|
127
|
+
|
128
|
+
#content p code {
|
129
|
+
font-size: 1em;
|
130
|
+
}
|
131
|
+
|
132
|
+
pre {
|
133
|
+
margin: 1.5em 0 !important;
|
134
|
+
}
|
135
|
+
|
136
|
+
p code {
|
137
|
+
font-size: 1em;
|
138
|
+
}
|
139
|
+
|
140
|
+
p#fn1, p#fn2, p#fn3, p#fn4, p#fn5,
|
141
|
+
p#fn6, p#fn7, p#fn8, p#fn9, p#fn10 {
|
142
|
+
font-size: 1.1em;
|
143
|
+
border-top: 1px solid;
|
144
|
+
padding-top: .5em;
|
145
|
+
margin-top: 2em;
|
146
|
+
}
|
147
|
+
|
148
|
+
a:link {
|
149
|
+
text-decoration: none;
|
150
|
+
font-weight: bold;
|
151
|
+
}
|
152
|
+
|
153
|
+
a:visited {
|
154
|
+
text-decoration: none;
|
155
|
+
font-weight: bold;
|
156
|
+
}
|
157
|
+
|
158
|
+
a:hover {
|
159
|
+
text-decoration: none;
|
160
|
+
font-weight: bold;
|
161
|
+
}
|
162
|
+
|
163
|
+
p.overview {
|
164
|
+
font-size: 1.8em;
|
165
|
+
line-height: 1.2;
|
166
|
+
text-align: center;
|
167
|
+
margin: 0 0 2em; padding: 0;
|
168
|
+
}
|
169
|
+
|
170
|
+
p.standout {
|
171
|
+
text-align: center;
|
172
|
+
font-size: 1.8em;
|
173
|
+
}
|
174
|
+
|
175
|
+
#footer p.copyright {
|
176
|
+
font-size: 1.1em;
|
177
|
+
text-align: center;
|
178
|
+
clear: both;
|
179
|
+
color: #666;
|
180
|
+
}
|
181
|
+
|
182
|
+
#content ul,
|
183
|
+
#content ol {
|
184
|
+
margin: 0 0 2em; padding: 0 0 0 2.5em;
|
185
|
+
font-size: 1.4em;
|
186
|
+
}
|
187
|
+
|
188
|
+
#content li {
|
189
|
+
margin: 0 0 .8em; padding: 0;
|
190
|
+
line-height: 1.3;
|
191
|
+
}
|
192
|
+
|
193
|
+
#content a img {
|
194
|
+
border: none;
|
195
|
+
}
|
196
|
+
|
197
|
+
#latest_entry h3 {
|
198
|
+
margin: 0 0 .3em;
|
199
|
+
}
|
200
|
+
|
201
|
+
#latest_entry p {
|
202
|
+
margin: 0 0 .5em;
|
203
|
+
font-size: 1.6em;
|
204
|
+
}
|
205
|
+
|
206
|
+
#latest_entry p.post_meta {
|
207
|
+
font-size: 1.2em;
|
208
|
+
}
|
209
|
+
|
210
|
+
#footer p {
|
211
|
+
font-size: 1.4em;
|
212
|
+
}
|
213
|
+
|
214
|
+
#footer {
|
215
|
+
|
216
|
+
}
|
217
|
+
|
218
|
+
#footer a:link,
|
219
|
+
#footer a:visited {
|
220
|
+
text-decoration: none;
|
221
|
+
}
|
222
|
+
|
223
|
+
#footer a:hover {
|
224
|
+
text-decoration: none;
|
225
|
+
font-weight: bold;
|
226
|
+
}
|
227
|
+
|
228
|
+
#footer h3 {
|
229
|
+
margin: 0 0 .3em;
|
230
|
+
font-size: 1.2em;
|
231
|
+
border-bottom-width: 1px;
|
232
|
+
border-bottom-style: solid;
|
233
|
+
}
|
234
|
+
|
235
|
+
#footer ul {
|
236
|
+
list-style: none;
|
237
|
+
}
|
238
|
+
|
239
|
+
#footer li {
|
240
|
+
margin: 0 0 .3em; padding: .3em 0;
|
241
|
+
border-bottom-width: 1px;
|
242
|
+
border-bottom-style: solid;
|
243
|
+
font-size: 1.1em;
|
244
|
+
}
|
245
|
+
|
246
|
+
/* =entry list
|
247
|
+
-----------------------------------------------------------------------------*/
|
248
|
+
|
249
|
+
#content ul.entry_list {
|
250
|
+
list-style: none;
|
251
|
+
margin: .5em 0 2em; padding: 0;
|
252
|
+
}
|
253
|
+
|
254
|
+
#content ul.entry_list li {
|
255
|
+
margin: 0; padding: .5em 0;
|
256
|
+
border-bottom-width: 1px;
|
257
|
+
border-bottom-style: solid;
|
258
|
+
position: relative;
|
259
|
+
font-size: .8em;
|
260
|
+
}
|
261
|
+
|
262
|
+
#content ul.entry_list li span.post_meta {
|
263
|
+
position: absolute;
|
264
|
+
top: 0; right: 0;
|
265
|
+
padding: .5em 0;
|
266
|
+
}
|
267
|
+
|
268
|
+
/* =article
|
269
|
+
-----------------------------------------------------------------------------*/
|
270
|
+
|
271
|
+
div.article h2 {
|
272
|
+
font-size: 2.2em;
|
273
|
+
margin: 1em 0 .5em; padding: 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
div.article h2 span.post_date {
|
277
|
+
}
|
278
|
+
|
279
|
+
div.article h3 {
|
280
|
+
font-size: 1.8em;
|
281
|
+
margin: 1.5em 0 .5em;
|
282
|
+
}
|
283
|
+
|
284
|
+
div.article p {
|
285
|
+
font-size: 1.4em;
|
286
|
+
line-height: 1.4;
|
287
|
+
margin: 0 0 1em;
|
288
|
+
}
|
289
|
+
|
290
|
+
div.article blockquote {
|
291
|
+
margin: 0 0 1em;
|
292
|
+
padding: 1em 1em .5em;
|
293
|
+
}
|
294
|
+
|
295
|
+
div.article blockquote p {
|
296
|
+
font-size: 1.4em;
|
297
|
+
font-style: italic;
|
298
|
+
font-family: Georgia, "Times New Roman", serif;
|
299
|
+
}
|
300
|
+
|
301
|
+
div.article pre {
|
302
|
+
margin: 0 0 1em; padding: 1em;
|
303
|
+
font-size: 1.5em;
|
304
|
+
border-bottom-width: 4px;
|
305
|
+
border-bottom-style: solid;
|
306
|
+
overflow: auto;
|
307
|
+
}
|
308
|
+
|
309
|
+
div.article p.post_meta {
|
310
|
+
font-size: 1.2em;
|
311
|
+
border-bottom-top: 1px;
|
312
|
+
border-bottom-top: solid;
|
313
|
+
margin: 0 0 2em; padding: .5em 0 0;
|
314
|
+
}
|
315
|
+
|
316
|
+
code {
|
317
|
+
font-family: Monaco, "Courier New", monospace;
|
318
|
+
}
|
319
|
+
|
320
|
+
/* =comments
|
321
|
+
-----------------------------------------------------------------------------*/
|
322
|
+
|
323
|
+
#comments {
|
324
|
+
padding: 2em;
|
325
|
+
}
|
326
|
+
|
327
|
+
#comment-form {
|
328
|
+
margin: 0 0 2em; padding: 2em;
|
329
|
+
border-bottom-width: 4px;
|
330
|
+
border-bottom-style: solid;
|
331
|
+
}
|
332
|
+
|
333
|
+
div.comment {
|
334
|
+
margin: 0 0 2em; padding: 0 0 1em;
|
335
|
+
border-bottom-width: 1px;
|
336
|
+
border-bottom-style: solid;
|
337
|
+
}
|
338
|
+
|
339
|
+
div.comment h3 {
|
340
|
+
font-size: 1.2em;
|
341
|
+
}
|
342
|
+
|
343
|
+
/* =form styles
|
344
|
+
-----------------------------------------------------------------------------*/
|
345
|
+
|
346
|
+
form {
|
347
|
+
margin: 0; padding: 0;
|
348
|
+
}
|
349
|
+
|
350
|
+
label {
|
351
|
+
display: block;
|
352
|
+
font-size: 1.2em;
|
353
|
+
font-weight: bold;
|
354
|
+
}
|
355
|
+
|
356
|
+
input, textarea {
|
357
|
+
margin: .2em 0 1em; padding: .1em;
|
358
|
+
width: 25em;
|
359
|
+
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
|
360
|
+
font-size: 1.4em;
|
361
|
+
}
|
362
|
+
|
363
|
+
textarea {
|
364
|
+
height: 10em;
|
365
|
+
}
|
366
|
+
|
367
|
+
input.submit {
|
368
|
+
width: auto;
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
/* =code highlighting
|
373
|
+
-----------------------------------------------------------------------------*/
|
374
|
+
|
375
|
+
/** RUBY **/
|
376
|
+
#content code.ruby span.comment {
|
377
|
+
|
378
|
+
}
|
379
|
+
|
380
|
+
#content code.ruby span.string {
|
381
|
+
|
382
|
+
}
|
383
|
+
|
384
|
+
#content code.ruby span.brackets {
|
385
|
+
|
386
|
+
}
|
387
|
+
|
388
|
+
#content code.ruby span.symbol {
|
389
|
+
|
390
|
+
}
|
391
|
+
|
392
|
+
#content code.ruby span.keywords {
|
393
|
+
|
394
|
+
}
|
395
|
+
|
396
|
+
/** YAML **/
|
397
|
+
#content code.ruby span.key {
|
398
|
+
|
399
|
+
}
|
400
|
+
|
401
|
+
/** JAVASCRIPT **/
|
402
|
+
|
403
|
+
/** HTML **/
|
404
|
+
#content code.html span.tag {
|
405
|
+
|
406
|
+
}
|
407
|
+
|
408
|
+
#content code.html span.attribute {
|
409
|
+
|
410
|
+
}
|
411
|
+
|
412
|
+
#content code.html span.string {
|
413
|
+
|
414
|
+
}
|
415
|
+
|
416
|
+
#content code.html span.comment {
|
417
|
+
|
418
|
+
}
|
419
|
+
|
420
|
+
#content code.html span.doctype {
|
421
|
+
|
422
|
+
}
|
423
|
+
|
424
|
+
|
425
|
+
/* =features
|
426
|
+
-----------------------------------------------------------------------------*/
|
427
|
+
|
428
|
+
div.plugin_feature {
|
429
|
+
margin: 0 0 2em; padding: .5em 31em 2em 0;
|
430
|
+
position: relative;
|
431
|
+
border-bottom-width: 1px;
|
432
|
+
border-bottom-style: solid;
|
433
|
+
}
|
434
|
+
|
435
|
+
div.plugin_feature.alt {
|
436
|
+
padding: .5em 0 .5em 32em;
|
437
|
+
}
|
438
|
+
|
439
|
+
div.plugin_feature h4 {
|
440
|
+
font-size: 1.6em;
|
441
|
+
margin: 0 0 .5em;
|
442
|
+
}
|
443
|
+
|
444
|
+
div.plugin_feature p {
|
445
|
+
font-size: 1.4em;
|
446
|
+
line-height: 1.4;
|
447
|
+
}
|
448
|
+
|
449
|
+
div.plugin_feature p.plugin_feature_image {
|
450
|
+
position: absolute;
|
451
|
+
top: 0; right: 0;
|
452
|
+
}
|
453
|
+
|
454
|
+
div.plugin_feature.alt p.plugin_feature_image {
|
455
|
+
top: 0; left: 0;
|
456
|
+
}
|