gqli 0.6.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -3
  3. data/CHANGELOG.md +17 -0
  4. data/Gemfile.lock +103 -82
  5. data/README.md +0 -5
  6. data/coverage/.last_run.json +1 -1
  7. data/coverage/.resultset.json +1774 -1205
  8. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  9. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  10. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  11. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  12. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  13. data/coverage/assets/0.12.3/application.css +1 -0
  14. data/coverage/assets/0.12.3/application.js +7 -0
  15. data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/border.png +0 -0
  16. data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/controls.png +0 -0
  17. data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/loading.gif +0 -0
  18. data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/loading_background.png +0 -0
  19. data/coverage/assets/{0.10.2 → 0.12.3}/favicon_green.png +0 -0
  20. data/coverage/assets/{0.10.2 → 0.12.3}/favicon_red.png +0 -0
  21. data/coverage/assets/{0.10.2 → 0.12.3}/favicon_yellow.png +0 -0
  22. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  23. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  24. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  25. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  26. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  27. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  28. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  29. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  30. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_222222_256x240.png +0 -0
  31. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_2e83ff_256x240.png +0 -0
  32. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_454545_256x240.png +0 -0
  33. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_888888_256x240.png +0 -0
  34. data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_cd0a0a_256x240.png +0 -0
  35. data/coverage/assets/{0.10.2 → 0.12.3}/loading.gif +0 -0
  36. data/coverage/assets/{0.10.2 → 0.12.3}/magnify.png +0 -0
  37. data/coverage/index.html +19376 -7403
  38. data/doc/GQLi/Base.html +11 -11
  39. data/doc/GQLi/Client.html +175 -41
  40. data/doc/GQLi/Contentful.html +13 -11
  41. data/doc/GQLi/DSL.html +298 -30
  42. data/doc/GQLi/EnumValue.html +8 -8
  43. data/doc/GQLi/Fragment.html +8 -8
  44. data/doc/GQLi/Github.html +6 -6
  45. data/doc/GQLi/Introspection.html +46 -48
  46. data/doc/GQLi/Mutation.html +390 -0
  47. data/doc/GQLi/Node.html +8 -8
  48. data/doc/GQLi/Query.html +6 -6
  49. data/doc/GQLi/Response.html +87 -13
  50. data/doc/GQLi/Subscription.html +390 -0
  51. data/doc/GQLi/Validation.html +20 -20
  52. data/doc/GQLi.html +9 -9
  53. data/doc/_index.html +37 -7
  54. data/doc/class_list.html +3 -3
  55. data/doc/css/style.css +3 -2
  56. data/doc/file.CHANGELOG.html +43 -13
  57. data/doc/file.LICENSE.html +6 -6
  58. data/doc/file.README.html +31 -84
  59. data/doc/file_list.html +2 -2
  60. data/doc/frames.html +2 -2
  61. data/doc/index.html +31 -84
  62. data/doc/js/app.js +25 -3
  63. data/doc/method_list.html +147 -43
  64. data/doc/top-level-namespace.html +6 -6
  65. data/gqli.gemspec +5 -6
  66. data/lib/gqli/client.rb +25 -5
  67. data/lib/gqli/clients/contentful.rb +3 -2
  68. data/lib/gqli/dsl.rb +16 -1
  69. data/lib/gqli/introspection.rb +1 -3
  70. data/lib/gqli/mutation.rb +27 -0
  71. data/lib/gqli/response.rb +15 -2
  72. data/lib/gqli/subscription.rb +1 -1
  73. data/lib/gqli/validation.rb +15 -12
  74. data/lib/gqli/version.rb +1 -1
  75. data/spec/fixtures/vcr_cassettes/client.yml +98 -27
  76. data/spec/fixtures/vcr_cassettes/mutation_client.yml +4364 -0
  77. data/spec/lib/gqli/client_spec.rb +53 -0
  78. data/spec/lib/gqli/dsl_spec.rb +72 -2
  79. data/spec/lib/gqli/introspection_spec.rb +54 -0
  80. data/spec/lib/gqli/response_spec.rb +51 -0
  81. metadata +64 -73
  82. data/coverage/assets/0.10.2/application.css +0 -799
  83. data/coverage/assets/0.10.2/application.js +0 -1707
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: GQLi::Validation
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "GQLi::Validation";
19
19
  relpath = '../';
