krikri 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. checksums.yaml +4 -4
  2. data/lib/krikri.rb +1 -0
  3. data/lib/krikri/harvesters/primo_harvester.rb +106 -0
  4. data/lib/krikri/parsers/primo_parser.rb +27 -0
  5. data/lib/krikri/version.rb +1 -1
  6. data/spec/factories/krikri_original_record.rb +117 -0
  7. data/spec/internal/Gemfile +4 -3
  8. data/spec/internal/Gemfile.lock +88 -78
  9. data/spec/internal/app/assets/javascripts/application.js +1 -1
  10. data/spec/internal/config/initializers/blacklight_initializer.rb +1 -1
  11. data/spec/internal/config/initializers/devise.rb +2 -2
  12. data/spec/internal/config/secrets.yml +2 -2
  13. data/spec/internal/db/development.sqlite3 +0 -0
  14. data/spec/internal/db/migrate/{20151104012426_devise_create_users.rb → 20150812153900_devise_create_users.rb} +0 -0
  15. data/spec/internal/db/migrate/{20151104012504_create_searches.blacklight.rb → 20150812153941_create_searches.blacklight.rb} +0 -0
  16. data/spec/internal/db/migrate/{20151104012505_create_bookmarks.blacklight.rb → 20150812153942_create_bookmarks.blacklight.rb} +0 -0
  17. data/spec/internal/db/migrate/{20151104012506_add_polymorphic_type_to_bookmarks.blacklight.rb → 20150812153943_add_polymorphic_type_to_bookmarks.blacklight.rb} +0 -0
  18. data/spec/internal/db/schema.rb +1 -1
  19. data/spec/internal/db/test.sqlite3 +0 -0
  20. data/spec/internal/log/development.log +89 -89
  21. data/spec/internal/log/test.log +5111 -5012
  22. data/spec/internal/tmp/cache/318/301/krikri%2Fapplication_helper%2Favailable_providers +0 -0
  23. data/spec/internal/tmp/cache/assets/test/sass/{71fba6bdfa89d88fe8a72b36eafd3b91cf10a6d0 → 0f463fae8ec59cbdc602859dac6f3131b47588e5}/blacklight.css.scssc +0 -0
  24. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_alerts.scssc +0 -0
  25. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_background-variant.scssc +0 -0
  26. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_border-radius.scssc +0 -0
  27. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_buttons.scssc +0 -0
  28. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_center-block.scssc +0 -0
  29. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_clearfix.scssc +0 -0
  30. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_forms.scssc +0 -0
  31. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_gradients.scssc +0 -0
  32. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_grid-framework.scssc +0 -0
  33. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_grid.scssc +0 -0
  34. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_hide-text.scssc +0 -0
  35. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_image.scssc +0 -0
  36. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_labels.scssc +0 -0
  37. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_list-group.scssc +0 -0
  38. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_nav-divider.scssc +0 -0
  39. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_nav-vertical-align.scssc +0 -0
  40. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_opacity.scssc +0 -0
  41. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_pagination.scssc +0 -0
  42. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_panels.scssc +0 -0
  43. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_progress-bar.scssc +0 -0
  44. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_reset-filter.scssc +0 -0
  45. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_resize.scssc +0 -0
  46. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_responsive-visibility.scssc +0 -0
  47. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_size.scssc +0 -0
  48. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_tab-focus.scssc +0 -0
  49. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_table-row.scssc +0 -0
  50. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_text-emphasis.scssc +0 -0
  51. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_text-overflow.scssc +0 -0
  52. data/spec/internal/tmp/cache/assets/test/sass/{75eb48b5361d55a8133e0091d663a085dacee3c5 → 622890f0980fe8cd9e30bdaab5a7914245d2443e}/_vendor-prefixes.scssc +0 -0
  53. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_blacklight_base.scssc +0 -0
  54. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_bookmark.scssc +0 -0
  55. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_catalog.scssc +0 -0
  56. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_facets.scssc +0 -0
  57. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_group.scssc +0 -0
  58. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_header.scssc +0 -0
  59. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_layout.scssc +0 -0
  60. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_modal.scssc +0 -0
  61. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/_search_history.scssc +0 -0
  62. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/blacklight.scssc +0 -0
  63. data/spec/internal/tmp/cache/assets/test/sass/{78e0580c292179fc5fdd7b74b703dad1702b4176 → 80ea3b25063dd984130d99a1c4278f3cd1b013f1}/blacklight_defaults.scssc +0 -0
  64. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_alerts.scssc +0 -0
  65. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_badges.scssc +0 -0
  66. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_breadcrumbs.scssc +0 -0
  67. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_button-groups.scssc +0 -0
  68. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_buttons.scssc +0 -0
  69. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_carousel.scssc +0 -0
  70. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_close.scssc +0 -0
  71. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_code.scssc +0 -0
  72. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_component-animations.scssc +0 -0
  73. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_dropdowns.scssc +0 -0
  74. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_forms.scssc +0 -0
  75. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_glyphicons.scssc +0 -0
  76. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_grid.scssc +0 -0
  77. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_input-groups.scssc +0 -0
  78. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_jumbotron.scssc +0 -0
  79. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_labels.scssc +0 -0
  80. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_list-group.scssc +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_media.scssc +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_mixins.scssc +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_modals.scssc +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_navbar.scssc +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_navs.scssc +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_normalize.scssc +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_pager.scssc +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_pagination.scssc +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_panels.scssc +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_popovers.scssc +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_print.scssc +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_progress-bars.scssc +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_responsive-embed.scssc +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_responsive-utilities.scssc +0 -0
  95. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_scaffolding.scssc +0 -0
  96. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_tables.scssc +0 -0
  97. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_thumbnails.scssc +0 -0
  98. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_tooltip.scssc +0 -0
  99. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_type.scssc +0 -0
  100. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_utilities.scssc +0 -0
  101. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_variables.scssc +0 -0
  102. data/spec/internal/tmp/cache/assets/test/sass/{f79e9f3544f6b8d5f7ca05529260dceec8dd44ed → 93f97edda53560c38d0d029e30e3b3a93212c1b8}/_wells.scssc +0 -0
  103. data/spec/internal/tmp/cache/assets/test/sass/{6449c927c92ef1ea4378c66161e3b0efe1bf954d → c50f52d2eeadabb7c9bfad3246524fac09113575}/_bootstrap-sprockets.scssc +0 -0
  104. data/spec/internal/tmp/cache/assets/test/sass/{6449c927c92ef1ea4378c66161e3b0efe1bf954d → c50f52d2eeadabb7c9bfad3246524fac09113575}/_bootstrap.scssc +0 -0
  105. data/spec/internal/tmp/cache/assets/test/sprockets/0a25eb99290a6b015dfe4c29d8585cec +0 -0
  106. data/spec/internal/tmp/cache/assets/test/sprockets/{fed76e6bd857a06488c186874bbe2bb2 → 0b3eca32a0c1d368e88a01be94ca7f6b} +0 -0
  107. data/spec/internal/tmp/cache/assets/test/sprockets/0fe9919db7899ede10068d0d9d3adfa8 +0 -0
  108. data/spec/internal/tmp/cache/assets/test/sprockets/{f7a87683461c3a58ee9b6e9546473c4e → 1153a153512ddd535004623e0bbdc1c4} +0 -0
  109. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  110. data/spec/internal/tmp/cache/assets/test/sprockets/142790b68ce01969e4bbdd1d2a90b18c +0 -0
  111. data/spec/internal/tmp/cache/assets/test/sprockets/154af7ce6de6c616d3c1c654904a88de +0 -0
  112. data/spec/internal/tmp/cache/assets/test/sprockets/1a6f0128e8b6cc52594e7e16506dd476 +0 -0
  113. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  114. data/spec/internal/tmp/cache/assets/test/sprockets/30183a6c313ab79c8ffc2711dc633ea5 +0 -0
  115. data/spec/internal/tmp/cache/assets/test/sprockets/{11b7eeb5da37de1c315d886349adbc98 → 3290971c05649c7d11051df70b2fefbb} +0 -0
  116. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  117. data/spec/internal/tmp/cache/assets/test/sprockets/35c0cb4e1848557e53960891cf2bbc4c +0 -0
  118. data/spec/internal/tmp/cache/assets/test/sprockets/3822d8965af2c63a9d8eb5be7d54a39e +0 -0
  119. data/spec/internal/tmp/cache/assets/test/sprockets/39191bda3ba14fb0d5671ef5320e9e01 +0 -0
  120. data/spec/internal/tmp/cache/assets/test/sprockets/3a1636e712ea5450451f140a1e11ad6b +0 -0
  121. data/spec/internal/tmp/cache/assets/test/sprockets/3af50e8108914b16e8005270444c23eb +0 -0
  122. data/spec/internal/tmp/cache/assets/test/sprockets/{15d4a1814324216b9aebc377530adaca → 3be5d7c0f4c216492f0aa28be003d004} +0 -0
  123. data/spec/internal/tmp/cache/assets/test/sprockets/{93dd91f6519f569f11fddf4df22460d9 → 43549442460e63625bfa01b300845db4} +0 -0
  124. data/spec/internal/tmp/cache/assets/test/sprockets/{56c4654f0ec001fce226efc987304f26 → 4aca32864569722d64f0355ab5dc65bb} +0 -0
  125. data/spec/internal/tmp/cache/assets/test/sprockets/{9db2d7e9e41e6686da46e98b8d9bf998 → 4b2cab71b255f0bf4e45a6e317974ed0} +0 -0
  126. data/spec/internal/tmp/cache/assets/test/sprockets/4ffa695d373f85c9375cfeef7a7fa7b0 +0 -0
  127. data/spec/internal/tmp/cache/assets/test/sprockets/{aa92d8a74950d2d6217a51424ce4b33b → 55c96cfe875a998dd83f861cec024cd8} +0 -0
  128. data/spec/internal/tmp/cache/assets/test/sprockets/5884f169a3cb492a556b12cf26d98512 +0 -0
  129. data/spec/internal/tmp/cache/assets/test/sprockets/5b4c0893fb6462116b5c893ee5067a7a +0 -0
  130. data/spec/internal/tmp/cache/assets/test/sprockets/{82dd05a187bccd30f62fabb16491fe03 → 5ed91405d3e1d9c4d64964b23e2ddad5} +0 -0
  131. data/spec/internal/tmp/cache/assets/test/sprockets/5ee4ec5587fe5e6b2489c6df8444c3a3 +0 -0
  132. data/spec/internal/tmp/cache/assets/test/sprockets/66bc87f66d912cc874b361b58b063232 +0 -0
  133. data/spec/internal/tmp/cache/assets/test/sprockets/{cd59839c2fc0d494ffa76ef4c4dbfa42 → 6a7000430a188e026e888de506892486} +0 -0
  134. data/spec/internal/tmp/cache/assets/test/sprockets/{82de1c42365fd1cf6a2adc2f644150c1 → 6e51639f97de2a9999b40c947cc2cce4} +0 -0
  135. data/spec/internal/tmp/cache/assets/test/sprockets/70678ea30b446b6e43c58cb504a38c5e +0 -0
  136. data/spec/internal/tmp/cache/assets/test/sprockets/736b38c683d67eae78becf8bd03ccc03 +0 -0
  137. data/spec/internal/tmp/cache/assets/test/sprockets/{b146aa842b38c17ed4117b2f52d4b51f → 74b2a1c32eb911fede6dbf691e2438fd} +0 -0
  138. data/spec/internal/tmp/cache/assets/test/sprockets/769e239a980f02fb5f0d31f2e47661b6 +0 -0
  139. data/spec/internal/tmp/cache/assets/test/sprockets/{53329c49c9b4ba25d31c73c9b98260b0 → 7ed2a89adfb413f382b9844cb60e004f} +0 -0
  140. data/spec/internal/tmp/cache/assets/test/sprockets/{e83c10c393da1c028c7d4217ecfc9c03 → 86aa4bb34763ef2ec398ce2948064feb} +0 -0
  141. data/spec/internal/tmp/cache/assets/test/sprockets/8e0a985f6d848652e6e2b69502089957 +0 -0
  142. data/spec/internal/tmp/cache/assets/test/sprockets/{59b1fd64c6fc18a82465ad6fdc7094fa → 8e24ef751a813d86a3a2953ce9f31b1b} +0 -0
  143. data/spec/internal/tmp/cache/assets/test/sprockets/92440cff8e26faca6421a88212bf5cc5 +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  145. data/spec/internal/tmp/cache/assets/test/sprockets/9aa82f96c9760fb5b052b29dfead27ee +0 -0
  146. data/spec/internal/tmp/cache/assets/test/sprockets/9e3583b4a24bbae71c81cc89b31cf681 +0 -0
  147. data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  148. data/spec/internal/tmp/cache/assets/test/sprockets/addcc05c958d32994bbcc4df6b13c80a +0 -0
  149. data/spec/internal/tmp/cache/assets/test/sprockets/{16648e86ab6ef2950f3630ff0d566409 → b6fcc8843d7d36abc9183de7f3c09fdd} +0 -0
  150. data/spec/internal/tmp/cache/assets/test/sprockets/{7f804c48c333d9758fa49ff9331b78e2 → b783bb7bbb5960da9c2720974804b177} +0 -0
  151. data/spec/internal/tmp/cache/assets/test/sprockets/c94aa024045ec61aa3ce4de5c0ca7515 +0 -0
  152. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  153. data/spec/internal/tmp/cache/assets/test/sprockets/d04cedd870a36cb0ac8ad65bf032c556 +0 -0
  154. data/spec/internal/tmp/cache/assets/test/sprockets/d0ae540226d860c35ce84f64c67f40bb +0 -0
  155. data/spec/internal/tmp/cache/assets/test/sprockets/{d32e733978c8eb7c7db3ec2b865ee87f → d0d4fb263d72afa8341801f74e58939e} +0 -0
  156. data/spec/internal/tmp/cache/assets/test/sprockets/{d7bf17ad1471147b5314b4dda0bad9fe → d54a9568f2db6442d0be17210a6d683e} +0 -0
  157. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  158. data/spec/internal/tmp/cache/assets/test/sprockets/{8ea9ff17090b736331312d04c8036810 → d89eec758f13f7959ed8796e9b52469c} +0 -0
  159. data/spec/internal/tmp/cache/assets/test/sprockets/{b6d54919d5e4a3921287a5fb178dc455 → da16a797f7553f717a002525bea10cbf} +0 -0
  160. data/spec/internal/tmp/cache/assets/test/sprockets/da4e9efddf7d52d8de0c75b2f3ad571e +0 -0
  161. data/spec/internal/tmp/cache/assets/test/sprockets/dec30531a16449cd84734053a70b3a77 +0 -0
  162. data/spec/internal/tmp/cache/assets/test/sprockets/f429314ed6a6b2b42d3141578c4ec023 +0 -0
  163. data/spec/internal/tmp/cache/assets/test/sprockets/{e6a1afebb687728d619fe27e84335d2f → f5e21f9266ec8eafa27c52d109a9a498} +0 -0
  164. data/spec/internal/tmp/cache/assets/test/sprockets/f642847460097a56a55c8716c4d7a072 +0 -0
  165. data/spec/internal/tmp/cache/assets/test/sprockets/{8fad7abbbfbb3748b36d73dfb482c2bd → f69f1290f72a81d63fb93e81ff44f8a1} +0 -0
  166. data/spec/internal/tmp/cache/assets/test/sprockets/{60b8701e7068152fe7aafd774a2bb2c7 → f6dee0958594a314ea8f9a82a48c2a45} +0 -0
  167. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  168. data/spec/internal/tmp/cache/assets/test/sprockets/f8e9e8fcc081081c00dd69903ebcf709 +0 -0
  169. data/spec/internal/tmp/cache/assets/test/sprockets/{92c82efebbff4c3a9f96e08b308e92dd → f8fd1a8d086eb31f0df8de2ac3ab4517} +0 -0
  170. data/spec/internal/tmp/cache/assets/test/sprockets/fe00102a3b27990f149d71a23f06e32a +0 -0
  171. data/spec/lib/krikri/harvesters/primo_harvester_spec.rb +118 -0
  172. data/spec/lib/krikri/parsers/primo_parser_spec.rb +24 -0
  173. metadata +297 -291
  174. data/spec/internal/tmp/cache/assets/test/sprockets/05604ccd7329b6afb8e7cdafbaa09fe3 +0 -0
  175. data/spec/internal/tmp/cache/assets/test/sprockets/0b3850cd2568d76d8583e8e6bffa44d9 +0 -0
  176. data/spec/internal/tmp/cache/assets/test/sprockets/0dffbe192bade10cf2b568c73695e96e +0 -0
  177. data/spec/internal/tmp/cache/assets/test/sprockets/0e349883625d7536c00fac0eafde4415 +0 -0
  178. data/spec/internal/tmp/cache/assets/test/sprockets/0f05dd42159c418ddcfa12edd10d98bb +0 -0
  179. data/spec/internal/tmp/cache/assets/test/sprockets/1877c8233ee501d08788d7324a70bd70 +0 -0
  180. data/spec/internal/tmp/cache/assets/test/sprockets/1c814c5c5dfd63768fff312c442847d6 +0 -0
  181. data/spec/internal/tmp/cache/assets/test/sprockets/1e699d4d1e439eeb1d52a210573f5053 +0 -0
  182. data/spec/internal/tmp/cache/assets/test/sprockets/2c58fb6a2406edc8067b46ee33af7262 +0 -0
  183. data/spec/internal/tmp/cache/assets/test/sprockets/2d0220441d85355dcd9ade523f95c048 +0 -0
  184. data/spec/internal/tmp/cache/assets/test/sprockets/39ed74e4d194593ec48c481d0fd76007 +0 -0
  185. data/spec/internal/tmp/cache/assets/test/sprockets/40271adcb3c4654dcb20b55abc2505c9 +0 -0
  186. data/spec/internal/tmp/cache/assets/test/sprockets/402ffe46f4586abacce366e0e3f690d8 +0 -0
  187. data/spec/internal/tmp/cache/assets/test/sprockets/46ec3d34d3576e4452b0a95b87176996 +0 -0
  188. data/spec/internal/tmp/cache/assets/test/sprockets/4c5e3966eae6a44e852dcf449c3f4cb0 +0 -0
  189. data/spec/internal/tmp/cache/assets/test/sprockets/52ce034583a746333fd7b8aa3916b8e1 +0 -0
  190. data/spec/internal/tmp/cache/assets/test/sprockets/52fe40fddbd8e73f6743866d4930bde6 +0 -0
  191. data/spec/internal/tmp/cache/assets/test/sprockets/677fd27eda24da657f51d725742582f3 +0 -0
  192. data/spec/internal/tmp/cache/assets/test/sprockets/6b2c5572f9e2cd322ad7b2878673d0dd +0 -0
  193. data/spec/internal/tmp/cache/assets/test/sprockets/735621cd88de5e37980cced4fb13ded9 +0 -0
  194. data/spec/internal/tmp/cache/assets/test/sprockets/7e4f29f7a7327f10677cd047be78cf8a +0 -0
  195. data/spec/internal/tmp/cache/assets/test/sprockets/806c560c2f6e89ba0ad39561804ff79c +0 -0
  196. data/spec/internal/tmp/cache/assets/test/sprockets/857d45eb67a43a30a6d5d0370464e596 +0 -0
  197. data/spec/internal/tmp/cache/assets/test/sprockets/8da6b6aafe413b1ba635e82f71c194be +0 -0
  198. data/spec/internal/tmp/cache/assets/test/sprockets/9181f512b689ddb01d6778bac83791ac +0 -0
  199. data/spec/internal/tmp/cache/assets/test/sprockets/9443255223294f7ad9ad6daba446afc3 +0 -0
  200. data/spec/internal/tmp/cache/assets/test/sprockets/96ff03d6a5f9604c6980874bb00c1d17 +0 -0
  201. data/spec/internal/tmp/cache/assets/test/sprockets/9ca9885875e2e0ab4e531cba60aa03e5 +0 -0
  202. data/spec/internal/tmp/cache/assets/test/sprockets/a13d3a27038cf6570d22b54c54442642 +0 -0
  203. data/spec/internal/tmp/cache/assets/test/sprockets/b37776526b5809e55fbb0add6d059127 +0 -0
  204. data/spec/internal/tmp/cache/assets/test/sprockets/c514fd002d57ddf3d94669e369d45283 +0 -0
  205. data/spec/internal/tmp/cache/assets/test/sprockets/d6995317fba3b6344c75db70b8c997e2 +0 -0
  206. data/spec/internal/tmp/cache/assets/test/sprockets/f64fd792a429f69332c1489015953219 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6ae3a72b6136f8b1e125d4cc5f64990135e4c83
