ae_easy-core 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b7544e9f9b0fb747d563a1c7903f40deb7bfde610447346a9fdaf93a3041219
4
- data.tar.gz: 86e653ec06920f454e232601b2aaa750e556f1cb6fab672ce0d2a4fc5a7aeee9
3
+ metadata.gz: 77f40d8b9afbf7692afc4c30ad1e8259d52a45794bcc462d7a65c40548449f08
4
+ data.tar.gz: bbe68762baf5466ba40734676e06d7b8fc864451322dd09debafc1c182d61698
5
5
  SHA512:
6
- metadata.gz: 44fe2c659a0bc7665d01458e1c53281b9018b0a05c9aaefec0b42bbbf5e3de11eb35946bf5a8488648dffa5705a274b7cf800c0a3b28122d09701d619e0105a1
7
- data.tar.gz: 0b8b221e30ad50a450f748fc603d4a1598dd0665a58ba600cedb03855ab2ad03209d82b078d10ee7f0836688f1865960191e39cef019ca1fb6a0a3786c23d48a
6
+ metadata.gz: 7aa19af5f38cdad2a3f6b10a89e60f5a75ed29f093436ef04c775b4d5a152ff0e5da6dcd9925e0c15f22980359bf832257c88a4928bb03ab0ba32a9510ce5632
7
+ data.tar.gz: 36068e43e16ee43b43d399607fffa74665613da263da3985f18ae1a5dfa0049dbf022ee7c4cdc3c05aecef97ae094f43db6cc65400f39a1061fe7d3c8e8bea00
data/doc/AeEasy.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Tue Feb 26 16:38:45 2019 by
110
+ Generated on Fri Mar 1 00:56:50 2019 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.18 (ruby-2.5.3).
113
113
  </div>
data/doc/AeEasy/Core.html CHANGED
@@ -120,7 +120,7 @@
120
120
 
121
121
  </div>
122
122
  </dt>
123
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
123
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.2</span><span class='tstring_end'>&quot;</span></span></pre></dd>
124
124
 
125
125
  </dl>
126
126
 
@@ -1544,7 +1544,7 @@ present on `source`.</p>
1544
1544
  </div>
1545
1545
 
1546
1546
  <div id="footer">
1547
- Generated on Tue Feb 26 16:38:45 2019 by
1547
+ Generated on Fri Mar 1 00:56:50 2019 by
1548
1548
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1549
1549
  0.9.18 (ruby-2.5.3).
1550
1550
  </div>
@@ -301,7 +301,7 @@
301
301
  </div>
302
302
 
303
303
  <div id="footer">
304
- Generated on Tue Feb 26 16:38:46 2019 by
304
+ Generated on Fri Mar 1 00:56:51 2019 by
305
305
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
306
306
  0.9.18 (ruby-2.5.3).
307
307
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Tue Feb 26 16:38:45 2019 by
110
+ Generated on Fri Mar 1 00:56:50 2019 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.18 (ruby-2.5.3).
113
113
  </div>
@@ -125,7 +125,7 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Tue Feb 26 16:38:47 2019 by
128
+ Generated on Fri Mar 1 00:56:52 2019 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.18 (ruby-2.5.3).
131
131
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Tue Feb 26 16:38:45 2019 by
110
+ Generated on Fri Mar 1 00:56:50 2019 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.18 (ruby-2.5.3).
113
113
  </div>
@@ -1060,7 +1060,7 @@ update_as_hash , response_cookies
1060
1060
  </div>
1061
1061
 
1062
1062
  <div id="footer">
1063
- Generated on Tue Feb 26 16:38:47 2019 by
1063
+ Generated on Fri Mar 1 00:56:52 2019 by
1064
1064
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1065
1065
  0.9.18 (ruby-2.5.3).
1066
1066
  </div>
@@ -272,7 +272,7 @@
272
272
  </div>
273
273
 
274
274
  <div id="footer">
