blacklight_oai_provider 6.0.0.pre1 → 6.0.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/VERSION +1 -1
- data/lib/blacklight_oai_provider/solr_document_wrapper.rb +1 -1
- data/solr/sample_solr_documents.yml +1 -1
- data/spec/requests/get_record_spec.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b2ebd7bafe047fed2aa65bea303ab0d39ff690f
|
4
|
+
data.tar.gz: 0fcd9bffe1033e65f6b979af35ed6b79f915259c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5833f9b349671be995e1e07d043d6c35dcbf6c1fbdc4f22a8a708fb8fdfdb69b6ae0f25aabe66e4e899c45d0dd133dfbb72b1c6d42531fdbda22c2dda252133
|
7
|
+
data.tar.gz: 650ff7320ec22f0ac99fc9019a0335b03e9d591fe58e63438ff11154164ab78a0c2b89ebbfc1b61b392badf9acad960a2e3480c8d152ab7c479a7b34262f2542
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0.0.
|
1
|
+
6.0.0.pre2
|
@@ -51,4 +51,14 @@ describe 'OIA-PMH GetRecord Request' do
|
|
51
51
|
it 'contains format' do
|
52
52
|
expect(xml.at_xpath('//xmlns:metadata/oai_dc:dc/dc:format', namespaces).text).to eql 'Book'
|
53
53
|
end
|
54
|
+
|
55
|
+
context 'when identifier has slashes' do
|
56
|
+
before do
|
57
|
+
get '/catalog/oai?verb=GetRecord&identifier=oai:test:fe/gh/00313831&metadataPrefix=oai_dc'
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'retrieves record' do
|
61
|
+
expect(xml.at_xpath('//xmlns:GetRecord/xmlns:record/xmlns:header/xmlns:identifier').text).to eql 'oai:test:fe/gh/00313831'
|
62
|
+
end
|
63
|
+
end
|
54
64
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_oai_provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.0.
|
4
|
+
version: 6.0.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|