lelylan-rb 0.0.3 → 0.0.4
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.
- data/CHANGELOG.md +8 -0
- data/README.md +79 -79
- data/lelylan_rb.gemspec +1 -1
- data/lib/faraday/response/raise_http_error.rb +9 -2
- data/lib/lelylan/client/physical.rb +10 -2
- data/lib/lelylan/connection.rb +6 -5
- data/lib/lelylan/request.rb +1 -1
- data/lib/lelylan/version.rb +1 -1
- data/spec/fixtures/errors/401.json +9 -0
- data/spec/fixtures/errors/404.json +10 -0
- data/spec/fixtures/errors/422.json +10 -0
- data/spec/lelylan/client/physical_spec.rb +2 -2
- data/spec/lelylan/client/subscription_spec.rb +16 -15
- data/spec/lelylan/error_spec.rb +55 -0
- metadata +38 -38
- data/images/bg_hr.png +0 -0
- data/images/blacktocat.png +0 -0
- data/images/icon_download.png +0 -0
- data/images/sprite_download.png +0 -0
- data/index.html +0 -74
- data/javascripts/main.js +0 -1
- data/stylesheets/pygment_trac.css +0 -70
- data/stylesheets/stylesheet.css +0 -431
data/stylesheets/stylesheet.css
DELETED
@@ -1,431 +0,0 @@
|
|
1
|
-
/*******************************************************************************
|
2
|
-
Slate Theme for GitHub Pages
|
3
|
-
by Jason Costello, @jsncostello
|
4
|
-
*******************************************************************************/
|
5
|
-
|
6
|
-
@import url(pygment_trac.css);
|
7
|
-
|
8
|
-
/*******************************************************************************
|
9
|
-
MeyerWeb Reset
|
10
|
-
*******************************************************************************/
|
11
|
-
|
12
|
-
html, body, div, span, applet, object, iframe,
|
13
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
14
|
-
a, abbr, acronym, address, big, cite, code,
|
15
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
16
|
-
small, strike, strong, sub, sup, tt, var,
|
17
|
-
b, u, i, center,
|
18
|
-
dl, dt, dd, ol, ul, li,
|
19
|
-
fieldset, form, label, legend,
|
20
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
21
|
-
article, aside, canvas, details, embed,
|
22
|
-
figure, figcaption, footer, header, hgroup,
|
23
|
-
menu, nav, output, ruby, section, summary,
|
24
|
-
time, mark, audio, video {
|
25
|
-
margin: 0;
|
26
|
-
padding: 0;
|
27
|
-
border: 0;
|
28
|
-
font: inherit;
|
29
|
-
vertical-align: baseline;
|
30
|
-
}
|
31
|
-
|
32
|
-
/* HTML5 display-role reset for older browsers */
|
33
|
-
article, aside, details, figcaption, figure,
|
34
|
-
footer, header, hgroup, menu, nav, section {
|
35
|
-
display: block;
|
36
|
-
}
|
37
|
-
|
38
|
-
ol, ul {
|
39
|
-
list-style: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
blockquote, q {
|
43
|
-
}
|
44
|
-
|
45
|
-
table {
|
46
|
-
border-collapse: collapse;
|
47
|
-
border-spacing: 0;
|
48
|
-
}
|
49
|
-
|
50
|
-
a:focus {
|
51
|
-
outline: none;
|
52
|
-
}
|
53
|
-
|
54
|
-
/*******************************************************************************
|
55
|
-
Theme Styles
|
56
|
-
*******************************************************************************/
|
57
|
-
|
58
|
-
body {
|
59
|
-
box-sizing: border-box;
|
60
|
-
color:#373737;
|
61
|
-
background: #212121;
|
62
|
-
font-size: 16px;
|
63
|
-
font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
|
64
|
-
line-height: 1.5;
|
65
|
-
-webkit-font-smoothing: antialiased;
|
66
|
-
}
|
67
|
-
|
68
|
-
h1, h2, h3, h4, h5, h6 {
|
69
|
-
margin: 10px 0;
|
70
|
-
font-weight: 700;
|
71
|
-
color:#222222;
|
72
|
-
font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
|
73
|
-
letter-spacing: -1px;
|
74
|
-
}
|
75
|
-
|
76
|
-
h1 {
|
77
|
-
font-size: 36px;
|
78
|
-
font-weight: 700;
|
79
|
-
}
|
80
|
-
|
81
|
-
h2 {
|
82
|
-
padding-bottom: 10px;
|
83
|
-
font-size: 32px;
|
84
|
-
background: url('../images/bg_hr.png') repeat-x bottom;
|
85
|
-
}
|
86
|
-
|
87
|
-
h3 {
|
88
|
-
font-size: 24px;
|
89
|
-
}
|
90
|
-
|
91
|
-
h4 {
|
92
|
-
font-size: 21px;
|
93
|
-
}
|
94
|
-
|
95
|
-
h5 {
|
96
|
-
font-size: 18px;
|
97
|
-
}
|
98
|
-
|
99
|
-
h6 {
|
100
|
-
font-size: 16px;
|
101
|
-
}
|
102
|
-
|
103
|
-
p {
|
104
|
-
margin: 10px 0 15px 0;
|
105
|
-
}
|
106
|
-
|
107
|
-
footer p {
|
108
|
-
color: #f2f2f2;
|
109
|
-
}
|
110
|
-
|
111
|
-
a {
|
112
|
-
text-decoration: none;
|
113
|
-
color: #007edf;
|
114
|
-
text-shadow: none;
|
115
|
-
|
116
|
-
transition: color 0.5s ease;
|
117
|
-
transition: text-shadow 0.5s ease;
|
118
|
-
-webkit-transition: color 0.5s ease;
|
119
|
-
-webkit-transition: text-shadow 0.5s ease;
|
120
|
-
-moz-transition: color 0.5s ease;
|
121
|
-
-moz-transition: text-shadow 0.5s ease;
|
122
|
-
-o-transition: color 0.5s ease;
|
123
|
-
-o-transition: text-shadow 0.5s ease;
|
124
|
-
-ms-transition: color 0.5s ease;
|
125
|
-
-ms-transition: text-shadow 0.5s ease;
|
126
|
-
}
|
127
|
-
|
128
|
-
#main_content a:hover {
|
129
|
-
color: #0069ba;
|
130
|
-
text-shadow: #0090ff 0px 0px 2px;
|
131
|
-
}
|
132
|
-
|
133
|
-
footer a:hover {
|
134
|
-
color: #43adff;
|
135
|
-
text-shadow: #0090ff 0px 0px 2px;
|
136
|
-
}
|
137
|
-
|
138
|
-
em {
|
139
|
-
font-style: italic;
|
140
|
-
}
|
141
|
-
|
142
|
-
strong {
|
143
|
-
font-weight: bold;
|
144
|
-
}
|
145
|
-
|
146
|
-
img {
|
147
|
-
position: relative;
|
148
|
-
margin: 0 auto;
|
149
|
-
max-width: 739px;
|
150
|
-
padding: 5px;
|
151
|
-
margin: 10px 0 10px 0;
|
152
|
-
border: 1px solid #ebebeb;
|
153
|
-
|
154
|
-
box-shadow: 0 0 5px #ebebeb;
|
155
|
-
-webkit-box-shadow: 0 0 5px #ebebeb;
|
156
|
-
-moz-box-shadow: 0 0 5px #ebebeb;
|
157
|
-
-o-box-shadow: 0 0 5px #ebebeb;
|
158
|
-
-ms-box-shadow: 0 0 5px #ebebeb;
|
159
|
-
}
|
160
|
-
|
161
|
-
pre, code {
|
162
|
-
width: 100%;
|
163
|
-
color: #222;
|
164
|
-
background-color: #fff;
|
165
|
-
|
166
|
-
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
167
|
-
font-size: 14px;
|
168
|
-
|
169
|
-
border-radius: 2px;
|
170
|
-
-moz-border-radius: 2px;
|
171
|
-
-webkit-border-radius: 2px;
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
}
|
176
|
-
|
177
|
-
pre {
|
178
|
-
width: 100%;
|
179
|
-
padding: 10px;
|
180
|
-
box-shadow: 0 0 10px rgba(0,0,0,.1);
|
181
|
-
overflow: auto;
|
182
|
-
}
|
183
|
-
|
184
|
-
code {
|
185
|
-
padding: 3px;
|
186
|
-
margin: 0 3px;
|
187
|
-
box-shadow: 0 0 10px rgba(0,0,0,.1);
|
188
|
-
}
|
189
|
-
|
190
|
-
pre code {
|
191
|
-
display: block;
|
192
|
-
box-shadow: none;
|
193
|
-
}
|
194
|
-
|
195
|
-
blockquote {
|
196
|
-
color: #666;
|
197
|
-
margin-bottom: 20px;
|
198
|
-
padding: 0 0 0 20px;
|
199
|
-
border-left: 3px solid #bbb;
|
200
|
-
}
|
201
|
-
|
202
|
-
ul, ol, dl {
|
203
|
-
margin-bottom: 15px
|
204
|
-
}
|
205
|
-
|
206
|
-
ul li {
|
207
|
-
list-style: inside;
|
208
|
-
padding-left: 20px;
|
209
|
-
}
|
210
|
-
|
211
|
-
ol li {
|
212
|
-
list-style: decimal inside;
|
213
|
-
padding-left: 20px;
|
214
|
-
}
|
215
|
-
|
216
|
-
dl dt {
|
217
|
-
font-weight: bold;
|
218
|
-
}
|
219
|
-
|
220
|
-
dl dd {
|
221
|
-
padding-left: 20px;
|
222
|
-
font-style: italic;
|
223
|
-
}
|
224
|
-
|
225
|
-
dl p {
|
226
|
-
padding-left: 20px;
|
227
|
-
font-style: italic;
|
228
|
-
}
|
229
|
-
|
230
|
-
hr {
|
231
|
-
height: 1px;
|
232
|
-
margin-bottom: 5px;
|
233
|
-
border: none;
|
234
|
-
background: url('../images/bg_hr.png') repeat-x center;
|
235
|
-
}
|
236
|
-
|
237
|
-
table {
|
238
|
-
border: 1px solid #373737;
|
239
|
-
margin-bottom: 20px;
|
240
|
-
text-align: left;
|
241
|
-
}
|
242
|
-
|
243
|
-
th {
|
244
|
-
font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
245
|
-
padding: 10px;
|
246
|
-
background: #373737;
|
247
|
-
color: #fff;
|
248
|
-
}
|
249
|
-
|
250
|
-
td {
|
251
|
-
padding: 10px;
|
252
|
-
border: 1px solid #373737;
|
253
|
-
}
|
254
|
-
|
255
|
-
form {
|
256
|
-
background: #f2f2f2;
|
257
|
-
padding: 20px;
|
258
|
-
}
|
259
|
-
|
260
|
-
img {
|
261
|
-
width: 100%;
|
262
|
-
max-width: 100%;
|
263
|
-
}
|
264
|
-
|
265
|
-
/*******************************************************************************
|
266
|
-
Full-Width Styles
|
267
|
-
*******************************************************************************/
|
268
|
-
|
269
|
-
.outer {
|
270
|
-
width: 100%;
|
271
|
-
}
|
272
|
-
|
273
|
-
.inner {
|
274
|
-
position: relative;
|
275
|
-
max-width: 640px;
|
276
|
-
padding: 20px 10px;
|
277
|
-
margin: 0 auto;
|
278
|
-
}
|
279
|
-
|
280
|
-
#forkme_banner {
|
281
|
-
display: block;
|
282
|
-
position: absolute;
|
283
|
-
top:0;
|
284
|
-
right: 10px;
|
285
|
-
z-index: 10;
|
286
|
-
padding: 10px 50px 10px 10px;
|
287
|
-
color: #fff;
|
288
|
-
background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%;
|
289
|
-
font-weight: 700;
|
290
|
-
box-shadow: 0 0 10px rgba(0,0,0,.5);
|
291
|
-
border-bottom-left-radius: 2px;
|
292
|
-
border-bottom-right-radius: 2px;
|
293
|
-
}
|
294
|
-
|
295
|
-
#header_wrap {
|
296
|
-
background: #212121;
|
297
|
-
background: -moz-linear-gradient(top, #373737, #212121);
|
298
|
-
background: -webkit-linear-gradient(top, #373737, #212121);
|
299
|
-
background: -ms-linear-gradient(top, #373737, #212121);
|
300
|
-
background: -o-linear-gradient(top, #373737, #212121);
|
301
|
-
background: linear-gradient(top, #373737, #212121);
|
302
|
-
}
|
303
|
-
|
304
|
-
#header_wrap .inner {
|
305
|
-
padding: 50px 10px 30px 10px;
|
306
|
-
}
|
307
|
-
|
308
|
-
#project_title {
|
309
|
-
margin: 0;
|
310
|
-
color: #fff;
|
311
|
-
font-size: 42px;
|
312
|
-
font-weight: 700;
|
313
|
-
text-shadow: #111 0px 0px 10px;
|
314
|
-
}
|
315
|
-
|
316
|
-
#project_tagline {
|
317
|
-
color: #fff;
|
318
|
-
font-size: 24px;
|
319
|
-
font-weight: 300;
|
320
|
-
background: none;
|
321
|
-
text-shadow: #111 0px 0px 10px;
|
322
|
-
}
|
323
|
-
|
324
|
-
#downloads {
|
325
|
-
position: absolute;
|
326
|
-
width: 210px;
|
327
|
-
z-index: 10;
|
328
|
-
bottom: -40px;
|
329
|
-
right: 0;
|
330
|
-
height: 70px;
|
331
|
-
background: url('../images/icon_download.png') no-repeat 0% 90%;
|
332
|
-
}
|
333
|
-
|
334
|
-
.zip_download_link {
|
335
|
-
display: block;
|
336
|
-
float: right;
|
337
|
-
width: 90px;
|
338
|
-
height:70px;
|
339
|
-
text-indent: -5000px;
|
340
|
-
overflow: hidden;
|
341
|
-
background: url(../images/sprite_download.png) no-repeat bottom left;
|
342
|
-
}
|
343
|
-
|
344
|
-
.tar_download_link {
|
345
|
-
display: block;
|
346
|
-
float: right;
|
347
|
-
width: 90px;
|
348
|
-
height:70px;
|
349
|
-
text-indent: -5000px;
|
350
|
-
overflow: hidden;
|
351
|
-
background: url(../images/sprite_download.png) no-repeat bottom right;
|
352
|
-
margin-left: 10px;
|
353
|
-
}
|
354
|
-
|
355
|
-
.zip_download_link:hover {
|
356
|
-
background: url(../images/sprite_download.png) no-repeat top left;
|
357
|
-
}
|
358
|
-
|
359
|
-
.tar_download_link:hover {
|
360
|
-
background: url(../images/sprite_download.png) no-repeat top right;
|
361
|
-
}
|
362
|
-
|
363
|
-
#main_content_wrap {
|
364
|
-
background: #f2f2f2;
|
365
|
-
border-top: 1px solid #111;
|
366
|
-
border-bottom: 1px solid #111;
|
367
|
-
}
|
368
|
-
|
369
|
-
#main_content {
|
370
|
-
padding-top: 40px;
|
371
|
-
}
|
372
|
-
|
373
|
-
#footer_wrap {
|
374
|
-
background: #212121;
|
375
|
-
}
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
/*******************************************************************************
|
380
|
-
Small Device Styles
|
381
|
-
*******************************************************************************/
|
382
|
-
|
383
|
-
@media screen and (max-width: 480px) {
|
384
|
-
body {
|
385
|
-
font-size:14px;
|
386
|
-
}
|
387
|
-
|
388
|
-
#downloads {
|
389
|
-
display: none;
|
390
|
-
}
|
391
|
-
|
392
|
-
.inner {
|
393
|
-
min-width: 320px;
|
394
|
-
max-width: 480px;
|
395
|
-
}
|
396
|
-
|
397
|
-
#project_title {
|
398
|
-
font-size: 32px;
|
399
|
-
}
|
400
|
-
|
401
|
-
h1 {
|
402
|
-
font-size: 28px;
|
403
|
-
}
|
404
|
-
|
405
|
-
h2 {
|
406
|
-
font-size: 24px;
|
407
|
-
}
|
408
|
-
|
409
|
-
h3 {
|
410
|
-
font-size: 21px;
|
411
|
-
}
|
412
|
-
|
413
|
-
h4 {
|
414
|
-
font-size: 18px;
|
415
|
-
}
|
416
|
-
|
417
|
-
h5 {
|
418
|
-
font-size: 14px;
|
419
|
-
}
|
420
|
-
|
421
|
-
h6 {
|
422
|
-
font-size: 12px;
|
423
|
-
}
|
424
|
-
|
425
|
-
code, pre {
|
426
|
-
min-width: 320px;
|
427
|
-
max-width: 480px;
|
428
|
-
font-size: 11px;
|
429
|
-
}
|
430
|
-
|
431
|
-
}
|