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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10ff909874fdd64f019a564dda17df6d63d6b405
4
- data.tar.gz: bfcdee15505529b1142110722312c793821f3f16
3
+ metadata.gz: 670d368c7bf08ca4ff1280a2d61760ad5a391a03
4
+ data.tar.gz: 707999939635257129e3f8e354c2c73e6ed9dc8a
5
5
  SHA512:
6
- metadata.gz: 59d516201f42433921e1def7cec21a42b17ba8340232dfef479b840b45c6e89334eced10212d47c3742b2c15f87a9d2ac50a17cca525847d861462f9b48a7d2a
7
- data.tar.gz: 027192a3d69ebb10e98719fd1154e691d82ea2211faa925d785391a2f2325fd43caca1249476d8d590db9ad5ac49e66154dcd687fa8b27b4da61bd4631f6bf81
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
@@ -1,3 +1,3 @@
1
1
  module SpatialFeatures
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
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.7.0
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-08-16 00:00:00.000000000 Z
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.