Skip to content

Commit

Permalink
Fix compatibility with Ruby 3.4
Browse files Browse the repository at this point in the history
@fixed Ruby 3.4 compatibility
  • Loading branch information
ttscoff committed Jan 12, 2025
1 parent c19d3de commit 00601a6
Show file tree
Hide file tree
Showing 114 changed files with 167 additions and 135 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
source 'http://rubygems.org'

gem 'rubocop'

gemspec
39 changes: 37 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
PATH
remote: .
specs:
doing (2.1.87)
doing (2.1.88)
base64 (~> 0.2)
chronic (~> 0.10, >= 0.10.2)
csv (~> 3.3)
deep_merge (~> 1.2, >= 1.2.1)
gli (~> 2.20, >= 2.20.1)
haml (~> 5.0.0, >= 5.0.0)
logger (~> 1.4, >= 1.4.2)
ostruct (~> 0.6)
parslet (~> 2.0, >= 2.0.0)
plist (~> 3.6, >= 3.6.0)
reline (~> 0.6)
safe_yaml (~> 1.0)
tty-link (~> 0.1, >= 0.1.1)
tty-markdown (~> 0.7, >= 0.7.0)
Expand All @@ -19,28 +24,57 @@ PATH
GEM
remote: http://rubygems.org/
specs:
ast (2.4.2)
base64 (0.2.0)
chronic (0.10.2)
csv (3.3.2)
deep_merge (1.2.2)
github-markup (4.0.2)
gli (2.22.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
io-console (0.8.0)
json (2.9.1)
kramdown (2.5.1)
rexml (>= 3.3.9)
language_server-protocol (3.17.0.3)
logger (1.6.4)
ostruct (0.6.1)
parallel (1.24.0)
parallel_tests (3.13.0)
parallel
parser (3.3.6.0)
ast (~> 2.4.1)
racc
parslet (2.0.0)
pastel (0.8.0)
tty-color (~> 0.5)
plist (3.7.1)
power_assert (2.0.3)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rdoc (6.3.4.1)
redcarpet (3.6.0)
regexp_parser (2.9.3)
reline (0.6.0)
io-console (~> 0.5)
rexml (3.3.9)
rouge (4.5.1)
rubocop (1.69.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
safe_yaml (1.0.5)
strings (0.2.1)
strings-ansi (~> 0.2)
Expand Down Expand Up @@ -89,9 +123,10 @@ DEPENDENCIES
rake (~> 13.0, >= 13.0.1)
rdoc (~> 6.3.1)
redcarpet (~> 3.5, >= 3.5.1)
rubocop
test-unit (~> 3.4.4)
tty-spinner (~> 0.9, >= 0.9.3)
yard (~> 0.9, >= 0.9.36)

BUNDLED WITH
2.2.17
2.5.23
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _If you're one of the rare people like me who find this useful, feel free to

<!--README-->

The current version of `doing` is <!--VER-->2.1.86<!--END VER-->.
The current version of `doing` is <!--VER-->2.1.87<!--END VER-->.

Find all of the documentation in the [doing wiki][wiki].

Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Array.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h3 class="signature " id="utf8-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h2>Defined Under Namespace</h2>
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser/Clause.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ <h3 class="signature " id="term-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser/Operator.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h3 class="signature first" id="symbol-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser/Query.html
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ <h3 class="signature " id="to_elasticsearch-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser/QueryParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/BooleanTermParser/QueryTransformer.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h2>
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:58 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ArrayCleanup.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ <h3 class="signature " id="remove_empty!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ArrayNestedHash.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h3 class="signature first" id="nested_hash-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ArrayTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h5 class="example_title"><div class='inline'><p>Convert an array of strings wit
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:58 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ByDayExport.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h3 class="signature " id="settings-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/CSVExport.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h3 class="signature " id="settings-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/CalendarImport.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h3 class="signature " id="settings-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Change.html
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ <h3 class="signature " id="to_s-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ <h3 class="signature " id="versions-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ChronifyArray.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h3 class="signature " id="to_years-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ChronifyNumeric.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ <h3 class="signature " id="time_string-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/ChronifyString.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ <h3 class="signature " id="to_seconds-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Color.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ <h3 class="signature " id="uncolor-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:58 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion.html
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ <h3 class="signature " id="parse_options-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:58 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion/BashCompletions.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h3 class="signature " id="main_function-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion/FigCompletions.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h3 class="signature " id="generate_subcommand_option_completions-instance_metho
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion/FishCompletions.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h3 class="signature " id="generate_subcommand_option_completions-instance_metho
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion/StringUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h3 class="signature " id="short_desc-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:48 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Completion/ZshCompletions.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h3 class="signature " id="generate_subcommand_option_completions-instance_metho
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ <h3 class="signature " id="value_for_key-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/DayOneRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ <h3 class="signature first" id="get_binding-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/DayoneExport.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h3 class="signature " id="to_dayone-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/DoingExport.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h3 class="signature " id="settings-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/DoingImport.html
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ <h3 class="signature " id="settings-class_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/Doing/Entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h3 class="signature " id="to_s-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 14 15:35:49 2024 by
Generated on Sat Dec 14 15:35:59 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.3.0).
</div>
Expand Down
Loading

0 comments on commit 00601a6

Please sign in to comment.