ae_easy-core 0.1.3 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3958e6a83cd5da530fb30f91a11d5f85303890781954743113ab3527b8e9569f
4
- data.tar.gz: 4b4e54454e0d8ba35964b8b25c84618bcae0a46e61992953e8a33f7c1baf5c40
3
+ metadata.gz: d6965cbd4f45f0c4d6b873c94764060a7dea18c512a00505846230228a9f4f9d
4
+ data.tar.gz: 0a22bf3bc071b6d10084dc0cd02245779013f676ff6c1a1114bec3b498314ec8
5
5
  SHA512:
6
- metadata.gz: 7edc9160924862848ae31bbc0b3a91d7a8d56ee3de946ec0b99050160455d2b669b2a80db892d799a0dc8869d29528e7f584a800f159ba34a5e49a1b1ce48c56
7
- data.tar.gz: 3c2147c134cb205548a3c9d4cf0619c9c2c7a83ddc273fbf025e71ec35a420177eb31bff04604c0fb607d3d9bda075efa808cc919ed42639b25f6f4f8aee90d2
6
+ metadata.gz: b4898349220a0bb95e8c4941c6ccc6460454788ee65796d973ba84993c0a70b9ee9ba9ac4f96d9d8860d3c7eb016e5f46dce61bf6de670ee060988ee4e2b83df
7
+ data.tar.gz: e91aa1d81f53b5418df132d50a3cf38559922d2506ece4e87759d5a3eac57bb9310702dc13c972e00b98ab89a488e3264e3d31d732b1972bdd52de67558f3939
@@ -301,7 +301,7 @@
301
301
  </div>
302
302
 
303
303
  <div id="footer">
304
- Generated on Fri Mar 8 14:58:09 2019 by
304
+ Generated on Fri Mar 8 18:16:46 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>
@@ -125,7 +125,7 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Fri Mar 8 14:58:10 2019 by
128
+ Generated on Fri Mar 8 18:16:47 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 Fri Mar 8 14:58:09 2019 by
110
+ Generated on Fri Mar 8 18:16:45 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 Fri Mar 8 14:58:10 2019 by
1063
+ Generated on Fri Mar 8 18:16:47 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>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Fri Mar 8 14:58:09 2019 by
110
+ Generated on Fri Mar 8 18:16:45 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>
@@ -2427,13 +2427,13 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2427
2427
  <pre class="lines">
2428
2428
 
2429
2429
 
2430
- 391
2431
- 392
2432
- 393
2433
- 394</pre>
2430
+ 394
2431
+ 395
2432
+ 396
2433
+ 397</pre>
2434
2434
  </td>
2435
2435
  <td>
2436
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 391</span>
2436
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 394</span>
2437
2437
 
2438
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>
2439
2439
  <span class='comment'># Generate random UUID to match AnswersEngine behavior
@@ -2826,9 +2826,6 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2826
2826
  <pre class="lines">
2827
2827
 
2828
2828
 
2829
- 412
2830
- 413
2831
- 414
2832
2829
  415
2833
2830
  416
2834
2831
  417
@@ -2844,10 +2841,13 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2844
2841
  427
2845
2842
  428
2846
2843
  429
2847
- 430</pre>
2844
+ 430
2845
+ 431
2846
+ 432
2847
+ 433</pre>
2848
2848
  </td>
2849
2849
  <td>
2850
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 412</span>
2850
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 415</span>
2851
2851
 
2852
2852
  <span class='kw'>def</span> <span class='id identifier rubyid_outputs'>outputs</span>
2853
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>
@@ -2864,7 +2864,7 @@ fetch_type * cookie * no_redirect * body * ua_type.</p>
2864
2864
  <span class='id identifier rubyid_item'>item</span>
2865
2865
  <span class='kw'>end</span>
