Skip to content

Commit

Permalink
release 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
infused committed Dec 27, 2023
1 parent 1c6d932 commit 232015a
Show file tree
Hide file tree
Showing 45 changed files with 163 additions and 159 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'head']
ruby-version: ['3.0', '3.1', '3.2', '3.3', 'head']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 4.3.0

- Drop support for Ruby versions older than 3.0
- Require CSV gem

## 4.2.4

- Exclude unnecessary files from the gem file list
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2006-2023 Keith Morrison <keithm@infused.org>
Copyright (c) 2006-2024 Keith Morrison <keithm@infused.org>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ DBF is a small, fast Ruby library for reading dBase, xBase, Clipper, and FoxPro
subject line
* Change log: <https://github.com/infused/dbf/blob/master/CHANGELOG.md>

NOTE:

NOTE: Beginning with version 4, we have dropped support for Ruby 2.0, 2.1, 2.2, and 2.3. If you need support for these older Rubies,
please use 3.0.x (<https://github.com/infused.org/dbf/tree/3_stable>)

Expand All @@ -26,7 +28,7 @@ please use 2.0.x (<https://github.com/infused/dbf/tree/2_stable>)

DBF is tested to work with the following versions of Ruby:

* Ruby 2.4.x, 2.5.x, 2.6.x, 2.7.x, 3.0.x, 3.1.x, and 3.2.x
* Ruby 3.0.x, 3.1.x, 3.2.x, 3.3.x

## Installation

Expand Down Expand Up @@ -362,7 +364,7 @@ Data type descriptions

## License

Copyright (c) 2006-2023 Keith Morrison <<keithm@infused.org>>
Copyright (c) 2006-2024 Keith Morrison <<keithm@infused.org>>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
3 changes: 2 additions & 1 deletion dbf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Gem::Specification.new do |s|
s.files = Dir['README.md', 'CHANGELOG.md', 'LICENSE', '{bin,lib,spec}/**/*', 'dbf.gemspec']
s.require_paths = ['lib']
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.0')
s.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
s.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
s.metadata['rubygems_mfa_required'] = 'true'
s.add_runtime_dependency 'csv'
end
8 changes: 4 additions & 4 deletions doc/DBF.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Module: DBF

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -109,7 +109,7 @@ <h2>
<dt id="VERSION-constant" class="">VERSION =

</dt>
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>4.2.2</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>4.2.4</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>

<dt id="ENCODINGS-constant" class="">ENCODINGS =

Expand Down Expand Up @@ -190,9 +190,9 @@ <h2>
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
18 changes: 5 additions & 13 deletions doc/DBF/Column.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::Column

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -910,22 +910,14 @@ <h3 class="signature " id="underscored_name-instance_method">
71
72
73
74
75
76
77
78</pre>
74</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/dbf/column.rb', line 70</span>

<span class='kw'>def</span> <span class='id identifier rubyid_underscored_name'>underscored_name</span>
<span class='ivar'>@underscored_name</span> <span class='op'>||=</span> <span class='kw'>begin</span>
<span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>::</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
<span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>([A-Z]+)([A-Z][a-z])</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\1_\2</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
<span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>([a-z\d])([A-Z])</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\1_\2</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
<span class='period'>.</span><span class='id identifier rubyid_tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>_</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
<span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span>
<span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>([a-z\d])([A-Z])</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\1_\2</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>_</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
Expand All @@ -938,9 +930,9 @@ <h3 class="signature " id="underscored_name-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/Column/LengthError.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Exception: DBF::Column::LengthError

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -114,9 +114,9 @@
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/Column/NameError.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Exception: DBF::Column::NameError

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -114,9 +114,9 @@
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Module: DBF::ColumnType

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -105,9 +105,9 @@ <h2>Defined Under Namespace</h2>
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Base

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -379,9 +379,9 @@ <h3 class="signature " id="encoding-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Boolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Boolean

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -228,9 +228,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Currency.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Currency

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -228,9 +228,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Date.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Date

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -232,9 +232,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/DateTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::DateTime

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -236,9 +236,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Double.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Double

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -228,9 +228,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Float.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Float

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -228,9 +228,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/General.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::General

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -228,9 +228,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions doc/DBF/ColumnType/Memo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Class: DBF::ColumnType::Memo

&mdash; Documentation by YARD 0.9.28
&mdash; Documentation by YARD 0.9.34

</title>

Expand Down Expand Up @@ -236,9 +236,9 @@ <h3 class="signature first" id="type_cast-instance_method">
</div>

<div id="footer">
Generated on Tue Jan 17 13:25:53 2023 by
Generated on Wed Dec 27 10:30:38 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.2.0).
0.9.34 (ruby-3.3.0).
</div>

</div>
Expand Down
Loading

0 comments on commit 232015a

Please sign in to comment.