bento_search 1.3.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -2
- data/app/controllers/bento_search/search_controller.rb +1 -1
- data/app/models/bento_search/author.rb +6 -4
- data/app/models/bento_search/link.rb +8 -5
- data/app/models/bento_search/multi_searcher.rb +1 -1
- data/app/models/bento_search/registrar.rb +2 -1
- data/app/models/bento_search/result_item.rb +37 -21
- data/app/models/bento_search/results/serialization.rb +136 -0
- data/app/models/bento_search/results.rb +46 -1
- data/app/models/bento_search/search_engine.rb +22 -17
- data/app/search_engines/bento_search/eds_engine.rb +1 -1
- data/app/search_engines/bento_search/journal_tocs_for_journal.rb +21 -3
- data/lib/bento_search/version.rb +1 -1
- data/lib/bento_search.rb +5 -2
- data/test/search_engines/journal_tocs_for_journal_test.rb +117 -93
- data/test/search_engines/search_engine_test.rb +1 -1
- data/test/unit/serialization_test.rb +249 -0
- data/test/vcr_cassettes/journal_tocs/empty_results_on_bad_ISSN.yml +19 -25
- data/test/vcr_cassettes/journal_tocs/error_on_bad_registered_email.yml +19 -26
- data/test/vcr_cassettes/journal_tocs/error_on_error_response.yml +33 -37
- data/test/vcr_cassettes/journal_tocs/fetch_xml_with_hits.yml +308 -305
- data/test/vcr_cassettes/journal_tocs/fills_out_metadata.yml +515 -377
- data/test/vcr_cassettes/journal_tocs/smoke_test.yml +308 -305
- data/test/vcr_cassettes/journal_tocs/sorts_by_date.yml +922 -0
- metadata +7 -6
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -164426
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.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -233,6 +233,7 @@ files:
|
|
233
233
|
- app/models/bento_search/result_item.rb
|
234
234
|
- app/models/bento_search/results.rb
|
235
235
|
- app/models/bento_search/results/pagination.rb
|
236
|
+
- app/models/bento_search/results/serialization.rb
|
236
237
|
- app/models/bento_search/ris_creator.rb
|
237
238
|
- app/models/bento_search/search_engine.rb
|
238
239
|
- app/models/bento_search/search_engine/capabilities.rb
|
@@ -292,8 +293,6 @@ files:
|
|
292
293
|
- test/dummy/config/initializers/wrap_parameters.rb
|
293
294
|
- test/dummy/config/locales/en.yml
|
294
295
|
- test/dummy/config/routes.rb
|
295
|
-
- test/dummy/db/test.sqlite3
|
296
|
-
- test/dummy/log/test.log
|
297
296
|
- test/dummy/public/404.html
|
298
297
|
- test/dummy/public/422.html
|
299
298
|
- test/dummy/public/500.html
|
@@ -325,6 +324,7 @@ files:
|
|
325
324
|
- test/unit/register_engine_test.rb
|
326
325
|
- test/unit/result_item_test.rb
|
327
326
|
- test/unit/ris_creator_test.rb
|
327
|
+
- test/unit/serialization_test.rb
|
328
328
|
- test/vcr_cassettes/ebscohost/RILM_record_with_ISSN_in__jid__element.yml
|
329
329
|
- test/vcr_cassettes/ebscohost/another_dissertation.yml
|
330
330
|
- test/vcr_cassettes/ebscohost/dissertation_example.yml
|
@@ -363,6 +363,7 @@ files:
|
|
363
363
|
- test/vcr_cassettes/journal_tocs/fetch_xml_with_hits.yml
|
364
364
|
- test/vcr_cassettes/journal_tocs/fills_out_metadata.yml
|
365
365
|
- test/vcr_cassettes/journal_tocs/smoke_test.yml
|
366
|
+
- test/vcr_cassettes/journal_tocs/sorts_by_date.yml
|
366
367
|
- test/vcr_cassettes/primo/proper_tags_for_snippets.yml
|
367
368
|
- test/vcr_cassettes/primo/search_smoke_test.yml
|
368
369
|
- test/vcr_cassettes/scopus/bad_api_key_should_return_error_response.yml
|
@@ -433,8 +434,6 @@ test_files:
|
|
433
434
|
- test/dummy/config/locales/en.yml
|
434
435
|
- test/dummy/config/routes.rb
|
435
436
|
- test/dummy/config.ru
|
436
|
-
- test/dummy/db/test.sqlite3
|
437
|
-
- test/dummy/log/test.log
|
438
437
|
- test/dummy/public/404.html
|
439
438
|
- test/dummy/public/422.html
|
440
439
|
- test/dummy/public/500.html
|
@@ -468,6 +467,7 @@ test_files:
|
|
468
467
|
- test/unit/register_engine_test.rb
|
469
468
|
- test/unit/result_item_test.rb
|
470
469
|
- test/unit/ris_creator_test.rb
|
470
|
+
- test/unit/serialization_test.rb
|
471
471
|
- test/vcr_cassettes/ebscohost/another_dissertation.yml
|
472
472
|
- test/vcr_cassettes/ebscohost/dissertation_example.yml
|
473
473
|
- test/vcr_cassettes/ebscohost/error_bad_db.yml
|
@@ -506,6 +506,7 @@ test_files:
|
|
506
506
|
- test/vcr_cassettes/journal_tocs/fetch_xml_with_hits.yml
|
507
507
|
- test/vcr_cassettes/journal_tocs/fills_out_metadata.yml
|
508
508
|
- test/vcr_cassettes/journal_tocs/smoke_test.yml
|
509
|
+
- test/vcr_cassettes/journal_tocs/sorts_by_date.yml
|
509
510
|
- test/vcr_cassettes/primo/proper_tags_for_snippets.yml
|
510
511
|
- test/vcr_cassettes/primo/search_smoke_test.yml
|
511
512
|
- test/vcr_cassettes/scopus/bad_api_key_should_return_error_response.yml
|
data/test/dummy/db/test.sqlite3
DELETED
File without changes
|