20
20
  </script>
@@ -149,7 +149,7 @@
149
149
  <li class="public ">
150
150
  <span class="summary_signature">
151
151
 
152
- <a href="#query-instance_method" title="#query (instance method)">#<strong>query</strong> &#x21d2; Object </a>
152
+ <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
153
153
 
154
154
 
155
155
 
@@ -169,7 +169,7 @@
169
169
 
170
170
 
171
171
  <span class="summary_desc"><div class='inline'>
172
- <p>Returns the value of attribute query.</p>
172
+ <p>Returns the value of attribute root.</p>
173
173
  </div></span>
174
174
 
175
175
  </li>
@@ -220,7 +220,7 @@
220
220
  <li class="public ">
221
221
  <span class="summary_signature">
222
222
 
223
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(schema, query) &#x21d2; Validation </a>
223
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(schema, root) &#x21d2; Validation </a>
224
224
 
225
225
 
226
226
 
@@ -276,7 +276,7 @@
276
276
  <div class="method_details first">
277
277
  <h3 class="signature first" id="initialize-instance_method">
278
278
 
279
- #<strong>initialize</strong>(schema, query) &#x21d2; <tt><span class='object_link'><a href="" title="GQLi::Validation (class)">Validation</a></span></tt>
279
+ #<strong>initialize</strong>(schema, root) &#x21d2; <tt><span class='object_link'><a href="" title="GQLi::Validation (class)">Validation</a></span></tt>
280
280
 
281
281
 
282
282
 
@@ -285,7 +285,7 @@
285
285
  </h3><div class="docstring">
286
286
  <div class="discussion">
287
287
 
288
- <p>Returns a new instance of Validation</p>
288
+ <p>Returns a new instance of Validation.</p>
289
289
 
290
290
 
291
291
  </div>
@@ -310,9 +310,9 @@
310
310
  <td>
311
311
  <pre class="code"><span class="info file"># File 'lib/gqli/validation.rb', line 8</span>
312
312
 
313
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_schema'>schema</span><span class='comma'>,</span> <span class='id identifier rubyid_query'>query</span><span class='rparen'>)</span>
313
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_schema'>schema</span><span class='comma'>,</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span><span class='rparen'>)</span>
314
314
  <span class='ivar'>@schema</span> <span class='op'>=</span> <span class='id identifier rubyid_schema'>schema</span>
315
- <span class='ivar'>@query</span> <span class='op'>=</span> <span class='id identifier rubyid_query'>query</span>
315
+ <span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
316
316
  <span class='ivar'>@errors</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
317
317
 
318
318
  <span class='id identifier rubyid_validate'>validate</span>
@@ -341,7 +341,7 @@
341
341
  </h3><div class="docstring">
342
342
  <div class="discussion">
343
343
 
344
- <p>Returns the value of attribute errors</p>
344
+ <p>Returns the value of attribute errors.</p>
345
345
 
346
346
 
347
347
  </div>
@@ -373,9 +373,9 @@
373
373
 
374
374
  <span id=""></span>
375
375
  <div class="method_details ">
376
- <h3 class="signature " id="query-instance_method">
376
+ <h3 class="signature " id="root-instance_method">
377
377
 
378
- #<strong>query</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
378
+ #<strong>root</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
379
379
 
380
380
 
381
381
 
@@ -384,7 +384,7 @@
384
384
  </h3><div class="docstring">
385
385
  <div class="discussion">
386
386
 
387
- <p>Returns the value of attribute query</p>
387
+ <p>Returns the value of attribute root.</p>
388
388
 
389
389
 
390
390
  </div>
@@ -405,8 +405,8 @@
405
405
  <td>
