geomash 0.3.3 → 0.3.4

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: a9fa71cc1b19bda8494204564e612606ffe8f6e6
4
- data.tar.gz: 92febff016bf79bc87751a8de84d692590d95470
3
+ metadata.gz: 23e71be42a8b40202d9ebdc6224d7391ab98adc9
4
+ data.tar.gz: 2719527dec75b92af6d9438cf0ec8f4e950598c6
5
5
  SHA512:
6
- metadata.gz: 468e826603bf98ebf5ebcbe941174352ced6d5a1e222713678a716f895ebf79d369990c8c1bc950d8f27f25cd061ab26993d328fc68c0b3226e1ee01103cb763
7
- data.tar.gz: 0452c64e9256ace6629475a9417709dcabcf7bf15dc2fff4ce26138edb5917131a97ff60d32e370760392b0052123664112f6bc1c36f7465369156847cd1f8a1
6
+ metadata.gz: 705f4c442cf32e181af419c73394d4e8f47bd48190c5be0c56885930cf62ba31677bae479fb2023d33fdadd477c0dfb9d5bd262bffe38dc8e08f4cda719c8d62
7
+ data.tar.gz: 84fb7db8dec45b7e1c832546f01a034a59282737bd01e8d64ae8e139b48133e1a9a4ffc7d3e66e421289bd9e63a99a27768cd92d674b3818741e2c7924cd82b1
data/lib/geomash/tgn.rb CHANGED
@@ -430,7 +430,7 @@ EXAMPLE SPARQL:
430
430
  tgn_term = aat_response['place_label_latn_notone']['value']
431
431
  else
432
432
  #Just take the first prefLabel... could perhaps do some preference eventually... see 7002883 for an example of only a french prefLabel
433
- default_label_response = Typhoeus::Request.get("http://vocab.getty.edu/download/json", :params=>{:uri=>"http://vocab.getty.edu/tgn/#{aat_response['identifier_place']}.json"}, :timeout=>500)
433
+ default_label_response = Typhoeus::Request.get("http://vocab.getty.edu/download/json", :params=>{:uri=>"http://vocab.getty.edu/tgn/#{aat_response['identifier_place']['value']}.json"}, :timeout=>500)
434
434
  JSON.parse(default_label_response.body)['results']['bindings'].each do |ntriple|
435
435
  case ntriple['Predicate']['value']
436
436
  when 'http://www.w3.org/2004/02/skos/core#prefLabel'
@@ -1,3 +1,3 @@
1
1
  module Geomash
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geomash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boston Public Library