spotlight-dor-resources 0.3.2 → 0.3.3

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: df866b5840fd2ef1f3068c6244ef96aaf50f463b
4
- data.tar.gz: 484fb0089d890785d1b7cbfa9560cd7a95f9b83c
3
+ metadata.gz: 698f54252d22ab420aab01562bede6178e40a17e
4
+ data.tar.gz: b9fe13651bfcc10643e34e79fa30934fe0c711f6
5
5
  SHA512:
6
- metadata.gz: 1dee32477104678ade84fc9ccdc0400c56a2981af353063dac19a6415938e2c010e2c7f3137bb1b4cd06cad33afb47863bb518205db044e2221612d5291af413
7
- data.tar.gz: f2b17bd142699edda90806158fcd60dba2ad687d28d16b22c08fae04df58f2e79a2705d2603e0d8010a8ea37f53606647f8d140f770ed71e79254bf01994e803
6
+ metadata.gz: 9bf3f922cab55c04bd8dfd4125ffa8a9aeee5537551bf6228f41a6bd4764d2f93ab240e4af1b6314a0acd15817420fb60beae432e6d42af30cd27bb4f4add334
7
+ data.tar.gz: 0c5a61cb18789b0d5e2e39ebff6b38f4d714b368d7ad6574b859c95d67b7c52c865b6b861c7de90963de0f02c47340eed465724c3823a30aa5e91ed7346f0c61
@@ -53,7 +53,7 @@ module Spotlight::Dor
53
53
  # add coordinates solr field containing the cartographic coordinates per
54
54
  # MODS subject.cartographics.coordinates (via stanford-mods gem)
55
55
  def add_coordinates(sdb, solr_doc)
56
- solr_doc['coordinates'] = sdb.smods_rec.coordinates
56
+ solr_doc['coordinates_tesim'] = sdb.smods_rec.coordinates
57
57
  end
58
58
 
59
59
  # add collector_ssim solr field containing the collector per MODS names (via stanford-mods gem)
@@ -2,7 +2,7 @@ module Spotlight
2
2
  module Dor
3
3
  # :nodoc:
4
4
  module Resources
5
- VERSION = '0.3.2'
5
+ VERSION = '0.3.3'
6
6
  end
7
7
  end
8
8
  end
@@ -369,7 +369,7 @@ describe Spotlight::Dor::Indexer do
369
369
  end
370
370
 
371
371
  it 'is blank' do
372
- expect(solr_doc['coordinates']).to be_blank
372
+ expect(solr_doc['coordinates_tesim']).to be_blank
373
373
  end
374
374
  end
375
375
  context 'with a record with coordinates' do
@@ -388,7 +388,7 @@ describe Spotlight::Dor::Indexer do
388
388
  end
389
389
 
390
390
  it 'extracts the coordinates' do
391
- expect(solr_doc['coordinates']).to eq(['(W16°--E28°/N13°--S15°).'])
391
+ expect(solr_doc['coordinates_tesim']).to eq(['(W16°--E28°/N13°--S15°).'])
392
392
  end
393
393
  end
394
394
  end # add_coordinates
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotlight-dor-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday