rgeo-shapefile 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/lib/rgeo/shapefile/reader.rb +1 -1
- data/lib/rgeo/shapefile/version.rb +1 -1
- metadata +3 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a42cd096d3c0e6c58fa79c248c2de90c1e911910d9f798c8b14254ae44667c9c
|
4
|
+
data.tar.gz: ea81602df1862fb59824749648883a03d61547a4aa55ec8ec08c0fa45599c39a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa18b8185a2a6dcdba4d0aaf2957a55c7ee47cbff735aa2bb0d40922ee039e48640670dee15d0f9f194e93a211b5915bac3854caa764a103a349112feda8f1ce
|
7
|
+
data.tar.gz: 9d4dd628de16180cba325a3fb907b9cce1133ea3bb3a53cc310f759128c96eb9cd70b42e51eba3d155088eba75b853a2cce9d514d094eed3467d5564d421f84f
|
data/History.md
CHANGED
@@ -181,7 +181,7 @@ module RGeo
|
|
181
181
|
@main_file = ::File.open(path_ + ".shp", "rb:ascii-8bit")
|
182
182
|
@index_file = ::File.open(path_ + ".shx", "rb:ascii-8bit")
|
183
183
|
@attr_dbf = if ::File.file?(path_ + ".dbf") && ::File.readable?(path_ + ".dbf")
|
184
|
-
::DBF::Table.new(path_ + ".dbf")
|
184
|
+
::DBF::Table.new(path_ + ".dbf", nil, opts_[:dbf_encoding])
|
185
185
|
end
|
186
186
|
@main_length, @shape_type_code, @xmin, @ymin, @xmax, @ymax, @zmin, @zmax, @mmin, @mmax = @main_file.read(100).unpack("x24Nx4VE8")
|
187
187
|
@main_length *= 2
|
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: 1.
|
4
|
+
version: 1.2.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: 2019-02-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rgeo
|
@@ -39,20 +39,6 @@ dependencies:
|
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '3.0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: bundler
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '1.6'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '1.6'
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: minitest
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
105
|
requirements: []
|
120
|
-
|
121
|
-
rubygems_version: 2.7.8
|
106
|
+
rubygems_version: 3.0.2
|
122
107
|
signing_key:
|
123
108
|
specification_version: 4
|
124
109
|
summary: An RGeo module for reading ESRI shapefiles.
|