bento_search 1.7.0.beta.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -7
- data/app/assets/javascripts/bento_search/ajax_load.js +37 -21
- data/app/helpers/bento_search_helper.rb +72 -74
- data/app/models/bento_search/concurrent_searcher.rb +136 -0
- data/app/models/bento_search/multi_searcher.rb +36 -35
- data/app/models/bento_search/search_engine.rb +70 -40
- data/app/search_engines/bento_search/doaj_articles_engine.rb +1 -1
- data/app/search_engines/bento_search/eds_engine.rb +176 -56
- data/app/views/bento_search/_ajax_loading.html.erb +17 -0
- data/app/views/bento_search/_link.html.erb +3 -3
- data/lib/bento_search.rb +12 -0
- data/lib/bento_search/engine.rb +2 -0
- data/lib/bento_search/version.rb +1 -1
- data/test/search_engines/eds_engine_test.rb +91 -59
- data/test/search_engines/search_engine_base_test.rb +11 -0
- data/test/search_engines/search_engine_test.rb +12 -0
- data/test/unit/concurrent_searcher_test.rb +75 -0
- data/test/unit/multi_searcher_test.rb +16 -19
- data/test/vcr_cassettes/eds/FullText_CustomLink.yml +198 -0
- data/test/vcr_cassettes/eds/basic_search_smoke_test.yml +1036 -1729
- data/test/vcr_cassettes/eds/catalog_ebook_query.yml +218 -0
- data/test/vcr_cassettes/eds/catalog_query.yml +255 -0
- data/test/vcr_cassettes/eds/get_auth_token.yml +11 -44
- data/test/vcr_cassettes/eds/get_auth_token_failure.yml +10 -7
- data/test/vcr_cassettes/eds/get_with_auth.yml +144 -153
- data/test/vcr_cassettes/eds/get_with_auth_recovers_from_bad_auth.yml +167 -223
- metadata +15 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bento_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.0
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -226,6 +226,7 @@ files:
|
|
226
226
|
- app/item_decorators/bento_search/openurl_main_link.rb
|
227
227
|
- app/item_decorators/bento_search/standard_decorator.rb
|
228
228
|
- app/models/bento_search/author.rb
|
229
|
+
- app/models/bento_search/concurrent_searcher.rb
|
229
230
|
- app/models/bento_search/link.rb
|
230
231
|
- app/models/bento_search/multi_searcher.rb
|
231
232
|
- app/models/bento_search/openurl_creator.rb
|
@@ -249,6 +250,7 @@ files:
|
|
249
250
|
- app/search_engines/bento_search/summon_engine.rb
|
250
251
|
- app/search_engines/bento_search/worldcat_sru_dc_engine.rb
|
251
252
|
- app/search_engines/bento_search/xerxes_engine.rb
|
253
|
+
- app/views/bento_search/_ajax_loading.html.erb
|
252
254
|
- app/views/bento_search/_atom_item.atom.builder
|
253
255
|
- app/views/bento_search/_item_title.html.erb
|
254
256
|
- app/views/bento_search/_link.html.erb
|
@@ -319,6 +321,7 @@ files:
|
|
319
321
|
- test/support/atom.xsd.xml
|
320
322
|
- test/support/test_with_cassette.rb
|
321
323
|
- test/test_helper.rb
|
324
|
+
- test/unit/concurrent_searcher_test.rb
|
322
325
|
- test/unit/handle_highlight_tags_test.rb
|
323
326
|
- test/unit/item_decorators_test.rb
|
324
327
|
- test/unit/multi_searcher_test.rb
|
@@ -353,7 +356,10 @@ files:
|
|
353
356
|
- test/vcr_cassettes/ebscohost/live_search_smoke_test.yml
|
354
357
|
- test/vcr_cassettes/ebscohost/multi-field_author_title.yml
|
355
358
|
- test/vcr_cassettes/ebscohost/multi-field_citation_numbers.yml
|
359
|
+
- test/vcr_cassettes/eds/FullText_CustomLink.yml
|
356
360
|
- test/vcr_cassettes/eds/basic_search_smoke_test.yml
|
361
|
+
- test/vcr_cassettes/eds/catalog_ebook_query.yml
|
362
|
+
- test/vcr_cassettes/eds/catalog_query.yml
|
357
363
|
- test/vcr_cassettes/eds/get_auth_token.yml
|
358
364
|
- test/vcr_cassettes/eds/get_auth_token_failure.yml
|
359
365
|
- test/vcr_cassettes/eds/get_with_auth.yml
|
@@ -415,12 +421,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
415
421
|
version: '0'
|
416
422
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
417
423
|
requirements:
|
418
|
-
- - "
|
424
|
+
- - ">="
|
419
425
|
- !ruby/object:Gem::Version
|
420
|
-
version:
|
426
|
+
version: '0'
|
421
427
|
requirements: []
|
422
428
|
rubyforge_project:
|
423
|
-
rubygems_version: 2.5.
|
429
|
+
rubygems_version: 2.5.2
|
424
430
|
signing_key:
|
425
431
|
specification_version: 4
|
426
432
|
summary: An abstraction/normalization layer for querying and displaying results for
|
@@ -477,6 +483,7 @@ test_files:
|
|
477
483
|
- test/support/atom.xsd.xml
|
478
484
|
- test/support/test_with_cassette.rb
|
479
485
|
- test/test_helper.rb
|
486
|
+
- test/unit/concurrent_searcher_test.rb
|
480
487
|
- test/unit/handle_highlight_tags_test.rb
|
481
488
|
- test/unit/item_decorators_test.rb
|
482
489
|
- test/unit/multi_searcher_test.rb
|
@@ -512,6 +519,9 @@ test_files:
|
|
512
519
|
- test/vcr_cassettes/ebscohost/multi-field_citation_numbers.yml
|
513
520
|
- test/vcr_cassettes/ebscohost/RILM_record_with_ISSN_in__jid__element.yml
|
514
521
|
- test/vcr_cassettes/eds/basic_search_smoke_test.yml
|
522
|
+
- test/vcr_cassettes/eds/catalog_ebook_query.yml
|
523
|
+
- test/vcr_cassettes/eds/catalog_query.yml
|
524
|
+
- test/vcr_cassettes/eds/FullText_CustomLink.yml
|
515
525
|
- test/vcr_cassettes/eds/get_auth_token.yml
|
516
526
|
- test/vcr_cassettes/eds/get_auth_token_failure.yml
|
517
527
|
- test/vcr_cassettes/eds/get_with_auth.yml
|