275
- Generated on Tue Feb 26 16:38:45 2019 by
275
+ Generated on Fri Mar 1 00:56:50 2019 by
276
276
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
277
277
  0.9.18 (ruby-2.5.3).
278
278
  </div>
@@ -388,6 +388,30 @@ query string.</p>
388
388
  <p>Generate a smart collection with keys and initial values.</p>
389
389
  </div></span>
390
390
 
391
+ </li>
392
+
393
+
394
+ <li class="public ">
395
+ <span class="summary_signature">
396
+
397
+ <a href="#output_uuid-class_method" title="output_uuid (class method)">.<strong>output_uuid</strong>(data) &#x21d2; String </a>
398
+
399
+
400
+
401
+ </span>
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+ <span class="summary_desc"><div class='inline'>
412
+ <p>Generate a fake UUID based on output fields without `_` prefix.</p>
413
+ </div></span>
414
+
391
415
  </li>
392
416
 
393
417
 
@@ -612,7 +636,7 @@ insert.</p>
612
636
 
613
637
 
614
638
  <span class="summary_desc"><div class='inline'>
615
- <p>Generate a fake UUID based on output fields without `_` prefix.</p>
639
+ <p>Generate a fake UUID for outputs.</p>
616
640
  </div></span>
617
641
 
618
642
  </li>
@@ -1067,16 +1091,16 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1067
1091
  <pre class="lines">
1068
1092
 
1069
1093
 
1070
- 246
1071
- 247
1072
- 248
1073
- 249
1074
- 250
1075
- 251
1076
- 252</pre>
1094
+ 256
1095
+ 257
1096
+ 258
1097
+ 259
1098
+ 260
1099
+ 261
1100
+ 262</pre>
1077
1101
  </td>
1078
1102
  <td>
1079
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 246</span>
1103
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 256</span>
1080
1104
 
1081
1105
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1082
1106
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_job_id'>job_id</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:job_id</span><span class='rbracket'>]</span>
@@ -1215,17 +1239,17 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1215
1239
  <pre class="lines">
1216
1240
 
1217
1241
 
1218
- 136
1219
- 137
1220
- 138
1221
- 139
1222
- 140
1223
- 141
1224
- 142
1225
- 143</pre>
1242
+ 146
1243
+ 147
1244
+ 148
1245
+ 149
1246
+ 150
1247
+ 151
1248
+ 152
1249
+ 153</pre>
1226
1250
  </td>
1227
1251
  <td>
1228
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 136</span>
1252
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 146</span>
1229
1253
 
