enju_ndl 0.1.0.pre37 → 0.1.0.pre38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ndl_books_controller.rb +1 -6
- data/lib/enju_ndl/ndl_search.rb +10 -10
- data/lib/enju_ndl/version.rb +1 -1
- data/spec/cassette_library/ImportRequest/should_import_isbn.yml +201 -186
- data/spec/cassette_library/Manifestation/should_imporrt_a_bibliographic_record.yml +864 -848
- data/spec/cassette_library/Manifestation/should_import_isbn.yml +203 -188
- data/spec/cassette_library/Manifestation/should_import_series_statement.yml +850 -820
- data/spec/cassette_library/NdlBook/import/should_get_series_title.yml +36 -13
- data/spec/cassette_library/NdlBook/import/should_get_volume_number.yml +48 -46
- data/spec/cassette_library/NdlBook/import/should_import_audio_cd.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_bibliographic_record.yml +139 -134
- data/spec/cassette_library/NdlBook/import/should_import_bibliographic_record_that_does_not_have_any_classifications.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_map.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_ndc8_classification.yml +152 -149
- data/spec/cassette_library/NdlBook/import/should_import_notated_music.yml +9 -9
- data/spec/cassette_library/NdlBook/import/should_import_painting.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_photograph.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_picture_postcard.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_publication_place.yml +146 -141
- data/spec/cassette_library/NdlBook/import/should_import_pud_date_is_nil.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_series_statement.yml +11 -9
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_if_the_resource_is_serial.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_s_creator.yml +184 -179
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_transctiption.yml +143 -143
- data/spec/cassette_library/NdlBook/import/should_import_still_image.yml +117 -113
- data/spec/cassette_library/NdlBook/import/should_import_tactile_text.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_title_alternative.yml +179 -176
- data/spec/cassette_library/NdlBook/import/should_import_url_contain_whitespace.yml +134 -130
- data/spec/cassette_library/NdlBook/import/should_import_video_dvd.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_volume_number_string.yml +132 -130
- data/spec/cassette_library/NdlBook/import/should_not_get_series_title_if_book_has_not_series_title.yml +41 -16
- data/spec/cassette_library/NdlBook/import/should_not_get_volume_number_if_book_has_not_volume.yml +70 -48
- data/spec/cassette_library/NdlBook/search/should_not_distinguish_double_byte_space_from_one-byte_space_in_a_query.yml +649 -597
- data/spec/cassette_library/NdlBook/search/should_search_bibliographic_record.yml +42 -38
- data/spec/cassette_library/NdlBooksController/GET_index/should_get_index.yml +290 -302
- data/spec/cassette_library/NdlBooksController/POST_create/should_create_a_bibliographic_record_if_jpno_is_set.yml +149 -152
- data/spec/cassette_library/NdlBooksController/POST_create/should_create_a_serial_record.yml +12 -10
- data/spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml +11 -11
- data/spec/cassette_library/Question/should_respond_to_search_crd.yml +209 -303
- data/spec/dummy/app/assets/javascripts/application.js +10 -6
- data/spec/dummy/db/schema.rb +97 -97
- data/spec/models/ndl_book_spec.rb +1 -1
- metadata +15 -15
@@ -10,7 +10,7 @@ describe NdlBook do
|
|
10
10
|
|
11
11
|
context "search" do
|
12
12
|
it "should search bibliographic record", :vcr => true do
|
13
|
-
NdlBook.search('library system')[:total_entries].should eq
|
13
|
+
NdlBook.search('library system')[:total_entries].should eq 5345
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should not distinguish double byte space from one-byte space in a query", :vcr => true do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_ndl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre38
|
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: nokogiri
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: mysql2
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.3.20
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.3.20
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pg
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,16 +126,16 @@ dependencies:
|
|
126
126
|
name: vcr
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
131
|
+
version: '3.0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
138
|
+
version: '3.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: webmock
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ 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_question
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.1.0.
|
215
|
+
version: 0.1.0.pre34
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.1.0.
|
222
|
+
version: 0.1.0.pre34
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: appraisal
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -567,7 +567,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
567
567
|
version: 1.3.1
|
568
568
|
requirements: []
|
569
569
|
rubyforge_project:
|
570
|
-
rubygems_version: 2.4.5
|
570
|
+
rubygems_version: 2.4.5.1
|
571
571
|
signing_key:
|
572
572
|
specification_version: 4
|
573
573
|
summary: enju_ndl plugin
|