rgeo-shapefile 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c4295f7f72cac7f64005b487f7afc5c9d09d3af8ce90a7a55d4f5455a97fa53
4
- data.tar.gz: 588d82486bc992ab3f0b0cd497dd395de4d32e47ce05678451540674e8d908dc
3
+ metadata.gz: e1d28553b385637b13dfb5bdc863afb809a3d097b99002b961971280e7f62c30
4
+ data.tar.gz: e6ce78340ba93f106f67159f56f98346a76b6a43190a8c4df2256809df669218
5
5
  SHA512:
6
- metadata.gz: d3ab411058b49876b8e85ef15731682d8f214059912135c0bca833c40fd3933cb856e6386dcaa90e6b1cabdea6ac3b100adfca7bd954a098b12391efea27fa6b
7
- data.tar.gz: 4470d988aca01690d234b6a61f2afcd1c3e1ec1ace22779080e909c7f13eb944b8e96fafcc505ce29ccbe89850b2e551763c802b64ded22c36e9d6f7bd97e341
6
+ metadata.gz: 718db69169feda3abdfe4c7c483b6f346e5a276a3537f449e4eb95f971c908e9e192ff0c9f816842cafe0969da97428a4766f877aba4955462b12f29d08590a5
7
+ data.tar.gz: ed9c29623ce7186c3f1da9699064deb7e468b8cc8996236eab0182ec991df0c7b8a647bb18a257450e428e2f5c64e345970752f3696289afe1840379238afc35
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 2.0.1 / 2019-04-01
2
+
3
+ * Check dbf record attributes / allow DBF file to have fewer records than SHX (#34, womanonrails / #28, marcisv)
4
+
5
+
1
6
  ### 2.0.0 / 2019-02-23
2
7
 
3
8
  * Use .cpg file to specify the DBF encoding (#32, rywall)
@@ -398,7 +398,7 @@ module RGeo
398
398
  when 31 then _read_multipatch(data_)
399
399
  end
400
400
  attrs_ = {}
401
- if @attr_dbf
401
+ if @attr_dbf && @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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RGeo
4
4
  module Shapefile
5
- VERSION = "2.0.0"
5
+ VERSION = "2.0.1"
6
6
  end
7
7
  end
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: 2.0.0
4
+ version: 2.0.1
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: 2019-02-23 00:00:00.000000000 Z
12
+ date: 2019-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgeo
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.0.2
106
+ rubygems_version: 3.0.3
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: An RGeo module for reading ESRI shapefiles.