gqli 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +31 -0
- data/.rubocop_todo.yml +44 -0
- data/.travis.yml +13 -0
- data/.yardopts +4 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +154 -0
- data/Guardfile +24 -0
- data/LICENSE.txt +21 -0
- data/README.md +284 -0
- data/Rakefile +33 -0
- data/coverage/.last_run.json +5 -0
- data/coverage/.resultset.json +512 -0
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.2/application.css +799 -0
- data/coverage/assets/0.10.2/application.js +1707 -0
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +3255 -0
- data/doc/GQLi/Base.html +628 -0
- data/doc/GQLi/Client.html +830 -0
- data/doc/GQLi/DSL.html +421 -0
- data/doc/GQLi/Fragment.html +405 -0
- data/doc/GQLi/Introspection.html +837 -0
- data/doc/GQLi/Node.html +413 -0
- data/doc/GQLi/Query.html +390 -0
- data/doc/GQLi/Response.html +370 -0
- data/doc/GQLi.html +157 -0
- data/doc/_index.html +236 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.CHANGELOG.html +76 -0
- data/doc/file.LICENSE.html +70 -0
- data/doc/file.README.html +365 -0
- data/doc/file_list.html +66 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +365 -0
- data/doc/js/app.js +292 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +355 -0
- data/doc/top-level-namespace.html +110 -0
- data/gqli.gemspec +37 -0
- data/lib/gqli/base.rb +53 -0
- data/lib/gqli/client.rb +59 -0
- data/lib/gqli/dsl.rb +37 -0
- data/lib/gqli/fragment.rb +25 -0
- data/lib/gqli/introspection.rb +215 -0
- data/lib/gqli/node.rb +48 -0
- data/lib/gqli/query.rb +29 -0
- data/lib/gqli/response.rb +15 -0
- data/lib/gqli/version.rb +7 -0
- data/lib/gqli.rb +6 -0
- data/spec/fixtures/vcr_cassettes/catCollection.yml +63 -0
- data/spec/fixtures/vcr_cassettes/client.yml +171 -0
- data/spec/fixtures/vcr_cassettes/validation_error.yml +62 -0
- data/spec/lib/gqli/client_spec.rb +90 -0
- data/spec/lib/gqli/dsl_spec.rb +205 -0
- data/spec/lib/gqli/introspection_spec.rb +125 -0
- data/spec/spec_helper.rb +25 -0
- data/usage.rb +100 -0
- data/usage_introspection.rb +63 -0
- data/usage_with_inlined_dsl.rb +69 -0
- metadata +387 -0
@@ -0,0 +1,512 @@
|
|
1
|
+
{
|
2
|
+
"RSpec": {
|
3
|
+
"coverage": {
|
4
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli.rb": [
|
5
|
+
null,
|
6
|
+
null,
|
7
|
+
1,
|
8
|
+
1,
|
9
|
+
1,
|
10
|
+
1
|
11
|
+
],
|
12
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/dsl.rb": [
|
13
|
+
null,
|
14
|
+
null,
|
15
|
+
1,
|
16
|
+
1,
|
17
|
+
null,
|
18
|
+
1,
|
19
|
+
null,
|
20
|
+
1,
|
21
|
+
null,
|
22
|
+
null,
|
23
|
+
null,
|
24
|
+
1,
|
25
|
+
7,
|
26
|
+
null,
|
27
|
+
null,
|
28
|
+
null,
|
29
|
+
null,
|
30
|
+
null,
|
31
|
+
1,
|
32
|
+
0,
|
33
|
+
null,
|
34
|
+
null,
|
35
|
+
null,
|
36
|
+
null,
|
37
|
+
null,
|
38
|
+
1,
|
39
|
+
1,
|
40
|
+
null,
|
41
|
+
null,
|
42
|
+
null,
|
43
|
+
null,
|
44
|
+
null,
|
45
|
+
1,
|
46
|
+
3,
|
47
|
+
null,
|
48
|
+
null,
|
49
|
+
null
|
50
|
+
],
|
51
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/query.rb": [
|
52
|
+
null,
|
53
|
+
null,
|
54
|
+
1,
|
55
|
+
null,
|
56
|
+
1,
|
57
|
+
null,
|
58
|
+
1,
|
59
|
+
null,
|
60
|
+
1,
|
61
|
+
8,
|
62
|
+
null,
|
63
|
+
null,
|
64
|
+
null,
|
65
|
+
null,
|
66
|
+
null,
|
67
|
+
8,
|
68
|
+
null,
|
69
|
+
null,
|
70
|
+
null,
|
71
|
+
1,
|
72
|
+
0,
|
73
|
+
null,
|
74
|
+
null,
|
75
|
+
null,
|
76
|
+
1,
|
77
|
+
0,
|
78
|
+
null,
|
79
|
+
null,
|
80
|
+
null
|
81
|
+
],
|
82
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/base.rb": [
|
83
|
+
null,
|
84
|
+
null,
|
85
|
+
1,
|
86
|
+
null,
|
87
|
+
1,
|
88
|
+
1,
|
89
|
+
null,
|
90
|
+
1,
|
91
|
+
255,
|
92
|
+
255,
|
93
|
+
255,
|
94
|
+
255,
|
95
|
+
null,
|
96
|
+
null,
|
97
|
+
null,
|
98
|
+
1,
|
99
|
+
8,
|
100
|
+
null,
|
101
|
+
null,
|
102
|
+
null,
|
103
|
+
1,
|
104
|
+
2,
|
105
|
+
2,
|
106
|
+
null,
|
107
|
+
null,
|
108
|
+
1,
|
109
|
+
null,
|
110
|
+
1,
|
111
|
+
178,
|
112
|
+
178,
|
113
|
+
170,
|
114
|
+
170,
|
115
|
+
null,
|
116
|
+
null,
|
117
|
+
null,
|
118
|
+
170,
|
119
|
+
null,
|
120
|
+
null,
|
121
|
+
null,
|
122
|
+
1,
|
123
|
+
178,
|
124
|
+
null,
|
125
|
+
null,
|
126
|
+
1,
|
127
|
+
72,
|
128
|
+
null,
|
129
|
+
null,
|
130
|
+
1,
|
131
|
+
72,
|
132
|
+
72,
|
133
|
+
null,
|
134
|
+
null,
|
135
|
+
null
|
136
|
+
],
|
137
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/fragment.rb": [
|
138
|
+
null,
|
139
|
+
null,
|
140
|
+
1,
|
141
|
+
1,
|
142
|
+
null,
|
143
|
+
1,
|
144
|
+
null,
|
145
|
+
1,
|
146
|
+
1,
|
147
|
+
null,
|
148
|
+
1,
|
149
|
+
3,
|
150
|
+
3,
|
151
|
+
null,
|
152
|
+
null,
|
153
|
+
null,
|
154
|
+
1,
|
155
|
+
0,
|
156
|
+
null,
|
157
|
+
null,
|
158
|
+
null,
|
159
|
+
null,
|
160
|
+
null,
|
161
|
+
null,
|
162
|
+
null
|
163
|
+
],
|
164
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/node.rb": [
|
165
|
+
null,
|
166
|
+
null,
|
167
|
+
1,
|
168
|
+
null,
|
169
|
+
1,
|
170
|
+
null,
|
171
|
+
1,
|
172
|
+
1,
|
173
|
+
null,
|
174
|
+
1,
|
175
|
+
244,
|
176
|
+
244,
|
177
|
+
null,
|
178
|
+
null,
|
179
|
+
null,
|
180
|
+
1,
|
181
|
+
888,
|
182
|
+
888,
|
183
|
+
888,
|
184
|
+
280,
|
185
|
+
280,
|
186
|
+
280,
|
187
|
+
null,
|
188
|
+
null,
|
189
|
+
888,
|
190
|
+
null,
|
191
|
+
null,
|
192
|
+
1,
|
193
|
+
null,
|
194
|
+
1,
|
195
|
+
32,
|
196
|
+
null,
|
197
|
+
16,
|
198
|
+
16,
|
199
|
+
null,
|
200
|
+
null,
|
201
|
+
16,
|
202
|
+
0,
|
203
|
+
null,
|
204
|
+
0,
|
205
|
+
null,
|
206
|
+
0,
|
207
|
+
null,
|
208
|
+
16,
|
209
|
+
null,
|
210
|
+
null,
|
211
|
+
null,
|
212
|
+
null
|
213
|
+
],
|
214
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/client.rb": [
|
215
|
+
null,
|
216
|
+
null,
|
217
|
+
1,
|
218
|
+
1,
|
219
|
+
1,
|
220
|
+
1,
|
221
|
+
1,
|
222
|
+
null,
|
223
|
+
1,
|
224
|
+
null,
|
225
|
+
1,
|
226
|
+
1,
|
227
|
+
null,
|
228
|
+
1,
|
229
|
+
8,
|
230
|
+
8,
|
231
|
+
8,
|
232
|
+
8,
|
233
|
+
null,
|
234
|
+
8,
|
235
|
+
null,
|
236
|
+
null,
|
237
|
+
null,
|
238
|
+
null,
|
239
|
+
1,
|
240
|
+
0,
|
241
|
+
null,
|
242
|
+
0,
|
243
|
+
null,
|
244
|
+
null,
|
245
|
+
null,
|
246
|
+
null,
|
247
|
+
1,
|
248
|
+
8,
|
249
|
+
null,
|
250
|
+
8,
|
251
|
+
null,
|
252
|
+
8,
|
253
|
+
null,
|
254
|
+
8,
|
255
|
+
null,
|
256
|
+
null,
|
257
|
+
null,
|
258
|
+
1,
|
259
|
+
0,
|
260
|
+
null,
|
261
|
+
0,
|
262
|
+
null,
|
263
|
+
null,
|
264
|
+
1,
|
265
|
+
null,
|
266
|
+
1,
|
267
|
+
null,
|
268
|
+
null,
|
269
|
+
null,
|
270
|
+
8,
|
271
|
+
null,
|
272
|
+
null,
|
273
|
+
null
|
274
|
+
],
|
275
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/response.rb": [
|
276
|
+
null,
|
277
|
+
null,
|
278
|
+
1,
|
279
|
+
null,
|
280
|
+
1,
|
281
|
+
null,
|
282
|
+
1,
|
283
|
+
1,
|
284
|
+
null,
|
285
|
+
1,
|
286
|
+
8,
|
287
|
+
8,
|
288
|
+
null,
|
289
|
+
null,
|
290
|
+
null
|
291
|
+
],
|
292
|
+
"/Users/contentdave/dev/contentful/api_clients/ruby/gqli/lib/gqli/introspection.rb": [
|
293
|
+
null,
|
294
|
+
null,
|
295
|
+
1,
|
296
|
+
null,
|
297
|
+
1,
|
298
|
+
null,
|
299
|
+
1,
|
300
|
+
1,
|
301
|
+
null,
|
302
|
+
null,
|
303
|
+
1,
|
304
|
+
1,
|
305
|
+
1,
|
306
|
+
1,
|
307
|
+
1,
|
308
|
+
1,
|
309
|
+
1,
|
310
|
+
1,
|
311
|
+
1,
|
312
|
+
1,
|
313
|
+
1,
|
314
|
+
1,
|
315
|
+
null,
|
316
|
+
null,
|
317
|
+
null,
|
318
|
+
null,
|
319
|
+
null,
|
320
|
+
null,
|
321
|
+
1,
|
322
|
+
1,
|
323
|
+
1,
|
324
|
+
2,
|
325
|
+
1,
|
326
|
+
null,
|
327
|
+
null,
|
328
|
+
null,
|
329
|
+
1,
|
330
|
+
1,
|
331
|
+
1,
|
332
|
+
1,
|
333
|
+
1,
|
334
|
+
1,
|
335
|
+
1,
|
336
|
+
2,
|
337
|
+
2,
|
338
|
+
1,
|
339
|
+
1,
|
340
|
+
null,
|
341
|
+
2,
|
342
|
+
2,
|
343
|
+
1,
|
344
|
+
1,
|
345
|
+
1,
|
346
|
+
1,
|
347
|
+
1,
|
348
|
+
null,
|
349
|
+
2,
|
350
|
+
null,
|
351
|
+
null,
|
352
|
+
null,
|
353
|
+
1,
|
354
|
+
1,
|
355
|
+
2,
|
356
|
+
2,
|
357
|
+
2,
|
358
|
+
2,
|
359
|
+
1,
|
360
|
+
1,
|
361
|
+
1,
|
362
|
+
2,
|
363
|
+
1,
|
364
|
+
1,
|
365
|
+
1,
|
366
|
+
null,
|
367
|
+
null,
|
368
|
+
null,
|
369
|
+
null,
|
370
|
+
1,
|
371
|
+
null,
|
372
|
+
1,
|
373
|
+
8,
|
374
|
+
8,
|
375
|
+
8,
|
376
|
+
8,
|
377
|
+
8,
|
378
|
+
null,
|
379
|
+
null,
|
380
|
+
null,
|
381
|
+
1,
|
382
|
+
7,
|
383
|
+
null,
|
384
|
+
14,
|
385
|
+
7,
|
386
|
+
7,
|
387
|
+
null,
|
388
|
+
null,
|
389
|
+
1,
|
390
|
+
null,
|
391
|
+
null,
|
392
|
+
1,
|
393
|
+
null,
|
394
|
+
1,
|
395
|
+
20,
|
396
|
+
null,
|
397
|
+
20,
|
398
|
+
null,
|
399
|
+
117,
|
400
|
+
18,
|
401
|
+
null,
|
402
|
+
17,
|
403
|
+
null,
|
404
|
+
15,
|
405
|
+
15,
|
406
|
+
null,
|
407
|
+
15,
|
408
|
+
null,
|
409
|
+
26,
|
410
|
+
null,
|
411
|
+
null,
|
412
|
+
1,
|
413
|
+
7,
|
414
|
+
1,
|
415
|
+
null,
|
416
|
+
null,
|
417
|
+
1,
|
418
|
+
17,
|
419
|
+
24,
|
420
|
+
5,
|
421
|
+
null,
|
422
|
+
4,
|
423
|
+
4,
|
424
|
+
null,
|
425
|
+
4,
|
426
|
+
null,
|
427
|
+
null,
|
428
|
+
15,
|
429
|
+
null,
|
430
|
+
null,
|
431
|
+
1,
|
432
|
+
15,
|
433
|
+
13,
|
434
|
+
13,
|
435
|
+
null,
|
436
|
+
null,
|
437
|
+
1,
|
438
|
+
15,
|
439
|
+
13,
|
440
|
+
null,
|
441
|
+
null,
|
442
|
+
1,
|
443
|
+
13,
|
444
|
+
13,
|
445
|
+
null,
|
446
|
+
null,
|
447
|
+
1,
|
448
|
+
7,
|
449
|
+
null,
|
450
|
+
4,
|
451
|
+
null,
|
452
|
+
1,
|
453
|
+
null,
|
454
|
+
0,
|
455
|
+
null,
|
456
|
+
2,
|
457
|
+
null,
|
458
|
+
0,
|
459
|
+
null,
|
460
|
+
0,
|
461
|
+
null,
|
462
|
+
null,
|
463
|
+
4,
|
464
|
+
null,
|
465
|
+
null,
|
466
|
+
1,
|
467
|
+
2,
|
468
|
+
null,
|
469
|
+
48,
|
470
|
+
2,
|
471
|
+
null,
|
472
|
+
2,
|
473
|
+
52,
|
474
|
+
3,
|
475
|
+
null,
|
476
|
+
3,
|
477
|
+
3,
|
478
|
+
null,
|
479
|
+
3,
|
480
|
+
null,
|
481
|
+
null,
|
482
|
+
null,
|
483
|
+
1,
|
484
|
+
22,
|
485
|
+
null,
|
486
|
+
3,
|
487
|
+
null,
|
488
|
+
1,
|
489
|
+
null,
|
490
|
+
8,
|
491
|
+
null,
|
492
|
+
10,
|
493
|
+
null,
|
494
|
+
null,
|
495
|
+
206,
|
496
|
+
null,
|
497
|
+
null,
|
498
|
+
1,
|
499
|
+
3,
|
500
|
+
null,
|
501
|
+
3,
|
502
|
+
null,
|
503
|
+
0,
|
504
|
+
null,
|
505
|
+
null,
|
506
|
+
null,
|
507
|
+
null
|
508
|
+
]
|
509
|
+
},
|
510
|
+
"timestamp": 1539601845
|
511
|
+
}
|
512
|
+
}
|
File without changes
|