spatial_features 1.7.0 → 1.7.1
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 +4 -4
- data/lib/spatial_features/has_spatial_features.rb +1 -1
- data/lib/spatial_features/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 670d368c7bf08ca4ff1280a2d61760ad5a391a03
|
|
4
|
+
data.tar.gz: 707999939635257129e3f8e354c2c73e6ed9dc8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 748760b027e02b3832319a26056ac2b2898ff2eb7db19de2819f1e04f67c95fbf8a8ad240051e4dc515ecfc503f6289cbaf5a90ebb615e7fda98630675180f15
|
|
7
|
+
data.tar.gz: fccaf84adbfc1bccd73acd83bb73552c2f4261beee9adbb508b24aaf9667ffdaa0d2f2ae0a543da4dab06c96f237562f32e01a05a1458ad6d153315d7a61dd99
|
|
@@ -238,7 +238,7 @@ module SpatialFeatures
|
|
|
238
238
|
if options[:cache] == false || !proxy_association.owner.class.has_features_area?
|
|
239
239
|
pluck('ST_Area(ST_UNION(geom))').first.to_f
|
|
240
240
|
else
|
|
241
|
-
proxy_association.owner.features_area
|
|
241
|
+
proxy_association.owner.features_area.to_f
|
|
242
242
|
end
|
|
243
243
|
end
|
|
244
244
|
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.7.
|
|
4
|
+
version: 1.7.1
|
|
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: 2016-
|
|
12
|
+
date: 2016-09-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
119
|
rubyforge_project:
|
|
120
|
-
rubygems_version: 2.5.1
|
|
120
|
+
rubygems_version: 2.4.5.1
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: Adds spatial methods to a model.
|