2866
2866
  <span class='id identifier rubyid_collection'>collection</span><span class='period'>.</span><span class='id identifier rubyid_bind_event'>bind_event</span><span class='lparen'>(</span><span class='symbol'>:after_insert</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_collection'>collection</span><span class='comma'>,</span> <span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
2867
- <span class='kw'>ensure</span> <span class='id identifier rubyid_item'>item</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>
2867
+ <span class='id identifier rubyid_ensure_job'>ensure_job</span> <span class='id identifier rubyid_item'>item</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>
2868
2868
  <span class='kw'>end</span>
2869
2869
  <span class='ivar'>@outputs</span> <span class='op'>||=</span> <span class='id identifier rubyid_collection'>collection</span>
2870
2870
  <span class='kw'>end</span></pre>
@@ -3033,7 +3033,10 @@ gid overriding is enabled (see #allow_page_gid_override?)</p>
3033
3033
  381
3034
3034
  382
3035
3035
  383
3036
- 384</pre>
3036
+ 384
3037
+ 385
3038
+ 386
3039
+ 387</pre>
3037
3040
  </td>
3038
3041
  <td>
3039
3042
  <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 367</span>
@@ -3054,6 +3057,9 @@ gid overriding is enabled (see #allow_page_gid_override?)</p>
3054
3057
  <span class='kw'>end</span>
3055
3058
  <span class='id identifier rubyid_item'>item</span>
3056
3059
  <span class='kw'>end</span>
3060
+ <span class='id identifier rubyid_collection'>collection</span><span class='period'>.</span><span class='id identifier rubyid_bind_event'>bind_event</span><span class='lparen'>(</span><span class='symbol'>:after_insert</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_collection'>collection</span><span class='comma'>,</span> <span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
3061
+ <span class='id identifier rubyid_ensure_job'>ensure_job</span> <span class='id identifier rubyid_item'>item</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>
3062
+ <span class='kw'>end</span>
3057
3063
  <span class='ivar'>@pages</span> <span class='op'>||=</span> <span class='id identifier rubyid_collection'>collection</span>
3058
3064
  <span class='kw'>end</span></pre>
3059
3065
  </td>
@@ -3186,9 +3192,6 @@ suites only.</p>
3186
3192
  <pre class="lines">
3187
3193
 
3188
3194
 
3189
- 459
3190
- 460
3191
- 461
3192
3195
  462
3193
3196
  463
3194
3197
  464
@@ -3215,10 +3218,13 @@ suites only.</p>
3215
3218
  485
3216
3219
  486
3217
3220
  487
3218
- 488</pre>
3221
+ 488
3222
+ 489
3223
+ 490
3224
+ 491</pre>
3219
3225
  </td>
3220
3226
  <td>
3221
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 459</span>
3227
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_db.rb', line 462</span>
3222
3228
 
3223
3229
  <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>
3224
3230
  <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>
@@ -3359,7 +3365,7 @@ suites only.</p>
3359
3365
  </div>
3360
3366
 
3361
3367
  <div id="footer">
3362
- Generated on Fri Mar 8 14:58:10 2019 by
3368
+ Generated on Fri Mar 8 18:16:46 2019 by
3363
3369
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3364
3370
  0.9.18 (ruby-2.5.3).
3365
3371
  </div>
@@ -2686,7 +2686,7 @@ instead, this is the defaul behavior.</p>
2686
2686
  </div>
2687
2687
 
2688
2688
  <div id="footer">
2689
- Generated on Fri Mar 8 14:58:09 2019 by
2689
+ Generated on Fri Mar 8 18:16:46 2019 by
2690
2690
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2691
2691
  0.9.18 (ruby-2.5.3).
2692
2692
  </div>
@@ -150,7 +150,7 @@
150
150
  </div>
151
151
 
152
152
  <div id="footer">
153
- Generated on Fri Mar 8 14:58:10 2019 by
153
+ Generated on Fri Mar 8 18:16:47 2019 by
154
154
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
155
155
  0.9.18 (ruby-2.5.3).
156
156
  </div>
@@ -150,7 +150,7 @@
150
150
  </div>
151
151
 
152
152
  <div id="footer">
153
- Generated on Fri Mar 8 14:58:10 2019 by
153
+ Generated on Fri Mar 8 18:16:47 2019 by
154
154
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
155
155
  0.9.18 (ruby-2.5.3).
156
156
  </div>
@@ -272,7 +272,7 @@
272
272
  </div>
273
273
 
274
274
  <div id="footer">
275
- Generated on Fri Mar 8 14:58:09 2019 by
275
+ Generated on Fri Mar 8 18:16:45 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>
@@ -289,7 +289,7 @@
289
289
  </div>
290
290
 
291
291
  <div id="footer">
292
- Generated on Fri Mar 8 14:58:09 2019 by
292
+ Generated on Fri Mar 8 18:16:46 2019 by
293
293
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
294
294
  0.9.18 (ruby-2.5.3).
295
295
  </div>
@@ -531,7 +531,7 @@
531
531
  </div>
532
532
 
533
533
  <div id="footer">
534
- Generated on Fri Mar 8 14:58:09 2019 by
534
+ Generated on Fri Mar 8 18:16:46 2019 by
535
535
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
536
536
  0.9.18 (ruby-2.5.3).
537
537
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Fri Mar 8 14:58:09 2019 by
438
+ Generated on Fri Mar 8 18:16:46 2019 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.18 (ruby-2.5.3).
441
441
  </div>
@@ -249,7 +249,7 @@
249
249
  </div>
250
250
 
251
251
  <div id="footer">
252
- Generated on Fri Mar 8 14:58:09 2019 by
252
+ Generated on Fri Mar 8 18:16:45 2019 by
253
253
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
254
254
  0.9.18 (ruby-2.5.3).
255
255
  </div>
@@ -334,7 +334,7 @@
334
334
  </div>
335
335
 
336
336
  <div id="footer">
337
- Generated on Fri Mar 8 14:58:09 2019 by
337
+ Generated on Fri Mar 8 18:16:46 2019 by
338
338
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
339
339
  0.9.18 (ruby-2.5.3).
340
340
  </div>
@@ -210,7 +210,7 @@
210
210
  </div>
211
211
 
212
212
  <div id="footer">
213
- Generated on Fri Mar 8 14:58:09 2019 by
213
+ Generated on Fri Mar 8 18:16:46 2019 by
214
214
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
215
215
  0.9.18 (ruby-2.5.3).
216
216
  </div>
@@ -260,7 +260,7 @@
260
260
  </div>
261
261
 
262
262
  <div id="footer">
263
- Generated on Fri Mar 8 14:58:09 2019 by
263
+ Generated on Fri Mar 8 18:16:45 2019 by
264
264
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
265
265
  0.9.18 (ruby-2.5.3).
266
266
  </div>
@@ -225,7 +225,7 @@
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Fri Mar 8 14:58:09 2019 by
228
+ Generated on Fri Mar 8 18:16:46 2019 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.18 (ruby-2.5.3).
231
231
  </div>
@@ -631,7 +631,7 @@
631
631
  </div>
632
632
 
633
633
  <div id="footer">
634
- Generated on Fri Mar 8 14:58:09 2019 by
634
+ Generated on Fri Mar 8 18:16:45 2019 by
635
635
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
636
636
  0.9.18 (ruby-2.5.3).
637
637
  </div>
@@ -132,7 +132,7 @@
132
132
  </div>
133
133
 
134
134
  <div id="footer">
135
- Generated on Fri Mar 8 14:58:09 2019 by
135
+ Generated on Fri Mar 8 18:16:46 2019 by
136
136
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
137
137
  0.9.18 (ruby-2.5.3).
138
138
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Fri Mar 8 14:58:09 2019 by
110
+ Generated on Fri Mar 8 18:16:45 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>
@@ -1077,7 +1077,7 @@ data
1077
1077
  </div>
1078
1078
 
1079
1079
  <div id="footer">
1080
- Generated on Fri Mar 8 14:58:10 2019 by
1080
+ Generated on Fri Mar 8 18:16:47 2019 by
1081
1081
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1082
1082
  0.9.18 (ruby-2.5.3).
1083
1083
  </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.3</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.4</span><span class='tstring_end'>&quot;</span></span></pre></dd>
124
124
 
125
125
  </dl>
126
126
 
@@ -1562,7 +1562,7 @@ present on `source`.</p>
1562
1562
  </div>
1563
1563
 
1564
1564
  <div id="footer">
1565
- Generated on Fri Mar 8 14:58:09 2019 by
1565
+ Generated on Fri Mar 8 18:16:45 2019 by
1566
1566
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1567
1567
  0.9.18 (ruby-2.5.3).
1568
1568
  </div>
data/doc/AeEasy.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Fri Mar 8 14:58:09 2019 by
110
+ Generated on Fri Mar 8 18:16:45 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/_index.html CHANGED
@@ -333,7 +333,7 @@
333
333
  </div>
334
334
 
335
335
  <div id="footer">
336
- Generated on Fri Mar 8 14:58:08 2019 by
336
+ Generated on Fri Mar 8 18:16:45 2019 by
337
337
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
338
338
  0.9.18 (ruby-2.5.3).
339
339
  </div>
data/doc/file.README.html CHANGED
@@ -81,7 +81,7 @@ href="http://rubydoc.org/gems/ae_easy-core/frames">here</a>.</p>
81
81
  </div></div>
82
82
 
83
83
  <div id="footer">
84
- Generated on Fri Mar 8 14:58:09 2019 by
84
+ Generated on Fri Mar 8 18:16:45 2019 by
85
85
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
86
86
  0.9.18 (ruby-2.5.3).
87
87
  </div>
data/doc/index.html CHANGED
@@ -81,7 +81,7 @@ href="http://rubydoc.org/gems/ae_easy-core/frames">here</a>.</p>
81
81
  </div></div>
82
82
 
83
83
  <div id="footer">
84
- Generated on Fri Mar 8 14:58:08 2019 by
84
+ Generated on Fri Mar 8 18:16:45 2019 by
85
85
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
86
86
  0.9.18 (ruby-2.5.3).
87
87
  </div>
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Fri Mar 8 14:58:09 2019 by
103
+ Generated on Fri Mar 8 18:16:45 2019 by
104
104
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
105
  0.9.18 (ruby-2.5.3).
106
106
  </div>
@@ -380,6 +380,9 @@ module AeEasy
380
380
  end
381
381
  item
382
382
  end
383
+ collection.bind_event(:after_insert) do |collection, item|
384
+ ensure_job item['job_id']
385
+ end
383
386
  @pages ||= collection
384
387
  end
385
388
 
@@ -424,7 +427,7 @@ module AeEasy
424
427
  item
425
428
  end
426
429
  collection.bind_event(:after_insert) do |collection, item|
427
- ensure item['job_id']
430
+ ensure_job item['_job_id']
428
431
  end
429
432
  @outputs ||= collection
430
433
  end
@@ -1,6 +1,6 @@
1
1
  module AeEasy
2
2
  module Core
3
3
  # Gem version
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ae_easy-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Rosales