ffi-gdal 1.0.0 → 1.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: 47c036d0cf23730afb86eeae6fddf3be5c319574e0de33d9ca0cb3a9bf71aeda
4
- data.tar.gz: 16f1252a580de33a2b4779993f7a962db2182d49a56adaec5fd4a6e7e1e519bf
3
+ metadata.gz: 58e66069ab9b98f0161ff2481e01c563bbe97db1a6dcc45dd44230bc8d381a5d
4
+ data.tar.gz: 67b8a19105b6dc1d5ee1f7d7f006eb5fb61af7c5ea85e2aa3da41d13a4c1b64b
5
5
  SHA512:
6
- metadata.gz: 67e94c7de204e4a3b2b5c11b3fc9eeabcfae1f52e4fa6786f1ad7594fb69c76ba43adbf8c9ae7defd0578dee6113761cec225f37240aa7b5926b2f84bde53438
7
- data.tar.gz: 4d16c5f9b75e968bd2177be1bc9eb123ea4dc054b38e5367df8e89efd35e5daac66bfabbdd272488d55ebf23db234981ec6b455b85218276577b9ff271f4a5d5
6
+ metadata.gz: 76dec29c560b465a90ad5686c6fcde778df50c36187acef6de431878f30bd1d8e36929fbbac89eb3ce057adb5bed224073e70ec7ba52d5ed12321932bb07b929
7
+ data.tar.gz: 35df77b1b1410511cae4e2de6741528836551458e138c1c8d12d9a5573a0d770e898734c123d0b9f8ce52c9f31ec465f43824913b90e62b83cc9b9158a6deb01
data/Changelog.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6
6
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.1] - 2023-01-13
9
+
10
+ ### Fixed
11
+
12
+ - Fix NoMethodError in `OGR::GeometryMixins::Extensions#utm_zone` when geometry is invalid.
13
+
8
14
  ## [1.0.0] — 2023-01-06
9
15
 
10
16
  Changes for all releases leading up to 1.0.0 can be found in [Changelog-0.x](/Changelog-0.x.md).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module FFI
4
4
  module GDAL
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
@@ -13,7 +13,7 @@ module OGR
13
13
  if spatial_reference.authority_code == '4326'
14
14
  self
15
15
  else
16
- # NOTE: #clone here has overriden Ruby's clone and calls OGR_G_Clone;
16
+ # NOTE: #clone here has overridden Ruby's clone and calls OGR_G_Clone;
17
17
  # it's important to do this and
18
18
  as4326 = clone
19
19
  return unless as4326.transform_to!(OGR::SpatialReference.new.import_from_epsg(4326))
@@ -21,7 +21,7 @@ module OGR
21
21
  as4326
22
22
  end
23
23
 
24
- self_as4326.self_as4326.buffer!(0) unless valid?
24
+ self_as4326 = self_as4326.buffer(0) unless valid?
25
25
 
26
26
  return unless self_as4326.point_on_surface.x
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-gdal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata
@@ -302,7 +302,6 @@ files:
302
302
  - lib/ffi/cpl/xml_node.rb
303
303
  - lib/ffi/extensions/gdal/extensions.rb
304
304
  - lib/ffi/extensions/gdal/extensions/all.rb
305
- - lib/ffi/extensions/gdal/extensions/version.rb
306
305
  - lib/ffi/extensions/rttopo.rb
307
306
  - lib/ffi/extensions/rttopo/gbox.rb
308
307
  - lib/ffi/extensions/rttopo/geom.rb
@@ -499,7 +498,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
499
498
  - !ruby/object:Gem::Version
500
499
  version: '0'
501
500
  requirements: []
502
- rubygems_version: 3.4.2
501
+ rubygems_version: 3.1.6
503
502
  signing_key:
504
503
  specification_version: 4
505
504
  summary: FFI wrapper for GDAL/OGR.
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module FFI
4
- module GDAL
5
- module Extensions
6
- VERSION = '0.3.0'
7
- end
8
- end
9
- end