ae_easy-core 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/AeEasy/Core/Config.html +1 -1
- data/doc/AeEasy/Core/Exception/OutdatedError.html +1 -1
- data/doc/AeEasy/Core/Exception.html +1 -1
- data/doc/AeEasy/Core/Helper/Cookie.html +1 -1
- data/doc/AeEasy/Core/Helper.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeDb.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeParser.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +1 -1
- data/doc/AeEasy/Core/Mock.html +1 -1
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +1 -1
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +1 -1
- data/doc/AeEasy/Core/Plugin/Executor.html +1 -1
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +1 -1
- data/doc/AeEasy/Core/Plugin/Parser.html +1 -1
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/Seeder.html +1 -1
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin.html +1 -1
- data/doc/AeEasy/Core/SmartCollection.html +1 -1
- data/doc/AeEasy/Core.html +35 -17
- data/doc/AeEasy.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/ae_easy/core/version.rb +1 -1
- data/lib/ae_easy/core.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3958e6a83cd5da530fb30f91a11d5f85303890781954743113ab3527b8e9569f
|
4
|
+
data.tar.gz: 4b4e54454e0d8ba35964b8b25c84618bcae0a46e61992953e8a33f7c1baf5c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7edc9160924862848ae31bbc0b3a91d7a8d56ee3de946ec0b99050160455d2b669b2a80db892d799a0dc8869d29528e7f584a800f159ba34a5e49a1b1ce48c56
|
7
|
+
data.tar.gz: 3c2147c134cb205548a3c9d4cf0619c9c2c7a83ddc273fbf025e71ec35a420177eb31bff04604c0fb607d3d9bda075efa808cc919ed42639b25f6f4f8aee90d2
|
data/doc/AeEasy/Core/Config.html
CHANGED
@@ -301,7 +301,7 @@
|
|
301
301
|
</div>
|
302
302
|
|
303
303
|
<div id="footer">
|
304
|
-
Generated on Fri Mar
|
304
|
+
Generated on Fri Mar 8 14:58:09 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
|
128
|
+
Generated on Fri Mar 8 14:58:10 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
|
110
|
+
Generated on Fri Mar 8 14:58:09 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
|
1063
|
+
Generated on Fri Mar 8 14:58:10 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>
|
data/doc/AeEasy/Core/Helper.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Fri Mar
|
110
|
+
Generated on Fri Mar 8 14:58:09 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>
|
@@ -3359,7 +3359,7 @@ suites only.</p>
|
|
3359
3359
|
</div>
|
3360
3360
|
|
3361
3361
|
<div id="footer">
|
3362
|
-
Generated on Fri Mar
|
3362
|
+
Generated on Fri Mar 8 14:58:10 2019 by
|
3363
3363
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
3364
3364
|
0.9.18 (ruby-2.5.3).
|
3365
3365
|
</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
|
2689
|
+
Generated on Fri Mar 8 14:58:09 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
|
153
|
+
Generated on Fri Mar 8 14:58:10 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
|
153
|
+
Generated on Fri Mar 8 14:58:10 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>
|
data/doc/AeEasy/Core/Mock.html
CHANGED
@@ -272,7 +272,7 @@
|
|
272
272
|
</div>
|
273
273
|
|
274
274
|
<div id="footer">
|
275
|
-
Generated on Fri Mar
|
275
|
+
Generated on Fri Mar 8 14:58:09 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
|
292
|
+
Generated on Fri Mar 8 14:58:09 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
|
534
|
+
Generated on Fri Mar 8 14:58:09 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
|
438
|
+
Generated on Fri Mar 8 14:58:09 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
|
252
|
+
Generated on Fri Mar 8 14:58:09 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
|
337
|
+
Generated on Fri Mar 8 14:58:09 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
|
213
|
+
Generated on Fri Mar 8 14:58:09 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
|
263
|
+
Generated on Fri Mar 8 14:58:09 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
|
228
|
+
Generated on Fri Mar 8 14:58:09 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
|
634
|
+
Generated on Fri Mar 8 14:58:09 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
|
135
|
+
Generated on Fri Mar 8 14:58:09 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>
|
data/doc/AeEasy/Core/Plugin.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Fri Mar
|
110
|
+
Generated on Fri Mar 8 14:58:09 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
|
1080
|
+
Generated on Fri Mar 8 14:58:10 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'>"</span><span class='tstring_content'>0.1.
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
124
124
|
|
125
125
|
</dl>
|
126
126
|
|
@@ -734,17 +734,17 @@ present on `source`.</p>
|
|
734
734
|
<pre class="lines">
|
735
735
|
|
736
736
|
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
737
|
+
246
|
738
|
+
247
|
739
|
+
248
|
740
|
+
249
|
741
|
+
250
|
742
|
+
251
|
743
|
+
252
|
744
|
+
253</pre>
|
745
745
|
</td>
|
746
746
|
<td>
|
747
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
747
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 246</span>
|
748
748
|
|
749
749
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_clone'>deep_clone</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>false</span>
|
750
750
|
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -845,18 +845,36 @@ present on `source`.</p>
|
|
845
845
|
217
|
846
846
|
218
|
847
847
|
219
|
848
|
-
220
|
848
|
+
220
|
849
|
+
221
|
850
|
+
222
|
851
|
+
223
|
852
|
+
224
|
853
|
+
225
|
854
|
+
226
|
855
|
+
227
|
856
|
+
228
|
857
|
+
229</pre>
|
849
858
|
</td>
|
850
859
|
<td>
|
851
860
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 211</span>
|
852
861
|
|
853
862
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>true</span>
|
863
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_hash'>hash</span> <span class='kw'>unless</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span>
|
854
864
|
<span class='id identifier rubyid_pair_collection'>pair_collection</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</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='lbracket'>[</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='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
|
855
865
|
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>?</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='op'>:</span> <span class='id identifier rubyid_hash'>hash</span>
|
856
866
|
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
|
857
867
|
<span class='id identifier rubyid_pair_collection'>pair_collection</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pair'>pair</span><span class='op'>|</span>
|
858
868
|
<span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_pair'>pair</span>
|
859
|
-
<span class='
|
869
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
|
870
|
+
<span class='id identifier rubyid_array'>array</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
871
|
+
<span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
|
872
|
+
<span class='id identifier rubyid_array'>array</span> <span class='op'><<</span> <span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span><span class='rparen'>)</span>
|
873
|
+
<span class='kw'>end</span>
|
874
|
+
<span class='id identifier rubyid_target'>target</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_array'>array</span>
|
875
|
+
<span class='kw'>next</span>
|
876
|
+
<span class='kw'>end</span>
|
877
|
+
<span class='id identifier rubyid_target'>target</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span><span class='rparen'>)</span>
|
860
878
|
<span class='kw'>end</span>
|
861
879
|
<span class='id identifier rubyid_target'>target</span>
|
862
880
|
<span class='kw'>end</span></pre>
|
@@ -924,12 +942,12 @@ present on `source`.</p>
|
|
924
942
|
<pre class="lines">
|
925
943
|
|
926
944
|
|
927
|
-
|
928
|
-
|
929
|
-
|
945
|
+
236
|
946
|
+
237
|
947
|
+
238</pre>
|
930
948
|
</td>
|
931
949
|
<td>
|
932
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
950
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 236</span>
|
933
951
|
|
934
952
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys!'>deep_stringify_keys!</span> <span class='id identifier rubyid_hash'>hash</span>
|
935
953
|
<span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='kw'>false</span>
|
@@ -1544,7 +1562,7 @@ present on `source`.</p>
|
|
1544
1562
|
</div>
|
1545
1563
|
|
1546
1564
|
<div id="footer">
|
1547
|
-
Generated on Fri Mar
|
1565
|
+
Generated on Fri Mar 8 14:58:09 2019 by
|
1548
1566
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1549
1567
|
0.9.18 (ruby-2.5.3).
|
1550
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
|
110
|
+
Generated on Fri Mar 8 14:58:09 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
|
336
|
+
Generated on Fri Mar 8 14:58:08 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
|
84
|
+
Generated on Fri Mar 8 14:58:09 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
|
84
|
+
Generated on Fri Mar 8 14:58:08 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
|
103
|
+
Generated on Fri Mar 8 14:58:09 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>
|
data/lib/ae_easy/core/version.rb
CHANGED
data/lib/ae_easy/core.rb
CHANGED
@@ -209,12 +209,21 @@ module AeEasy
|
|
209
209
|
#
|
210
210
|
# @return [Hash]
|
211
211
|
def deep_stringify_keys hash, should_clone = true
|
212
|
+
return hash unless hash.is_a? Hash
|
212
213
|
pair_collection = hash.map{|k,v| [k.to_s,v]}
|
213
214
|
target = should_clone ? {} : hash
|
214
215
|
target.clear
|
215
216
|
pair_collection.each do |pair|
|
216
217
|
key, value = pair
|
217
|
-
|
218
|
+
if value.is_a? Array
|
219
|
+
array = []
|
220
|
+
value.each do |item|
|
221
|
+
array << deep_stringify_keys(item, should_clone)
|
222
|
+
end
|
223
|
+
target[key] = array
|
224
|
+
next
|
225
|
+
end
|
226
|
+
target[key] = deep_stringify_keys(value, should_clone)
|
218
227
|
end
|
219
228
|
target
|
220
229
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_easy-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Rosales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: answersengine
|