dbf 4.2.4 → 4.3.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE +1 -1
- data/README.md +5 -3
- data/dbf.gemspec +2 -1
- data/lib/dbf/column.rb +1 -5
- data/lib/dbf/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b15db465fcb977bf3684285e38b07c4748bc9b8713274a80cc09a27fdefda8ca
|
|
4
|
+
data.tar.gz: f3009c19a0c6fd3f7291486a72a32a97a1a9f29fe4f24cd34f4d6a8e171b9879
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d99ab54892f6a2454a1c46191eea92c56d3efe4319e592cf767b53376b9c11c650d339aa6e0a88d4b959997a4f5beddcfd20f1dd9080ef60cef4ebf76bcd2214
|
|
7
|
+
data.tar.gz: da0a365801ac686861e92c5f22bf6b5fe9b383c14b7f65db6a2dcb95d3ec00be680a2b44b959b040296ccf833b778d64dd6677c6717ae08450ec7e312bde2b02
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
DBF is a small, fast Ruby library for reading dBase, xBase, Clipper, and FoxPro database files.
|
|
11
11
|
|
|
12
12
|
* Project page: <https://github.com/infused/dbf>
|
|
13
|
-
* API Documentation: <https://
|
|
13
|
+
* API Documentation: <https://rubydoc.info/github/infused/dbf>
|
|
14
14
|
* Report bugs: <https://github.com/infused/dbf/issues>
|
|
15
15
|
* Questions: Email <mailto:keithm@infused.org> and put DBF somewhere in the
|
|
16
16
|
subject line
|
|
17
17
|
* Change log: <https://github.com/infused/dbf/blob/master/CHANGELOG.md>
|
|
18
18
|
|
|
19
|
+
NOTE:
|
|
20
|
+
|
|
19
21
|
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,
|
|
20
22
|
please use 3.0.x (<https://github.com/infused.org/dbf/tree/3_stable>)
|
|
21
23
|
|
|
@@ -26,7 +28,7 @@ please use 2.0.x (<https://github.com/infused/dbf/tree/2_stable>)
|
|
|
26
28
|
|
|
27
29
|
DBF is tested to work with the following versions of Ruby:
|
|
28
30
|
|
|
29
|
-
* Ruby
|
|
31
|
+
* Ruby 3.0.x, 3.1.x, 3.2.x, 3.3.x
|
|
30
32
|
|
|
31
33
|
## Installation
|
|
32
34
|
|
|
@@ -362,7 +364,7 @@ Data type descriptions
|
|
|
362
364
|
|
|
363
365
|
## License
|
|
364
366
|
|
|
365
|
-
Copyright (c) 2006-
|
|
367
|
+
Copyright (c) 2006-2024 Keith Morrison <<keithm@infused.org>>
|
|
366
368
|
|
|
367
369
|
Permission is hereby granted, free of charge, to any person
|
|
368
370
|
obtaining a copy of this software and associated documentation
|
data/dbf.gemspec
CHANGED
|
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.files = Dir['README.md', 'CHANGELOG.md', 'LICENSE', '{bin,lib,spec}/**/*', 'dbf.gemspec']
|
|
19
19
|
s.require_paths = ['lib']
|
|
20
20
|
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.0')
|
|
21
|
-
s.required_ruby_version = Gem::Requirement.new('>=
|
|
21
|
+
s.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
|
|
22
22
|
s.metadata['rubygems_mfa_required'] = 'true'
|
|
23
|
+
s.add_runtime_dependency 'csv'
|
|
23
24
|
end
|
data/lib/dbf/column.rb
CHANGED
|
@@ -69,11 +69,7 @@ module DBF
|
|
|
69
69
|
# @return [String]
|
|
70
70
|
def underscored_name
|
|
71
71
|
@underscored_name ||= begin
|
|
72
|
-
name.gsub(
|
|
73
|
-
.gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
|
|
74
|
-
.gsub(/([a-z\d])([A-Z])/, '\1_\2')
|
|
75
|
-
.tr('-', '_')
|
|
76
|
-
.downcase
|
|
72
|
+
name.gsub(/([a-z\d])([A-Z])/, '\1_\2').tr('-', '_').downcase
|
|
77
73
|
end
|
|
78
74
|
end
|
|
79
75
|
|
data/lib/dbf/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dbf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Morrison
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
12
|
-
dependencies:
|
|
11
|
+
date: 2023-12-27 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: csv
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
description: A small fast library for reading dBase, xBase, Clipper and FoxPro database
|
|
14
28
|
files.
|
|
15
29
|
email: keithm@infused.org
|
|
@@ -104,14 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
104
118
|
requirements:
|
|
105
119
|
- - ">="
|
|
106
120
|
- !ruby/object:Gem::Version
|
|
107
|
-
version:
|
|
121
|
+
version: 3.0.0
|
|
108
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
123
|
requirements:
|
|
110
124
|
- - ">="
|
|
111
125
|
- !ruby/object:Gem::Version
|
|
112
126
|
version: 1.3.0
|
|
113
127
|
requirements: []
|
|
114
|
-
rubygems_version: 3.
|
|
128
|
+
rubygems_version: 3.5.3
|
|
115
129
|
signing_key:
|
|
116
130
|
specification_version: 4
|
|
117
131
|
summary: Read xBase files
|