doing 2.1.42 → 2.1.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/bin/commands/changes.rb +11 -1
- data/bin/commands/flag.rb +1 -1
- data/bin/commands/grep.rb +12 -2
- data/bin/commands/last.rb +2 -0
- data/bin/commands/on.rb +13 -1
- data/bin/commands/recent.rb +4 -1
- data/bin/commands/show.rb +8 -0
- data/bin/commands/since.rb +6 -2
- data/bin/commands/template.rb +14 -25
- data/bin/commands/today.rb +4 -1
- data/bin/commands/view.rb +36 -73
- data/bin/commands/views.rb +102 -5
- data/bin/commands/yesterday.rb +3 -1
- data/bin/doing +31 -4
- data/docs/doc/Array.html +12 -2
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/ArrayCleanup.html +316 -0
- data/docs/doc/Doing/ArrayNestedHash.html +1 -1
- data/docs/doc/Doing/ArrayTags.html +1 -1
- data/docs/doc/Doing/CSVExport.html +1 -1
- data/docs/doc/Doing/CalendarImport.html +1 -1
- data/docs/doc/Doing/Change.html +74 -3
- data/docs/doc/Doing/Changes.html +3 -3
- data/docs/doc/Doing/ChronifyArray.html +1 -1
- data/docs/doc/Doing/ChronifyNumeric.html +1 -1
- data/docs/doc/Doing/ChronifyString.html +1 -1
- data/docs/doc/Doing/Color.html +1 -1
- data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
- data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
- data/docs/doc/Doing/Completion/StringUtils.html +1 -1
- data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +80 -1
- data/docs/doc/Doing/DayOneRenderer.html +1 -1
- data/docs/doc/Doing/DayoneExport.html +1 -1
- data/docs/doc/Doing/DoingImport.html +1 -1
- data/docs/doc/Doing/Entry.html +109 -4
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
- data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
- data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
- data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
- data/docs/doc/Doing/Errors/NoResults.html +1 -1
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
- data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/HTMLExport.html +1 -1
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +1 -1
- data/docs/doc/Doing/ItemDates.html +1 -1
- data/docs/doc/Doing/ItemQuery.html +1 -1
- data/docs/doc/Doing/ItemState.html +1 -1
- data/docs/doc/Doing/ItemTags.html +1 -1
- data/docs/doc/Doing/Items.html +1 -1
- data/docs/doc/Doing/JSONExport.html +1 -1
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/MarkdownExport.html +1 -1
- data/docs/doc/Doing/Note.html +1 -1
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +1 -1
- data/docs/doc/Doing/Prompt.html +1 -1
- data/docs/doc/Doing/PromptChoose.html +1 -1
- data/docs/doc/Doing/PromptFZF.html +1 -1
- data/docs/doc/Doing/PromptInput.html +1 -1
- data/docs/doc/Doing/PromptSTD.html +1 -1
- data/docs/doc/Doing/PromptYN.html +1 -1
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/StringHighlight.html +1 -1
- data/docs/doc/Doing/StringNormalize.html +35 -1
- data/docs/doc/Doing/StringQuery.html +1 -1
- data/docs/doc/Doing/StringTags.html +1 -1
- data/docs/doc/Doing/StringTransform.html +1 -1
- data/docs/doc/Doing/StringTruncate.html +1 -1
- data/docs/doc/Doing/StringURL.html +1 -1
- data/docs/doc/Doing/SymbolNormalize.html +1 -1
- data/docs/doc/Doing/TaskPaperExport.html +1 -1
- data/docs/doc/Doing/TemplateExport.html +1 -1
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/TimingImport.html +1 -1
- data/docs/doc/Doing/Types.html +23 -18
- data/docs/doc/Doing/Util/Backup.html +1 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/Version.html +1 -1
- data/docs/doc/Doing/WWID.html +71 -3
- data/docs/doc/Doing.html +2 -2
- data/docs/doc/FalseClass.html +11 -1
- data/docs/doc/GLI/Commands/Help.html +1 -1
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +461 -6
- data/docs/doc/Numeric.html +1 -1
- data/docs/doc/Object.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +4 -4
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +68 -3
- data/docs/doc/TrueClass.html +11 -1
- data/docs/doc/_index.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +511 -407
- data/docs/doc/top-level-namespace.html +3 -1
- data/doing.rdoc +163 -7
- data/lib/completion/_doing.zsh +13 -13
- data/lib/completion/doing.bash +22 -22
- data/lib/completion/doing.fish +24 -1
- data/lib/doing/add_options.rb +40 -1
- data/lib/doing/changelog/change.rb +13 -5
- data/lib/doing/changelog/changes.rb +11 -2
- data/lib/doing/changelog/entry.rb +9 -2
- data/lib/doing/configuration.rb +21 -0
- data/lib/doing/good.rb +18 -1
- data/lib/doing/hash.rb +126 -22
- data/lib/doing/normalize.rb +13 -0
- data/lib/doing/pager.rb +1 -1
- data/lib/doing/types.rb +9 -8
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/display.rb +4 -1
- data/lib/doing/wwid/filter.rb +6 -3
- data/lib/doing/wwid/wwid.rb +21 -3
- data/lib/doing.rb +9 -0
- metadata +3 -2
data/docs/doc/GLI/Commands.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.27 (ruby-3.0.1).
|
113
113
|
</div>
|
data/docs/doc/GLI.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.27 (ruby-3.0.1).
|
113
113
|
</div>
|
data/docs/doc/Hash.html
CHANGED
@@ -261,7 +261,99 @@
|
|
261
261
|
<li class="public ">
|
262
262
|
<span class="summary_signature">
|
263
263
|
|
264
|
-
<a href="#
|
264
|
+
<a href="#delete_unless_key-instance_method" title="#delete_unless_key (instance method)">#<strong>delete_unless_key</strong>(key, to_delete) ⇒ Object </a>
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
</span>
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
<span class="summary_desc"><div class='inline'><p>Delete array of keys unless key exists.</p>
|
279
|
+
</div></span>
|
280
|
+
|
281
|
+
</li>
|
282
|
+
|
283
|
+
|
284
|
+
<li class="public ">
|
285
|
+
<span class="summary_signature">
|
286
|
+
|
287
|
+
<a href="#remove_empty-instance_method" title="#remove_empty (instance method)">#<strong>remove_empty</strong> ⇒ Object </a>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</span>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'><p>Remove keys with empty values.</p>
|
302
|
+
</div></span>
|
303
|
+
|
304
|
+
</li>
|
305
|
+
|
306
|
+
|
307
|
+
<li class="public ">
|
308
|
+
<span class="summary_signature">
|
309
|
+
|
310
|
+
<a href="#rename_key-instance_method" title="#rename_key (instance method)">#<strong>rename_key</strong>(old_key, new_key, keep: false) ⇒ Object </a>
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
</span>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
<span class="summary_desc"><div class='inline'><p>Rename a key, deleting old key.</p>
|
325
|
+
</div></span>
|
326
|
+
|
327
|
+
</li>
|
328
|
+
|
329
|
+
|
330
|
+
<li class="public ">
|
331
|
+
<span class="summary_signature">
|
332
|
+
|
333
|
+
<a href="#rename_keys-instance_method" title="#rename_keys (instance method)">#<strong>rename_keys</strong>(*pairs) ⇒ Object </a>
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
</span>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
<span class="summary_desc"><div class='inline'><p>Rename keys in batch.</p>
|
348
|
+
</div></span>
|
349
|
+
|
350
|
+
</li>
|
351
|
+
|
352
|
+
|
353
|
+
<li class="public ">
|
354
|
+
<span class="summary_signature">
|
355
|
+
|
356
|
+
<a href="#stringify_keys-instance_method" title="#stringify_keys (instance method)">#<strong>stringify_keys</strong> ⇒ Hash </a>
|
265
357
|
|
266
358
|
|
267
359
|
|
@@ -284,7 +376,29 @@
|
|
284
376
|
<li class="public ">
|
285
377
|
<span class="summary_signature">
|
286
378
|
|
287
|
-
<a href="#
|
379
|
+
<a href="#stringify_values-instance_method" title="#stringify_values (instance method)">#<strong>stringify_values</strong> ⇒ Object </a>
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
</span>
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
394
|
+
|
395
|
+
</li>
|
396
|
+
|
397
|
+
|
398
|
+
<li class="public ">
|
399
|
+
<span class="summary_signature">
|
400
|
+
|
401
|
+
<a href="#symbolize_keys-instance_method" title="#symbolize_keys (instance method)">#<strong>symbolize_keys</strong> ⇒ Hash </a>
|
288
402
|
|
289
403
|
|
290
404
|
|
@@ -301,6 +415,51 @@
|
|
301
415
|
<span class="summary_desc"><div class='inline'><p>Turn all keys into symbols.</p>
|
302
416
|
</div></span>
|
303
417
|
|
418
|
+
</li>
|
419
|
+
|
420
|
+
|
421
|
+
<li class="public ">
|
422
|
+
<span class="summary_signature">
|
423
|
+
|
424
|
+
<a href="#tag_filter_to_options-instance_method" title="#tag_filter_to_options (instance method)">#<strong>tag_filter_to_options</strong> ⇒ Object </a>
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
</span>
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
439
|
+
|
440
|
+
</li>
|
441
|
+
|
442
|
+
|
443
|
+
<li class="public ">
|
444
|
+
<span class="summary_signature">
|
445
|
+
|
446
|
+
<a href="#to_view-instance_method" title="#to_view (instance method)">#<strong>to_view</strong> ⇒ Hash </a>
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
</span>
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
<span class="summary_desc"><div class='inline'><p>Convert an options hash to a view config.</p>
|
461
|
+
</div></span>
|
462
|
+
|
304
463
|
</li>
|
305
464
|
|
306
465
|
|
@@ -463,12 +622,205 @@
|
|
463
622
|
|
464
623
|
|
465
624
|
</h3>
|
625
|
+
</div>
|
626
|
+
|
627
|
+
<div class="method_details ">
|
628
|
+
<h3 class="signature " id="delete_unless_key-instance_method">
|
629
|
+
|
630
|
+
#<strong>delete_unless_key</strong>(key, to_delete) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
</h3><div class="docstring">
|
637
|
+
<div class="discussion">
|
638
|
+
<p>Delete array of keys unless key exists</p>
|
639
|
+
|
640
|
+
|
641
|
+
</div>
|
642
|
+
</div>
|
643
|
+
<div class="tags">
|
644
|
+
<p class="tag_title">Parameters:</p>
|
645
|
+
<ul class="param">
|
646
|
+
|
647
|
+
<li>
|
648
|
+
|
649
|
+
<span class='name'>key</span>
|
650
|
+
|
651
|
+
|
652
|
+
<span class='type'></span>
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
—
|
657
|
+
<div class='inline'><p>The key to verify</p>
|
658
|
+
</div>
|
659
|
+
|
660
|
+
</li>
|
661
|
+
|
662
|
+
<li>
|
663
|
+
|
664
|
+
<span class='name'>to_delete</span>
|
665
|
+
|
666
|
+
|
667
|
+
<span class='type'>(<tt><span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
668
|
+
|
669
|
+
|
670
|
+
|
671
|
+
—
|
672
|
+
<div class='inline'><p>the keys to delete if key doesn't exist</p>
|
673
|
+
</div>
|
674
|
+
|
675
|
+
</li>
|
676
|
+
|
677
|
+
</ul>
|
678
|
+
|
679
|
+
|
680
|
+
</div>
|
681
|
+
</div>
|
682
|
+
|
683
|
+
<div class="method_details ">
|
684
|
+
<h3 class="signature " id="remove_empty-instance_method">
|
685
|
+
|
686
|
+
#<strong>remove_empty</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
|
692
|
+
</h3><div class="docstring">
|
693
|
+
<div class="discussion">
|
694
|
+
<p>Remove keys with empty values</p>
|
695
|
+
|
696
|
+
|
697
|
+
</div>
|
698
|
+
</div>
|
699
|
+
<div class="tags">
|
700
|
+
|
701
|
+
|
702
|
+
</div>
|
703
|
+
</div>
|
704
|
+
|
705
|
+
<div class="method_details ">
|
706
|
+
<h3 class="signature " id="rename_key-instance_method">
|
707
|
+
|
708
|
+
#<strong>rename_key</strong>(old_key, new_key, keep: false) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
</h3><div class="docstring">
|
715
|
+
<div class="discussion">
|
716
|
+
<p>Rename a key, deleting old key</p>
|
717
|
+
|
718
|
+
|
719
|
+
</div>
|
720
|
+
</div>
|
721
|
+
<div class="tags">
|
722
|
+
<p class="tag_title">Parameters:</p>
|
723
|
+
<ul class="param">
|
724
|
+
|
725
|
+
<li>
|
726
|
+
|
727
|
+
<span class='name'>old_key</span>
|
728
|
+
|
729
|
+
|
730
|
+
<span class='type'></span>
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
—
|
735
|
+
<div class='inline'><p>The original key</p>
|
736
|
+
</div>
|
737
|
+
|
738
|
+
</li>
|
739
|
+
|
740
|
+
<li>
|
741
|
+
|
742
|
+
<span class='name'>new_key</span>
|
743
|
+
|
744
|
+
|
745
|
+
<span class='type'></span>
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
—
|
750
|
+
<div class='inline'><p>The new key</p>
|
751
|
+
</div>
|
752
|
+
|
753
|
+
</li>
|
754
|
+
|
755
|
+
<li>
|
756
|
+
|
757
|
+
<span class='name'>keep</span>
|
758
|
+
|
759
|
+
|
760
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
761
|
+
|
762
|
+
|
763
|
+
<em class="default">(defaults to: <tt>false</tt>)</em>
|
764
|
+
|
765
|
+
|
766
|
+
—
|
767
|
+
<div class='inline'><p>if true, keep old key
|
768
|
+
in addition to new key</p>
|
769
|
+
</div>
|
770
|
+
|
771
|
+
</li>
|
772
|
+
|
773
|
+
</ul>
|
774
|
+
|
775
|
+
|
776
|
+
</div>
|
777
|
+
</div>
|
778
|
+
|
779
|
+
<div class="method_details ">
|
780
|
+
<h3 class="signature " id="rename_keys-instance_method">
|
781
|
+
|
782
|
+
#<strong>rename_keys</strong>(*pairs) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
</h3><div class="docstring">
|
789
|
+
<div class="discussion">
|
790
|
+
<p>Rename keys in batch</p>
|
791
|
+
|
792
|
+
|
793
|
+
</div>
|
794
|
+
</div>
|
795
|
+
<div class="tags">
|
796
|
+
<p class="tag_title">Parameters:</p>
|
797
|
+
<ul class="param">
|
798
|
+
|
799
|
+
<li>
|
800
|
+
|
801
|
+
<span class='name'>pairs</span>
|
802
|
+
|
803
|
+
|
804
|
+
<span class='type'>(<tt><span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
805
|
+
|
806
|
+
|
807
|
+
|
808
|
+
—
|
809
|
+
<div class='inline'><p>pairs of old and new keys</p>
|
810
|
+
</div>
|
811
|
+
|
812
|
+
</li>
|
813
|
+
|
814
|
+
</ul>
|
815
|
+
|
816
|
+
|
817
|
+
</div>
|
466
818
|
</div>
|
467
819
|
|
468
820
|
<div class="method_details ">
|
469
821
|
<h3 class="signature " id="stringify_keys-instance_method">
|
470
822
|
|
471
|
-
#<strong>stringify_keys</strong> ⇒ <tt><span class='object_link'><a href="
|
823
|
+
#<strong>stringify_keys</strong> ⇒ <tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>
|
472
824
|
|
473
825
|
|
474
826
|
|
@@ -478,21 +830,52 @@
|
|
478
830
|
<div class="discussion">
|
479
831
|
<p>Turn all keys into string</p>
|
480
832
|
|
481
|
-
<p>
|
833
|
+
<p>If the hash has both a string and a symbol for key,
|
834
|
+
keep the string value, discarding the symnbol value</p>
|
482
835
|
|
483
836
|
|
484
837
|
</div>
|
485
838
|
</div>
|
486
839
|
<div class="tags">
|
487
840
|
|
841
|
+
<p class="tag_title">Returns:</p>
|
842
|
+
<ul class="return">
|
843
|
+
|
844
|
+
<li>
|
845
|
+
|
846
|
+
|
847
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>)</span>
|
848
|
+
|
849
|
+
|
850
|
+
|
851
|
+
—
|
852
|
+
<div class='inline'><p>a copy of the hash where all its
|
853
|
+
keys are strings</p>
|
854
|
+
</div>
|
855
|
+
|
856
|
+
</li>
|
857
|
+
|
858
|
+
</ul>
|
488
859
|
|
489
860
|
</div>
|
861
|
+
</div>
|
862
|
+
|
863
|
+
<div class="method_details ">
|
864
|
+
<h3 class="signature " id="stringify_values-instance_method">
|
865
|
+
|
866
|
+
#<strong>stringify_values</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
867
|
+
|
868
|
+
|
869
|
+
|
870
|
+
|
871
|
+
|
872
|
+
</h3>
|
490
873
|
</div>
|
491
874
|
|
492
875
|
<div class="method_details ">
|
493
876
|
<h3 class="signature " id="symbolize_keys-instance_method">
|
494
877
|
|
495
|
-
#<strong>symbolize_keys</strong> ⇒ <tt><span class='object_link'><a href="
|
878
|
+
#<strong>symbolize_keys</strong> ⇒ <tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>
|
496
879
|
|
497
880
|
|
498
881
|
|
@@ -502,11 +885,83 @@
|
|
502
885
|
<div class="discussion">
|
503
886
|
<p>Turn all keys into symbols</p>
|
504
887
|
|
888
|
+
<p>If the hash has both a string and a symbol for a key,
|
889
|
+
keep the symbol value and discard the string value</p>
|
890
|
+
|
891
|
+
|
892
|
+
</div>
|
893
|
+
</div>
|
894
|
+
<div class="tags">
|
895
|
+
|
896
|
+
<p class="tag_title">Returns:</p>
|
897
|
+
<ul class="return">
|
898
|
+
|
899
|
+
<li>
|
900
|
+
|
901
|
+
|
902
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>)</span>
|
903
|
+
|
904
|
+
|
905
|
+
|
906
|
+
—
|
907
|
+
<div class='inline'><p>a copy of the hash where all its
|
908
|
+
keys are symbols</p>
|
909
|
+
</div>
|
910
|
+
|
911
|
+
</li>
|
912
|
+
|
913
|
+
</ul>
|
914
|
+
|
915
|
+
</div>
|
916
|
+
</div>
|
917
|
+
|
918
|
+
<div class="method_details ">
|
919
|
+
<h3 class="signature " id="tag_filter_to_options-instance_method">
|
920
|
+
|
921
|
+
#<strong>tag_filter_to_options</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
|
927
|
+
</h3>
|
928
|
+
</div>
|
929
|
+
|
930
|
+
<div class="method_details ">
|
931
|
+
<h3 class="signature " id="to_view-instance_method">
|
932
|
+
|
933
|
+
#<strong>to_view</strong> ⇒ <tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
|
938
|
+
|
939
|
+
</h3><div class="docstring">
|
940
|
+
<div class="discussion">
|
941
|
+
<p>Convert an options hash to a view config</p>
|
942
|
+
|
505
943
|
|
506
944
|
</div>
|
507
945
|
</div>
|
508
946
|
<div class="tags">
|
509
947
|
|
948
|
+
<p class="tag_title">Returns:</p>
|
949
|
+
<ul class="return">
|
950
|
+
|
951
|
+
<li>
|
952
|
+
|
953
|
+
|
954
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Hash (class)">Hash</a></span></tt>)</span>
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
—
|
959
|
+
<div class='inline'><p>View representation of the object.</p>
|
960
|
+
</div>
|
961
|
+
|
962
|
+
</li>
|
963
|
+
|
964
|
+
</ul>
|
510
965
|
|
511
966
|
</div>
|
512
967
|
</div>
|
@@ -516,7 +971,7 @@
|
|
516
971
|
</div>
|
517
972
|
|
518
973
|
<div id="footer">
|
519
|
-
Generated on
|
974
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
520
975
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
521
976
|
0.9.27 (ruby-3.0.1).
|
522
977
|
</div>
|
data/docs/doc/Numeric.html
CHANGED
@@ -214,7 +214,7 @@
|
|
214
214
|
</div>
|
215
215
|
|
216
216
|
<div id="footer">
|
217
|
-
Generated on
|
217
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
218
218
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
219
219
|
0.9.27 (ruby-3.0.1).
|
220
220
|
</div>
|
data/docs/doc/Object.html
CHANGED
@@ -193,7 +193,7 @@ has content</p>
|
|
193
193
|
</div>
|
194
194
|
|
195
195
|
<div id="footer">
|
196
|
-
Generated on
|
196
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
197
197
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
198
198
|
0.9.27 (ruby-3.0.1).
|
199
199
|
</div>
|
@@ -162,7 +162,7 @@
|
|
162
162
|
</div>
|
163
163
|
|
164
164
|
<div id="footer">
|
165
|
-
Generated on
|
165
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
166
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
167
167
|
0.9.27 (ruby-3.0.1).
|
168
168
|
</div>
|
@@ -293,7 +293,7 @@
|
|
293
293
|
</div>
|
294
294
|
|
295
295
|
<div id="footer">
|
296
|
-
Generated on
|
296
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
297
297
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
298
298
|
0.9.27 (ruby-3.0.1).
|
299
299
|
</div>
|
@@ -485,7 +485,7 @@
|
|
485
485
|
</div>
|
486
486
|
|
487
487
|
<div id="footer">
|
488
|
-
Generated on
|
488
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
489
489
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
490
490
|
0.9.27 (ruby-3.0.1).
|
491
491
|
</div>
|
@@ -126,7 +126,7 @@ A phrase clause generates an Elasticsearch match_phrase query.</p>
|
|
126
126
|
</div>
|
127
127
|
|
128
128
|
<div id="footer">
|
129
|
-
Generated on
|
129
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
130
130
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
131
131
|
0.9.27 (ruby-3.0.1).
|
132
132
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.27 (ruby-3.0.1).
|
120
120
|
</div>
|
@@ -283,7 +283,7 @@
|
|
283
283
|
</div>
|
284
284
|
|
285
285
|
<div id="footer">
|
286
|
-
Generated on
|
286
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
287
287
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
288
288
|
0.9.27 (ruby-3.0.1).
|
289
289
|
</div>
|
data/docs/doc/PhraseParser.html
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
</div>
|
106
106
|
|
107
107
|
<div id="footer">
|
108
|
-
Generated on
|
108
|
+
Generated on Tue Mar 22 10:06:16 2022 by
|
109
109
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
110
|
0.9.27 (ruby-3.0.1).
|
111
111
|
</div>
|
data/docs/doc/Status.html
CHANGED
@@ -316,7 +316,7 @@
|
|
316
316
|
</div>
|
317
317
|
|
318
318
|
<div id="footer">
|
319
|
-
Generated on
|
319
|
+
Generated on Tue Mar 22 10:06:15 2022 by
|
320
320
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
321
321
|
0.9.27 (ruby-3.0.1).
|
322
322
|
</div>
|