spatial_features 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec98df441de5998822d71084ce88108014832927
|
|
4
|
+
data.tar.gz: 5ffa4c5e9bdda4dd520fd4454d6ff0050c0d3ea7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a6de5764416da349235f113a79c37c315076ebcfc2bf2250838cf215363257fc06f3fc4d731cc8b1f44d142dc7c4a054ba30750298964031f531a40819d81a7
|
|
7
|
+
data.tar.gz: a7589aab35b5312125890e0600379ffd54377c666378ce71ae25ccc56f7b1dfdd14083b67b8fd8183dac2b5b95552c6d61abb8dcc7abf1d800a40710fef62edc
|
|
@@ -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
|
+
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-
|
|
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.
|
|
135
|
+
rubygems_version: 2.4.6
|
|
136
136
|
signing_key:
|
|
137
137
|
specification_version: 4
|
|
138
138
|
summary: Adds spatial methods to a model.
|