mongoid-geospatial 7.3.0 → 7.3.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
  SHA256:
3
- metadata.gz: 59aa6c29ce76d2edc2c6ba8b30492c713e552b31ad728abe8a43743464576681
4
- data.tar.gz: d62f1d2814b6e0faa93f1d5d2fc16371d30d37e97d72e5eada5a647bae6e9aab
3
+ metadata.gz: 9437e8d6af695bcba5f39208f8219019da404fc51b863c4fb7940567183c5c9f
4
+ data.tar.gz: 2a3ca5f675cd58c204462b7122b84341c63cee8222f3372a014d1ed3096f82f0
5
5
  SHA512:
6
- metadata.gz: fa331e0ce250edf23904a8390442a6cdf831f98d89110f3e5c803b801f80660087444839b1607ac868a31b9aa2dfdeb17d0910294dc83727a281e0fa875b3eff
7
- data.tar.gz: 1c0b907249ce2ac189bb8f00551dede0b15c59d9c72f218de23c4c746f370060953d065c77c79cb61c209a81607003cfcfdea197ca6893dcc81521b9a5f258c3
6
+ metadata.gz: 82fe874fb74ab68457b2e9c56c202bd94ff6c71626832fa0a514d8ce7741282bff68d7c08601806c72e56bf4364d5173f3cdfdaca47b005c86f698f0601d9697
7
+ data.tar.gz: fb2a788d4559688612083fddb24ef77d632d0d18b58aa5f3a6216ca58d6c6220a88180db3b009f4697fda2aa0cb95a43d3ef2d11ccc6e0d8a4f8003cc320227c
@@ -3,6 +3,6 @@
3
3
  module Mongoid
4
4
  # Mongoid Geospatial version
5
5
  module Geospatial
6
- VERSION = '7.3.0'
6
+ VERSION = '7.3.1'
7
7
  end
8
8
  end
@@ -344,12 +344,13 @@ module Mongoid
344
344
  # For spherical queries, specify distance in meters. For 2d queries, in the same units as coordinates.
345
345
  # - `:minDistance` [Numeric] The minimum distance. (MongoDB 2.6+)
346
346
  # - `:query` [Hash] Limits the results to the documents that match the query.
347
- # - `:limit` [Integer] The maximum number of documents to return (applied as a separate `$limit` pipeline stage).
348
- # - `:distanceMultiplier` [Numeric] A factor to multiply all distances returned by the query.
349
- # - `:includeLocs` [String] Specifies the name of the output field that identifies the location used to calculate the distance.
350
- # This is useful when the queried field contains multiple locations (e.g., an array of points) or complex GeoJSON
351
- # geometries (e.g., a Polygon), as it shows which specific point was used for the distance calculation.
352
- # Example: `includeLocs: 'matchedPoint'` would add a `matchedPoint` field to each output document.
347
+ # - `:limit` [Integer] The maximum number of documents to return
348
+ # (applied as a separate `$limit` pipeline stage).
349
+ # - `:distanceMultiplier` [Numeric] A factor to multiply all distances by.
350
+ # - `:includeLocs` [String] Output field naming WHICH location the distance
351
+ # was measured to the one that matters when the queried field holds
352
+ # several points, or a Polygon. `includeLocs: 'matchedPoint'` adds a
353
+ # `matchedPoint` field to each output document.
353
354
  #
354
355
  # @return [Mongo::Collection::View::Aggregation] The raw pipeline result — it
355
356
  # yields `BSON::Document` hashes, NOT model instances, so read a field with
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-geospatial
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.0
4
+ version: 7.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Ong