enju_oai 0.1.0.pre14 → 0.1.0.pre15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/manifestations/identify.oai.builder +1 -1
- data/lib/enju_oai/engine.rb +1 -1
- data/lib/enju_oai/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/default/data/index/_7d.fdt +0 -0
- data/spec/dummy/solr/default/data/index/{_6y.fdx → _7d.fdx} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y.fnm → _7d.fnm} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y.nvd → _7d.nvd} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y.nvm → _7d.nvm} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y.si → _7d.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y_Lucene41_0.doc → _7d_Lucene41_0.doc} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y_Lucene41_0.pos → _7d_Lucene41_0.pos} +0 -0
- data/spec/dummy/solr/default/data/index/{_6y_Lucene41_0.tim → _7d_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/_7d_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_7e.fdt +0 -0
- data/spec/dummy/solr/default/data/index/{_6z.fdx → _7e.fdx} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z.fnm → _7e.fnm} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z.nvd → _7e.nvd} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z.nvm → _7e.nvm} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z.si → _7e.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z_Lucene41_0.doc → _7e_Lucene41_0.doc} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z_Lucene41_0.pos → _7e_Lucene41_0.pos} +0 -0
- data/spec/dummy/solr/default/data/index/{_6z_Lucene41_0.tim → _7e_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/_7e_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_7f.fdt +0 -0
- data/spec/dummy/solr/default/data/index/{_70.fdx → _7f.fdx} +0 -0
- data/spec/dummy/solr/default/data/index/{_70.fnm → _7f.fnm} +0 -0
- data/spec/dummy/solr/default/data/index/{_70.nvd → _7f.nvd} +0 -0
- data/spec/dummy/solr/default/data/index/{_70.nvm → _7f.nvm} +0 -0
- data/spec/dummy/solr/default/data/index/{_70.si → _7f.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_70_Lucene41_0.doc → _7f_Lucene41_0.doc} +0 -0
- data/spec/dummy/solr/default/data/index/{_70_Lucene41_0.pos → _7f_Lucene41_0.pos} +0 -0
- data/spec/dummy/solr/default/data/index/{_70_Lucene41_0.tim → _7f_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/_7f_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_a5 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000361 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000362 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000363 +0 -0
- data/spec/views/manifestations/identify.oai.builder_spec.rb +20 -0
- metadata +77 -75
- data/spec/dummy/solr/default/data/index/_6y.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_6y_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_6z.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_6z_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_70.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_70_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments_9l +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000341 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000342 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000343 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02a89b35b9e0dffd36ab2732448e1ce641ede6c6
|
4
|
+
data.tar.gz: b867ef6822b53d489f9457374820dd7ee98e29db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9330ff2b1d93d3be71dd27e45b72a60ab7f7c084d94d9df5dd7556bd55bb7edf640a4fed21f785b9738e1969ae3675805a191272789c452e233ef28b1419b94
|
7
|
+
data.tar.gz: f4b366f82bf7a679f0e1389794d90cd97c250a84e2c45ed5bed525e640904ee1c6efe51a4506f80e219714fc2f5e9cd0ddaceb9572993363231f986ba1a9eb6a
|
@@ -8,7 +8,7 @@ xml.tag! "OAI-PMH", :xmlns => "http://www.openarchives.org/OAI/2.0/",
|
|
8
8
|
xml.repositoryName LibraryGroup.site_config.name
|
9
9
|
xml.baseURL manifestations_url(format: :oai)
|
10
10
|
xml.protocolVersion "2.0"
|
11
|
-
xml.adminEmail LibraryGroup.site_config.email
|
11
|
+
xml.adminEmail LibraryGroup.site_config.user.email
|
12
12
|
xml.earliestDatestamp Manifestation.last.created_at.utc.iso8601 if Manifestation.last
|
13
13
|
xml.deletedRecord "no"
|
14
14
|
xml.granularity "YYYY-MM-DDThh:mm:ssZ"
|
data/lib/enju_oai/engine.rb
CHANGED
data/lib/enju_oai/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe "manifestations/identify" do
|
5
|
+
fixtures :all
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
assign(:library_group, LibraryGroup.site_config)
|
9
|
+
view.stub(:current_user).and_return(User.find('admin'))
|
10
|
+
@ability = Object.new
|
11
|
+
@ability.extend(CanCan::Ability)
|
12
|
+
controller.stub(:current_ability) { @ability }
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders the XML template" do
|
16
|
+
render
|
17
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
18
|
+
rendered.should match(/enju_library/)
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_oai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: enju_biblio
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.0.pre57
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.0.pre57
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.1.0.
|
75
|
+
version: 1.1.0.rc14
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.1.0.
|
82
|
+
version: 1.1.0.rc14
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -377,41 +377,41 @@ files:
|
|
377
377
|
- spec/dummy/solr/conf/spellings.txt
|
378
378
|
- spec/dummy/solr/conf/stopwords.txt
|
379
379
|
- spec/dummy/solr/conf/synonyms.txt
|
380
|
-
- spec/dummy/solr/default/data/index/
|
381
|
-
- spec/dummy/solr/default/data/index/
|
382
|
-
- spec/dummy/solr/default/data/index/
|
383
|
-
- spec/dummy/solr/default/data/index/
|
384
|
-
- spec/dummy/solr/default/data/index/
|
385
|
-
- spec/dummy/solr/default/data/index/
|
386
|
-
- spec/dummy/solr/default/data/index/
|
387
|
-
- spec/dummy/solr/default/data/index/
|
388
|
-
- spec/dummy/solr/default/data/index/
|
389
|
-
- spec/dummy/solr/default/data/index/
|
390
|
-
- spec/dummy/solr/default/data/index/
|
391
|
-
- spec/dummy/solr/default/data/index/
|
392
|
-
- spec/dummy/solr/default/data/index/
|
393
|
-
- spec/dummy/solr/default/data/index/
|
394
|
-
- spec/dummy/solr/default/data/index/
|
395
|
-
- spec/dummy/solr/default/data/index/
|
396
|
-
- spec/dummy/solr/default/data/index/
|
397
|
-
- spec/dummy/solr/default/data/index/
|
398
|
-
- spec/dummy/solr/default/data/index/
|
399
|
-
- spec/dummy/solr/default/data/index/
|
400
|
-
- spec/dummy/solr/default/data/index/
|
401
|
-
- spec/dummy/solr/default/data/index/
|
402
|
-
- spec/dummy/solr/default/data/index/
|
403
|
-
- spec/dummy/solr/default/data/index/
|
404
|
-
- spec/dummy/solr/default/data/index/
|
405
|
-
- spec/dummy/solr/default/data/index/
|
406
|
-
- spec/dummy/solr/default/data/index/
|
407
|
-
- spec/dummy/solr/default/data/index/
|
408
|
-
- spec/dummy/solr/default/data/index/
|
409
|
-
- spec/dummy/solr/default/data/index/
|
380
|
+
- spec/dummy/solr/default/data/index/_7d.fdt
|
381
|
+
- spec/dummy/solr/default/data/index/_7d.fdx
|
382
|
+
- spec/dummy/solr/default/data/index/_7d.fnm
|
383
|
+
- spec/dummy/solr/default/data/index/_7d.nvd
|
384
|
+
- spec/dummy/solr/default/data/index/_7d.nvm
|
385
|
+
- spec/dummy/solr/default/data/index/_7d.si
|
386
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.doc
|
387
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.pos
|
388
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.tim
|
389
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.tip
|
390
|
+
- spec/dummy/solr/default/data/index/_7e.fdt
|
391
|
+
- spec/dummy/solr/default/data/index/_7e.fdx
|
392
|
+
- spec/dummy/solr/default/data/index/_7e.fnm
|
393
|
+
- spec/dummy/solr/default/data/index/_7e.nvd
|
394
|
+
- spec/dummy/solr/default/data/index/_7e.nvm
|
395
|
+
- spec/dummy/solr/default/data/index/_7e.si
|
396
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.doc
|
397
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.pos
|
398
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.tim
|
399
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.tip
|
400
|
+
- spec/dummy/solr/default/data/index/_7f.fdt
|
401
|
+
- spec/dummy/solr/default/data/index/_7f.fdx
|
402
|
+
- spec/dummy/solr/default/data/index/_7f.fnm
|
403
|
+
- spec/dummy/solr/default/data/index/_7f.nvd
|
404
|
+
- spec/dummy/solr/default/data/index/_7f.nvm
|
405
|
+
- spec/dummy/solr/default/data/index/_7f.si
|
406
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.doc
|
407
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.pos
|
408
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.tim
|
409
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.tip
|
410
410
|
- spec/dummy/solr/default/data/index/segments.gen
|
411
|
-
- spec/dummy/solr/default/data/index/
|
412
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
413
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
414
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
411
|
+
- spec/dummy/solr/default/data/index/segments_a5
|
412
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000361
|
413
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000362
|
414
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000363
|
415
415
|
- spec/dummy/solr/development/data/index/segments.gen
|
416
416
|
- spec/dummy/solr/development/data/index/segments_1
|
417
417
|
- spec/dummy/solr/solr.xml
|
@@ -475,6 +475,7 @@ files:
|
|
475
475
|
- spec/spec_helper.rb
|
476
476
|
- spec/support/controller_macros.rb
|
477
477
|
- spec/support/devise.rb
|
478
|
+
- spec/views/manifestations/identify.oai.builder_spec.rb
|
478
479
|
homepage: https://github.com/next-l/enju_oai
|
479
480
|
licenses: []
|
480
481
|
metadata: {}
|
@@ -730,41 +731,41 @@ test_files:
|
|
730
731
|
- spec/dummy/solr/conf/spellings.txt
|
731
732
|
- spec/dummy/solr/conf/stopwords.txt
|
732
733
|
- spec/dummy/solr/conf/synonyms.txt
|
733
|
-
- spec/dummy/solr/default/data/index/
|
734
|
-
- spec/dummy/solr/default/data/index/
|
735
|
-
- spec/dummy/solr/default/data/index/
|
736
|
-
- spec/dummy/solr/default/data/index/
|
737
|
-
- spec/dummy/solr/default/data/index/
|
738
|
-
- spec/dummy/solr/default/data/index/
|
739
|
-
- spec/dummy/solr/default/data/index/
|
740
|
-
- spec/dummy/solr/default/data/index/
|
741
|
-
- spec/dummy/solr/default/data/index/
|
742
|
-
- spec/dummy/solr/default/data/index/
|
743
|
-
- spec/dummy/solr/default/data/index/
|
744
|
-
- spec/dummy/solr/default/data/index/
|
745
|
-
- spec/dummy/solr/default/data/index/
|
746
|
-
- spec/dummy/solr/default/data/index/
|
747
|
-
- spec/dummy/solr/default/data/index/
|
748
|
-
- spec/dummy/solr/default/data/index/
|
749
|
-
- spec/dummy/solr/default/data/index/
|
750
|
-
- spec/dummy/solr/default/data/index/
|
751
|
-
- spec/dummy/solr/default/data/index/
|
752
|
-
- spec/dummy/solr/default/data/index/
|
753
|
-
- spec/dummy/solr/default/data/index/
|
754
|
-
- spec/dummy/solr/default/data/index/
|
755
|
-
- spec/dummy/solr/default/data/index/
|
756
|
-
- spec/dummy/solr/default/data/index/
|
757
|
-
- spec/dummy/solr/default/data/index/
|
758
|
-
- spec/dummy/solr/default/data/index/
|
759
|
-
- spec/dummy/solr/default/data/index/
|
760
|
-
- spec/dummy/solr/default/data/index/
|
761
|
-
- spec/dummy/solr/default/data/index/
|
762
|
-
- spec/dummy/solr/default/data/index/
|
734
|
+
- spec/dummy/solr/default/data/index/_7d.fdt
|
735
|
+
- spec/dummy/solr/default/data/index/_7d.fdx
|
736
|
+
- spec/dummy/solr/default/data/index/_7d.fnm
|
737
|
+
- spec/dummy/solr/default/data/index/_7d.nvd
|
738
|
+
- spec/dummy/solr/default/data/index/_7d.nvm
|
739
|
+
- spec/dummy/solr/default/data/index/_7d.si
|
740
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.doc
|
741
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.pos
|
742
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.tim
|
743
|
+
- spec/dummy/solr/default/data/index/_7d_Lucene41_0.tip
|
744
|
+
- spec/dummy/solr/default/data/index/_7e.fdt
|
745
|
+
- spec/dummy/solr/default/data/index/_7e.fdx
|
746
|
+
- spec/dummy/solr/default/data/index/_7e.fnm
|
747
|
+
- spec/dummy/solr/default/data/index/_7e.nvd
|
748
|
+
- spec/dummy/solr/default/data/index/_7e.nvm
|
749
|
+
- spec/dummy/solr/default/data/index/_7e.si
|
750
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.doc
|
751
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.pos
|
752
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.tim
|
753
|
+
- spec/dummy/solr/default/data/index/_7e_Lucene41_0.tip
|
754
|
+
- spec/dummy/solr/default/data/index/_7f.fdt
|
755
|
+
- spec/dummy/solr/default/data/index/_7f.fdx
|
756
|
+
- spec/dummy/solr/default/data/index/_7f.fnm
|
757
|
+
- spec/dummy/solr/default/data/index/_7f.nvd
|
758
|
+
- spec/dummy/solr/default/data/index/_7f.nvm
|
759
|
+
- spec/dummy/solr/default/data/index/_7f.si
|
760
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.doc
|
761
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.pos
|
762
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.tim
|
763
|
+
- spec/dummy/solr/default/data/index/_7f_Lucene41_0.tip
|
763
764
|
- spec/dummy/solr/default/data/index/segments.gen
|
764
|
-
- spec/dummy/solr/default/data/index/
|
765
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
766
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
767
|
-
- spec/dummy/solr/default/data/tlog/tlog.
|
765
|
+
- spec/dummy/solr/default/data/index/segments_a5
|
766
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000361
|
767
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000362
|
768
|
+
- spec/dummy/solr/default/data/tlog/tlog.0000000000000000363
|
768
769
|
- spec/dummy/solr/development/data/index/segments.gen
|
769
770
|
- spec/dummy/solr/development/data/index/segments_1
|
770
771
|
- spec/dummy/solr/solr.xml
|
@@ -828,3 +829,4 @@ test_files:
|
|
828
829
|
- spec/spec_helper.rb
|
829
830
|
- spec/support/controller_macros.rb
|
830
831
|
- spec/support/devise.rb
|
832
|
+
- spec/views/manifestations/identify.oai.builder_spec.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|