geospatial 1.5.0 → 1.6.0

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: d8fca3653194c4ff68cb7744f9a12e0744979555
4
- data.tar.gz: 4f6c45c0aa46ef88e09277c5ff718dae23782de8
3
+ metadata.gz: 91eeac2469ee68ea87e60650e5c909a25e9af3cd
4
+ data.tar.gz: 712f71a592a0e803111c4380ebb78bd7a691f1e7
5
5
  SHA512:
6
- metadata.gz: 8c8b33b7fd6e99e81bc3347b05b00eb01b553439ab8065a19e76caa28c1ed1eee753b7c926065f3f5df9f8ac9b55be03e70fc20d6182324c71570904ed5fc68b
7
- data.tar.gz: e451c93b27e41bd5acbb8fc9e08d633ee6674694626d54f965b98b9b90f780efaeb1be89d12bca2b384a0c74a443e1f5a46eddc8970e461d6182cf18a93a022d
6
+ metadata.gz: 9bdb1fa1003101a6cd58be330b2730e75b7aeb64140297512ffa595f59e62874b101293b922d726b2974fe3378be002f96445fe21e582481b192fd337973ec71
7
+ data.tar.gz: f67b819573274641c82c356ada6b2c58275b6f612af20117145d595aa9b73ad78f5b408809da374be98d3bead97e0d50237aa3fb107d920040f1003baa9a12ee
@@ -145,12 +145,14 @@ module Geospatial
145
145
  end
146
146
  end
147
147
 
148
- def filter_for(region, **options)
148
+ def filter_for(*regions, **options)
149
149
  filter = Filter.new(@curve)
150
150
 
151
- # The filter will coalesce sequential segments of the curve into a single range.
152
- traverse(region, **options) do |child, prefix, order|
153
- filter.add(prefix, order)
151
+ regions.each do |region|
152
+ # The filter will coalesce sequential segments of the curve into a single range.
153
+ traverse(region, **options) do |child, prefix, order|
154
+ filter.add(prefix, order)
155
+ end
154
156
  end
155
157
 
156
158
  return filter
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Geospatial
22
- VERSION = "1.5.0"
22
+ VERSION = "1.6.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geospatial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec