spatial_features 1.2.3 → 1.2.4

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
  SHA1:
3
- metadata.gz: 7754cb500b115bf632e28f6dd3a70a390ec07562
4
- data.tar.gz: dc35f1c5a3af8eb7c03d71be68da10ba5ea679ac
3
+ metadata.gz: 17ff747009c3a5e9f6a6367617e964abf866c6e8
4
+ data.tar.gz: 6ea979cac61f3f8fabe2910ced44a8a176dbe5e5
5
5
  SHA512:
6
- metadata.gz: 3898e065c71a6f6dc3619a7fa155606364a22f88dc25c9d0ae580a36cbdfe857f7a6427d0896a69770298aeaef6e8604be7fc4b409f68cbe853387da509ed6b2
7
- data.tar.gz: eed4263ae1afddd982468ae1aed17b3a1412ea291619310e949c1bed700960e6938aca439e55e7752d023832fb914326cb84c0b968d6703e34cca16435542453
6
+ metadata.gz: 4724f59101b7471613a2feb856d8967acb77a2043f7544f17d028f875537738745172b46534dd982e8c53edaf1bd01ec8f1078033abd706dbfd132e502f74164
7
+ data.tar.gz: 4a36e1eedde53d7435fcf6be1480c064948edbf348ac4ad397c01f5143e6b390eaa50ce875353c1e85d15736740896589999290b4370647a6facd4f97a8b86b0
@@ -2,7 +2,8 @@ module ArcGISKmzFeatures
2
2
  require 'open-uri'
3
3
  require 'digest/md5'
4
4
 
5
- def update_features!
5
+ def update_features!(options = {})
6
+ @make_valid = options[:make_valid]
6
7
  @feature_error_messages = []
7
8
  kml_array = []
8
9
  cache_kml = ''
@@ -105,7 +106,7 @@ module ArcGISKmzFeatures
105
106
 
106
107
  # Can be overridden to use PostGIS to force geometry to be valid
107
108
  def make_valid?
108
- false
109
+ !!@make_valid
109
110
  end
110
111
 
111
112
  class UpdateError < StandardError; end
@@ -1,3 +1,3 @@
1
1
  module SpatialFeatures
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spatial_features
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Wallace