rgeo-shapefile 2.0.1 → 3.0.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/History.md +5 -0
- data/README.md +6 -2
- data/lib/rgeo/shapefile/reader.rb +1 -1
- data/lib/rgeo/shapefile/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6e5256b3e85525a1eaf405a0d77df1e4f5e607a36164cad539b07f0f8008ad2
|
|
4
|
+
data.tar.gz: 69c7b87747813c5ae3bbb76a8dd9b635b8c3d6c96dcf86a3a6b50b311e126038
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 302a221acc3cac6842143dedaff74380d5dce58959b8b7381c00cce52401fa0e4343b31a999340f40ba08947c4245b15f2f1962e66f2422bab937b71de5bdd3e
|
|
7
|
+
data.tar.gz: 56c09783ed155a8fcb95ad9596bae125a4b0a54cedd655fff07cfb4d1786c1011738c1a4768dff4e023b025ce75bee788c22f368a1b5c6ea4d5d3f1237fe1bd1
|
data/History.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
### 3.0.0 / 2020-08-02
|
|
2
|
+
|
|
3
|
+
* Handle invalid DBF file (#37, rywall)
|
|
4
|
+
* Update DBF gem to version 4.x, bump minimum Ruby version to 2.4 (#38, alvir)
|
|
5
|
+
|
|
1
6
|
### 2.0.1 / 2019-04-01
|
|
2
7
|
|
|
3
8
|
* Check dbf record attributes / allow DBF file to have fewer records than SHX (#34, womanonrails / #28, marcisv)
|
data/README.md
CHANGED
|
@@ -42,9 +42,11 @@ end
|
|
|
42
42
|
|
|
43
43
|
`RGeo::Shapefile` has the following requirements:
|
|
44
44
|
|
|
45
|
-
* Ruby 2.
|
|
45
|
+
* Ruby 2.4.0 or later
|
|
46
46
|
* rgeo 1.0.0 or later.
|
|
47
|
-
* dbf
|
|
47
|
+
* dbf 4.0 or later.
|
|
48
|
+
|
|
49
|
+
If you need support for older Rubies, please use 2.x version
|
|
48
50
|
|
|
49
51
|
Include in your bundle:
|
|
50
52
|
|
|
@@ -61,6 +63,8 @@ gem install rgeo-shapefile
|
|
|
61
63
|
See the [`rgeo`](https://github.com/rgeo/rgeo) gem, a required dependency,
|
|
62
64
|
for further installation information.
|
|
63
65
|
|
|
66
|
+
If you are using Ruby 2.3, use version `2.0.x` of this gem.
|
|
67
|
+
|
|
64
68
|
If you are using Ruby 2.0-2.2, use version `1.0.x` of this gem.
|
|
65
69
|
|
|
66
70
|
If you are using Ruby 1.9, use version `0.3.x` of this gem.
|
|
@@ -398,7 +398,7 @@ module RGeo
|
|
|
398
398
|
when 31 then _read_multipatch(data_)
|
|
399
399
|
end
|
|
400
400
|
attrs_ = {}
|
|
401
|
-
if @attr_dbf && @attr_dbf.record(@cur_record_index)
|
|
401
|
+
if @attr_dbf && !@attr_dbf.columns.empty? && @attr_dbf.record(@cur_record_index)
|
|
402
402
|
dbf_record_attrs_ = @attr_dbf.record(@cur_record_index).attributes
|
|
403
403
|
@attr_dbf.columns.each do |col_|
|
|
404
404
|
name_ = col_.name
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rgeo-shapefile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rgeo
|
|
@@ -31,14 +31,14 @@ dependencies:
|
|
|
31
31
|
requirements:
|
|
32
32
|
- - "~>"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: '
|
|
34
|
+
version: '4.0'
|
|
35
35
|
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - "~>"
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: '
|
|
41
|
+
version: '4.0'
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: minitest
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
requirements:
|
|
97
97
|
- - ">="
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: 2.
|
|
99
|
+
version: 2.4.0
|
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - ">="
|