enju_nii 0.1.0.pre13 → 0.1.0.pre14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/cinii_books_helper.rb +1 -1
- data/lib/enju_nii/version.rb +1 -1
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record.yml +390 -387
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record_with_dual_languages.yml +282 -180
- data/spec/cassette_library/CiniiBook/should_search_bibliographic_records.yml +25 -25
- data/spec/cassette_library/CiniiBook/should_search_with_ncid.yml +15 -10
- data/spec/cassette_library/CiniiBooksController/GET_index/should_get_index.yml +14 -14
- data/spec/dummy/app/assets/javascripts/application.js +10 -6
- data/spec/models/cinii_book_spec.rb +1 -1
- metadata +16 -16
@@ -7,8 +7,10 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
15
|
- Ruby
|
14
16
|
response:
|
@@ -17,9 +19,9 @@ http_interactions:
|
|
17
19
|
message: OK
|
18
20
|
headers:
|
19
21
|
Date:
|
20
|
-
-
|
22
|
+
- Tue, 03 Nov 2015 18:15:25 GMT
|
21
23
|
Access-Control-Allow-Origin:
|
22
|
-
-
|
24
|
+
- "*"
|
23
25
|
Content-Type:
|
24
26
|
- application/rss+xml;charset=UTF-8
|
25
27
|
Transfer-Encoding:
|
@@ -44,7 +46,7 @@ http_interactions:
|
|
44
46
|
cGVuU2VhcmNoIC0gMTAgQkE4NTc0Njk2NyAxPC9kZXNjcmlwdGlvbj4KPGxp
|
45
47
|
bms+aHR0cDovL2NpLm5paS5hYy5qcC9ib29rcy9vcGVuc2VhcmNoL3NlYXJj
|
46
48
|
aD9jb3VudD0xMCZhbXA7cT1CQTg1NzQ2OTY3JmFtcDtwPTEmYW1wO2Zvcm1h
|
47
|
-
dD1yc3M8L2xpbms+
|
49
|
+
dD1yc3M8L2xpbms+CjxkYzpkYXRlPjIwMTUtMTEtMDRUMDM6MTU6MjUrMDkw
|
48
50
|
MDwvZGM6ZGF0ZT4KPG9wZW5zZWFyY2g6dG90YWxSZXN1bHRzPjE8L29wZW5z
|
49
51
|
ZWFyY2g6dG90YWxSZXN1bHRzPgo8b3BlbnNlYXJjaDpzdGFydEluZGV4PjA8
|
50
52
|
L29wZW5zZWFyY2g6c3RhcnRJbmRleD4KPG9wZW5zZWFyY2g6aXRlbXNQZXJQ
|
@@ -66,10 +68,13 @@ http_interactions:
|
|
66
68
|
bkRhdGU+MjAwODwvcHJpc206cHVibGljYXRpb25EYXRlPgo8ZGM6ZGF0ZT4y
|
67
69
|
MDA4PC9kYzpkYXRlPgo8ZGN0ZXJtczppc1BhcnRPZiByZGY6cmVzb3VyY2U9
|
68
70
|
Imh0dHA6Ly9jaS5uaWkuYWMuanAvbmNpZC9CQTYxNjM2MDY4IiBkYzp0aXRs
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
71
|
+
ZT0i5aSn6Ziq5aSn5a2m5paw5LiW57SA44Os44Kv44OB44Oj44O8LCAuIOio
|
72
|
+
iOeul+apn+ODnuODhuODquOCouODq+ODh+OCtuOCpOODs+WFiOerr+eglOep
|
73
|
+
tuS6i+S+i3x844Kx44Kk44K144Oz44KtIOODnuODhuODquOCouODqyDjg4fj
|
74
|
+
grbjgqTjg7Mg44K744Oz44K/44OzIOOCseODs+OCreODpeOCpiDjgrjjg6zj
|
75
|
+
gqQgOyAxIi8+CjxkY3Rlcm1zOmhhc1BhcnQgcmRmOnJlc291cmNlPSJ1cm46
|
76
|
+
aXNibjo5Nzg0ODcyNTkyNTQyIi8+CjxjaW5paTpvd25lckNvdW50PjQ5PC9j
|
77
|
+
aW5paTpvd25lckNvdW50Pgo8L2l0ZW0+CjwvcmRmOlJERj4K
|
73
78
|
http_version:
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR
|
79
|
+
recorded_at: Tue, 03 Nov 2015 18:15:26 GMT
|
80
|
+
recorded_with: VCR 3.0.0
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Tue, 03 Nov 2015 18:15:23 GMT
|
23
23
|
Access-Control-Allow-Origin:
|
24
24
|
- "*"
|
25
25
|
Content-Type:
|
@@ -34,8 +34,8 @@ http_interactions:
|
|
34
34
|
<title>CiNii Books OpenSearch - 10 library 1</title>
|
35
35
|
<description>CiNii Books OpenSearch - 10 library 1</description>
|
36
36
|
<link>http://ci.nii.ac.jp/books/opensearch/search?count=10&q=library&p=1&format=rss</link>
|
37
|
-
<dc:date>
|
38
|
-
<opensearch:totalResults>
|
37
|
+
<dc:date>2015-11-04T03:15:23+0900</dc:date>
|
38
|
+
<opensearch:totalResults>164010</opensearch:totalResults>
|
39
39
|
<opensearch:startIndex>0</opensearch:startIndex>
|
40
40
|
<opensearch:itemsPerPage>10</opensearch:itemsPerPage>
|
41
41
|
<items>
|
@@ -45,8 +45,8 @@ http_interactions:
|
|
45
45
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA48143394"/>
|
46
46
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA26254788"/>
|
47
47
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA12212848"/>
|
48
|
-
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA11561058"/>
|
49
48
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA72991593"/>
|
49
|
+
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA11561058"/>
|
50
50
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA11345904"/>
|
51
51
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA01218354"/>
|
52
52
|
<rdf:li rdf:resource="http://ci.nii.ac.jp/ncid/BA10121322"/>
|
@@ -93,14 +93,6 @@ http_interactions:
|
|
93
93
|
<dc:publisher>British Library, Science Reference Library</dc:publisher>
|
94
94
|
<cinii:ownerCount>0</cinii:ownerCount>
|
95
95
|
</item>
|
96
|
-
<item rdf:about="http://ci.nii.ac.jp/ncid/BA11561058">
|
97
|
-
<title>Bibliographies</title>
|
98
|
-
<link>http://ci.nii.ac.jp/ncid/BA11561058</link>
|
99
|
-
<rdfs:seeAlso rdf:resource="http://ci.nii.ac.jp/ncid/BA11561058.rdf"/>
|
100
|
-
<dc:creator/>
|
101
|
-
<dc:publisher>Library Association</dc:publisher>
|
102
|
-
<cinii:ownerCount>0</cinii:ownerCount>
|
103
|
-
</item>
|
104
96
|
<item rdf:about="http://ci.nii.ac.jp/ncid/BA72991593">
|
105
97
|
<title>Guildhall Library research guide</title>
|
106
98
|
<link>http://ci.nii.ac.jp/ncid/BA72991593</link>
|
@@ -109,6 +101,14 @@ http_interactions:
|
|
109
101
|
<dc:publisher>Guildhall Library</dc:publisher>
|
110
102
|
<cinii:ownerCount>0</cinii:ownerCount>
|
111
103
|
</item>
|
104
|
+
<item rdf:about="http://ci.nii.ac.jp/ncid/BA11561058">
|
105
|
+
<title>Bibliographies</title>
|
106
|
+
<link>http://ci.nii.ac.jp/ncid/BA11561058</link>
|
107
|
+
<rdfs:seeAlso rdf:resource="http://ci.nii.ac.jp/ncid/BA11561058.rdf"/>
|
108
|
+
<dc:creator/>
|
109
|
+
<dc:publisher>Library Association</dc:publisher>
|
110
|
+
<cinii:ownerCount>0</cinii:ownerCount>
|
111
|
+
</item>
|
112
112
|
<item rdf:about="http://ci.nii.ac.jp/ncid/BA11345904">
|
113
113
|
<title>Bohn's libraries</title>
|
114
114
|
<link>http://ci.nii.ac.jp/ncid/BA11345904</link>
|
@@ -135,5 +135,5 @@ http_interactions:
|
|
135
135
|
</item>
|
136
136
|
</rdf:RDF>
|
137
137
|
http_version:
|
138
|
-
recorded_at:
|
139
|
-
recorded_with: VCR
|
138
|
+
recorded_at: Tue, 03 Nov 2015 18:15:23 GMT
|
139
|
+
recorded_with: VCR 3.0.0
|
@@ -1,9 +1,13 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
4
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
//
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
6
12
|
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
13
|
//= require_tree .
|
@@ -7,7 +7,7 @@ describe CiniiBook do
|
|
7
7
|
Manifestation.enju_nii_cinii_books
|
8
8
|
|
9
9
|
it "should search bibliographic records", vcr: true do
|
10
|
-
CiniiBook.search("library system")[:total_entries].should eq
|
10
|
+
CiniiBook.search("library system")[:total_entries].should eq 3456
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should search with ncid", vcr: true do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_nii
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_biblio
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.0.
|
19
|
+
version: 0.1.0.pre71
|
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.0.
|
26
|
+
version: 0.1.0.pre71
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: mysql2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.3.20
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.3.20
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pg
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: vcr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '3.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '3.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,28 +156,28 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.1.0.
|
159
|
+
version: 1.1.0.rc22
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.1.0.
|
166
|
+
version: 1.1.0.rc22
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: enju_subject
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.1.0.
|
173
|
+
version: 0.1.0.pre34
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.1.0.
|
180
|
+
version: 0.1.0.pre34
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: appraisal
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|