406
406
  <pre class="code"><span class="info file"># File 'lib/gqli/validation.rb', line 6</span>
407
407
 
408
- <span class='kw'>def</span> <span class='id identifier rubyid_query'>query</span>
409
- <span class='ivar'>@query</span>
408
+ <span class='kw'>def</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
409
+ <span class='ivar'>@root</span>
410
410
  <span class='kw'>end</span></pre>
411
411
  </td>
412
412
  </tr>
@@ -427,7 +427,7 @@
427
427
  </h3><div class="docstring">
428
428
  <div class="discussion">
429
429
 
430
- <p>Returns the value of attribute schema</p>
430
+ <p>Returns the value of attribute schema.</p>
431
431
 
432
432
 
433
433
  </div>
@@ -522,9 +522,9 @@
522
522
  </div>
523
523
 
524
524
  <div id="footer">
525
- Generated on Sat Feb 16 22:53:59 2019 by
525
+ Generated on Mon Jan 3 17:37:12 2022 by
526
526
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
527
- 0.9.16 (ruby-2.5.3).
527
+ 0.9.27 (ruby-3.0.3).
528
528
  </div>
529
529
 
530
530
  </div>
data/doc/GQLi.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: GQLi
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "GQLi";
19
19
  relpath = '';
20
20
  </script>
@@ -79,7 +79,7 @@
79
79
  <dl>
80
80
  <dt>Defined in:</dt>
81
81
  <dd>lib/gqli/version.rb<span class="defines">,<br />
82
- lib/gqli/dsl.rb,<br /> lib/gqli/base.rb,<br /> lib/gqli/node.rb,<br /> lib/gqli/query.rb,<br /> lib/gqli/client.rb,<br /> lib/gqli/fragment.rb,<br /> lib/gqli/response.rb,<br /> lib/gqli/enum_value.rb,<br /> lib/gqli/validation.rb,<br /> lib/gqli/introspection.rb,<br /> lib/gqli/clients/github.rb,<br /> lib/gqli/clients/contentful.rb</span>
82
+ lib/gqli/dsl.rb,<br /> lib/gqli/base.rb,<br /> lib/gqli/node.rb,<br /> lib/gqli/query.rb,<br /> lib/gqli/client.rb,<br /> lib/gqli/fragment.rb,<br /> lib/gqli/mutation.rb,<br /> lib/gqli/response.rb,<br /> lib/gqli/enum_value.rb,<br /> lib/gqli/validation.rb,<br /> lib/gqli/subscription.rb,<br /> lib/gqli/introspection.rb,<br /> lib/gqli/clients/github.rb,<br /> lib/gqli/clients/contentful.rb</span>
83
83
  </dd>
84
84
  </dl>
85
85
 
@@ -104,7 +104,7 @@
104
104
 
105
105
 
106
106
 
107
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="GQLi/Base.html" title="GQLi::Base (class)">Base</a></span>, <span class='object_link'><a href="GQLi/Client.html" title="GQLi::Client (class)">Client</a></span>, <span class='object_link'><a href="GQLi/EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span>, <span class='object_link'><a href="GQLi/Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span>, <span class='object_link'><a href="GQLi/Introspection.html" title="GQLi::Introspection (class)">Introspection</a></span>, <span class='object_link'><a href="GQLi/Node.html" title="GQLi::Node (class)">Node</a></span>, <span class='object_link'><a href="GQLi/Query.html" title="GQLi::Query (class)">Query</a></span>, <span class='object_link'><a href="GQLi/Response.html" title="GQLi::Response (class)">Response</a></span>, <span class='object_link'><a href="GQLi/Validation.html" title="GQLi::Validation (class)">Validation</a></span>
107
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="GQLi/Base.html" title="GQLi::Base (class)">Base</a></span>, <span class='object_link'><a href="GQLi/Client.html" title="GQLi::Client (class)">Client</a></span>, <span class='object_link'><a href="GQLi/EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span>, <span class='object_link'><a href="GQLi/Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span>, <span class='object_link'><a href="GQLi/Introspection.html" title="GQLi::Introspection (class)">Introspection</a></span>, <span class='object_link'><a href="GQLi/Mutation.html" title="GQLi::Mutation (class)">Mutation</a></span>, <span class='object_link'><a href="GQLi/Node.html" title="GQLi::Node (class)">Node</a></span>, <span class='object_link'><a href="GQLi/Query.html" title="GQLi::Query (class)">Query</a></span>, <span class='object_link'><a href="GQLi/Response.html" title="GQLi::Response (class)">Response</a></span>, <span class='object_link'><a href="GQLi/Subscription.html" title="GQLi::Subscription (class)">Subscription</a></span>, <span class='object_link'><a href="GQLi/Validation.html" title="GQLi::Validation (class)">Validation</a></span>
108
108
 