4
- data.tar.gz: 4c8026a1a899de993e6d72e108348a59cbfed93d
3
+ metadata.gz: 80fbd1f2ef67f47471d34408a686da1b7d71cde8
4
+ data.tar.gz: acdd85ddb3ab8a4899e0662b8210240117daa349
5
5
  SHA512:
6
- metadata.gz: e5933a75b9fe523f34c01e406f7c94afd1a0fa44b7b238fcaf7d90691044fb03f06d03e45efc4a403e94f7be28d9b34dcd2f7a4d9b673884f3b5df8fa0146fe7
7
- data.tar.gz: a17692e1d23c236c01d7afeb2f5e6097212777ccc6c5026ed5cd63c04d6e7f139b39c2ec8c7155f435fe2c527582f026daa2a4ca3a1e6ea84b7f75f2fe8ed93b
6
+ metadata.gz: 226b86e6cabfc8cb1dc98b92150bf98bc7462fc15bb09a31845cb908c5661b78c68bd23f362d85753c107430add95b6d9da3f7116a5319b46c0370637bee3b64
7
+ data.tar.gz: 7b728e2d788bf2b0ebd5bf54f86088d26c224566bb37a8047346ccf12aa94cdda23c10729fbe5fa8d726ab57fedd3bd654ae0417cb7cc7781e7fbfd5c783dca4
data/lib/krikri.rb CHANGED
@@ -14,6 +14,7 @@ module Krikri
14
14
  autoload :ModsParser, 'krikri/parsers/mods_parser'
