spotlight-dor-resources 0.3.3 → 0.4.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: 698f54252d22ab420aab01562bede6178e40a17e
4
- data.tar.gz: b9fe13651bfcc10643e34e79fa30934fe0c711f6
3
+ metadata.gz: 9c91af5162db19c4708a4e80f442be4b98d0bd6e
4
+ data.tar.gz: d03f5c8af01006bcff3f49446382f409f609d315
5
5
  SHA512:
6
- metadata.gz: 9bf3f922cab55c04bd8dfd4125ffa8a9aeee5537551bf6228f41a6bd4764d2f93ab240e4af1b6314a0acd15817420fb60beae432e6d42af30cd27bb4f4add334
7
- data.tar.gz: 0c5a61cb18789b0d5e2e39ebff6b38f4d714b368d7ad6574b859c95d67b7c52c865b6b861c7de90963de0f02c47340eed465724c3823a30aa5e91ed7346f0c61
6
+ metadata.gz: f0946634a2e184c61ecdf088c863da61f5a702fc5a0c2261239782ce6aa19a49867e0216c14b3d6672097e177797da488620451fa0566ccb52fb42c1f4108965
7
+ data.tar.gz: 1c5fa858bfb69890bae753b6821952370bda52d2ccaf8b2ff7b6b0c1ce83fdeda5b485a40e48e924532f214c7715a7bf094585c50d862b695ffb66e56c3f6831
@@ -2,7 +2,7 @@ module Spotlight
2
2
  module Dor
3
3
  # :nodoc:
4
4
  module Resources
5
- VERSION = '0.3.3'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
8
8
  end
@@ -117,17 +117,8 @@ describe Spotlight::Resources::Purl do
117
117
  end
118
118
 
119
119
  context 'with a single item' do
120
- before do
121
- allow(subject.resource).to receive(:collection?).and_return(false)
122
- end
123
-
124
120
  it 'provides a solr document for the resource' do
125
- expect(Spotlight::Dor::Resources.indexer).to receive(:solr_document).with(subject.resource).and_return(upstream: true)
126
- expect(subject.to_solr.first).to include :upstream, :spotlight_resource_id_ssim, :spotlight_resource_type_ssim
127
- end
128
-
129
- it 'indexs outside the context of an exhibit' do
130
- allow(subject).to receive(:exhibit).and_return(nil)
121
+ allow(subject.resource).to receive(:collection?).and_return(false)
131
122
  expect(Spotlight::Dor::Resources.indexer).to receive(:solr_document).with(subject.resource).and_return(upstream: true)
132
123
  expect(subject.to_solr.first).to include :upstream, :spotlight_resource_id_ssim, :spotlight_resource_type_ssim
133
124
  end
@@ -22,10 +22,9 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'faraday'
24
24
  spec.add_dependency 'solrizer'
25
- spec.add_dependency 'gdor-indexer'
25
+ spec.add_dependency 'gdor-indexer', '>=0.4.0' # for new pub date methods
26
26
  # newer versions of harvestdor-indexer have performance improvements for collections
27
27
  spec.add_dependency 'harvestdor-indexer', '~> 2.3'
28
- spec.add_dependency 'stanford-mods', '>= 1.3.0'
29
28
  spec.add_dependency 'rails'
30
29
  spec.add_dependency 'blacklight-spotlight', '~> 0.6'
31
30
  spec.add_dependency 'parallel'
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.3
4
+ version: 0.4.0
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-08 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.4.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.4.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: harvestdor-indexer
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.3'
69
- - !ruby/object:Gem::Dependency
70
- name: stanford-mods
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 1.3.0
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 1.3.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rails
85
71
  requirement: !ruby/object:Gem::Requirement