spatial_features 1.2.4 → 1.2.5

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: 17ff747009c3a5e9f6a6367617e964abf866c6e8
4
- data.tar.gz: 6ea979cac61f3f8fabe2910ced44a8a176dbe5e5
3
+ metadata.gz: ec98df441de5998822d71084ce88108014832927
4
+ data.tar.gz: 5ffa4c5e9bdda4dd520fd4454d6ff0050c0d3ea7
5
5
  SHA512:
6
- metadata.gz: 4724f59101b7471613a2feb856d8967acb77a2043f7544f17d028f875537738745172b46534dd982e8c53edaf1bd01ec8f1078033abd706dbfd132e502f74164
7
- data.tar.gz: 4a36e1eedde53d7435fcf6be1480c064948edbf348ac4ad397c01f5143e6b390eaa50ce875353c1e85d15736740896589999290b4370647a6facd4f97a8b86b0
6
+ metadata.gz: 7a6de5764416da349235f113a79c37c315076ebcfc2bf2250838cf215363257fc06f3fc4d731cc8b1f44d142dc7c4a054ba30750298964031f531a40819d81a7
7
+ data.tar.gz: a7589aab35b5312125890e0600379ffd54377c666378ce71ae25ccc56f7b1dfdd14083b67b8fd8183dac2b5b95552c6d61abb8dcc7abf1d800a40710fef62edc
@@ -1,3 +1,3 @@
1
1
  module SpatialFeatures
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
@@ -4,6 +4,7 @@ class ArcGISUpdateFeaturesJob < Struct.new(:options)
4
4
 
5
5
  if model.update_features!
6
6
  options[:cache_classes].each {|klass| SpatialFeatures.cache_record_proximity(model, klass) }
7
+ after_feature_update(model)
7
8
  end
8
9
  rescue => e
9
10
  raise "Can't refresh geometry: #{normalize_message(e.message)}"
@@ -11,6 +12,10 @@ class ArcGISUpdateFeaturesJob < Struct.new(:options)
11
12
 
12
13
  private
13
14
 
15
+ def after_feature_update(model)
16
+ # stub to be overridden
17
+ end
18
+
14
19
  NUMBER_REGEX = /-?\d+\.\d+/
15
20
 
16
21
  def normalize_message(message)
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.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Wallace
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-17 00:00:00.000000000 Z
12
+ date: 2015-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.4.5
135
+ rubygems_version: 2.4.6
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: Adds spatial methods to a model.