15
15
  autoload :QdcParser, 'krikri/parsers/qdc_parser'
16
16
  autoload :MARCXMLParser, 'krikri/parsers/marcxml_parser'
17
+ autoload :PrimoParser, 'krikri/parsers/primo_parser'
17
18
  autoload :OaiParserHeaders, 'krikri/parsers/oai_parser_headers'
18
19
  autoload :AggregationEntityBehavior,
19
20
  'krikri/entity_behaviors/aggregation_entity_behavior'
@@ -0,0 +1,106 @@
1
+ module Krikri::Harvesters
2
+ ##
3
+ # A harvester implementation for Primo
4
+ #
5
+ # Accepts options passed as `:primo => opts`
6
+ #
7
+ # Options allowed are:
8
+ #
9
+ # - bulk_size: The number of records to fetch from Primo per request
10
+ # (default: 500)
11
+ #
12
+ class PrimoHarvester
13
+ include Krikri::Harvester
14
+
15
+ SEAR_NS = 'http://www.exlibrisgroup.com/xsd/jaguar/search'
16
+ PRIMO_NS = 'http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib'
17
+
18
+ PrimoHarvestError = Class.new(StandardError)
19
+
20
+ def initialize(opts = {})
21
+ @opts = opts.fetch(:primo, {})
22
+ super
23
+
24
+ @opts[:bulk_size] ||= 500
25
+
26
+ @http_conn = Faraday.new do |conn|
27
+ conn.request :retry, :max => 3
28
+ conn.response :follow_redirects, :limit => 5
29
+ conn.response :logger, Rails.logger
30
+ conn.adapter :net_http
31
+ end
32
+ end
33
+
34
+ ##
35
+ # @return [Integer] the number of records available for harvesting.
36
+ def count
37
+ response = @http_conn.get(uri, :indx => '1', :bulkSize => '1')
38
+
39
+ unless response.status == 200
40
+ raise PrimoHarvestError, "Couldn't get record count"
41
+ end
42
+
43
+ total_hits = Nokogiri::XML(response.body)
44
+ .xpath('//sear:DOCSET')
45
+ .first
46
+ .attr('TOTALHITS')
47
+
48
+ Integer(total_hits)
49
+ end
50
+
51
+ ##
52
+ # @return [Enumerator::Lazy] an enumerator of the records targeted by this
53
+ # harvester.
54
+ def records
55
+ bulk_size = @opts.fetch(:bulk_size)
56
+
57
+ (1...count).step(bulk_size).lazy.flat_map do |offset|
58
+ response = @http_conn.get(uri, :indx => offset, :bulkSize => bulk_size)
59
+
60
+ unless response.status == 200
61
+ raise PrimoHarvestError, "Record fetch from #{offset} to " \
62
+ "#{offset + bulk_size} failed"
63
+ end
64
+
65
+ enumerate_records(response.body)
66
+ end
67
+ end
68
+
69
+ ##
70
+ # @param identifier [#to_s] the identifier of the record to get
71
+ # @return [#to_s] the record
72
+ def get_record(identifier)
73
+ response = @http_conn.get(uri,
74
+ :indx => 1,
75
+ :bulkSize => 1,
76
+ :query => "rid,exact,#{identifier}")
77
+
78
+ unless response.status == 200
79
+ raise PrimoHarvestError, "Couldn't get record: #{identifier}"
80
+ end
81
+
82
+ enumerate_records(response.body).first
83
+ end
84
+
85
+ private
86
+
87
+ ##
88
+ # Extract a page's worth of records from a Primo XML search result.
89
+ # @param xml [String] an XML document returned from a Primo search
90
+ # @return [Array] an array of @record_class instances
91
+ def enumerate_records(xml)
92
+ doc = Nokogiri::XML(xml)
93
+ doc.root.add_namespace_definition('nmbib', PRIMO_NS)
94
+ doc.xpath('//sear:DOC').lazy.map do |record|
95
+ identifier = record.xpath('./nmbib:PrimoNMBib/nmbib:record/' \
96
+ 'nmbib:control/nmbib:recordid')
97
+ .first.text
98
+
99
+ record = record.dup
100
+ record.add_namespace_definition('sear', SEAR_NS)
101
+
102
+ @record_class.build(mint_id(identifier), record.to_xml)
103
+ end
104
+ end
105
+ end
106
+ end
@@ -0,0 +1,27 @@
1
+ module Krikri
2
+ ##
3
+ # A Primo parser. Uses XML parser with a root path to match the
4
+ # metadata path.
5
+ # @see Krikri::XmlParser
6
+ class PrimoParser < XmlParser
7
+ DEFAULT_NAMESPACE = 'nmbib'
8
+
9
+ def self.record(*args)
10
+ ['PrimoNMBib', 'record', *args].map { |s| "#{DEFAULT_NAMESPACE}:#{s}" }
11
+ end
12
+
13
+ def self.display(*args)
14
+ record('display', *args)
15
+ end
16
+
17
+ def self.search(*args)
18
+ record('search', *args)
19
+ end
20
+
21
+ def initialize(record,
22
+ root_path = '//sear:DOC',
23
+ ns = {nmbib: 'http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib'})
24
+ super(record, root_path, ns)
25
+ end
26
+ end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Krikri
2
- VERSION = '0.9.0'.freeze
2
+ VERSION = '0.10.0'.freeze
3
3
  end