1230
1254
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build_fake_job'>build_fake_job</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1231
1255
  <span class='id identifier rubyid_job'>job</span> <span class='op'>=</span> <span class='lbrace'>{</span>
@@ -1326,15 +1350,15 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1326
1350
  <pre class="lines">
1327
1351
 
1328
1352
 
1329
- 64
1330
- 65
1331
- 66
1332
- 67
1333
- 68
1334
- 69</pre>
1353
+ 74
1354
+ 75
1355
+ 76
1356
+ 77
1357
+ 78
1358
+ 79</pre>
1335
1359
  </td>
1336
1360
  <td>
1337
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 64</span>
1361
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 74</span>
1338
1362
 
1339
1363
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build_fake_page'>build_fake_page</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1340
1364
  <span class='id identifier rubyid_page'>page</span> <span class='op'>=</span> <span class='lbrace'>{</span>
@@ -1424,14 +1448,14 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1424
1448
  <pre class="lines">
1425
1449
 
1426
1450
 
1427
- 122
1428
- 123
1429
- 124
1430
- 125
1431
- 126</pre>
1451
+ 132
1452
+ 133
1453
+ 134
1454
+ 135
1455
+ 136</pre>
1432
1456
  </td>
1433
1457
  <td>
1434
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 122</span>
1458
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 132</span>
1435
1459
 
1436
1460
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build_job'>build_job</span> <span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1437
1461
  <span class='id identifier rubyid_temp_db'>temp_db</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Mock.html" title="AeEasy::Core::Mock (module)">Mock</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="AeEasy::Core::Mock::FakeDb (class)">FakeDb</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="AeEasy::Core::Mock::FakeDb#initialize (method)">new</a></span></span> <span class='id identifier rubyid_opts'>opts</span>
@@ -1520,18 +1544,18 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1520
1544
  <pre class="lines">
1521
1545
 
1522
1546
 
1523
- 48
1524
- 49
1525
- 50
1526
- 51
1527
- 52
1528
- 53
1529
- 54
1530
- 55
1531
- 56</pre>
1547
+ 58
1548
+ 59
1549
+ 60
1550
+ 61
1551
+ 62
1552
+ 63
1553
+ 64
1554
+ 65
1555
+ 66</pre>
1532
1556
  </td>
1533
1557
  <td>
1534
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 48</span>
1558
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 58</span>
1535
1559
 
1536
1560
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build_page'>build_page</span> <span class='id identifier rubyid_page'>page</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1537
1561
  <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span>
@@ -1609,16 +1633,6 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1609
1633
  <pre class="lines">
1610
1634
 
1611
1635
 
1612
- 77
1613
- 78
1614
- 79
1615
- 80
1616
- 81
1617
- 82
1618
- 83
1619
- 84
1620
- 85
1621
- 86
1622
1636
  87
1623
1637
  88
1624
1638
  89
@@ -1627,10 +1641,20 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1627
1641
  92
1628
1642
  93
1629
1643
  94
1630
- 95</pre>
1644
+ 95
1645
+ 96
1646
+ 97
1647
+ 98
1648
+ 99
1649
+ 100
1650
+ 101
1651
+ 102
1652
+ 103
1653
+ 104
1654
+ 105</pre>
1631
1655
  </td>
1632
1656
  <td>
1633
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 77</span>
1657
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 87</span>
1634
1658
 
1635
1659
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_clean_uri'>clean_uri</span> <span class='id identifier rubyid_raw_url'>raw_url</span>
1636
1660
  <span class='id identifier rubyid_url'>url</span> <span class='op'>=</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_raw_url'>raw_url</span><span class='rparen'>)</span>
@@ -1824,6 +1848,82 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1824
1848
  </td>
1825
1849
  </tr>
1826
1850
  </table>
1851
+ </div>
1852
+
1853
+ <div class="method_details ">
1854
+ <h3 class="signature " id="output_uuid-class_method">
1855
+
1856
+ .<strong>output_uuid</strong>(data) &#x21d2; <tt>String</tt>
1857
+
1858
+
1859
+
1860
+
1861
+
1862
+ </h3><div class="docstring">
1863
+ <div class="discussion">
1864
+
1865
+ <p>Generate a fake UUID based on output fields without `_` prefix.</p>
1866
+
1867
+
1868
+ </div>
1869
+ </div>
1870
+ <div class="tags">
1871
+ <p class="tag_title">Parameters:</p>
1872
+ <ul class="param">
1873
+
1874
+ <li>
1875
+
1876
+ <span class='name'>data</span>
1877
+
1878
+
1879
+ <span class='type'>(<tt>Hash</tt>)</span>
1880
+
1881
+
1882
+
1883
+ &mdash;
1884
+ <div class='inline'>
1885
+ <p>Output data.</p>
1886
+ </div>
1887
+
1888
+ </li>
1889
+
1890
+ </ul>
1891
+
1892
+ <p class="tag_title">Returns:</p>
1893
+ <ul class="return">
1894
+
1895
+ <li>
1896
+
1897
+
1898
+ <span class='type'>(<tt>String</tt>)</span>
1899
+
1900
+
1901
+
1902
+ </li>
1903
+
1904
+ </ul>
1905
+
1906
+ </div><table class="source_code">
1907
+ <tr>
1908
+ <td>
1909
+ <pre class="lines">
1910
+
1911
+
1912
+ 47
1913
+ 48
1914
+ 49
1915
+ 50</pre>
1916
+ </td>
1917
+ <td>
1918
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 47</span>
1919
+
1920
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_output_uuid'>output_uuid</span> <span class='id identifier rubyid_data'>data</span>
1921
+ <span class='id identifier rubyid_seed'>seed</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[^_]</span><span class='regexp_end'>/</span></span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
1922
+ <span class='id identifier rubyid_fake_uuid'>fake_uuid</span> <span class='id identifier rubyid_seed'>seed</span>
1923
+ <span class='kw'>end</span></pre>
1924
+ </td>
1925
+ </tr>
1926
+ </table>
1827
1927
  </div>
1828
1928
 
1829
1929
  </div>
@@ -1879,12 +1979,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1879
1979
  <pre class="lines">
1880
1980
 
1881
1981
 
1882
- 232
1883
- 233
1884
- 234</pre>
1982
+ 242
1983
+ 243
1984
+ 244</pre>
1885
1985
  </td>
1886
1986
  <td>
1887
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 232</span>
1987
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 242</span>
1888
1988
 
1889
1989
  <span class='kw'>def</span> <span class='id identifier rubyid_allow_job_id_override?'>allow_job_id_override?</span>
1890
1990
  <span class='ivar'>@allow_job_id_override</span> <span class='op'>||=</span> <span class='kw'>false</span>
@@ -1941,12 +2041,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1941
2041
  <pre class="lines">
1942
2042
 
1943
2043
 
1944
- 214
1945
- 215
1946
- 216</pre>
2044
+ 224
2045
+ 225
2046
+ 226</pre>
1947
2047
  </td>
1948
2048
  <td>
1949
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 214</span>
2049
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 224</span>
1950
2050
 
1951
2051
  <span class='kw'>def</span> <span class='id identifier rubyid_allow_page_gid_override?'>allow_page_gid_override?</span>
1952
2052
  <span class='ivar'>@allow_page_gid_override</span> <span class='op'>||=</span> <span class='kw'>false</span>
@@ -1982,12 +2082,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
1982
2082
  <pre class="lines">
1983
2083
 
1984
2084
 
1985
- 224
1986
- 225
1987
- 226</pre>
2085
+ 234
2086
+ 235
2087
+ 236</pre>
1988
2088
  </td>
1989
2089
  <td>
1990
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 224</span>
2090
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 234</span>
1991
2091
 
1992
2092
  <span class='kw'>def</span> <span class='id identifier rubyid_disable_job_id_override'>disable_job_id_override</span>
1993
2093
  <span class='ivar'>@allow_job_id_override</span> <span class='op'>=</span> <span class='kw'>false</span>
@@ -2023,12 +2123,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2023
2123
  <pre class="lines">
2024
2124
 
2025
2125
 
2026
- 206
2027
- 207
2028
- 208</pre>
2126
+ 216
2127
+ 217
2128
+ 218</pre>
2029
2129
  </td>
2030
2130
  <td>
2031
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 206</span>
2131
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 216</span>
2032
2132
 
2033
2133
  <span class='kw'>def</span> <span class='id identifier rubyid_disable_page_gid_override'>disable_page_gid_override</span>
2034
2134
  <span class='ivar'>@allow_page_gid_override</span> <span class='op'>=</span> <span class='kw'>false</span>
@@ -2064,12 +2164,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2064
2164
  <pre class="lines">
2065
2165
 
2066
2166
 
2067
- 219
2068
- 220
2069
- 221</pre>
2167
+ 229
2168
+ 230
2169
+ 231</pre>
2070
2170
  </td>
2071
2171
  <td>
2072
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 219</span>
2172
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 229</span>
2073
2173
 
2074
2174
  <span class='kw'>def</span> <span class='id identifier rubyid_enable_job_id_override'>enable_job_id_override</span>
2075
2175
  <span class='ivar'>@allow_job_id_override</span> <span class='op'>=</span> <span class='kw'>true</span>
@@ -2105,12 +2205,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2105
2205
  <pre class="lines">
2106
2206
 
2107
2207
 
2108
- 201
2109
- 202
2110
- 203</pre>
2208
+ 211
2209
+ 212
2210
+ 213</pre>
2111
2211
  </td>
2112
2212
  <td>
2113
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 201</span>
2213
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 211</span>
2114
2214
 
2115
2215
  <span class='kw'>def</span> <span class='id identifier rubyid_enable_page_gid_override'>enable_page_gid_override</span>
2116
2216
  <span class='ivar'>@allow_page_gid_override</span> <span class='op'>=</span> <span class='kw'>true</span>
@@ -2181,21 +2281,21 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2181
2281
  <pre class="lines">
2182
2282
 
2183
2283
 
2184
- 150
2185
- 151
2186
- 152
2187
- 153
2188
- 154
2189
- 155
2190
- 156
2191
- 157
2192
- 158
2193
- 159
2194
2284
  160
2195
- 161</pre>
2285
+ 161
2286
+ 162
2287
+ 163
2288
+ 164
2289
+ 165
2290
+ 166
2291
+ 167
2292
+ 168
2293
+ 169
2294
+ 170
2295
+ 171</pre>
2196
2296
  </td>
2197
2297
  <td>
2198
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 150</span>
2298
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 160</span>
2199
2299
 
2200
2300
  <span class='kw'>def</span> <span class='id identifier rubyid_ensure_job'>ensure_job</span> <span class='id identifier rubyid_target_job_id'>target_job_id</span> <span class='op'>=</span> <span class='kw'>nil</span>
2201
2301
  <span class='id identifier rubyid_target_job_id'>target_job_id</span> <span class='op'>=</span> <span class='id identifier rubyid_job_id'>job_id</span> <span class='kw'>if</span> <span class='id identifier rubyid_target_job_id'>target_job_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -2253,12 +2353,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2253
2353
  <pre class="lines">
2254
2354
 
2255
2355
 
2256
- 264
2257
- 265
2258
- 266</pre>
2356
+ 274
2357
+ 275
2358
+ 276</pre>
2259
2359
  </td>
2260
2360
  <td>
2261
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 264</span>
2361
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 274</span>
2262
2362
 
2263
2363
  <span class='kw'>def</span> <span class='id identifier rubyid_generate_job_id'>generate_job_id</span>
2264
2364
  <span class='id identifier rubyid_jobs'>jobs</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='op'>&lt;</span> <span class='int'>1</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='lparen'>(</span><span class='id identifier rubyid_jobs'>jobs</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_a'>a</span><span class='comma'>,</span><span class='id identifier rubyid_b'>b</span><span class='op'>|</span><span class='id identifier rubyid_a'>a</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>job_id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>&lt;=&gt;</span> <span class='id identifier rubyid_b'>b</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>job_id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>job_id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='int'>1</span><span class='rparen'>)</span>
@@ -2280,7 +2380,7 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2280
2380
  </h3><div class="docstring">
2281
2381
  <div class="discussion">
2282
2382
 
2283
- <p>Generate a fake UUID based on output fields without `_` prefix.</p>
2383
+ <p>Generate a fake UUID for outputs.</p>
2284
2384
 
2285
2385
 
2286
2386
  </div>
@@ -2327,17 +2427,17 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2327
2427
  <pre class="lines">
2328
2428
 
2329
2429
 
2330
- 381
2331
- 382
2332
- 383
2333
- 384</pre>
2430
+ 391
2431
+ 392
2432
+ 393
2433
+ 394</pre>
2334
2434
  </td>
2335
2435
  <td>
2336
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 381</span>
2436
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 391</span>
2337
2437
 
2338
2438
  <span class='kw'>def</span> <span class='id identifier rubyid_generate_output_id'>generate_output_id</span> <span class='id identifier rubyid_data'>data</span>
2339
- <span class='id identifier rubyid_seed'>seed</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[^_]</span><span class='regexp_end'>/</span></span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
2340
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_fake_uuid'>fake_uuid</span> <span class='id identifier rubyid_seed'>seed</span>
2439
+ <span class='comment'># Generate random UUID to match AnswersEngine behavior
2440
+ </span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_fake_uuid'>fake_uuid</span>
2341
2441
  <span class='kw'>end</span></pre>
2342
2442
  </td>
2343
2443
  </tr>
@@ -2413,16 +2513,6 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2413
2513
  <pre class="lines">
2414
2514
 
2415
2515
 
2416
- 311
2417
- 312
2418
- 313
2419
- 314
2420
- 315
2421
- 316
2422
- 317
2423
- 318
2424
- 319
2425
- 320
2426
2516
  321
2427
2517
  322
2428
2518
  323
@@ -2431,10 +2521,20 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2431
2521
  326
2432
2522
  327
2433
2523
  328
2434
- 329</pre>
2524
+ 329
2525
+ 330
2526
+ 331
2527
+ 332
2528
+ 333
2529
+ 334
2530
+ 335
2531
+ 336
2532
+ 337
2533
+ 338
2534
+ 339</pre>
2435
2535
  </td>
2436
2536
  <td>
2437
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 311</span>
2537
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 321</span>
2438
2538
 
2439
2539
  <span class='kw'>def</span> <span class='id identifier rubyid_generate_page_gid'>generate_page_gid</span> <span class='id identifier rubyid_page_data'>page_data</span>
2440
2540
  <span class='id identifier rubyid_fields'>fields</span> <span class='op'>=</span> <span class='lbracket'>[</span>
@@ -2499,12 +2599,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2499
2599
  <pre class="lines">
2500
2600
 
2501
2601
 
2502
- 257
2503
- 258
2504
- 259</pre>
2602
+ 267
2603
+ 268
2604
+ 269</pre>
2505
2605
  </td>
2506
2606
  <td>
2507
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 257</span>
2607
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 267</span>
2508
2608
 
2509
2609
  <span class='kw'>def</span> <span class='id identifier rubyid_generate_scraper_name'>generate_scraper_name</span>
2510
2610
  <span class='const'>Faker</span><span class='op'>::</span><span class='const'>Internet</span><span class='period'>.</span><span class='id identifier rubyid_unique'>unique</span><span class='period'>.</span><span class='id identifier rubyid_slug'>slug</span>
@@ -2553,12 +2653,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2553
2653
  <pre class="lines">
2554
2654
 
2555
2655
 
2556
- 178
2557
- 179
2558
- 180</pre>
2656
+ 188
2657
+ 189
2658
+ 190</pre>
2559
2659
  </td>
2560
2660
  <td>
2561
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 178</span>
2661
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 188</span>
2562
2662
 
2563
2663
  <span class='kw'>def</span> <span class='id identifier rubyid_job_id'>job_id</span>
2564
2664
  <span class='ivar'>@job_id</span> <span class='op'>||=</span> <span class='id identifier rubyid_generate_job_id'>generate_job_id</span>
@@ -2594,14 +2694,14 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2594
2694
  <pre class="lines">
2595
2695
 
2596
2696
 
2597
- 183
2598
- 184
2599
- 185
2600
- 186
2601
- 187</pre>
2697
+ 193
2698
+ 194
2699
+ 195
2700
+ 196
2701
+ 197</pre>
2602
2702
  </td>
2603
2703
  <td>
2604
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 183</span>
2704
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 193</span>
2605
2705
 
2606
2706
  <span class='kw'>def</span> <span class='id identifier rubyid_job_id='>job_id=</span> <span class='id identifier rubyid_value'>value</span>
2607
2707
  <span class='ivar'>@job_id</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
@@ -2652,22 +2752,22 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2652
2752
  <pre class="lines">
2653
2753
 
2654
2754
 
2655
- 284
2656
- 285
2657
- 286
2658
- 287
2659
- 288
2660
- 289
2661
- 290
2662
- 291
2663
- 292
2664
- 293
2665
2755
  294
2666
2756
  295
2667
- 296</pre>
2757
+ 296
2758
+ 297
2759
+ 298
2760
+ 299
2761
+ 300
2762
+ 301
2763
+ 302
2764
+ 303
2765
+ 304
2766
+ 305
2767
+ 306</pre>
2668
2768
  </td>
2669
2769
  <td>
2670
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 284</span>
2770
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 294</span>
2671
2771
 
2672
2772
  <span class='kw'>def</span> <span class='id identifier rubyid_jobs'>jobs</span>
2673
2773
  <span class='kw'>return</span> <span class='ivar'>@jobs</span> <span class='kw'>unless</span> <span class='ivar'>@jobs</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -2726,16 +2826,6 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2726
2826
  <pre class="lines">
2727
2827
 
2728
2828
 
2729
- 402
2730
- 403
2731
- 404
2732
- 405
2733
- 406
2734
- 407
2735
- 408
2736
- 409
2737
- 410
2738
- 411
2739
2829
  412
2740
2830
  413
2741
2831
  414
@@ -2744,10 +2834,20 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2744
2834
  417
2745
2835
  418
2746
2836
  419
2747
- 420</pre>
2837
+ 420
2838
+ 421
2839
+ 422
2840
+ 423
2841
+ 424
2842
+ 425
2843
+ 426
2844
+ 427
2845
+ 428
2846
+ 429
2847
+ 430</pre>
2748
2848
  </td>
2749
2849
  <td>
2750
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 402</span>
2850
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 412</span>
2751
2851
 
2752
2852
  <span class='kw'>def</span> <span class='id identifier rubyid_outputs'>outputs</span>
2753
2853
  <span class='kw'>return</span> <span class='ivar'>@outputs</span> <span class='kw'>unless</span> <span class='ivar'>@outputs</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -2812,12 +2912,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2812
2912
  <pre class="lines">
2813
2913
 
2814
2914
 
2815
- 191
2816
- 192
2817
- 193</pre>
2915
+ 201
2916
+ 202
2917
+ 203</pre>
2818
2918
  </td>
2819
2919
  <td>
2820
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 191</span>
2920
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 201</span>
2821
2921
 
2822
2922
  <span class='kw'>def</span> <span class='id identifier rubyid_page_gid'>page_gid</span>
2823
2923
  <span class='ivar'>@page_gid</span> <span class='op'>||=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_fake_uuid'>fake_uuid</span>
@@ -2853,12 +2953,12 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2853
2953
  <pre class="lines">
2854
2954
 
2855
2955
 
2856
- 196
2857
- 197
2858
- 198</pre>
2956
+ 206
2957
+ 207
2958
+ 208</pre>
2859
2959
  </td>
2860
2960
  <td>
2861
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 196</span>
2961
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 206</span>
2862
2962
 
2863
2963
  <span class='kw'>def</span> <span class='id identifier rubyid_page_gid='>page_gid=</span> <span class='id identifier rubyid_value'>value</span>
2864
2964
  <span class='ivar'>@page_gid</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
@@ -2916,16 +3016,6 @@ gid overriding is enabled (see #allow_page_gid_override?)</p>
2916
3016
  <pre class="lines">
2917
3017
 
2918
3018
 
2919
- 357
2920
- 358
2921
- 359
2922
- 360
2923
- 361
2924
- 362
2925
- 363
2926
- 364
2927
- 365
2928
- 366
2929
3019
  367
2930
3020
  368
2931
3021
  369
@@ -2933,10 +3023,20 @@ gid overriding is enabled (see #allow_page_gid_override?)</p>
2933
3023
  371
2934
3024
  372
2935
3025
  373
2936
- 374</pre>
3026
+ 374
3027
+ 375
3028
+ 376
3029
+ 377
3030
+ 378
3031
+ 379
3032
+ 380
3033
+ 381
3034
+ 382
3035
+ 383
3036
+ 384</pre>
2937
3037
  </td>
2938
3038
  <td>
2939
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 357</span>
3039
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 367</span>
2940
3040
 
2941
3041
  <span class='kw'>def</span> <span class='id identifier rubyid_pages'>pages</span>
2942
3042
  <span class='kw'>return</span> <span class='ivar'>@pages</span> <span class='kw'>unless</span> <span class='ivar'>@page</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -3086,16 +3186,6 @@ suites only.</p>
3086
3186
  <pre class="lines">
3087
3187
 
3088
3188
 
3089
- 449
3090
- 450
3091
- 451
3092
- 452
3093
- 453
3094
- 454
3095
- 455
3096
- 456
3097
- 457
3098
- 458
3099
3189
  459
3100
3190
  460
3101
3191
  461
@@ -3115,10 +3205,20 @@ suites only.</p>
3115
3205
  475
3116
3206
  476
3117
3207
  477
3118
- 478</pre>
3208
+ 478
3209
+ 479
3210
+ 480
3211
+ 481
3212
+ 482
3213
+ 483
3214
+ 484
3215
+ 485
3216
+ 486
3217
+ 487
3218
+ 488</pre>
3119
3219
  </td>
3120
3220
  <td>
3121
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 449</span>
3221
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 459</span>
3122
3222
 
3123
3223
  <span class='kw'>def</span> <span class='id identifier rubyid_query'>query</span> <span class='id identifier rubyid_collection'>collection</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span><span class='comma'>,</span> <span class='id identifier rubyid_offset'>offset</span> <span class='op'>=</span> <span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_limit'>limit</span> <span class='op'>=</span> <span class='kw'>nil</span>
3124
3224
  <span class='kw'>return</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_limit'>limit</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_limit'>limit</span> <span class='op'>&gt;</span> <span class='int'>0</span>
@@ -3194,12 +3294,12 @@ suites only.</p>
3194
3294
  <pre class="lines">
3195
3295
 
3196
3296
 
3197
- 165
3198
- 166
3199
- 167</pre>
3297
+ 175
3298
+ 176
3299
+ 177</pre>
3200
3300
  </td>
3201
3301
  <td>
3202
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 165</span>
3302
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 175</span>
3203
3303
 
3204
3304
  <span class='kw'>def</span> <span class='id identifier rubyid_scraper_name'>scraper_name</span>
3205
3305
  <span class='ivar'>@scraper_name</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>my_scraper</span><span class='tstring_end'>&#39;</span></span>
@@ -3235,14 +3335,14 @@ suites only.</p>
3235
3335
  <pre class="lines">
3236
3336
 
3237
3337
 
3238
- 170
3239
- 171
3240
- 172
3241
- 173
3242
- 174</pre>
3338
+ 180
3339
+ 181
3340
+ 182
3341
+ 183
3342
+ 184</pre>
3243
3343
  </td>
3244
3344
  <td>
3245
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 170</span>
3345
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 180</span>
3246
3346
 
3247
3347
  <span class='kw'>def</span> <span class='id identifier rubyid_scraper_name='>scraper_name=</span> <span class='id identifier rubyid_value'>value</span>
3248
3348
  <span class='id identifier rubyid_job'>job</span> <span class='op'>=</span> <span class='id identifier rubyid_ensure_job'>ensure_job</span>
@@ -3259,7 +3359,7 @@ suites only.</p>
3259
3359
  </div>
3260
3360
 
3261
3361
  <div id="footer">
3262
- Generated on Tue Feb 26 16:38:47 2019 by
3362
+ Generated on Fri Mar 1 00:56:52 2019 by
3263
3363
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3264
3364
  0.9.18 (ruby-2.5.3).
3265
3365
  </div>