rgeo 2.1.0 → 2.1.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: 2430c81b8d65c3e98a0e4411c4b10d5b71e6eb1d90ae59bffeab5f71c2da2cb3
4
- data.tar.gz: 55aca2dc0b4f7b08641d54b40d8248e594a58574c13690e092dcd8718a392c1c
3
+ metadata.gz: 65bbadb93580fd02234007e3ddfb888b4a38b4a7dfaa2d2b0d072d313b98adfb
4
+ data.tar.gz: b45a6f33bba7543ee86e0211a8b9d976cfef470222ab2adb9107f98b06818fff
5
5
  SHA512:
6
- metadata.gz: 70f91cfbacb9c87fc6aa974eeeb3863452ebe3a041544249e8a9824864352f9f1f32525c6c952a37091b4f632b29269e9249a57098533c9a971c4d79c6406e29
7
- data.tar.gz: 708edf08257aa5f3215aeb43fbcfe3aa36afe1950974b9a1120805d0512b6cd2edeaf334baf44f486cbf766cd1faa44b52d084e1ae415dae5d0f5e6014cd5e04
6
+ metadata.gz: 33d2c278eb28f697047c98091676fae7161f3b410375ba8b5042f51cb5e10158c69617d044a19d1c68b86c399439fc6a22e3bf39d8767b303194f1d64b191d41
7
+ data.tar.gz: 5e77a71cc569f9826fbac6d97ccd2aac46d2b7e37284cba950b6d8621ae04b52ed60c9a63bec7c5d227b3656e2015b1d3062eb1eaf15438de383209f1d6b291e
@@ -297,7 +297,11 @@ module RGeo
297
297
  if (wkb_parser_ = _wkb_parser)
298
298
  wkb_parser_.parse(str_)
299
299
  else
300
- _parse_wkb_impl(str_)
300
+ if str_[0] =~ /[0-oa-fA-F]/
301
+ _parse_wkb_impl([str_].pack('H*'))
302
+ else
303
+ _parse_wkb_impl(str_)
304
+ end
301
305
  end
302
306
  end
303
307
 
@@ -57,7 +57,7 @@ module RGeo
57
57
  array = []
58
58
  array << @exterior_ring unless @exterior_ring.is_empty?
59
59
  array.concat(@interior_rings)
60
- factory.multiline_string(array)
60
+ factory.multi_line_string(array)
61
61
  end
62
62
 
63
63
  def rep_equals?(rhs)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RGeo
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma, Tee Parham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-08 00:00:00.000000000 Z
11
+ date: 2019-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-geos
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.0.4
201
+ rubygems_version: 3.0.6
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: RGeo is a geospatial data library for Ruby.