@@ -266,4 +266,121 @@ EOS
266
266
  </OAI-PMH>
267
267
  EOS
268
268
  end
269
+
270
+ factory :primo_record, parent: :krikri_original_record do
271
+ content <<-EOS
272
+ <sear:DOC xmlns:sear="http://www.exlibrisgroup.com/xsd/jaguar/search" ID="87209" RANK="1.0" NO="1" SEARCH_ENGINE="Local Search Engine" SEARCH_ENGINE_TYPE="Local Search Engine">
273
+ <PrimoNMBib xmlns="http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib">
274
+ <record>
275
+ <control>
276
+ <sourcerecordid>ui_ep/26178</sourcerecordid>
277
+ <sourceid>digcoll_uid_36</sourceid>
278
+ <recordid>digcoll_uid_36ui_ep/26178</recordid>
279
+ <originalsourceid>26178</originalsourceid>
280
+ <sourcedbandrecordid>ui_ep</sourcedbandrecordid>
281
+ <addsrcrecordid>uid-36-289-2038</addsrcrecordid>
282
+ <sourceformat>Digital Entity</sourceformat>
283
+ <sourcesystem>Other</sourcesystem>
284
+ </control>
285
+ <display>
286
+ <type>Text</type>
287
+ <title>2011 Small Grain and Grain Legume Report</title>
288
+ <creator>Finkelnburg, Doug</creator>
289
+ <contributor>College of Agricultural and Life Sciences; University of Idaho Library</contributor>
290
+ <publisher>Idaho Agricultural Experiment Station</publisher>
291
+ <creationdate>2012</creationdate>
292
+ <format>application/pdf</format>
293
+ <identifier>http://digital.lib.uidaho.edu/cdm/ref/collection/ui_ep/id/26178</identifier>
294
+ <subject>legumes; small cereal grains</subject>
295
+ <description>From the Idaho Small Grain and Grain Legume Research and Extension Program at the University of Idaho comes this summary of the performance of winter wheat, spring wheat, spring barley, spring pea, lentil, and chickpea cultivars tested in Idaho, Lewis, Nez Perce, Latah, and Boundary counties in the 2010-11 crop season.</description>
296
+ <language>eng</language>
297
+ <relation>Is format of: Research Bulletin</relation>
298
+ <relation>Is referenced by: 179</relation>
299
+ <coverage>Idaho</coverage>
300
+ <rights>Digital image copyright 2010, the University of Idaho. All rights reserved. For more information contact Special Collections and Archives, University of Idaho Library, Moscow, ID 83844-2350; http://www.lib.uidaho.edu/special-collections/.</rights>
301
+ <lds01>University of Idaho Library</lds01>
302
+ <lds02>University of Idaho Digital Collections</lds02>
303
+ <lds03>University of Idaho Library</lds03>
304
+ <lds04>Agricultural and Extension Publications</lds04>
305
+ <lds08>Idaho</lds08>
306
+ <lds12>Special Collections Idaho S 53 (Between E3 - E415)</lds12>
307
+ <lds18>Text</lds18>
308
+ <lds17>text</lds17>
309
+ </display>
310
+ <links>
311
+ <linktorsrc>$$Tdigcoll_uid_36_linktores$$DOpen resource in a new window</linktorsrc>
312
+ <thumbnail>$$Tdigcoll_uid_36_linktothumb$$DSee Thumbnail</thumbnail>
313
+ </links>
314
+ <search>
315
+ <creatorcontrib>Finkelnburg, Doug</creatorcontrib>
316
+ <creatorcontrib>College of Agricultural and Life Sciences; University of Idaho Library</creatorcontrib>
317
+ <title>2011 Small Grain and Grain Legume Report</title>
318
+ <description>From the Idaho Small Grain and Grain Legume Research and Extension Program at the University of Idaho comes this summary of the performance of winter wheat, spring wheat, spring barley, spring pea, lentil, and chickpea cultivars tested in Idaho, Lewis, Nez Perce, Latah, and Boundary counties in the 2010-11 crop season.</description>
319
+ <subject>legumes; small cereal grains</subject>
320
+ <sourceid>digcoll_uid_36</sourceid>
321
+ <recordid>digcoll_uid_36ui_ep/26178</recordid>
322
+ <creationdate>2012</creationdate>
323
+ <addtitle>Is format of: Research Bulletin</addtitle>
324
+ <addtitle>Is referenced by: 179</addtitle>
325
+ <addsrcrecordid>uid-36-289-2038</addsrcrecordid>
326
+ <scope>mw</scope>
327
+ <lsr01>uid</lsr01>
328
+ <lsr02>36</lsr02>
329
+ <lsr03>289</lsr03>
330
+ <lsr04>2038</lsr04>
331
+ <lsr09>University of Idaho Library</lsr09>
332
+ <lsr10>University of Idaho Digital Collections</lsr10>
333
+ <lsr12>University of Idaho Library</lsr12>
334
+ <lsr13>Agricultural and Extension Publications</lsr13>
335
+ <lsr14>Idaho</lsr14>
336
+ <rsrctype>text</rsrctype>
337
+ </search>
338
+ <sort>
339
+ <title>2011 Small Grain and Grain Legume Report</title>
340
+ <creationdate>2012</creationdate>
341
+ <author>Finkelnburg, D</author>
342
+ </sort>
343
+ <facets>
344
+ <language>eng</language>
345
+ <creationdate>2012</creationdate>
346
+ <topic>legumes</topic>
347
+ <topic>small cereal grains</topic>
348
+ <collection>Digital Collections</collection>
349
+ <toplevel>online_resources</toplevel>
350
+ <creatorcontrib>Finkelnburg, Doug</creatorcontrib>
351
+ <format>application/pdf</format>
352
+ <genre>unknown</genre>
353
+ <lfc01>Agricultural and Extension Publications</lfc01>
354
+ <lfc02>University of Idaho Library</lfc02>
355
+ <lfc03>University of Idaho Library</lfc03>
356
+ <lfc04>University of Idaho Digital Collections</lfc04>
357
+ <lfc08>Idaho</lfc08>
358
+ <prefilter>text</prefilter>
359
+ <rsrctype>text</rsrctype>
360
+ <frbrgroupid>237607336</frbrgroupid>
361
+ <frbrtype>6</frbrtype>
362
+ </facets>
363
+ <delivery>
364
+ <institution>MWDL</institution>
365
+ <delcategory>Online Resource</delcategory>
366
+ </delivery>
367
+ <ranking>
368
+ <booster1>1</booster1>
369
+ <booster2>1</booster2>
370
+ </ranking>
371
+ <addata>
372
+ <date>2012</date>
373
+ <pub>Idaho Agricultural Experiment Station</pub>
374
+ </addata>
375
+ </record>
376
+ </PrimoNMBib>
377
+ <sear:GETIT deliveryCategory="Online Resource" GetIt1="http://digital.lib.uidaho.edu/u?/ui_ep,26178" GetIt2="http://sfx7.exlibrisgroup.com/uutah?ctx_ver=Z39.88-2004&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2015-11-19T16%3A46%3A32IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Journal-digcoll_uid_36&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:&amp;rft.genre=&amp;rft.atitle=&amp;rft.jtitle=&amp;rft.btitle=&amp;rft.aulast=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.volume=&amp;rft.issue=&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=&amp;rft.epage=&amp;rft.pages=&amp;rft.artnum=&amp;rft.issn=&amp;rft.eissn=&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/&amp;rft.object_id=&amp;rft.eisbn=&amp;rft_dat=&lt;digcoll_uid_36&gt;ui_ep%2F26178&lt;/digcoll_uid_36&gt;&lt;grp_id&gt;237607336&lt;/grp_id&gt;&lt;oa&gt;&lt;/oa&gt;&amp;rft_id=info:oai/&amp;req.language=" />
378
+ <sear:LINKS>
379
+ <sear:linktorsrc>http://digital.lib.uidaho.edu/u?/ui_ep,26178</sear:linktorsrc>
380
+ <sear:thumbnail>http://digital.lib.uidaho.edu/utils/getthumbnail/collection/ui_ep/id/26178</sear:thumbnail>
381
+ </sear:LINKS>
382
+ </sear:DOC>
383
+ EOS
384
+ end
385
+
269
386
  end
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
 
4
4
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
- gem 'rails', '4.1.13'
5
+ gem 'rails', '4.1.9'
6
6
  # Use sqlite3 as the database for Active Record
7
7
  gem 'sqlite3'
8
8
  # Use SCSS for stylesheets
@@ -11,7 +11,7 @@ gem 'sass-rails', '~> 4.0.3'
11
11
  gem 'uglifier', '>= 1.3.0'
12
12
  # Use CoffeeScript for .js.coffee assets and views
13
13
  gem 'coffee-rails', '~> 4.0.0'
14
- # See https://github.com/rails/execjs#readme for more supported runtimes
14
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
15
15
  # gem 'therubyracer', platforms: :ruby
16
16
 
17
17
  # Use jquery as the JavaScript library
@@ -35,8 +35,9 @@ gem 'sdoc', '~> 0.4.0', group: :doc
35
35
  # Use debugger
36
36
  # gem 'debugger', group: [:development, :test]
37
37
 
38
+ gem "web-console", group: :development
38
39
 
39
- gem 'krikri', :path => '/Users/mark/Documents/Code/dpla/KriKri'
40
+ gem 'krikri', :path => '/vagrant'
40
41
 
41
42
  gem "factory_girl_rails", "~> 4.4.0", group: :development
42
43
  gem "jettywrapper", "~> 2.0", group: :development