109
109
 
110
110
  </p>
@@ -131,7 +131,7 @@
131
131
 
132
132
  </div>
133
133
  </dt>
134
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.5.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
134
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.1.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
135
135
 
136
136
  </dl>
137
137
 
@@ -147,9 +147,9 @@
147
147
  </div>
148
148
 
149
149
  <div id="footer">
150
- Generated on Sat Feb 16 22:53:59 2019 by
150
+ Generated on Mon Jan 3 17:37:12 2022 by
151
151
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
- 0.9.16 (ruby-2.5.3).
152
+ 0.9.27 (ruby-3.0.3).
153
153
  </div>
154
154
 
155
155
  </div>
data/doc/_index.html CHANGED
@@ -4,15 +4,15 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.16
7
+ Documentation by YARD 0.9.27
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
14
 
15
- <script type="text/javascript" charset="utf-8">
15
+ <script type="text/javascript">
16
16
  pathId = null;
17
17
  relpath = '';
18
18
  </script>
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.16</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.27</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -202,6 +202,21 @@
202
202
  </td><td valign='top' width="33%">
203
203
 
204
204
 
205
+ <ul id="alpha_M" class="alpha">
206
+ <li class="letter">M</li>
207
+ <ul>
208
+
209
+ <li>
210
+ <span class='object_link'><a href="GQLi/Mutation.html" title="GQLi::Mutation (class)">Mutation</a></span>
211
+
212
+ <small>(GQLi)</small>
213
+
214
+ </li>
215
+
216
+ </ul>
217
+ </ul>
218
+
219
+
205
220
  <ul id="alpha_N" class="alpha">
206
221
  <li class="letter">N</li>
207
222
  <ul>
@@ -247,6 +262,21 @@
247
262
  </ul>
248
263
 
249
264
 
265
+ <ul id="alpha_S" class="alpha">
266
+ <li class="letter">S</li>
267
+ <ul>
268
+
269
+ <li>
270
+ <span class='object_link'><a href="GQLi/Subscription.html" title="GQLi::Subscription (class)">Subscription</a></span>
271
+
272
+ <small>(GQLi)</small>
273
+
274
+ </li>
275
+
276
+ </ul>
277
+ </ul>
278
+
279
+
250
280
  <ul id="alpha_V" class="alpha">
251
281
  <li class="letter">V</li>
252
282
  <ul>
@@ -270,9 +300,9 @@
270
300
  </div>
271
301
 
272
302
  <div id="footer">
273
- Generated on Sat Feb 16 22:53:59 2019 by
303
+ Generated on Mon Jan 3 17:37:12 2022 by
274
304
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
275
- 0.9.16 (ruby-2.5.3).
305
+ 0.9.27 (ruby-3.0.3).
276
306
  </div>
277
307
 
278
308
  </div>
data/doc/class_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
@@ -43,7 +43,7 @@
43
43
 
44
44
  <ul id="full_list" class="class">
45
45
  <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
