Skip to content

Commit

Permalink
Update ouverpass_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Apr 15, 2024
1 parent 111ebc2 commit eabbda4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/teritorio/overpass_parser-rb.git
revision: f58f0da05054fe84521a61d32b4f2450490e6db6
revision: dba83837732df330ef018add559a4ab9d04b5c71
specs:
overpass_parser (1.0.0)
rice (~> 4.0)
Expand Down
4 changes: 2 additions & 2 deletions datasources/sources/overpass_select.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def osm_tags
return super() if !@settings.with_osm_tags

if @selectors.blank?
tree = OverpassParser.tree(@settings.query)
selects = deep_select(tree[0])
tree = OverpassParser.parse(@settings.query)
selects = deep_select(tree)

super().deep_merge_array({
'data' => selects.collect{ |select|
Expand Down

0 comments on commit eabbda4

Please sign in to comment.