@@ -1,22 +1,20 @@
1
1
  PATH
2
- remote: /Users/mark/Documents/Code/dpla/KriKri
2
+ remote: /vagrant
3
3
  specs:
4
- krikri (0.8.6)
4
+ krikri (0.7.6)
5
5
  analysand (= 4.0.0)
6
6
  audumbla (~> 0.1)
7
7
  blacklight (~> 5.8.0)
8
8
  bootstrap-sass (= 3.3.4.1)
9
9
  devise (~> 3.4.1)
10
- dpla-map (= 4.0.0.0.pre.12)
10
+ dpla-map (= 4.0.0.0.pre.11)
11
11
  edtf
12
12
  elasticsearch (~> 0.4.0)
13
13
  jsonpath
14
14
  oai (~> 0.4.0)
15
15
  rails (~> 4.1.6)
16
16
  rails_config (~> 0.4.0)
17
- rdf (~> 1.1.13)
18
17
  rdf-marmotta (>= 0.0.6)
19
- rdf-turtle (~> 1.1.8)
20
18
  resque (~> 1.0)
21
19
  rest-client
22
20
  text
@@ -26,17 +24,17 @@ PATH
26
24
  GEM
27
25
  remote: https://rubygems.org/
28
26
  specs:
29
- actionmailer (4.1.13)
30
- actionpack (= 4.1.13)
31
- actionview (= 4.1.13)
27
+ actionmailer (4.1.9)
28
+ actionpack (= 4.1.9)
29
+ actionview (= 4.1.9)
32
30
  mail (~> 2.5, >= 2.5.4)
33
- actionpack (4.1.13)
34
- actionview (= 4.1.13)
35
- activesupport (= 4.1.13)
31
+ actionpack (4.1.9)
32
+ actionview (= 4.1.9)
33
+ activesupport (= 4.1.9)
36
34
  rack (~> 1.5.2)
37
35
  rack-test (~> 0.6.2)
38
- actionview (4.1.13)
39
- activesupport (= 4.1.13)
36
+ actionview (4.1.9)
37
+ activesupport (= 4.1.9)
40
38
  builder (~> 3.1)
41
39
  erubis (~> 2.7.0)
42
40
  active-triples (0.6.1)
@@ -45,14 +43,14 @@ GEM
45
43
  deprecation (~> 0.1)
46
44
  linkeddata (~> 1.1)
47
45
  rdf (~> 1.1)
48
- activemodel (4.1.13)
49
- activesupport (= 4.1.13)
46
+ activemodel (4.1.9)
47
+ activesupport (= 4.1.9)
50
48
  builder (~> 3.1)
51
- activerecord (4.1.13)
52
- activemodel (= 4.1.13)
53
- activesupport (= 4.1.13)
49
+ activerecord (4.1.9)
50
+ activemodel (= 4.1.9)
51
+ activesupport (= 4.1.9)
54
52
  arel (~> 5.0.0)
55
- activesupport (4.1.13)
53
+ activesupport (4.1.9)
56
54
  i18n (~> 0.6, >= 0.6.9)
57
55
  json (~> 1.7, >= 1.7.7)
58
56
  minitest (~> 5.1)
@@ -69,16 +67,18 @@ GEM
69
67
  rack
70
68
  yajl-ruby
71
69
  arel (5.0.1.20140414130214)
72
- audumbla (0.2.1)
70
+ audumbla (0.2.0)
73
71
  dpla-map (~> 4.0.0.0.pre.10)
74
72
  geokit
75
73
  twofishes
76
- autoprefixer-rails (6.0.3)
74
+ autoprefixer-rails (5.2.1.1)
77
75
  execjs
78
76
  json
79
77
  bcp47 (0.3.3)
80
78
  i18n
81
79
  bcrypt (3.1.10)
80
+ binding_of_caller (0.7.2)
81
+ debug_inspector (>= 0.0.1)
82
82
  blacklight (5.8.2)
83
83
  bootstrap-sass (~> 3.2)
84
84
  deprecation
@@ -90,12 +90,12 @@ GEM
90
90
  autoprefixer-rails (>= 5.0.0.1)
91
91
  sass (>= 3.2.19)
92
92
  builder (3.2.2)
93
- celluloid (0.16.0)
93
+ celluloid (0.16.1)
94
94
  timers (~> 4.0.0)
95
95
  celluloid-io (0.16.2)
96
96
  celluloid (>= 0.16.0)
97
97
  nio4r (>= 1.1.0)