- <li id='object_GQLi' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="GQLi.html" title="GQLi (module)">GQLi</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_GQLi::Base' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Base.html" title="GQLi::Base (class)">Base</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Client' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Client.html" title="GQLi::Client (class)">Client</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Contentful' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Contentful.html" title="GQLi::Contentful (module)">Contentful</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::DSL' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/DSL.html" title="GQLi::DSL (module)">DSL</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::EnumValue' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Fragment' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Github' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Github.html" title="GQLi::Github (module)">Github</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Introspection' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Introspection.html" title="GQLi::Introspection (class)">Introspection</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Node' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Node.html" title="GQLi::Node (class)">Node</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Query' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Query.html" title="GQLi::Query (class)">Query</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Response' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Response.html" title="GQLi::Response (class)">Response</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Validation' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Validation.html" title="GQLi::Validation (class)">Validation</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li></ul></li>
46
+ <li id='object_GQLi' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="GQLi.html" title="GQLi (module)">GQLi</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_GQLi::Base' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Base.html" title="GQLi::Base (class)">Base</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Client' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Client.html" title="GQLi::Client (class)">Client</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Contentful' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Contentful.html" title="GQLi::Contentful (module)">Contentful</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::DSL' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/DSL.html" title="GQLi::DSL (module)">DSL</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::EnumValue' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Fragment' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Github' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Github.html" title="GQLi::Github (module)">Github</a></span><small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Introspection' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Introspection.html" title="GQLi::Introspection (class)">Introspection</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Mutation' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Mutation.html" title="GQLi::Mutation (class)">Mutation</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Node' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Node.html" title="GQLi::Node (class)">Node</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Query' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Query.html" title="GQLi::Query (class)">Query</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Response' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Response.html" title="GQLi::Response (class)">Response</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Subscription' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Subscription.html" title="GQLi::Subscription (class)">Subscription</a></span> &lt; Base<small class='search_info'>GQLi</small></div></li><li id='object_GQLi::Validation' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="GQLi/Validation.html" title="GQLi::Validation (class)">Validation</a></span> &lt; Object<small class='search_info'>GQLi</small></div></li></ul></li>
47
47
 
48
48
  </ul>
49
49
  </div>
data/doc/css/style.css CHANGED
@@ -52,6 +52,7 @@ body {
52
52
  background: #fff;
53
53
  padding: 1.2em;
54
54
  padding-top: 0.2em;
55
+ box-sizing: border-box;
55
56
  }
56
57
 
57
58
  @media (max-width: 920px) {
@@ -422,8 +423,8 @@ li.r2 { background: #fafafa; }
422
423
  #toc ol { padding-left: 1.8em; }
423
424
  #toc li { font-size: 1.1em; line-height: 1.7em; }
424
425
  #toc > ol > li { font-size: 1.1em; font-weight: bold; }
425
- #toc ol > ol { font-size: 0.9em; }
426
- #toc ol ol > ol { padding-left: 2.3em; }
426
+ #toc ol > li > ol { font-size: 0.9em; }
427
+ #toc ol ol > li > ol { padding-left: 2.3em; }
427
428
  #toc ol + li { margin-top: 0.3em; }
428
429
  #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
429
430
  #toc.hidden:hover { background: #fafafa; }
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  File: CHANGELOG
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "CHANGELOG";
19
19
  relpath = '';
20
20
  </script>
@@ -61,7 +61,41 @@
61
61
  <h1 id="label-CHANGELOG">CHANGELOG</h1>
62
62
 
63
63
  <h2 id="label-Unreleased">Unreleased</h2>
64
+
65
+ <h2 id="label-v1.2.0">v1.2.0</h2>
66
+ <ul><li>
67
+ <p>Relax http.rb dependency (support version &lt; 6). <a href="https://github.com/contentful-labs/gqli.rb/pull/19">#19</a></p>
68
+ </li><li>
69
+ <p>Bump hashie dependency. <a href="https://github.com/contentful-labs/gqli.rb/pull/18">#18</a></p>
70
+ </li></ul>
71
+
72
+ <h2 id="label-v1.1.0">v1.1.0</h2>
73
+ <ul><li>
74
+ <p>Added support for timeout management. <a href="https://github.com/contentful-labs/gqli.rb/pull/11">#11</a></p>
75
+ </li><li>
76
+ <p>Added support for error response handling. <a href="https://github.com/contentful-labs/gqli.rb/pull/13">#13</a></p>
77
+ </li></ul>
78
+
79
+ <h2 id="label-v1.0.0">v1.0.0</h2>
80
+
81
+ <h3 id="label-Added">Added</h3>
82
+ <ul><li>
83
+ <p>Added support for Mutations.</p>
84
+ </li><li>
85
+ <p>Added validations for Mutations and Subscriptions.</p>
86
+ </li></ul>
87
+
88
+ <h2 id="label-v0.6.1">v0.6.1</h2>
89
+
90
+ <h3 id="label-Changed">Changed</h3>
64
91
  <ul><li>
92
+ <p>Changed Introspection query to no longer use <code>on...</code> for directive locations and use <code>locations</code> instead.</p>
93
+ </li></ul>
94
+
95
+ <h2 id="label-v0.6.0">v0.6.0</h2>
96
+ <ul><li>
97
+ <p>Add Subscription DSL support. (by @hschne) <a href="https://github.com/contentful-labs/gqli.rb/pull/5">#5</a></p>
98
+ </li><li>
65
99
  <p>Add aliases support.</p>
66
100
  </li><li>
67
101
  <p>Add default client constructors for Contentful and Github.</p>
@@ -85,31 +119,27 @@
85
119
 
86
120
  <h3 id="label-Added">Added</h3>
87
121
  <ul><li>
88
- <p>Refactored validations to their own <code>Validation</code> class, which
89
- now provide better error messages upon validation failure.</p>
122
+ <p>Refactored validations to their own <code>Validation</code> class, which now provide better error messages upon validation failure.</p>
90
123
  </li></ul>
91
124
 
92
125
  <h2 id="label-v0.2.0">v0.2.0</h2>
93
126
 
94
127
  <h3 id="label-Added">Added</h3>
95
128
  <ul><li>
96
- <p>Added <code>__node</code> to be able to create nodes in case there&#39;s a
97
- name collision with a reserved keyword or a built-in method.</p>
129
+ <p>Added <code>__node</code> to be able to create nodes in case there&#39;s a name collision with a reserved keyword or a built-in method.</p>
98
130
  </li></ul>
99
131
 
100
132
  <h2 id="label-v0.1.0">v0.1.0</h2>
101
133
 
102
134
  <p>Initial Release</p>
103
135
 
104
- <p>Included features: * Create queries and fragments using the
105
- <code>GQLi::DSL</code>. * HTTP client with automatic schema introspection
106
- and validation.</p>
136
+ <p>Included features: * Create queries and fragments using the <code>GQLi::DSL</code>. * HTTP client with automatic schema introspection and validation.</p>
107
137
  </div></div>
108
138
 
109
139
  <div id="footer">
110
- Generated on Sat Feb 16 22:53:59 2019 by
140
+ Generated on Mon Jan 3 17:37:12 2022 by
111
141
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
- 0.9.16 (ruby-2.5.3).
142
+ 0.9.27 (ruby-3.0.3).
113
143
  </div>
114
144
 
115
145
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  File: LICENSE
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "LICENSE";
19
19
  relpath = '';
20
20
  </script>
@@ -60,9 +60,9 @@
60
60
  <div id="content"><div id='filecontents'>The MIT License (MIT)<br/><br/>Copyright (c) 2018 Contentful GmbH - David Litvak<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the &quot;Software&quot;), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in<br/>all copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br/>THE SOFTWARE.</div></div>
61
61
 
62
62
  <div id="footer">
63
- Generated on Sat Feb 16 22:53:59 2019 by
63
+ Generated on Mon Jan 3 17:37:12 2022 by
64
64
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
65
- 0.9.16 (ruby-2.5.3).
65
+ 0.9.27 (ruby-3.0.3).
66
66
  </div>
67
67
 
68
68
  </div>