dbf 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dbf/column.rb +1 -1
- data/lib/dbf/database/foxpro.rb +1 -1
- data/lib/dbf/schema.rb +1 -1
- data/lib/dbf/version.rb +1 -1
- data/spec/dbf/record_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c754ead4e347035e5997c61369dc602784ed7b1c6abda474d4f5678980d6280a
|
4
|
+
data.tar.gz: 5b8494f61b66720690b77cb11fc4bc2bfa778dd51e269b5091c9a77cb3c74c4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bffdced2430256755264936f67bbabc996add3b10b89f39e0c03b53203b859eabf760d5d6c0660679e741daee619f4dc69c4707c7cca6fea4c86719709b99461
|
7
|
+
data.tar.gz: 447cd7a12f995dcd2fcedf4e0c9c009b9d5b990e2ce2bd0eac65515a98247bb112fd230b5fd4023bf1478ee407dedcac42e50102ed1cbd73ade5608056aa0ea9
|
data/CHANGELOG.md
CHANGED
data/lib/dbf/column.rb
CHANGED
data/lib/dbf/database/foxpro.rb
CHANGED
data/lib/dbf/schema.rb
CHANGED
@@ -37,7 +37,7 @@ module DBF
|
|
37
37
|
# @return [String]
|
38
38
|
def schema(format = :activerecord, table_only: false)
|
39
39
|
schema_method_name = schema_name(format)
|
40
|
-
send(schema_method_name, table_only:)
|
40
|
+
send(schema_method_name, table_only: table_only)
|
41
41
|
rescue NameError
|
42
42
|
raise ArgumentError, ":#{format} is not a valid schema. Valid schemas are: #{FORMATS.join(', ')}."
|
43
43
|
end
|
data/lib/dbf/version.rb
CHANGED
data/spec/dbf/record_spec.rb
CHANGED
@@ -50,7 +50,7 @@ RSpec.describe DBF::Record do
|
|
50
50
|
|
51
51
|
describe 'if other attributes match' do
|
52
52
|
let(:attributes) { {x: 1, y: 2} }
|
53
|
-
let(:other) { instance_double('DBF::Record', attributes:) }
|
53
|
+
let(:other) { instance_double('DBF::Record', attributes: attributes) }
|
54
54
|
|
55
55
|
before do
|
56
56
|
allow(record).to receive(:attributes).and_return(attributes)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: csv
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 1.3.0
|
127
127
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
128
|
+
rubygems_version: 3.4.12
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Read xBase files
|