umlaut 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/resolve_controller.rb +15 -1
- data/app/controllers/search_methods/sfx4.rb +6 -2
- data/app/controllers/search_methods/sfx4_solr/searcher.rb +31 -3
- data/app/service_adaptors/bx.rb +1 -3
- data/app/service_adaptors/sfx.rb +175 -175
- data/lib/umlaut/version.rb +1 -1
- data/test/dummy/tmp/cache/assets/BFF/760/sprockets%2Fe00969069e468419c393709f042b4527 +0 -0
- data/test/dummy/tmp/cache/assets/C99/040/sprockets%2F84d95490d4855608b8dd8602192f4f9c +0 -0
- data/test/dummy/tmp/cache/assets/{DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8 → C9D/060/sprockets%2F5c8956a1666824a1d214531abd22e2a2} +0 -0
- data/test/dummy/tmp/cache/assets/CC7/D80/sprockets%2F62a4c21a1d5bac4064e25082f523f238 +0 -0
- data/test/dummy/tmp/cache/assets/CC8/C70/sprockets%2F397590f867a06c2d0595c75ed4269e9b +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/{D9A/2F0/sprockets%2Fbba0f4b972dc53c15ce6c8c1993b82a4 → CE3/1F0/sprockets%2F9a3b0380fe964d77f0013845d3d355fd} +0 -0
- data/test/dummy/tmp/cache/assets/{CC7/F10/sprockets%2F939637f806eef3f0f21584659458ab2e → CE7/FA0/sprockets%2F98df08987c1b5c0f643a21538a7182ec} +0 -0
- data/test/dummy/tmp/cache/assets/CEA/930/sprockets%2F42ebf67295336dfb5725a8bb12881a98 +0 -0
- data/test/dummy/tmp/cache/assets/{C49/730/sprockets%2F212d35831188417b5131e3e693aa69a6 → D02/B30/sprockets%2Fb9332ebd1d306cc9120a386ca986034d} +0 -0
- data/test/dummy/tmp/cache/assets/D15/FC0/sprockets%2F8cbf3a8b7acb7fc27a42168846226385 +0 -0
- data/test/dummy/tmp/cache/assets/{DF7/960/sprockets%2F99ac6db10b44a64fbba4ee847b35ba8b → D17/BC0/sprockets%2F1ae6578a93a7a3d848319dea314f592d} +0 -0
- data/test/dummy/tmp/cache/assets/{E02/C10/sprockets%2F1463cadfce3fc70e61d482f9fcb75ac7 → D2D/240/sprockets%2F6610ec2488ff4a57d54efb798f1a9994} +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D33/2C0/sprockets%2F790e9527eead8b020b92b34dc6a600d2 +0 -0
- data/test/dummy/tmp/cache/assets/{BBA/6A0/sprockets%2F2a335471966f33256b321f8324041981 → D38/930/sprockets%2F45cee52fe11df0057793a6751aa65a4c} +0 -0
- data/test/dummy/tmp/cache/assets/D39/B30/sprockets%2Fcb7b9f6963b829c678ff9267c63577ce +0 -0
- data/test/dummy/tmp/cache/assets/D47/690/sprockets%2Fd92186d33469ff2bd01ba096f33dfd78 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/{C5A/A80/sprockets%2F2328c7370b56b4151776981a5f6d394e → D5F/690/sprockets%2Febe18c52ead548a955a1f2be191130b3} +0 -0
- data/test/dummy/tmp/cache/assets/{C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80 → D65/0D0/sprockets%2F9fd0b369f009be410bdb0b6e5458b3a6} +0 -0
- data/test/dummy/tmp/cache/assets/{E5E/5F0/sprockets%2Feffaeb4d7f9bf4c0cc840ff320fde046 → D65/820/sprockets%2Fae5318865ebb4a2b74e84c0e13fb921a} +0 -0
- data/test/dummy/tmp/cache/assets/D6A/A80/sprockets%2F22d5d4e74a9a3f3deb5a92704ae750f3 +0 -0
- data/test/dummy/tmp/cache/assets/{D9C/860/sprockets%2Fec2d9f20b270d70e698ff33e53c21fca → D6B/020/sprockets%2Ffba640f8143fc0c24e3e6616e2eb93a9} +0 -0
- data/test/dummy/tmp/cache/assets/D6B/8C0/sprockets%2Fa0dc07225af433e77fd6a9028a8e3c6e +0 -0
- data/test/dummy/tmp/cache/assets/D72/1E0/sprockets%2Fdee77a9fb00d0a6229fd6b54a8f14197 +0 -0
- data/test/dummy/tmp/cache/assets/D98/990/sprockets%2F710ede3e7f5ebab14e9772fa88c00c02 +0 -0
- data/test/dummy/tmp/cache/assets/{D6E/CF0/sprockets%2F5661c6e4f0cea86fe4523f27261aade5 → DAB/C70/sprockets%2Ff8ac0db14f84bce083a7c58f965e806f} +0 -0
- data/test/dummy/tmp/cache/assets/DAD/BA0/sprockets%2F193f81f7e4eae26eaaa7d909c0c8e956 +0 -0
- data/test/dummy/tmp/cache/assets/{D37/2B0/sprockets%2F40834fb07d7318c1fddd5003bd9e04f6 → DCB/620/sprockets%2F2332a294ceeab3ab9b5ee643989dc0eb} +0 -0
- data/test/dummy/tmp/cache/assets/{DB6/ED0/sprockets%2Ff4482d9b9f76fb65eef16430bde2f8e6 → DD1/120/sprockets%2Fbee5967b8282dab9fce5c242bcc14c55} +0 -0
- data/test/dummy/tmp/cache/assets/DD6/010/sprockets%2F15a8fcbaccc97804fce2ee514e371f79 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DEF/A60/sprockets%2F3fddcee3e5dbd24f28de1001e5f3a009 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/{E50/F00/sprockets%2Fec61afdbb1cc4df075e3dad46f0af571 → E2E/350/sprockets%2Fbea81b7c4fdf19664eff44b21ea53dbe} +0 -0
- data/test/dummy/tmp/cache/assets/{DA9/BC0/sprockets%2Fcb9062b73291befe5e5bf2a70978dec8 → EF1/680/sprockets%2Fed8ede7dea4bd22aacb9584fbe7d6cad} +0 -0
- data/test/dummy/tmp/cache/sass/b43409235ed55124ccf6a0235156711682d0fe98/umlaut.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{93d65682d6bddb0b2e6788c1232f4849af20a35e → d2b87393a9fcb33d01e765e1c09b76db7f14f647}/bootstrap-responsive.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{93d65682d6bddb0b2e6788c1232f4849af20a35e → d2b87393a9fcb33d01e765e1c09b76db7f14f647}/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_close.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_code.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_hero-unit.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_labels-badges.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_layouts.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_media.scssc +0 -0
- data/test/dummy/tmp/cache/sass/db21ae7b0d8da2224e8e1d588985ee0507dc926a/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_responsive-1200px-min.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_responsive-767px-max.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_responsive-768px-979px.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_responsive-navbar.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_sprites.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_type.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{310d901c169042855feb8cf3903e1e2821d27f13 → db21ae7b0d8da2224e8e1d588985ee0507dc926a}/responsive.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{3af72421a0fbed39d3047687ca0ad6e6e5545041 → fc140da5c32e19b5c3f84a23bb2383ebc83fcc20}/_admin.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{3af72421a0fbed39d3047687ca0ad6e6e5545041 → fc140da5c32e19b5c3f84a23bb2383ebc83fcc20}/_az.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{3af72421a0fbed39d3047687ca0ad6e6e5545041 → fc140da5c32e19b5c3f84a23bb2383ebc83fcc20}/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_icons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_layout.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_misc.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{3af72421a0fbed39d3047687ca0ad6e6e5545041 → fc140da5c32e19b5c3f84a23bb2383ebc83fcc20}/_modal.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_resolve.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_results.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_search.scssc +0 -0
- data/test/dummy/tmp/cache/sass/{3af72421a0fbed39d3047687ca0ad6e6e5545041 → fc140da5c32e19b5c3f84a23bb2383ebc83fcc20}/_spinner.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fc140da5c32e19b5c3f84a23bb2383ebc83fcc20/_variables.scssc +0 -0
- data/test/fixtures/permalinks.yml +1 -1
- data/test/fixtures/referent_values.yml +107 -85
- data/test/fixtures/referents.yml +10 -9
- data/test/fixtures/requests.yml +10 -14
- data/test/fixtures/service_responses.yml +12 -12
- data/test/functional/resolve_controller_test.rb +23 -1
- data/test/test_helper.rb +1 -0
- data/test/unit/README.md +126 -0
- data/test/unit/bx_test.rb +39 -0
- data/test/unit/collection_test.rb +1 -1
- data/test/unit/service_test.rb +1 -1
- data/test/unit/sfx4_solr_search_test.rb +9 -5
- data/test/unit/sfx_test.rb +1 -0
- data/test/vcr_cassettes/bx/article_that_has_recommendations.yml +65 -0
- data/test/vcr_cassettes/sfx4_solr/find_by_group.yml +108 -92
- data/test/vcr_cassettes/sfx4_solr/find_by_title_begins_with.yml +52 -14
- data/test/vcr_cassettes/sfx4_solr/find_by_title_contains.yml +53 -15
- data/test/vcr_cassettes/sfx4_solr/find_by_title_exact.yml +17 -13
- metadata +536 -566
- checksums.yaml +0 -15
- data/app/assets/stylesheets/umlaut/_expand_contract.scss +0 -10
- data/app/controllers/journal_tocs_controller +0 -90
- data/app/models/service_store.rb-NEW +0 -73
- data/app/service_adaptors/tr_link.rb +0 -267
- data/app/service_adaptors/tr_links.rb +0 -278
- data/lib/tasks/Untitled-1 +0 -8
- data/test/dummy/config/umlaut_services-JH.yml +0 -223
- data/test/dummy/config/umlaut_services-TEST.yml +0 -37
- data/test/dummy/tmp/cache/assets/C2A/410/sprockets%2Fd654b74912b4773a2534616863fb6565 +0 -0
- data/test/dummy/tmp/cache/assets/C45/A30/sprockets%2F39494895e462697b478d3d0c79298a26 +0 -0
- data/test/dummy/tmp/cache/assets/C55/1D0/sprockets%2F5af2f2a3403040f736981863fd278529 +0 -0
- data/test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7 +0 -0
- data/test/dummy/tmp/cache/assets/C80/980/sprockets%2Fc94807409c1523d43e18d25f35d93c41 +0 -0
- data/test/dummy/tmp/cache/assets/C94/E20/sprockets%2F19579abc248373f419b1c3e287d74598 +0 -0
- data/test/dummy/tmp/cache/assets/C98/330/sprockets%2F0c81574ba94abc10657315d4190c201f +0 -0
- data/test/dummy/tmp/cache/assets/CA4/440/sprockets%2F0feb4425db6319d7d0582192a503671b +0 -0
- data/test/dummy/tmp/cache/assets/CA7/E80/sprockets%2F33310f455a870eaedd6d938e30620714 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/3C0/sprockets%2F697cd846490fda9f0e20c558320610f8 +0 -0
- data/test/dummy/tmp/cache/assets/CBD/730/sprockets%2F034c1086748b981c36672d5a56e7fed6 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f +0 -0
- data/test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d +0 -0
- data/test/dummy/tmp/cache/assets/CD1/F20/sprockets%2F385e5fb31cf27e262480d1174be1d500 +0 -0
- data/test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46 +0 -0
- data/test/dummy/tmp/cache/assets/CF8/DA0/sprockets%2Ff5b8c8499d3da954d392fa57739503c5 +0 -0
- data/test/dummy/tmp/cache/assets/CF9/590/sprockets%2F096bcc45cd31b3796fa2121cd203215f +0 -0
- data/test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398 +0 -0
- data/test/dummy/tmp/cache/assets/D04/CC0/sprockets%2Fe9c1b92f2e437e1bbbe020d718739220 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/090/sprockets%2F58009091c95e3ac328c91c68fca30e0e +0 -0
- data/test/dummy/tmp/cache/assets/D16/F90/sprockets%2F5fe3c021048c6f9a6086bed7736d87b1 +0 -0
- data/test/dummy/tmp/cache/assets/D1A/B50/sprockets%2F2db5892438129fe94da8429b8be114ec +0 -0
- data/test/dummy/tmp/cache/assets/D24/360/sprockets%2F6987b047a96dc685ba3cf39b31477f6d +0 -0
- data/test/dummy/tmp/cache/assets/D2D/1A0/sprockets%2F376426b4896a3cff7969ce6c7b387e0e +0 -0
- data/test/dummy/tmp/cache/assets/D43/0D0/sprockets%2F682843a8d0795a5fbcfeb2f0c81727d0 +0 -0
- data/test/dummy/tmp/cache/assets/D46/F80/sprockets%2Fb15c08e749067d7aad9baf5e9388221c +0 -0
- data/test/dummy/tmp/cache/assets/D6C/7D0/sprockets%2F8a05d6981ec0d38c51739bef0b3a9c2b +0 -0
- data/test/dummy/tmp/cache/assets/D94/FF0/sprockets%2F3b56a1aa77de0d570c38a4a9d5f4b1d6 +0 -0
- data/test/dummy/tmp/cache/assets/D97/6B0/sprockets%2Fb070e8c799d1a4ad5e62e0a1ae3b83e6 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/A80/sprockets%2F92e26d8e58d5bcc8b8f6c25d1b05b9c1 +0 -0
- data/test/dummy/tmp/cache/assets/DA8/BB0/sprockets%2F0cf1c7e9f966dce425517c0e2a844efe +0 -0
- data/test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F1ccf7405cd252dcec4bf23af82e2563a +0 -0
- data/test/dummy/tmp/cache/assets/DCF/7B0/sprockets%2Ffaa6a4d1af3261fca7b6ddc987386b90 +0 -0
- data/test/dummy/tmp/cache/assets/DD2/D80/sprockets%2Fc66d103807d0f971fbbcf9aa8b8b27ee +0 -0
- data/test/dummy/tmp/cache/assets/DFC/040/sprockets%2F15ea81cf915c0cb1dfc9cc04c9fef364 +0 -0
- data/test/dummy/tmp/cache/assets/DFD/300/sprockets%2Fabac9489cf7f1db8ef00d72a1571ee1e +0 -0
- data/test/dummy/tmp/cache/assets/E38/FE0/sprockets%2Fe1fc875efa817cbb94a5d8de25ea4e6b +0 -0
- data/test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6 +0 -0
- data/test/dummy/tmp/cache/sass/310d901c169042855feb8cf3903e1e2821d27f13/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_base.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_icons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_misc.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_resolve.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_results.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_search.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3af72421a0fbed39d3047687ca0ad6e6e5545041/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/fb58c04fd15fcc38a8c4d91b7070bcfeaf1c3799/umlaut.css.scssc +0 -0
- data/test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_gc_runs.csv +0 -2
- data/test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_gc_time.csv +0 -2
- data/test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_memory.csv +0 -2
- data/test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_objects.csv +0 -2
- data/test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_wall_time.csv +0 -2
- data/test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_flat.txt +0 -11
- data/test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_graph.html +0 -303
- data/test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_stack.html +0 -546
- data/test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_tree.txt +0 -38
- data/test/dummy/tmp/performance/empty.png +0 -0
- data/test/dummy/tmp/performance/minus.png +0 -0
- data/test/dummy/tmp/performance/plus.png +0 -0
@@ -1,224 +1,206 @@
|
|
1
1
|
# Referent_value fixtures
|
2
|
-
|
3
|
-
referent_value_1:
|
2
|
+
frankenstein1:
|
4
3
|
normalized_value: info:oclcnum/33045872
|
5
4
|
key_name: identifier
|
6
5
|
metadata: false
|
7
|
-
id: 1
|
8
6
|
value: info:oclcnum/33045872
|
9
|
-
|
7
|
+
referent: frankenstein
|
10
8
|
created_at: 2008-06-28 16:15:27 -04:00
|
11
9
|
private_data: false
|
12
10
|
|
13
|
-
|
11
|
+
frankenstein2:
|
14
12
|
normalized_value: book
|
15
13
|
key_name: format
|
16
14
|
metadata: false
|
17
|
-
id: 2
|
18
15
|
value: book
|
19
|
-
|
16
|
+
referent: frankenstein
|
20
17
|
created_at: 2008-06-28 16:15:27 -04:00
|
21
18
|
private_data: false
|
22
19
|
|
23
|
-
|
20
|
+
frankenstein3:
|
24
21
|
normalized_value: "9780393964585"
|
25
22
|
key_name: isbn
|
26
23
|
metadata: true
|
27
|
-
|
28
|
-
|
29
|
-
referent_id: 1
|
24
|
+
value: "9780393964585"
|
25
|
+
referent: frankenstein
|
30
26
|
created_at: 2008-06-28 16:15:27 -04:00
|
31
27
|
private_data: false
|
32
28
|
|
33
|
-
|
29
|
+
frankenstein4:
|
34
30
|
normalized_value: new york
|
35
31
|
key_name: place
|
36
32
|
metadata: true
|
37
|
-
id: 4
|
38
33
|
value: New York
|
39
|
-
|
34
|
+
referent: frankenstein
|
40
35
|
created_at: 2008-06-28 16:15:27 -04:00
|
41
36
|
private_data: false
|
42
37
|
|
43
|
-
|
38
|
+
frankenstein5:
|
44
39
|
normalized_value: ""
|
45
40
|
key_name: atitle
|
46
41
|
metadata: true
|
47
|
-
id: 5
|
48
42
|
value:
|
49
|
-
|
43
|
+
referent: frankenstein
|
50
44
|
created_at: 2008-06-28 16:15:27 -04:00
|
51
45
|
private_data: false
|
52
46
|
|
53
|
-
|
47
|
+
frankenstein6:
|
54
48
|
normalized_value: ""
|
55
49
|
key_name: aucorp
|
56
50
|
metadata: true
|
57
|
-
id: 6
|
58
51
|
value:
|
59
|
-
|
52
|
+
referent: frankenstein
|
60
53
|
created_at: 2008-06-28 16:15:27 -04:00
|
61
54
|
private_data: false
|
62
55
|
|
63
|
-
|
56
|
+
frankenstein7:
|
64
57
|
normalized_value: "1997"
|
65
58
|
key_name: date
|
66
59
|
metadata: true
|
67
|
-
|
68
|
-
|
69
|
-
referent_id: 1
|
60
|
+
value: "1997"
|
61
|
+
referent: frankenstein
|
70
62
|
created_at: 2008-06-28 16:15:27 -04:00
|
71
63
|
private_data: false
|
72
64
|
|
73
|
-
|
65
|
+
frankenstein8:
|
74
66
|
normalized_value: "frankenstein : the 1818 text, contexts, nineteenth-century responses, modern criticism"
|
75
67
|
key_name: btitle
|
76
68
|
metadata: true
|
77
|
-
id: 8
|
78
69
|
value: 'Frankenstein : the 1818 text, contexts, nineteenth-century responses, modern criticism'
|
79
|
-
|
70
|
+
referent: frankenstein
|
80
71
|
created_at: 2008-06-28 16:15:27 -04:00
|
81
72
|
private_data: false
|
82
73
|
|
83
|
-
|
74
|
+
frankenstein9:
|
84
75
|
normalized_value: ""
|
85
76
|
key_name: series
|
86
77
|
metadata: true
|
87
|
-
id: 9
|
88
78
|
value:
|
89
|
-
|
79
|
+
referent: frankenstein
|
90
80
|
created_at: 2008-06-28 16:15:27 -04:00
|
91
81
|
private_data: false
|
92
82
|
|
93
|
-
|
83
|
+
frankenstein10:
|
94
84
|
normalized_value: w.w. norton
|
95
85
|
key_name: pub
|
96
86
|
metadata: true
|
97
|
-
id: 10
|
98
87
|
value: W.W. Norton
|
99
|
-
|
88
|
+
referent: frankenstein
|
100
89
|
created_at: 2008-06-28 16:15:27 -04:00
|
101
90
|
private_data: false
|
102
91
|
|
103
|
-
|
92
|
+
frankenstein11:
|
104
93
|
normalized_value: book
|
105
94
|
key_name: genre
|
106
95
|
metadata: true
|
107
|
-
id: 11
|
108
96
|
value: book
|
109
|
-
|
97
|
+
referent: frankenstein
|
110
98
|
created_at: 2008-06-28 16:15:27 -04:00
|
111
99
|
private_data: false
|
112
100
|
|
113
|
-
|
101
|
+
frankenstein12:
|
114
102
|
normalized_value: 1st ed.
|
115
103
|
key_name: edition
|
116
104
|
metadata: true
|
117
|
-
id: 12
|
118
105
|
value: 1st ed.
|
119
|
-
|
106
|
+
referent: frankenstein
|
120
107
|
created_at: 2008-06-28 16:15:28 -04:00
|
121
108
|
private_data: false
|
122
109
|
|
123
|
-
|
110
|
+
frankenstein13:
|
124
111
|
normalized_value: wollstonecraft
|
125
112
|
key_name: auinitm
|
126
113
|
metadata: true
|
127
|
-
id: 13
|
128
114
|
value: Wollstonecraft
|
129
|
-
|
115
|
+
referent: frankenstein
|
130
116
|
created_at: 2008-06-28 16:15:28 -04:00
|
131
117
|
private_data: false
|
132
118
|
|
133
|
-
|
119
|
+
frankenstein14:
|
134
120
|
normalized_value: ""
|
135
121
|
key_name: tpages
|
136
122
|
metadata: true
|
137
|
-
id: 14
|
138
123
|
value:
|
139
|
-
|
124
|
+
referent: frankenstein
|
140
125
|
created_at: 2008-06-28 16:15:28 -04:00
|
141
126
|
private_data: false
|
142
127
|
|
143
|
-
|
128
|
+
frankenstein15:
|
144
129
|
normalized_value: mary
|
145
130
|
key_name: aufirst
|
146
131
|
metadata: true
|
147
|
-
id: 15
|
148
132
|
value: Mary
|
149
|
-
|
133
|
+
referent: frankenstein
|
150
134
|
created_at: 2008-06-28 16:15:28 -04:00
|
151
135
|
private_data: false
|
152
136
|
|
153
|
-
|
137
|
+
frankenstein16:
|
154
138
|
normalized_value: shelley
|
155
139
|
key_name: aulast
|
156
140
|
metadata: true
|
157
|
-
id: 16
|
158
141
|
value: Shelley
|
159
|
-
|
142
|
+
referent: frankenstein
|
160
143
|
created_at: 2008-06-28 16:15:28 -04:00
|
161
144
|
private_data: false
|
162
145
|
|
163
|
-
|
164
|
-
normalized_value: tag:gpc,2008-6-28:1
|
146
|
+
frankenstein17:
|
147
|
+
normalized_value: "tag:gpc,2008-6-28:1"
|
165
148
|
key_name: identifier
|
166
149
|
metadata: false
|
167
|
-
|
168
|
-
|
169
|
-
referent_id: 1
|
150
|
+
value: "tag:gpc,2008-6-28:1"
|
151
|
+
referent: frankenstein
|
170
152
|
created_at: 2008-06-28 16:15:28 -04:00
|
171
153
|
private_data: false
|
172
154
|
|
173
|
-
|
155
|
+
nytimes1:
|
174
156
|
normalized_value: 0362-4331
|
175
157
|
key_name: issn
|
176
158
|
metadata: true
|
177
159
|
value: 0362-4331
|
178
|
-
|
160
|
+
referent: nytimes
|
179
161
|
private_data: false
|
180
162
|
|
181
|
-
|
163
|
+
nytimes2:
|
182
164
|
normalized_value: The New York times
|
183
165
|
key_name: jtitle
|
184
166
|
metadata: true
|
185
167
|
value: The New York times
|
186
|
-
|
168
|
+
referent: nytimes
|
187
169
|
private_data: false
|
188
170
|
|
189
|
-
|
171
|
+
nytimes3:
|
190
172
|
normalized_value: journal
|
191
173
|
key_name: format
|
192
174
|
metadata: false
|
193
175
|
value: journal
|
194
|
-
|
176
|
+
referent: nytimes
|
195
177
|
private_data: false
|
196
178
|
|
197
|
-
|
198
|
-
referent:
|
179
|
+
simple1:
|
180
|
+
referent: simple
|
199
181
|
key_name: "format"
|
200
182
|
value: "journal"
|
201
183
|
normalized_value: "journal"
|
202
184
|
metadata: false
|
203
185
|
private_data: false
|
204
186
|
|
205
|
-
|
206
|
-
referent:
|
187
|
+
simple2:
|
188
|
+
referent: simple
|
207
189
|
key_name: "genre"
|
208
190
|
value: "journal"
|
209
191
|
normalized_value: "journal"
|
210
192
|
metadata: true
|
211
193
|
private_data: false
|
212
194
|
|
213
|
-
|
214
|
-
referent:
|
195
|
+
simple3:
|
196
|
+
referent: simple
|
215
197
|
key_name: issn
|
216
198
|
value: 0098-7484
|
217
199
|
normalized_value: 0098-7484
|
218
200
|
metadata: true
|
219
201
|
private_data: false
|
220
202
|
|
221
|
-
|
203
|
+
critical_inquiry1:
|
222
204
|
referent: critical_inquiry_referent
|
223
205
|
key_name: "issn"
|
224
206
|
value: "0093-1896"
|
@@ -226,7 +208,7 @@ critical_inquiry_rv1:
|
|
226
208
|
metadata: true
|
227
209
|
private_data: false
|
228
210
|
|
229
|
-
|
211
|
+
critical_inquiry2:
|
230
212
|
referent: critical_inquiry_referent
|
231
213
|
key_name: "title"
|
232
214
|
value: "Critical inquiry"
|
@@ -234,7 +216,7 @@ critical_inquiry_rv2:
|
|
234
216
|
metadata: true
|
235
217
|
private_data: false
|
236
218
|
|
237
|
-
|
219
|
+
critical_inquiry3:
|
238
220
|
referent: critical_inquiry_referent
|
239
221
|
key_name: "jtitle"
|
240
222
|
value: "Critical inquiry"
|
@@ -242,7 +224,7 @@ critical_inquiry_rv3:
|
|
242
224
|
metadata: true
|
243
225
|
private_data: false
|
244
226
|
|
245
|
-
|
227
|
+
critical_inquiry4:
|
246
228
|
referent: critical_inquiry_referent
|
247
229
|
key_name: "stitle"
|
248
230
|
value: "CRIT INQUIRY"
|
@@ -250,7 +232,7 @@ critical_inquiry_rv4:
|
|
250
232
|
metadata: true
|
251
233
|
private_data: false
|
252
234
|
|
253
|
-
|
235
|
+
critical_inquiry5:
|
254
236
|
referent: critical_inquiry_referent
|
255
237
|
key_name: "genre"
|
256
238
|
value: "journal"
|
@@ -258,7 +240,7 @@ critical_inquiry_rv5:
|
|
258
240
|
metadata: true
|
259
241
|
private_data: false
|
260
242
|
|
261
|
-
|
243
|
+
critical_inquiry6:
|
262
244
|
referent: critical_inquiry_referent
|
263
245
|
key_name: "aulast"
|
264
246
|
value: "Ranciè"
|
@@ -266,7 +248,7 @@ critical_inquiry_rv6:
|
|
266
248
|
metadata: true
|
267
249
|
private_data: false
|
268
250
|
|
269
|
-
|
251
|
+
critical_inquiry7:
|
270
252
|
referent: critical_inquiry_referent
|
271
253
|
key_name: "aufirst"
|
272
254
|
value: "Ranci&"
|
@@ -274,7 +256,7 @@ critical_inquiry_rv7:
|
|
274
256
|
metadata: true
|
275
257
|
private_data: false
|
276
258
|
|
277
|
-
|
259
|
+
critical_inquiry8:
|
278
260
|
referent: critical_inquiry_referent
|
279
261
|
key_name: "object_id"
|
280
262
|
value: "954925463186"
|
@@ -282,7 +264,7 @@ critical_inquiry_rv8:
|
|
282
264
|
metadata: true
|
283
265
|
private_data: false
|
284
266
|
|
285
|
-
|
267
|
+
critical_inquiry9:
|
286
268
|
referent: critical_inquiry_referent
|
287
269
|
key_name: "object_type"
|
288
270
|
value: "JOURNAL"
|
@@ -290,7 +272,7 @@ critical_inquiry_rv9:
|
|
290
272
|
metadata: true
|
291
273
|
private_data: false
|
292
274
|
|
293
|
-
|
275
|
+
critical_inquiry10:
|
294
276
|
referent: critical_inquiry_referent
|
295
277
|
key_name: "eissn"
|
296
278
|
value: "1539-7858"
|
@@ -298,7 +280,7 @@ critical_inquiry_rv10:
|
|
298
280
|
metadata: true
|
299
281
|
private_data: false
|
300
282
|
|
301
|
-
|
283
|
+
critical_inquiry11:
|
302
284
|
referent: critical_inquiry_referent
|
303
285
|
key_name: "atitle"
|
304
286
|
value: "The Aesthetic Dimension: Aesthetics, Politics, Knowledge"
|
@@ -306,7 +288,7 @@ critical_inquiry_rv11:
|
|
306
288
|
metadata: true
|
307
289
|
private_data: false
|
308
290
|
|
309
|
-
|
291
|
+
critical_inquiry12:
|
310
292
|
referent: critical_inquiry_referent
|
311
293
|
key_name: "format"
|
312
294
|
value: "journal"
|
@@ -444,10 +426,10 @@ advocate1:
|
|
444
426
|
|
445
427
|
advocate2:
|
446
428
|
referent: advocate
|
447
|
-
normalized_value: 1832-9373
|
429
|
+
normalized_value: "1832-9373"
|
448
430
|
key_name: issn
|
449
431
|
metadata: true
|
450
|
-
value: 1832-9373
|
432
|
+
value: "1832-9373"
|
451
433
|
private_data: false
|
452
434
|
|
453
435
|
advocate3:
|
@@ -460,8 +442,48 @@ advocate3:
|
|
460
442
|
|
461
443
|
advocate4:
|
462
444
|
referent: advocate
|
463
|
-
normalized_value: 2670000000017711
|
445
|
+
normalized_value: "2670000000017711"
|
464
446
|
key_name: object_id
|
465
447
|
metadata: true
|
466
|
-
value: 2670000000017711
|
467
|
-
private_data: false
|
448
|
+
value: "2670000000017711"
|
449
|
+
private_data: false
|
450
|
+
|
451
|
+
coffeemakers1:
|
452
|
+
referent: coffeemakers
|
453
|
+
key_name: format
|
454
|
+
value: journal
|
455
|
+
normalized_value: journal
|
456
|
+
metadata: false
|
457
|
+
private_data: false
|
458
|
+
|
459
|
+
coffeemakers2:
|
460
|
+
referent: coffeemakers
|
461
|
+
key_name: genre
|
462
|
+
value: article
|
463
|
+
normalized_value: article
|
464
|
+
metadata: true
|
465
|
+
private_data: false
|
466
|
+
|
467
|
+
coffeemakers3:
|
468
|
+
referent: coffeemakers
|
469
|
+
key_name: atitle
|
470
|
+
value: "A blend of different tastes: the language of coffeemakers"
|
471
|
+
normalized_value: "a blend of different tastes: the language of coffeemakers"
|
472
|
+
metadata: true
|
473
|
+
private_data: false
|
474
|
+
|
475
|
+
coffeemakers4:
|
476
|
+
referent: coffeemakers
|
477
|
+
key_name: issn
|
478
|
+
value: "0265-8135"
|
479
|
+
normalized_value: "0265-8135"
|
480
|
+
metadata: true
|
481
|
+
private_data: false
|
482
|
+
|
483
|
+
coffeemakers5:
|
484
|
+
referent: coffeemakers
|
485
|
+
key_name: volume
|
486
|
+
value: "25"
|
487
|
+
normalized_value: "25"
|
488
|
+
metadata: true
|
489
|
+
private_data: false
|
data/test/fixtures/referents.yml
CHANGED
@@ -1,23 +1,17 @@
|
|
1
1
|
# Referent fixtures
|
2
2
|
frankenstein:
|
3
3
|
isbn: "9780393964585"
|
4
|
-
atitle: ""
|
5
4
|
title: "frankenstein : the 1818 text, contexts, nineteenth-century responses, modern criticism"
|
6
|
-
id: 1
|
7
|
-
issn: ""
|
8
5
|
year: "1997"
|
9
|
-
volume: ""
|
10
|
-
created_at: 2008-06-28 16:15:27 -04:00
|
11
6
|
|
12
7
|
nytimes:
|
13
|
-
id: 2
|
14
8
|
issn: 0362-4331
|
15
9
|
title: The New York times
|
16
10
|
|
17
|
-
|
11
|
+
simple:
|
18
12
|
issn: "0098-7484"
|
19
13
|
|
20
|
-
|
14
|
+
critical_inquiry:
|
21
15
|
title: "Critical inquiry"
|
22
16
|
issn: "0093-1896"
|
23
17
|
|
@@ -30,4 +24,11 @@ momo:
|
|
30
24
|
|
31
25
|
advocate:
|
32
26
|
title: Advocate
|
33
|
-
issn: 1832-9373
|
27
|
+
issn: 1832-9373
|
28
|
+
|
29
|
+
coffeemakers:
|
30
|
+
atitle: "A blend of different tastes: the language of coffeemakers"
|
31
|
+
title: 'Environment and planning B, Planning and design'
|
32
|
+
issn: 0265-8135
|
33
|
+
year: 1998
|
34
|
+
volume: 25
|
data/test/fixtures/requests.yml
CHANGED
@@ -2,45 +2,41 @@
|
|
2
2
|
frankenstein:
|
3
3
|
client_ip_is_simulated:
|
4
4
|
session_id: 9a9f27cb54d8ccf83e272d8bce87eeec
|
5
|
-
id: 19
|
6
5
|
referrer_id: 1
|
7
6
|
contextobj_fingerprint: ae44376f47a8636b3f99faad660222fb
|
8
|
-
|
7
|
+
referent: frankenstein
|
9
8
|
client_ip_addr: 127.0.0.1
|
10
|
-
created_at: 2008-06-28 17:26:08 -04:00
|
11
9
|
|
12
10
|
nytimes:
|
13
|
-
|
14
|
-
referent_id: 2
|
11
|
+
referent: nytimes
|
15
12
|
session_id: 06727b665a0594d926d91e49ef6ad8db
|
16
13
|
contextobj_fingerprint: 07b546cc6a0899602c2b835d645dcb4a
|
17
14
|
|
18
|
-
|
15
|
+
simple:
|
19
16
|
session_id: "f747f4273c1ecb12f1f764cc10c646d3"
|
20
|
-
referent:
|
17
|
+
referent: simple
|
21
18
|
client_ip_addr: "128.220.205.186"
|
22
19
|
contextobj_fingerprint: "b75283f6fb365d5901fbdc6726301370"
|
23
20
|
http_env: { SERVER_NAME : "app01.mse.jhu.edu", "HTTP_ACCEPT_ENCODING" : "gzip,deflate", "HTTP_USER_AGENT" : "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)", "HTTP_ACCEPT_LANGUAGE" : "en-us,en;q=0.5", "HTTP_HOST" : "app01.mse.jhu.edu:3000", "HTTP_KEEP_ALIVE" : "300", "HTTP_ACCEPT_CHARSET" : "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "HTTP_VERSION" : "HTTP/1.1", "REQUEST_URI" : "/resolve?url_ver=Z39.88-2004&url_ctx_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Actx&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rft.issn=0098-7484&rft.genre=journal&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal", "HTTP_ACCEPT" : "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "HTTP_CONNECTION" : "keep-alive" }
|
24
21
|
|
25
|
-
|
26
|
-
|
27
|
-
referent: critical_inquiry_referent
|
22
|
+
critical_inquiry:
|
23
|
+
referent: critical_inquiry
|
28
24
|
session_id: "f747f4273c1ecb12f1f764cc10c646d7"
|
29
25
|
client_ip_addr: "127.0.0.1"
|
30
26
|
contextobj_fingerprint: "b75283f6fb365d5901fbdc6726301377"
|
31
27
|
|
32
28
|
sfx_multi_obj_request_no_fulltext_request:
|
33
|
-
id: 57
|
34
29
|
referent: sfx_multi_obj_request_no_fulltext_referent
|
35
30
|
session_id: "f747f4273c1ecb12f1f764cc10c646d7"
|
36
31
|
client_ip_addr: "127.0.0.1"
|
37
32
|
contextobj_fingerprint: "b75283f6fb365d5901fbdc6726301377"
|
38
33
|
|
39
34
|
momo:
|
40
|
-
id: 81
|
41
35
|
referent: momo
|
42
36
|
|
43
37
|
advocate:
|
44
|
-
id: 82
|
45
38
|
referent: advocate
|
46
|
-
referrer_id: info:sid/sfxit.com:citation
|
39
|
+
referrer_id: info:sid/sfxit.com:citation
|
40
|
+
|
41
|
+
coffeemakers:
|
42
|
+
referent: coffeemakers
|
@@ -2,7 +2,7 @@ service_response1:
|
|
2
2
|
service_id: Worldcat
|
3
3
|
display_text: Find in other libraries
|
4
4
|
url: http://www.worldcat.org/issn/03624331
|
5
|
-
|
5
|
+
request: nytimes
|
6
6
|
service_type_value_name: highlighted_link
|
7
7
|
service_data: --- {}
|
8
8
|
|
@@ -10,7 +10,7 @@ service_response2:
|
|
10
10
|
service_id: SFX
|
11
11
|
display_text: EBSCOhost Business Abstracts with Full Text
|
12
12
|
url: https://ezproxy.library.edu/login?url=http://search.ebscohost.com/direct.asp?db=bft&jn=3RAH&scope=site
|
13
|
-
|
13
|
+
request: nytimes
|
14
14
|
service_type_value_name: fulltext
|
15
15
|
service_data: |
|
16
16
|
---
|
@@ -31,7 +31,7 @@ service_response2:
|
|
31
31
|
service_response3:
|
32
32
|
service_id: EmailExport
|
33
33
|
display_text: Email
|
34
|
-
|
34
|
+
request: nytimes
|
35
35
|
service_type_value_name: export_citation
|
36
36
|
service_data: |
|
37
37
|
---
|
@@ -40,7 +40,7 @@ service_response3:
|
|
40
40
|
service_response9:
|
41
41
|
service_id: TxtHoldingExport
|
42
42
|
display_text: Send to phone
|
43
|
-
|
43
|
+
request: nytimes
|
44
44
|
service_type_value_name: export_citation
|
45
45
|
service_data: |
|
46
46
|
---
|
@@ -50,7 +50,7 @@ service_response4:
|
|
50
50
|
service_id: SFX
|
51
51
|
display_text: EBSCOhost Newspaper Source Plus
|
52
52
|
url: http://search.ebscohost.com/login.aspx?direct=true&db=n5h&scope=site&jn=New+York+Times
|
53
|
-
|
53
|
+
request: nytimes
|
54
54
|
service_type_value_name: fulltext
|
55
55
|
service_data: |
|
56
56
|
---
|
@@ -72,7 +72,7 @@ service_response5:
|
|
72
72
|
service_id: SFX
|
73
73
|
display_text: Proquest
|
74
74
|
url: http://proquest.umi.com/pqdweb?RQT=318&VName=PQD&clientid=9269&pmid=7818
|
75
|
-
|
75
|
+
request: nytimes
|
76
76
|
service_type_value_name: fulltext
|
77
77
|
service_data: |
|
78
78
|
---
|
@@ -83,7 +83,7 @@ service_response6:
|
|
83
83
|
service_id: Ulrichs
|
84
84
|
display_text: Periodical information
|
85
85
|
url: https://ulrichsweb.serialssolutions.com/api/openurl?issn=0362-4331
|
86
|
-
|
86
|
+
request: nytimes
|
87
87
|
service_type_value_name: highlighted_link
|
88
88
|
service_data: --- {}
|
89
89
|
|
@@ -91,7 +91,7 @@ service_response7:
|
|
91
91
|
service_id: SFX
|
92
92
|
display_text: EBSCOhost Business Abstracts with Full Text
|
93
93
|
url: http://search.ebscohost.com/direct.asp?db=bft&jn=3RAH&scope=site
|
94
|
-
|
94
|
+
request: nytimes
|
95
95
|
service_type_value_name: fulltext
|
96
96
|
service_data: |
|
97
97
|
---
|
@@ -114,7 +114,7 @@ service_response8:
|
|
114
114
|
display_text: Library holding
|
115
115
|
url: http://holding.library.edu/DOCID
|
116
116
|
notes: Some notes.
|
117
|
-
|
117
|
+
request: nytimes
|
118
118
|
service_type_value_name: holding
|
119
119
|
service_data: |
|
120
120
|
---
|
@@ -137,7 +137,7 @@ service_response9:
|
|
137
137
|
display_text: "the Internet Archive: Open Source Book"
|
138
138
|
url: "http://archive.org/details/MomoOvveroLarcanaStoriaDeiLadriDiTempoEDellaBambinaCheRestitu"
|
139
139
|
notes:
|
140
|
-
|
140
|
+
request: momo
|
141
141
|
service_type_value_name: fulltext
|
142
142
|
service_data: |
|
143
143
|
---
|
@@ -150,7 +150,7 @@ service_response10:
|
|
150
150
|
display_text: Gale Cengage Newsstand
|
151
151
|
url: "http://find.galegroup.com/openurl/openurl?res_id=info%3Asid%2Fgale%3ASTND&rft.issn=1832-9373&req_dat=info%3Asid%2Fgale%3Augnid%3Anysl_me_newyorku&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&url_ctx_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Actx&ctx_enc=info%3Aofi%3Aenc%3AUTF-8&url_ver=Z39.88-2004&rft.jtitle=Advocate+(Western+Australia,+Australia)"
|
152
152
|
notes:
|
153
|
-
|
153
|
+
request: advocate
|
154
154
|
service_type_value_name: fulltext
|
155
155
|
service_data: |
|
156
156
|
---
|
@@ -166,4 +166,4 @@ service_response10:
|
|
166
166
|
:citation_volume:
|
167
167
|
:citation_issue:
|
168
168
|
:citation_spage:
|
169
|
-
:debug_info: ! ' Target: GALEGROUP_IT_NEWSSTAND ; SFX object ID: 2670000000017711'
|
169
|
+
:debug_info: ! ' Target: GALEGROUP_IT_NEWSSTAND ; SFX object ID: 2670000000017711'
|
@@ -1,5 +1,9 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
require 'test_helper'
|
3
|
+
|
4
|
+
require 'uri'
|
5
|
+
require 'rack/utils'
|
6
|
+
|
3
7
|
class ResolveControllerTest < ActionController::TestCase
|
4
8
|
extend TestWithCassette
|
5
9
|
fixtures :requests, :referents, :referent_values, :dispatched_services, :service_responses
|
@@ -9,7 +13,8 @@ class ResolveControllerTest < ActionController::TestCase
|
|
9
13
|
end
|
10
14
|
|
11
15
|
test_with_cassette("nytimes by issn", :resolve, :match_requests_on => [:method, :uri_without_ctx_tim]) do
|
12
|
-
|
16
|
+
umlaut_request = requests(:nytimes)
|
17
|
+
get :index, "umlaut.request_id" => umlaut_request.id
|
13
18
|
assert_response :success
|
14
19
|
assert_select "title", "Find It | The New York times"
|
15
20
|
assert_select "h1", "Find It"
|
@@ -71,6 +76,23 @@ class ResolveControllerTest < ActionController::TestCase
|
|
71
76
|
end
|
72
77
|
end
|
73
78
|
|
79
|
+
test_with_cassette("POSTed OpenURL redirects to GET", :resolve, :match_requests_on => [:method, :uri_without_ctx_tim]) do
|
80
|
+
# an actual post request Gale GREENr was sending us
|
81
|
+
pparams = {"genre"=>"article", "sid"=>"gale:GRNR", "__char_set"=>"utf8", "spage"=>"138", "issn"=>"0016-7398", "issue"=>"2", "pid"=>"info:sid/gale:ugnid:balt85423", "date"=>"2010", "aulast"=>"Hedley, Peter J.", "au"=>"Hedley, Peter J.", "atitle"=>"Evolution of the Irrawaddy delta region since 1850.(Report)", "title"=>"The Geographical Journal", "aufirst"=>"Hedley, Peter J.", "volume"=>"176"}
|
82
|
+
post(:index, pparams)
|
83
|
+
|
84
|
+
assert_response :redirect
|
85
|
+
|
86
|
+
redirect_uri = URI.parse(@response.redirect_url)
|
87
|
+
|
88
|
+
assert_equal "/resolve", redirect_uri.path
|
89
|
+
|
90
|
+
# Redirected params is a subset of pparams, pparams can have extra
|
91
|
+
# stuff maybe, we don't care.
|
92
|
+
redirected_params = Rack::Utils.parse_nested_query redirect_uri.query
|
93
|
+
assert (redirected_params.to_a - pparams.to_a).empty?, "Redirected params include all of original POSTed params"
|
94
|
+
end
|
95
|
+
|
74
96
|
test_with_cassette("fulltext with edition warning", :resolve, :match_requests_on => [:method, :uri_without_ctx_tim]) do
|
75
97
|
umlaut_request = requests(:momo)
|
76
98
|
get(:index, {'umlaut.request_id' => umlaut_request.id})
|
data/test/test_helper.rb
CHANGED
@@ -78,6 +78,7 @@ VCR.configure do |c|
|
|
78
78
|
c.hook_into :webmock
|
79
79
|
c.register_request_matcher(:uri_without_ctx_tim, &without_ctx_tim)
|
80
80
|
# c.debug_logger = $stderr
|
81
|
+
c.filter_sensitive_data("BX_TOKEN") { ENV['BX_TOKEN'] } unless ENV['BX_TOKEN'].blank?
|
81
82
|
end
|
82
83
|
|
83
84
|
# Silly way to not have to rewrite all our tests if we
|