98
- childprocess (0.5.7)
98
+ childprocess (0.5.6)
99
99
  ffi (~> 1.0, >= 1.0.11)
100
100
  coderay (1.1.0)
101
101
  coffee-rails (4.0.1)
@@ -105,6 +105,7 @@ GEM
105
105
  coffee-script-source
106
106
  execjs
107
107
  coffee-script-source (1.9.1.1)
108
+ debug_inspector (0.0.2)
108
109
  deprecation (0.2.2)
109
110
  activesupport
110
111
  devise (3.4.1)
@@ -114,10 +115,11 @@ GEM
114
115
  responders
115
116
  thread_safe (~> 0.1)
116
117
  warden (~> 1.2.3)
117
- domain_name (0.5.25)
118
+ domain_name (0.5.24)
118
119
  unf (>= 0.0.5, < 1.0.0)
119
- dpla-map (4.0.0.0.pre.12)
120
+ dpla-map (4.0.0.0.pre.11)
120
121
  active-triples (~> 0.6.0)
122
+ linked_vocabs (~> 0.2.0)
121
123
  ebnf (0.3.9)
122
124
  rdf (~> 1.1)
123
125
  sxp (~> 0.1, >= 0.1.3)
@@ -134,28 +136,29 @@ GEM
134
136
  equivalent-xml (0.6.0)
135
137
  nokogiri (>= 1.4.3)
136
138
  erubis (2.7.0)
137
- execjs (2.6.0)
139
+ execjs (2.5.2)
138
140
  factory_girl (4.4.0)
139
141
  activesupport (>= 3.0.0)
140
142
  factory_girl_rails (4.4.1)
141
143
  factory_girl (~> 4.4.0)
142
144
  railties (>= 3.0.0)
143
- faraday (0.9.2)
145
+ faraday (0.9.1)
144
146
  multipart-post (>= 1.2, < 3)
145
147
  faraday_middleware (0.10.0)
146
148
  faraday (>= 0.7.4, < 0.10)
147
149
  ffi (1.9.10)
148
- geokit (1.10.0)
150
+ geokit (1.9.0)
151
+ multi_json (>= 1.3.2)
149
152
  haml (4.0.7)
150
153
  tilt
151
154
  hike (1.2.3)
152
- hitimes (1.2.3)
155
+ hitimes (1.2.2)
153
156
  htmlentities (4.3.4)
154
157
  http-cookie (1.0.2)
155
158
  domain_name (~> 0.5)
156
159
  http_parser.rb (0.6.0)
157
160
  i18n (0.7.0)
158
- jbuilder (2.3.2)
161
+ jbuilder (2.3.1)
159
162
  activesupport (>= 3.0.0, < 5)
160
163
  multi_json (~> 1.2)
161
164
  jettywrapper (2.0.3)
@@ -164,12 +167,11 @@ GEM
164
167
  i18n
165
168
  logger
166
169
  rubyzip
167
- jquery-rails (3.1.4)
170
+ jquery-rails (3.1.3)
168
171
  railties (>= 3.0, < 5.0)
169
172
  thor (>= 0.14, < 2.0)
170
173
  json (1.8.3)
171
- json-ld (1.1.11)
172
- multi_json (~> 1.11)
174
+ json-ld (1.1.9)
173
175
  rdf (~> 1.1, >= 1.1.7)
174
176
  json-stream (0.2.1)
175
177
  jsonpath (0.5.7)
@@ -177,9 +179,15 @@ GEM
177
179
  kaminari (0.16.3)
178
180
  actionpack (>= 3.0.0)
179
181
  activesupport (>= 3.0.0)
180
- libv8 (3.16.14.13)
182
+ libv8 (3.16.14.11)
181
183
  link_header (0.0.8)
182
- linkeddata (1.1.11.1)
184
+ linked_vocabs (0.2.0)
185
+ active-triples (>= 0.6.0)
186
+ rake
187
+ rdf (>= 1.1.2.1)
188
+ sparql
189
+ sparql-client
190
+ linkeddata (1.1.11)
183
191
  equivalent-xml (~> 0.5)
184
192
  json-ld (~> 1.1, >= 1.1.8)
185
193
  nokogiri (~> 1.6)
@@ -204,14 +212,14 @@ GEM
204
212
  mail (2.6.3)
205
213
  mime-types (>= 1.16, < 3)
206
214
  method_source (0.8.2)
207
- mime-types (2.6.2)
215
+ mime-types (2.6.1)
208
216
  mini_portile (0.6.2)
209
- minitest (5.8.2)
217
+ minitest (5.8.0)
210
218
  mono_logger (1.1.0)
211
219
  multi_json (1.11.2)
212
220
  multipart-post (2.0.0)
213
221
  net-http-persistent (2.9.4)
214
- netrc (0.11.0)
222
+ netrc (0.10.3)
215
223
  nio4r (1.1.1)
216
224
  nokogiri (1.6.6.2)
217
225
  mini_portile (~> 0.6.0)
@@ -220,7 +228,7 @@ GEM
220
228
  faraday
221
229
  faraday_middleware
222
230
  orm_adapter (0.5.0)
223
- pry (0.10.3)
231
+ pry (0.10.1)
224
232
  coderay (~> 1.1.0)
225
233
  method_source (~> 0.8.1)
226
234
  slop (~> 3.4)
@@ -231,30 +239,30 @@ GEM
231
239
  rack
232
240
  rack-test (0.6.3)
233
241
  rack (>= 1.0)
234
- rails (4.1.13)
235
- actionmailer (= 4.1.13)
236
- actionpack (= 4.1.13)
237
- actionview (= 4.1.13)
238
- activemodel (= 4.1.13)
239
- activerecord (= 4.1.13)
240
- activesupport (= 4.1.13)
242
+ rails (4.1.9)
243
+ actionmailer (= 4.1.9)
244
+ actionpack (= 4.1.9)
245
+ actionview (= 4.1.9)
246
+ activemodel (= 4.1.9)
247
+ activerecord (= 4.1.9)
248
+ activesupport (= 4.1.9)
241
249
  bundler (>= 1.3.0, < 2.0)
242
- railties (= 4.1.13)
250
+ railties (= 4.1.9)
243
251
  sprockets-rails (~> 2.0)
244
252
  rails_config (0.4.2)
245
253
  activesupport (>= 3.0)
246
- railties (4.1.13)
247
- actionpack (= 4.1.13)
248
- activesupport (= 4.1.13)
254
+ railties (4.1.9)
255
+ actionpack (= 4.1.9)
256
+ activesupport (= 4.1.9)
249
257
  rake (>= 0.8.7)
250
258
  thor (>= 0.18.1, < 2.0)
251
259
  rake (10.4.2)
252
- rdf (1.1.17.1)
260
+ rdf (1.1.14)
253
261
  link_header (~> 0.0, >= 0.0.8)
254
262
  rdf-aggregate-repo (1.1.0)
255
263
  rdf (>= 1.1)
256
- rdf-isomorphic (1.1.0.1)
257
- rdf (~> 1.1, >= 1.1.16.1)
264
+ rdf-isomorphic (1.1.0)
265
+ rdf (>= 1.1)
258
266
  rdf-json (1.1.2)
259
267
  rdf (~> 1.1)
260
268
  rdf-marmotta (0.0.8)
@@ -263,7 +271,7 @@ GEM
263
271
  rdf (~> 1.1)
264
272
  rdf-rdfxml (~> 1.1)
265
273
  sparql-client (~> 1.1.4)
266
- rdf-microdata (2.0.2)
274
+ rdf-microdata (2.0.1)
267
275
  htmlentities (~> 4.3)
268
276
  nokogiri (~> 1.6)
269
277
  rdf (~> 1.1)
@@ -276,35 +284,34 @@ GEM
276
284
  rdf (~> 1.1, >= 1.1.6)
277
285
  rdf-aggregate-repo (~> 1.1)
278
286
  rdf-xsd (~> 1.1)
279
- rdf-rdfxml (1.1.5)
287
+ rdf-rdfxml (1.1.4)
280
288
  htmlentities (~> 4.3)
281
289
  rdf (~> 1.1, >= 1.1.6)
282
290
  rdf-rdfa (~> 1.1, >= 1.1.4.1)
283
291
  rdf-xsd (~> 1.1)
284
- rdf-reasoner (0.3.0)
292
+ rdf-reasoner (0.2.2)
285
293
  rdf (~> 1.1, >= 1.1.4.2)
286
294
  rdf-turtle (~> 1.1)
287
295
  rdf-vocab (~> 0.8)
288
296
  rdf-xsd (~> 1.1)
289
- rdf-tabular (0.3.0)
297
+ rdf-tabular (0.2.0)
290
298
  addressable (~> 2.3)
291
299
  bcp47 (~> 0.3, >= 0.3.3)
292
300
  json-ld (~> 1.1)
293
301
  rdf (~> 1.1, >= 1.1.7)
294
- rdf-vocab (~> 0.8)
295
302
  rdf-xsd (~> 1.1)
296
- rdf-trig (1.1.5)
303
+ rdf-trig (1.1.4)
297
304
  ebnf (~> 0.3, >= 0.3.7)
298
305
  rdf (~> 1.1, >= 1.1.11)
299
- rdf-turtle (~> 1.1, >= 1.1.7)
300
- rdf-trix (1.99.0)
301
- rdf (~> 1.1)
302
- rdf-turtle (1.1.8)
306
+ rdf-turtle (~> 1.1, >= 1.1.6)
307
+ rdf-trix (1.1.0)
308
+ rdf (>= 1.1)
309
+ rdf-turtle (1.1.7)
303
310
  ebnf (~> 0.3, >= 0.3.6)
304
311
  rdf (~> 1.1, >= 1.1.10)
305
- rdf-vocab (0.8.6)
312
+ rdf-vocab (0.8.4)
306
313
  rdf (~> 1.1, >= 1.1.10)
307
- rdf-xsd (1.1.5)
314
+ rdf-xsd (1.1.4)
308
315
  rdf (~> 1.1, >= 1.1.9)
309
316
  rdoc (4.2.0)
310
317
  json (~> 1.4)
@@ -324,7 +331,7 @@ GEM
324
331
  http-cookie (>= 1.0.2, < 2.0)
325
332
  mime-types (>= 1.16, < 3.0)
326
333
  netrc (~> 0.7)
327
- rsolr (1.0.13)
334
+ rsolr (1.0.12)
328
335
  builder (>= 2.1.2)
329
336
  rubyzip (1.1.7)
330
337
  sass (3.2.19)
@@ -341,7 +348,7 @@ GEM
341
348
  rack-protection (~> 1.4)
342
349
  tilt (>= 1.3, < 3)
343
350
  slop (3.6.0)
344
- sparql (1.1.9)
351
+ sparql (1.1.7)
345
352
  builder (~> 3.2)
346
353
  ebnf (~> 0.3, >= 0.3.9)
347
354
  rdf (~> 1.1, >= 1.1.13)
@@ -349,7 +356,7 @@ GEM
349
356
  rdf-xsd (~> 1.1)
350
357
  sparql-client (~> 1.1)
351
358
  sxp (~> 0.1)
352
- sparql-client (1.1.6)
359
+ sparql-client (1.1.5)
353
360
  net-http-persistent (~> 2.9)
354
361
  rdf (~> 1.1)
355
362
  sprockets (2.12.4)
@@ -357,11 +364,11 @@ GEM
357
364
  multi_json (~> 1.0)
358
365
  rack (~> 1.0)
359
366
  tilt (~> 1.1, != 1.3.0)
360
- sprockets-rails (2.3.3)
367
+ sprockets-rails (2.3.2)
361
368
  actionpack (>= 3.0)
362
369
  activesupport (>= 3.0)
363
370
  sprockets (>= 2.8, < 4.0)
364
- sqlite3 (1.3.11)
371
+ sqlite3 (1.3.10)
365
372
  sxp (0.1.5)
366
373
  text (1.3.1)
367
374
  therubyracer (0.12.2)
@@ -369,20 +376,20 @@ GEM
369
376
  ref
370
377
  thor (0.19.1)
371
378
  thread_safe (0.3.5)
372
- thrift (0.9.3.0)
379
+ thrift (0.9.2.0)
373
380
  thrift_client (0.9.3)
374
381
  thrift (~> 0.9.0)
375
382
  tilt (1.4.1)
376
- timers (4.0.4)
383
+ timers (4.0.1)
377
384
  hitimes
378
385
  turbolinks (2.5.3)
379
386
  coffee-rails
380
- twofishes (2.1.0)
387
+ twofishes (2.0.0)
381
388
  activesupport
382
389
  thrift_client
383
390
  tzinfo (1.2.2)
384
391
  thread_safe (~> 0.1)
385
- uglifier (2.7.2)
392
+ uglifier (2.7.1)
386
393
  execjs (>= 0.3.0)
387
394
  json (>= 1.8.0)
388
395
  unf (0.1.4)
@@ -392,6 +399,11 @@ GEM
392
399
  rack (>= 1.0.0)
393
400
  warden (1.2.3)
394
401
  rack (>= 1.0)
402
+ web-console (2.2.1)
403
+ activemodel (>= 4.0)
404
+ binding_of_caller (>= 0.7.2)
405
+ railties (>= 4.0)
406
+ sprockets-rails (>= 2.0, < 4.0)
395
407
  yajl-ruby (1.2.1)
396
408
 
397
409
  PLATFORMS
@@ -406,12 +418,10 @@ DEPENDENCIES
406
418
  jquery-rails
407
419
  krikri!
408
420
  pry-rails
409
- rails (= 4.1.13)
421
+ rails (= 4.1.9)
410
422
  sass-rails (~> 4.0.3)
411
423
  sdoc (~> 0.4.0)
412
424
  sqlite3
413
425
  turbolinks
414
426
  uglifier (>= 1.3.0)
415
-
416
- BUNDLED WITH
417
- 1.10.6
427
+ web-console