krikri 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (408) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/krikri/application.css +15 -0
  3. data/app/controllers/krikri/providers_controller.rb +27 -0
  4. data/app/controllers/krikri/qa_reports_controller.rb +28 -0
  5. data/app/controllers/krikri/records_controller.rb +29 -5
  6. data/app/controllers/krikri/reports_controller.rb +24 -0
  7. data/app/controllers/krikri/validation_reports_controller.rb +11 -29
  8. data/app/helpers/krikri/application_helper.rb +62 -0
  9. data/app/helpers/krikri/records_helper.rb +14 -0
  10. data/app/helpers/krikri/reports_helper.rb +16 -0
  11. data/app/models/krikri/activity.rb +27 -0
  12. data/app/models/krikri/provider.rb +80 -0
  13. data/app/models/krikri/qa_report.rb +238 -0
  14. data/app/models/krikri/validation_report.rb +62 -0
  15. data/app/views/krikri/providers/index.html.erb +18 -0
  16. data/app/views/krikri/providers/show.html.erb +21 -0
  17. data/app/views/krikri/qa_reports/index.html.erb +12 -0
  18. data/app/views/krikri/qa_reports/show.html.erb +1 -0
  19. data/app/views/krikri/records/index.html.erb +0 -2
  20. data/app/views/krikri/records/show.html.erb +12 -9
  21. data/app/views/krikri/reports/_qa_report_list.html.erb +13 -0
  22. data/app/views/krikri/reports/_validation_report_list.html.erb +10 -0
  23. data/app/views/krikri/reports/index.html.erb +11 -0
  24. data/app/views/krikri/shared/_flash_message.html.erb +1 -0
  25. data/app/views/krikri/shared/_navigation.html.erb +38 -8
  26. data/app/views/krikri/validation_reports/_validation_report.html.erb +23 -0
  27. data/app/views/krikri/validation_reports/show.html.erb +19 -0
  28. data/config/routes.rb +6 -2
  29. data/config/settings/development.yml +6 -0
  30. data/config/settings/test.yml +9 -0
  31. data/db/migrate/20150328035550_add_qa_report.rb +11 -0
  32. data/lib/generators/krikri/templates/schema.xml +36 -36
  33. data/lib/krikri/engine.rb +10 -0
  34. data/lib/krikri/enricher.rb +14 -15
  35. data/lib/krikri/entity_behavior.rb +40 -0
  36. data/lib/krikri/entity_behaviors/aggregation_entity_behavior.rb +29 -0
  37. data/lib/krikri/entity_behaviors/original_record_entity_behavior.rb +26 -0
  38. data/lib/krikri/entity_consumer.rb +48 -0
  39. data/lib/krikri/harvester.rb +8 -0
  40. data/lib/krikri/indexer.rb +46 -0
  41. data/lib/krikri/mapper.rb +25 -9
  42. data/lib/krikri/qa_query_client.rb +154 -0
  43. data/lib/krikri/random_search_index_document_builder.rb +41 -0
  44. data/lib/krikri/search_index.rb +326 -0
  45. data/lib/krikri/search_results_helper_behavior.rb +2 -29
  46. data/lib/krikri/software_agent.rb +15 -0
  47. data/lib/krikri/solr_response_builder.rb +14 -0
  48. data/lib/krikri/version.rb +1 -1
  49. data/lib/krikri.rb +5 -0
  50. data/lib/tasks/krikri.rake +10 -11
  51. data/spec/controllers/application_controller_spec.rb +5 -0
  52. data/spec/controllers/providers_controller_spec.rb +37 -0
  53. data/spec/controllers/qa_reports_controller_spec.rb +69 -0
  54. data/spec/controllers/records_controller_spec.rb +73 -0
  55. data/spec/controllers/reports_controller_spec.rb +56 -0
  56. data/spec/controllers/validation_reports_controller_spec.rb +4 -5
  57. data/spec/dummy/db/development.sqlite3 +0 -0
  58. data/spec/dummy/db/test.sqlite3 +0 -0
  59. data/spec/dummy/log/development.log +207 -0
  60. data/spec/factories/krikri_activities.rb +34 -10
  61. data/spec/factories/krikri_provider.rb +8 -0
  62. data/spec/factories/krikri_qa_report.rb +7 -0
  63. data/spec/helpers/krikri/application_helper_spec.rb +43 -0
  64. data/spec/helpers/krikri/records_helper_spec.rb +15 -3
  65. data/spec/internal/Gemfile +3 -4
  66. data/spec/internal/Gemfile.lock +59 -37
  67. data/spec/internal/app/assets/javascripts/application.js +1 -1
  68. data/spec/internal/config/initializers/blacklight_initializer.rb +1 -1
  69. data/spec/internal/config/initializers/devise.rb +2 -2
  70. data/spec/internal/config/secrets.yml +2 -2
  71. data/spec/internal/db/development.sqlite3 +0 -0
  72. data/spec/internal/db/migrate/{20150320153132_devise_create_users.rb → 20150403220331_devise_create_users.rb} +0 -0
  73. data/spec/internal/db/migrate/{20150320153151_create_searches.blacklight.rb → 20150403220354_create_searches.blacklight.rb} +0 -0
  74. data/spec/internal/db/migrate/{20150320153152_create_bookmarks.blacklight.rb → 20150403220355_create_bookmarks.blacklight.rb} +0 -0
  75. data/spec/internal/db/migrate/{20150320153153_add_polymorphic_type_to_bookmarks.blacklight.rb → 20150403220356_add_polymorphic_type_to_bookmarks.blacklight.rb} +0 -0
  76. data/spec/internal/db/schema.rb +9 -1
  77. data/spec/internal/db/test.sqlite3 +0 -0
  78. data/spec/internal/log/development.log +88 -83
  79. data/spec/internal/log/test.log +3229 -83003
  80. data/spec/internal/tmp/cache/assets/test/sass/{b28605b1c659cf09fc72f3c1fff32918869d28b8 → 6449c927c92ef1ea4378c66161e3b0efe1bf954d}/_bootstrap-sprockets.scssc +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sass/{b28605b1c659cf09fc72f3c1fff32918869d28b8 → 6449c927c92ef1ea4378c66161e3b0efe1bf954d}/_bootstrap.scssc +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sass/{93e201cf4a11978a1f491a057a3bd569c3825210 → 71fba6bdfa89d88fe8a72b36eafd3b91cf10a6d0}/blacklight.css.scssc +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_alerts.scssc +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_background-variant.scssc +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_border-radius.scssc +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_buttons.scssc +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_center-block.scssc +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_clearfix.scssc +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_forms.scssc +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_gradients.scssc +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_grid-framework.scssc +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_grid.scssc +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_hide-text.scssc +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_image.scssc +0 -0
  95. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_labels.scssc +0 -0
  96. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_list-group.scssc +0 -0
  97. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_nav-divider.scssc +0 -0
  98. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_nav-vertical-align.scssc +0 -0
  99. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_opacity.scssc +0 -0
  100. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_pagination.scssc +0 -0
  101. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_panels.scssc +0 -0
  102. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_progress-bar.scssc +0 -0
  103. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_reset-filter.scssc +0 -0
  104. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_resize.scssc +0 -0
  105. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_responsive-visibility.scssc +0 -0
  106. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_size.scssc +0 -0
  107. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_tab-focus.scssc +0 -0
  108. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_table-row.scssc +0 -0
  109. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_text-emphasis.scssc +0 -0
  110. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_text-overflow.scssc +0 -0
  111. data/spec/internal/tmp/cache/assets/test/sass/{4a3ee647961c7e45976eb2c0a94406aad3427b3d → 75eb48b5361d55a8133e0091d663a085dacee3c5}/_vendor-prefixes.scssc +0 -0
  112. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_blacklight_base.scssc +0 -0
  113. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_bookmark.scssc +0 -0
  114. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_catalog.scssc +0 -0
  115. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_facets.scssc +0 -0
  116. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_group.scssc +0 -0
  117. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_header.scssc +0 -0
  118. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_layout.scssc +0 -0
  119. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_modal.scssc +0 -0
  120. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/_search_history.scssc +0 -0
  121. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/blacklight.scssc +0 -0
  122. data/spec/internal/tmp/cache/assets/test/sass/{ca8c12d03785e0d6cd4554f4d3939e7836d38282 → 78e0580c292179fc5fdd7b74b703dad1702b4176}/blacklight_defaults.scssc +0 -0
  123. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_alerts.scssc +0 -0
  124. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_badges.scssc +0 -0
  125. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_breadcrumbs.scssc +0 -0
  126. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_button-groups.scssc +0 -0
  127. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_buttons.scssc +0 -0
  128. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_carousel.scssc +0 -0
  129. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_close.scssc +0 -0
  130. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_code.scssc +0 -0
  131. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_component-animations.scssc +0 -0
  132. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_dropdowns.scssc +0 -0
  133. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_forms.scssc +0 -0
  134. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_glyphicons.scssc +0 -0
  135. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_grid.scssc +0 -0
  136. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_input-groups.scssc +0 -0
  137. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_jumbotron.scssc +0 -0
  138. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_labels.scssc +0 -0
  139. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_list-group.scssc +0 -0
  140. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_media.scssc +0 -0
  141. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_mixins.scssc +0 -0
  142. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_modals.scssc +0 -0
  143. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_navbar.scssc +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_navs.scssc +0 -0
  145. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_normalize.scssc +0 -0
  146. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_pager.scssc +0 -0
  147. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_pagination.scssc +0 -0
  148. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_panels.scssc +0 -0
  149. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_popovers.scssc +0 -0
  150. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_print.scssc +0 -0
  151. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_progress-bars.scssc +0 -0
  152. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_responsive-embed.scssc +0 -0
  153. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_responsive-utilities.scssc +0 -0
  154. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_scaffolding.scssc +0 -0
  155. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_tables.scssc +0 -0
  156. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_thumbnails.scssc +0 -0
  157. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_tooltip.scssc +0 -0
  158. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_type.scssc +0 -0
  159. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_utilities.scssc +0 -0
  160. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_variables.scssc +0 -0
  161. data/spec/internal/tmp/cache/assets/test/sass/{a1ec1bb9c9cafeb054d542e861ebc8ffd5904439 → f79e9f3544f6b8d5f7ca05529260dceec8dd44ed}/_wells.scssc +0 -0
  162. data/spec/internal/tmp/cache/assets/test/sprockets/05604ccd7329b6afb8e7cdafbaa09fe3 +0 -0
  163. data/spec/internal/tmp/cache/assets/test/sprockets/0b3850cd2568d76d8583e8e6bffa44d9 +0 -0
  164. data/spec/internal/tmp/cache/assets/test/sprockets/0dffbe192bade10cf2b568c73695e96e +0 -0
  165. data/spec/internal/tmp/cache/assets/test/sprockets/0e349883625d7536c00fac0eafde4415 +0 -0
  166. data/spec/internal/tmp/cache/assets/test/sprockets/0f05dd42159c418ddcfa12edd10d98bb +0 -0
  167. data/spec/internal/tmp/cache/assets/test/sprockets/{ab2a05b91d7d316d4ceb47ce067006fb → 11b7eeb5da37de1c315d886349adbc98} +0 -0
  168. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  169. data/spec/internal/tmp/cache/assets/test/sprockets/16648e86ab6ef2950f3630ff0d566409 +0 -0
  170. data/spec/internal/tmp/cache/assets/test/sprockets/1877c8233ee501d08788d7324a70bd70 +0 -0
  171. data/spec/internal/tmp/cache/assets/test/sprockets/1c814c5c5dfd63768fff312c442847d6 +0 -0
  172. data/spec/internal/tmp/cache/assets/test/sprockets/1e699d4d1e439eeb1d52a210573f5053 +0 -0
  173. data/spec/internal/tmp/cache/assets/test/sprockets/2c58fb6a2406edc8067b46ee33af7262 +0 -0
  174. data/spec/internal/tmp/cache/assets/test/sprockets/2d0220441d85355dcd9ade523f95c048 +0 -0
  175. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  176. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  177. data/spec/internal/tmp/cache/assets/test/sprockets/{3cc20a63495e66e9251101ccfb0d389c → 39329b3558b9f58b0d4e43621aeaa8c2} +0 -0
  178. data/spec/internal/tmp/cache/assets/test/sprockets/39ed74e4d194593ec48c481d0fd76007 +0 -0
  179. data/spec/internal/tmp/cache/assets/test/sprockets/40271adcb3c4654dcb20b55abc2505c9 +0 -0
  180. data/spec/internal/tmp/cache/assets/test/sprockets/402ffe46f4586abacce366e0e3f690d8 +0 -0
  181. data/spec/internal/tmp/cache/assets/test/sprockets/{43da966542fafc2a4c768be78527391c → 46ec3d34d3576e4452b0a95b87176996} +0 -0
  182. data/spec/internal/tmp/cache/assets/test/sprockets/{9f68eb44ffcb9dd95623c179300414fd → 4a9e62d054a09c7c8e486f73bd032bdc} +0 -0
  183. data/spec/internal/tmp/cache/assets/test/sprockets/4c5e3966eae6a44e852dcf449c3f4cb0 +0 -0
  184. data/spec/internal/tmp/cache/assets/test/sprockets/52ce034583a746333fd7b8aa3916b8e1 +0 -0
  185. data/spec/internal/tmp/cache/assets/test/sprockets/52fe40fddbd8e73f6743866d4930bde6 +0 -0
  186. data/spec/internal/tmp/cache/assets/test/sprockets/{f3935581a84aba9a499005ed6a8e18be → 53329c49c9b4ba25d31c73c9b98260b0} +0 -0
  187. data/spec/internal/tmp/cache/assets/test/sprockets/{c9efce42580b0ad0374a052aa61f2a07 → 59b1fd64c6fc18a82465ad6fdc7094fa} +0 -0
  188. data/spec/internal/tmp/cache/assets/test/sprockets/677fd27eda24da657f51d725742582f3 +0 -0
  189. data/spec/internal/tmp/cache/assets/test/sprockets/6b2c5572f9e2cd322ad7b2878673d0dd +0 -0
  190. data/spec/internal/tmp/cache/assets/test/sprockets/735621cd88de5e37980cced4fb13ded9 +0 -0
  191. data/spec/internal/tmp/cache/assets/test/sprockets/7e4f29f7a7327f10677cd047be78cf8a +0 -0
  192. data/spec/internal/tmp/cache/assets/test/sprockets/{350a65d446eb7398f96d102f7a1a6d69 → 7f804c48c333d9758fa49ff9331b78e2} +0 -0
  193. data/spec/internal/tmp/cache/assets/test/sprockets/806c560c2f6e89ba0ad39561804ff79c +0 -0
  194. data/spec/internal/tmp/cache/assets/test/sprockets/{f3e7729c53b8a2c408086a61b58922ae → 82dd05a187bccd30f62fabb16491fe03} +0 -0
  195. data/spec/internal/tmp/cache/assets/test/sprockets/{f74af03e26e893af40b07a6d0f970cd4 → 82de1c42365fd1cf6a2adc2f644150c1} +0 -0
  196. data/spec/internal/tmp/cache/assets/test/sprockets/{813e23719129cf9f19349f720bebdf70 → 853ad370adfaa0da7ec26f51b89421f1} +0 -0
  197. data/spec/internal/tmp/cache/assets/test/sprockets/857d45eb67a43a30a6d5d0370464e596 +0 -0
  198. data/spec/internal/tmp/cache/assets/test/sprockets/8da6b6aafe413b1ba635e82f71c194be +0 -0
  199. data/spec/internal/tmp/cache/assets/test/sprockets/{b1a42de74c934edd0e5eed0f98a23597 → 8ea9ff17090b736331312d04c8036810} +0 -0
  200. data/spec/internal/tmp/cache/assets/test/sprockets/{d1bce36d6e3ab792562b9c929f2ce897 → 8fad7abbbfbb3748b36d73dfb482c2bd} +0 -0
  201. data/spec/internal/tmp/cache/assets/test/sprockets/9181f512b689ddb01d6778bac83791ac +0 -0
  202. data/spec/internal/tmp/cache/assets/test/sprockets/{b660ec1ede271559cfd0259eed96ae9c → 92c82efebbff4c3a9f96e08b308e92dd} +0 -0
  203. data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  204. data/spec/internal/tmp/cache/assets/test/sprockets/{8ad5c3dc0f5fcc5d7a775d6294dda9f5 → 93c6b8da8f3373c42510a25694457483} +0 -0
  205. data/spec/internal/tmp/cache/assets/test/sprockets/{bb92f4b8c1bedafe60b6f226b549138a → 93dd91f6519f569f11fddf4df22460d9} +0 -0
  206. data/spec/internal/tmp/cache/assets/test/sprockets/9443255223294f7ad9ad6daba446afc3 +0 -0
  207. data/spec/internal/tmp/cache/assets/test/sprockets/96ff03d6a5f9604c6980874bb00c1d17 +0 -0
  208. data/spec/internal/tmp/cache/assets/test/sprockets/9ca9885875e2e0ab4e531cba60aa03e5 +0 -0
  209. data/spec/internal/tmp/cache/assets/test/sprockets/{41b62fb10530766b5b9fef3338f5f30b → a13d3a27038cf6570d22b54c54442642} +0 -0
  210. data/spec/internal/tmp/cache/assets/test/sprockets/{ba078b29a7f067b3acdd538a286235a8 → aa92d8a74950d2d6217a51424ce4b33b} +0 -0
  211. data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  212. data/spec/internal/tmp/cache/assets/test/sprockets/{30ca7caa200fa8eaddaef443913ad9ad → b146aa842b38c17ed4117b2f52d4b51f} +0 -0
  213. data/spec/internal/tmp/cache/assets/test/sprockets/b37776526b5809e55fbb0add6d059127 +0 -0
  214. data/spec/internal/tmp/cache/assets/test/sprockets/{db0d9534ecdebba33af5d1d81060e855 → b6d54919d5e4a3921287a5fb178dc455} +0 -0
  215. data/spec/internal/tmp/cache/assets/test/sprockets/c514fd002d57ddf3d94669e369d45283 +0 -0
  216. data/spec/internal/tmp/cache/assets/test/sprockets/{b225d67626669cb154cbe08a3c439d48 → cd59839c2fc0d494ffa76ef4c4dbfa42} +0 -0
  217. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  218. data/spec/internal/tmp/cache/assets/test/sprockets/{b3ae9e3cdd9991d7103b0a00e33b5778 → d32e733978c8eb7c7db3ec2b865ee87f} +0 -0
  219. data/spec/internal/tmp/cache/assets/test/sprockets/d6995317fba3b6344c75db70b8c997e2 +0 -0
  220. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  221. data/spec/internal/tmp/cache/assets/test/sprockets/{ecfc314951b349e27742c1b26880619e → d7bf17ad1471147b5314b4dda0bad9fe} +0 -0
  222. data/spec/internal/tmp/cache/assets/test/sprockets/{9ce190f082dc4fb74bddb818cc011ce6 → e6a1afebb687728d619fe27e84335d2f} +0 -0
  223. data/spec/internal/tmp/cache/assets/test/sprockets/{19f4ba6fa86d2609c171da9f5ee3b11a → e83c10c393da1c028c7d4217ecfc9c03} +0 -0
  224. data/spec/internal/tmp/cache/assets/test/sprockets/f64fd792a429f69332c1489015953219 +0 -0
  225. data/spec/internal/tmp/cache/assets/test/sprockets/{fa11f1beb15b0f04503ce1f06701a8bf → f7a87683461c3a58ee9b6e9546473c4e} +0 -0
  226. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  227. data/spec/internal/tmp/cache/assets/test/sprockets/{4e93570db72bb61820711448b78d548d → fed76e6bd857a06488c186874bbe2bb2} +0 -0
  228. data/spec/krikri_spec.rb +8 -0
  229. data/spec/lib/krikri/aggregation_entity_behavior_spec.rb +37 -0
  230. data/spec/lib/krikri/enricher_spec.rb +38 -1
  231. data/spec/lib/krikri/entity_consumer_spec.rb +27 -0
  232. data/spec/lib/krikri/indexer_spec.rb +48 -0
  233. data/spec/lib/krikri/mapper_agent_spec.rb +54 -40
  234. data/spec/lib/krikri/qa_query_client_spec.rb +120 -0
  235. data/spec/lib/krikri/random_search_index_docmument_builder_spec.rb +31 -0
  236. data/spec/lib/krikri/search_index_spec.rb +547 -0
  237. data/spec/models/activity_spec.rb +19 -0
  238. data/spec/models/provider_spec.rb +119 -0
  239. data/spec/models/qa_report_spec.rb +102 -0
  240. data/spec/models/validation_report_spec.rb +49 -0
  241. data/spec/spec_helper.rb +8 -0
  242. data/spec/support/shared_contexts/entities_query.rb +22 -0
  243. data/spec/support/shared_contexts/indexed_item.rb +27 -0
  244. data/spec/support/shared_contexts/provenance_query_client.rb +15 -2
  245. data/spec/views/krikri/providers/index.html.erb_spec.rb +23 -0
  246. data/spec/views/krikri/providers/show.html.erb_spec.rb +22 -0
  247. data/spec/views/krikri/qa_reports/index.html.erb_spec.rb +42 -0
  248. data/spec/views/krikri/qa_reports/show.html.erb_spec.rb +5 -0
  249. data/spec/views/krikri/records/index.html.erb_spec.rb +5 -0
  250. data/spec/views/krikri/records/show.html.erb_spec.rb +49 -0
  251. data/spec/views/krikri/reports/index.html.erb_spec.rb +26 -0
  252. metadata +501 -593
  253. data/app/controllers/krikri/report_lists_controller.rb +0 -10
  254. data/app/helpers/krikri/validation_reports_helper.rb +0 -5
  255. data/app/models/krikri/harvesters/oai_harvester.rb~ +0 -10
  256. data/app/models/krikri/original_record_desc.rb~ +0 -6
  257. data/app/models/krikri/original_record_metadata.rb~ +0 -9
  258. data/app/models/krikri/parser.rb~ +0 -5
  259. data/app/models/krikri/parsers/xml_parser.rb~ +0 -5
  260. data/app/views/krikri/report_lists/_validation_report_list.html.erb +0 -14
  261. data/app/views/krikri/report_lists/index.html.erb +0 -5
  262. data/app/views/krikri/validation_reports/_document_list.html.erb +0 -18
  263. data/app/views/krikri/validation_reports/_search_header.html.erb +0 -1
  264. data/app/views/krikri/validation_reports/_zero_results.html.erb +0 -1
  265. data/app/views/krikri/validation_reports/index.html.erb +0 -18
  266. data/config/initializers/config.rb~ +0 -19
  267. data/config/settings/test.yml~ +0 -3
  268. data/lib/aggregation.rb~ +0 -4
  269. data/lib/blacklight.rb~ +0 -8
  270. data/lib/krikri/enrichment.rb~ +0 -5
  271. data/lib/krikri/enrichment_agent.rb~ +0 -11
  272. data/lib/krikri/enrichment_agent_spec.rb~ +0 -2
  273. data/lib/krikri/enrichment_job.rb~ +0 -13
  274. data/lib/krikri/enrichments/dedup_values.rb~ +0 -7
  275. data/lib/krikri/enrichments/strip_ending_punctuation.rb~ +0 -18
  276. data/lib/krikri/enrichments/strip_leading_colons.rb~ +0 -15
  277. data/lib/krikri/enrichments/strip_leading_punctuation.rb~ +0 -18
  278. data/lib/krikri/enrichments.rb~ +0 -4
  279. data/lib/krikri/field_enrichment.rb~ +0 -3
  280. data/lib/krikri/harvesters/api_harvester.rb~ +0 -44
  281. data/lib/krikri/harvesters/basic_save_behavior.rb~ +0 -1
  282. data/lib/krikri/harvesters/file_harvester.rb~ +0 -4
  283. data/lib/krikri/harvesters/harvest_behavior.rb~ +0 -14
  284. data/lib/krikri/harvesters/mdl_api_harvester.rb~ +0 -7
  285. data/lib/krikri/harvesters/mdl_harvester.rb~ +0 -4
  286. data/lib/krikri/harvesters/oai_skip_deleted_behavior.rb~ +0 -17
  287. data/lib/krikri/id_minter.rb~ +0 -8
  288. data/lib/krikri/id_service.rb~ +0 -4
  289. data/lib/krikri/index_service.rb +0 -128
  290. data/lib/krikri/ldp/container.rb~ +0 -22
  291. data/lib/krikri/ldp/nr_source.rb~ +0 -4
  292. data/lib/krikri/ldp/rdf_source.rb~ +0 -24
  293. data/lib/krikri/ldp/resource.rb~ +0 -49
  294. data/lib/krikri/mapping_dsl.rb~ +0 -4
  295. data/lib/krikri/mapping_job.rb~ +0 -13
  296. data/lib/krikri/md5_minter.rb~ +0 -8
  297. data/lib/krikri/parsers/json_parser.rb~ +0 -17
  298. data/lib/krikri/parsers/oai_headers.rb~ +0 -4
  299. data/lib/krikri/parsers/oai_parser.rb~ +0 -2
  300. data/lib/krikri/parsers/oai_parser_headers.rb~ +0 -4
  301. data/lib/krikri/parsers/xml_parser.rb~ +0 -61
  302. data/lib/krikri/provenance_query.rb~ +0 -4
  303. data/lib/krikri/provenance_query_client.rb~ +0 -11
  304. data/lib/krikri/random_record_generator.rb +0 -19
  305. data/lib/krikri/util/edtf_converter.rb~ +0 -26
  306. data/lib/krikri/util/extended_date_parser.rb~ +0 -70
  307. data/lib/krikri/validation_report_list.rb +0 -61
  308. data/lib/tasks/jetty.rake~ +0 -12
  309. data/lib/tasks/krikri.rake~ +0 -20
  310. data/spec/factories/krikri_original_record.rb~ +0 -5
  311. data/spec/internal/lib/generators/test_app_generator.rb~ +0 -14
  312. data/spec/internal/tmp/cache/assets/test/sprockets/059eceaa18e2eaee3d5168f3949f4957 +0 -0
  313. data/spec/internal/tmp/cache/assets/test/sprockets/093d898bf3f20b26b13c82714a77c040 +0 -0
  314. data/spec/internal/tmp/cache/assets/test/sprockets/10517c9579f8d23c82fb8caa66dca6a7 +0 -0
  315. data/spec/internal/tmp/cache/assets/test/sprockets/2bec18569db80effd80a2a19a038100b +0 -0
  316. data/spec/internal/tmp/cache/assets/test/sprockets/4052820c15af72ba690230a0f92bd75e +0 -0
  317. data/spec/internal/tmp/cache/assets/test/sprockets/421c89c58d3e76046a0294dae1f731ff +0 -0
  318. data/spec/internal/tmp/cache/assets/test/sprockets/496a0d7dce1ff6bf4a9c3a089ea3a635 +0 -0
  319. data/spec/internal/tmp/cache/assets/test/sprockets/50b9db0b908b421a9b941a445dbaeacc +0 -0
  320. data/spec/internal/tmp/cache/assets/test/sprockets/5155772cce704d83a64aa83eeda20c5a +0 -0
  321. data/spec/internal/tmp/cache/assets/test/sprockets/528c628cf107f8be6dd122e1154344be +0 -0
  322. data/spec/internal/tmp/cache/assets/test/sprockets/5ed02c7072bb024fa0832a1ca4113227 +0 -0
  323. data/spec/internal/tmp/cache/assets/test/sprockets/60141dc3d16c502963c3d798a099862d +0 -0
  324. data/spec/internal/tmp/cache/assets/test/sprockets/6df5b5c0a8e6d87ced9504a460df875e +0 -0
  325. data/spec/internal/tmp/cache/assets/test/sprockets/6eefd2765a716d66ff857cfcda69a119 +0 -0
  326. data/spec/internal/tmp/cache/assets/test/sprockets/88ded10f28177bec1bddb0d72d6b1cd2 +0 -0
  327. data/spec/internal/tmp/cache/assets/test/sprockets/8edfca9082e02111be92e79000667f22 +0 -0
  328. data/spec/internal/tmp/cache/assets/test/sprockets/90b54a819800edfa41b67722d1561040 +0 -0
  329. data/spec/internal/tmp/cache/assets/test/sprockets/9c653367feff82588eb6041d783a5809 +0 -0
  330. data/spec/internal/tmp/cache/assets/test/sprockets/b1c03c36188b4f58f819510adb9a7e9c +0 -0
  331. data/spec/internal/tmp/cache/assets/test/sprockets/b35e12934e9f05662777579549e31cd7 +0 -0
  332. data/spec/internal/tmp/cache/assets/test/sprockets/b42c247628daaf44109584724682a6ad +0 -0
  333. data/spec/internal/tmp/cache/assets/test/sprockets/bb108ef3fc4c96d1c20cc41f97d943a0 +0 -0
  334. data/spec/internal/tmp/cache/assets/test/sprockets/c644ecad928e076f999e9c9a3bc350c9 +0 -0
  335. data/spec/internal/tmp/cache/assets/test/sprockets/c78dd20a0df27e9394a413bf2e4abf92 +0 -0
  336. data/spec/internal/tmp/cache/assets/test/sprockets/d24a7c4b8ac71a90e809881a64970898 +0 -0
  337. data/spec/internal/tmp/cache/assets/test/sprockets/dbba4bbc32c17ade3d618c5d0baeb371 +0 -0
  338. data/spec/internal/tmp/cache/assets/test/sprockets/e8276b98892dcac8285a592bb63fe75b +0 -0
  339. data/spec/internal/tmp/cache/assets/test/sprockets/e9f7ccc553ce1a217709cc7a08cfb032 +0 -0
  340. data/spec/internal/tmp/cache/assets/test/sprockets/eddae0741d973a8ab3df27c1ea5b635e +0 -0
  341. data/spec/internal/tmp/cache/assets/test/sprockets/f274b5f22db177b6464b50691d531688 +0 -0
  342. data/spec/internal/tmp/cache/assets/test/sprockets/f45dfdb34e84d3c72a3319399a7316a3 +0 -0
  343. data/spec/internal/tmp/cache/assets/test/sprockets/faac2909046aa87e1f1f08b2bf0ad2b2 +0 -0
  344. data/spec/krikri_spec.rb~ +0 -30
  345. data/spec/ldp/active_triples_spec.rb~ +0 -15
  346. data/spec/ldp/at_resource_spec.rb~ +0 -41
  347. data/spec/ldp/nr_source_spec.rb~ +0 -3
  348. data/spec/ldp/rdf_source_spec.rb~ +0 -4
  349. data/spec/ldp/resource_spec.rb~ +0 -49
  350. data/spec/lib/krikri/enrichment_agent_spec.rb~ +0 -4
  351. data/spec/lib/krikri/enrichments/capitalize_spec.rb~ +0 -24
  352. data/spec/lib/krikri/enrichments/dedup_values_spec.rb~ +0 -10
  353. data/spec/lib/krikri/enrichments/deduplication_spec.rb~ +0 -5
  354. data/spec/lib/krikri/enrichments/genre_filter_spec.rb~ +0 -19
  355. data/spec/lib/krikri/enrichments/iso_enrich_spec.rb~ +0 -5
  356. data/spec/lib/krikri/enrichments/parse_date_spec.rb~ +0 -16
  357. data/spec/lib/krikri/enrichments/strip_ending_punctuation_spec.rb~ +0 -16
  358. data/spec/lib/krikri/enrichments/strip_leading_colons_spec.rb~ +0 -16
  359. data/spec/lib/krikri/enrichments/strip_leading_punctuation_spec.rb~ +0 -16
  360. data/spec/lib/krikri/enrichments/timespan_spec.rb~ +0 -10
  361. data/spec/lib/krikri/enrichments/timespan_split_spec.rb~ +0 -59
  362. data/spec/lib/krikri/harvesters/api_harvester_spec.rb~ +0 -47
  363. data/spec/lib/krikri/harvesters/basic_save_behavior_spec.rb~ +0 -12
  364. data/spec/lib/krikri/harvesters/file_harvester_spec.rb~ +0 -3
  365. data/spec/lib/krikri/harvesters/harvest_behavior_spec.rb~ +0 -5
  366. data/spec/lib/krikri/harvesters/mdl_api_harvester_spec.rb~ +0 -11
  367. data/spec/lib/krikri/harvesters/mdl_harvester_spec.rb~ +0 -8
  368. data/spec/lib/krikri/harvesters/oai_skip_deleted_behavior.rb~ +0 -7
  369. data/spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~ +0 -15
  370. data/spec/lib/krikri/id_service_spec.rb~ +0 -3
  371. data/spec/lib/krikri/index_service_spec.rb +0 -83
  372. data/spec/lib/krikri/job_spec.rb~ +0 -13
  373. data/spec/lib/krikri/mapper_agent_spec.rb~ +0 -64
  374. data/spec/lib/krikri/mapper_spec.rb~ +0 -5
  375. data/spec/lib/krikri/mapping_dsl/parser_methods_spec.rb~ +0 -65
  376. data/spec/lib/krikri/mapping_dsl/property_declaration_spec.rb~ +0 -87
  377. data/spec/lib/krikri/mapping_dsl/rdf_subjects_spec.rb~ +0 -16
  378. data/spec/lib/krikri/mapping_dsl_spec.rb~ +0 -10
  379. data/spec/lib/krikri/mapping_job.rb~ +0 -12
  380. data/spec/lib/krikri/mapping_job_spec.rb~ +0 -11
  381. data/spec/lib/krikri/mapping_spec.rb~ +0 -5
  382. data/spec/lib/krikri/md5_minter_spec.rb~ +0 -5
  383. data/spec/lib/krikri/parser_value_array.rb~ +0 -5
  384. data/spec/lib/krikri/parsers/json_parser_spec.rb~ +0 -17
  385. data/spec/lib/krikri/parsers/xml_parser_spec.rb~ +0 -21
  386. data/spec/lib/krikri/provenance_query_client.rb~ +0 -5
  387. data/spec/lib/krikri/provenance_query_client_spec.rb~ +0 -8
  388. data/spec/lib/krikri/util/edtf_converter_spec.rb~ +0 -17
  389. data/spec/lib/krikri/util/extended_date_parser_spec.rb~ +0 -102
  390. data/spec/lib/krikri/validation_report_list_spec.rb +0 -50
  391. data/spec/models/activity_spec.rb~ +0 -41
  392. data/spec/models/dpla/map/aggregation_spec.rb~ +0 -67
  393. data/spec/models/harvesters/oai_harvester_spec.rb~ +0 -15
  394. data/spec/models/mapper_spec.rb~ +0 -5
  395. data/spec/models/original_record_metadata_spec.rb~ +0 -5
  396. data/spec/models/original_record_spec.rb~ +0 -5
  397. data/spec/support/shared_contexts/mapping_dsl.rb~ +0 -12
  398. data/spec/support/shared_contexts/provenance_query_client.rb~ +0 -6
  399. data/spec/support/shared_examples/enrichment.rb~ +0 -5
  400. data/spec/support/shared_examples/harvest_behavior.rb~ +0 -13
  401. data/spec/support/shared_examples/job.rb~ +0 -20
  402. data/spec/support/shared_examples/ldp_resource.rb~ +0 -4
  403. data/spec/support/shared_examples/oai_parser_headers.rb~ +0 -12
  404. data/spec/support/shared_examples/rdf_source.rb~ +0 -1
  405. data/spec/support/shared_examples/software_agent.rb~ +0 -5
  406. data/spec/support/shared_examples/string_enrichment.rb~ +0 -12
  407. data/spec/test_app_templates/lib/generators/test_app_generator.rb~ +0 -14
  408. data/spec/webmocks/oai.rb~ +0 -13
@@ -1,35 +1,37 @@
1
1
  PATH
2
- remote: /home/tjohnson/src/dpla/krikri
2
+ remote: /Users/mark/Documents/Code/dpla/KriKri
3
3
  specs:
4
- krikri (0.3.3)
4
+ krikri (0.5.0)
5
5
  analysand (= 4.0.0)
6
6
  blacklight (~> 5.8.0)
7
7
  devise (~> 3.4.1)
8
8
  dpla-map (= 4.0.0.0.pre.10)
9
9
  edtf
10
+ elasticsearch (~> 0.4.0)
10
11
  jsonpath
11
12
  oai
12
13
  rails (~> 4.1.6)
13
14
  rails_config
14
15
  rdf-marmotta (>= 0.0.6)
15
16
  resque (~> 1.0)
17
+ rest-client
16
18
  therubyracer
17
19
  yajl-ruby
18
20
 
19
21
  GEM
20
22
  remote: https://rubygems.org/
21
23
  specs:
22
- actionmailer (4.1.6)
23
- actionpack (= 4.1.6)
24
- actionview (= 4.1.6)
24
+ actionmailer (4.1.10)
25
+ actionpack (= 4.1.10)
26
+ actionview (= 4.1.10)
25
27
  mail (~> 2.5, >= 2.5.4)
26
- actionpack (4.1.6)
27
- actionview (= 4.1.6)
28
- activesupport (= 4.1.6)
28
+ actionpack (4.1.10)
29
+ actionview (= 4.1.10)
30
+ activesupport (= 4.1.10)
29
31
  rack (~> 1.5.2)
30
32
  rack-test (~> 0.6.2)
31
- actionview (4.1.6)
32
- activesupport (= 4.1.6)
33
+ actionview (4.1.10)
34
+ activesupport (= 4.1.10)
33
35
  builder (~> 3.1)
34
36
  erubis (~> 2.7.0)
35
37
  active-triples (0.6.1)
@@ -38,14 +40,14 @@ GEM
38
40
  deprecation (~> 0.1)
39
41
  linkeddata (~> 1.1)
40
42
  rdf (~> 1.1)
41
- activemodel (4.1.6)
42
- activesupport (= 4.1.6)
43
+ activemodel (4.1.10)
44
+ activesupport (= 4.1.10)
43
45
  builder (~> 3.1)
44
- activerecord (4.1.6)
45
- activemodel (= 4.1.6)
46
- activesupport (= 4.1.6)
46
+ activerecord (4.1.10)
47
+ activemodel (= 4.1.10)
48
+ activesupport (= 4.1.10)
47
49
  arel (~> 5.0.0)
48
- activesupport (4.1.6)
50
+ activesupport (4.1.10)
49
51
  i18n (~> 0.6, >= 0.6.9)
50
52
  json (~> 1.7, >= 1.7.7)
51
53
  minitest (~> 5.1)
@@ -61,7 +63,7 @@ GEM
61
63
  rack
62
64
  yajl-ruby
63
65
  arel (5.0.1.20140414130214)
64
- autoprefixer-rails (5.1.7.1)
66
+ autoprefixer-rails (5.1.8)
65
67
  execjs
66
68
  json
67
69
  bcrypt (3.1.10)
@@ -100,6 +102,8 @@ GEM
100
102
  responders
101
103
  thread_safe (~> 0.1)
102
104
  warden (~> 1.2.3)
105
+ domain_name (0.5.23)
106
+ unf (>= 0.0.5, < 1.0.0)
103
107
  dpla-map (4.0.0.0.pre.10)
104
108
  active-triples (~> 0.6.0)
105
109
  linked_vocabs (~> 0.2.0)
@@ -109,6 +113,14 @@ GEM
109
113
  sxp (~> 0.1, >= 0.1.3)
110
114
  edtf (2.1.0)
111
115
  activesupport (>= 3.0, < 5.0)
116
+ elasticsearch (0.4.11)
117
+ elasticsearch-api (= 0.4.11)
118
+ elasticsearch-transport (= 0.4.11)
119
+ elasticsearch-api (0.4.11)
120
+ multi_json
121
+ elasticsearch-transport (0.4.11)
122
+ faraday
123
+ multi_json
112
124
  equivalent-xml (0.5.1)
113
125
  nokogiri (>= 1.4.3)
114
126
  erubis (2.7.0)
@@ -128,12 +140,14 @@ GEM
128
140
  hike (1.2.3)
129
141
  hitimes (1.2.2)
130
142
  htmlentities (4.3.3)
143
+ http-cookie (1.0.2)
144
+ domain_name (~> 0.5)
131
145
  http_parser.rb (0.6.0)
132
146
  i18n (0.7.0)
133
147
  jbuilder (2.2.12)
134
148
  activesupport (>= 3.0.0, < 5)
135
149
  multi_json (~> 1.2)
136
- jettywrapper (2.0.3)
150
+ jettywrapper (2.0.2)
137
151
  activesupport (>= 3.0.0)
138
152
  childprocess
139
153
  i18n
@@ -188,6 +202,7 @@ GEM
188
202
  multi_json (1.11.0)
189
203
  multipart-post (2.0.0)
190
204
  net-http-persistent (2.9.4)
205
+ netrc (0.10.3)
191
206
  nio4r (1.1.0)
192
207
  nokogiri (1.6.6.2)
193
208
  mini_portile (~> 0.6.0)
@@ -200,32 +215,32 @@ GEM
200
215
  coderay (~> 1.1.0)
201
216
  method_source (~> 0.8.1)
202
217
  slop (~> 3.4)
203
- pry-rails (0.3.3)
218
+ pry-rails (0.3.2)
204
219
  pry (>= 0.9.10)
205
220
  rack (1.5.2)
206
221
  rack-protection (1.5.3)
207
222
  rack
208
223
  rack-test (0.6.3)
209
224
  rack (>= 1.0)
210
- rails (4.1.6)
211
- actionmailer (= 4.1.6)
212
- actionpack (= 4.1.6)
213
- actionview (= 4.1.6)
214
- activemodel (= 4.1.6)
215
- activerecord (= 4.1.6)
216
- activesupport (= 4.1.6)
225
+ rails (4.1.10)
226
+ actionmailer (= 4.1.10)
227
+ actionpack (= 4.1.10)
228
+ actionview (= 4.1.10)
229
+ activemodel (= 4.1.10)
230
+ activerecord (= 4.1.10)
231
+ activesupport (= 4.1.10)
217
232
  bundler (>= 1.3.0, < 2.0)
218
- railties (= 4.1.6)
233
+ railties (= 4.1.10)
219
234
  sprockets-rails (~> 2.0)
220
235
  rails_config (0.4.2)
221
236
  activesupport (>= 3.0)
222
- railties (4.1.6)
223
- actionpack (= 4.1.6)
224
- activesupport (= 4.1.6)
237
+ railties (4.1.10)
238
+ actionpack (= 4.1.10)
239
+ activesupport (= 4.1.10)
225
240
  rake (>= 0.8.7)
226
241
  thor (>= 0.18.1, < 2.0)
227
242
  rake (10.4.2)
228
- rdf (1.1.9)
243
+ rdf (1.1.10)
229
244
  link_header (~> 0.0, >= 0.0.8)
230
245
  rdf-aggregate-repo (1.1.0)
231
246
  rdf (>= 1.1)
@@ -233,12 +248,12 @@ GEM
233
248
  rdf (>= 1.1)
234
249
  rdf-json (1.1.1)
235
250
  rdf (~> 1.1)
236
- rdf-marmotta (0.0.6)
251
+ rdf-marmotta (0.0.8)
237
252
  nokogiri
238
253
  rake
239
254
  rdf (~> 1.1)
240
255
  rdf-rdfxml (~> 1.1)
241
- sparql-client (~> 1.1)
256
+ sparql-client (~> 1.1.4)
242
257
  rdf-microdata (2.0)
243
258
  htmlentities (~> 4.3)
244
259
  nokogiri (~> 1.6)
@@ -275,7 +290,7 @@ GEM
275
290
  rdoc (4.2.0)
276
291
  json (~> 1.4)
277
292
  redis (3.2.1)
278
- redis-namespace (1.5.1)
293
+ redis-namespace (1.5.2)
279
294
  redis (~> 3.0, >= 3.0.4)
280
295
  ref (1.0.5)
281
296
  responders (1.1.2)
@@ -286,6 +301,10 @@ GEM
286
301
  redis-namespace (~> 1.3)
287
302
  sinatra (>= 0.9.2)
288
303
  vegas (~> 0.1.2)
304
+ rest-client (1.8.0)
305
+ http-cookie (>= 1.0.2, < 2.0)
306
+ mime-types (>= 1.16, < 3.0)
307
+ netrc (~> 0.7)
289
308
  rsolr (1.0.12)
290
309
  builder (>= 2.1.2)
291
310
  rubyzip (1.1.7)
@@ -298,10 +317,10 @@ GEM
298
317
  sdoc (0.4.1)
299
318
  json (~> 1.7, >= 1.7.7)
300
319
  rdoc (~> 4.0)
301
- sinatra (1.4.5)
320
+ sinatra (1.4.6)
302
321
  rack (~> 1.4)
303
322
  rack-protection (~> 1.4)
304
- tilt (~> 1.3, >= 1.3.4)
323
+ tilt (>= 1.3, < 3)
305
324
  slop (3.6.0)
306
325
  sparql (1.1.4)
307
326
  builder (~> 3.0)
@@ -340,6 +359,9 @@ GEM
340
359
  uglifier (2.7.1)
341
360
  execjs (>= 0.3.0)
342
361
  json (>= 1.8.0)
362
+ unf (0.1.4)
363
+ unf_ext
364
+ unf_ext (0.0.6)
343
365
  vegas (0.1.11)
344
366
  rack (>= 1.0.0)
345
367
  warden (1.2.3)
@@ -358,7 +380,7 @@ DEPENDENCIES
358
380
  jquery-rails
359
381
  krikri!
360
382
  pry-rails
361
- rails (= 4.1.6)
383
+ rails (= 4.1.10)
362
384
  sass-rails (~> 4.0.3)
363
385
  sdoc (~> 0.4.0)
364
386
  sqlite3
@@ -7,7 +7,7 @@
7
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
8
  // compiled file.
9
9
  //
10
- // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
13
  //= require jquery
@@ -3,5 +3,5 @@
3
3
  # will use the application's secret key base instead.
4
4
  #
5
5
 
6
- # Blacklight.secret_key = 'a8a84b19ee81c6625f6b6bf52913a12bf873f23ecac9252634ae7249ae89a4233dd8628e8ea4db82867b2dcd5fb544a66656af88303b11f6bccbdbe456df2922'
6
+ # Blacklight.secret_key = '7330e28d80043c1fc8e211971d855ca47a02bc2ba1e7387f94e408434b771a53d04e5a27454b7f7a1154a2bf56e184a0222aff253e2af535d048a09bf2789d1a'
7
7
 
@@ -4,7 +4,7 @@ Devise.setup do |config|
4
4
  # The secret key used by Devise. Devise uses this key to generate
5
5
  # random tokens. Changing this key will render invalid all existing
6
6
  # confirmation, reset password and unlock tokens in the database.
7
- # config.secret_key = '89e096e89e62c129d1cbabfda3927806ccfd49732cb0218bf29fac6ba1d255477ef02d329a20a2f7f7910073971fc4647cab2838a2155ea1dbf40ac0e2e5beaf'
7
+ # config.secret_key = '0310e32110d32a96a4eff5f73014591f74733634199e8c9c06b3143dbd3be9db364e3a7dd8dca6ae6aef76a1b920e03ef6b5ef8a627438beb6fee6f432dc764a'
8
8
 
9
9
  # ==> Mailer Configuration
10
10
  # Configure the e-mail address which will be shown in Devise::Mailer,
@@ -97,7 +97,7 @@ Devise.setup do |config|
97
97
  config.stretches = Rails.env.test? ? 1 : 10
98
98
 
99
99
  # Setup a pepper to generate the encrypted password.
100
- # config.pepper = 'dfc5b07177a9f2c5e79e802921fc5148674f9eb328d935e7a495aeefa2ebeb698affc9f731c4ae00d68ddf0222cc0f341ff09db277a941947b93b76cb31fe6f1'
100
+ # config.pepper = 'dfd04af9026aea1af9e069d9a3d12803b4f7ea1c644df6865e2f171f4e70a98638b4498c517b79f4cbf3c47c96e4a08bb4aca5927b0aa0ba23e1cc6ddc490dd3'
101
101
 
102
102
  # ==> Configuration for :confirmable
103
103
  # A period that the user is allowed to access the website even without
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 036c0f3a4d21a45c2f6927a94b989efd1deb93684a6e30a29d9b7952cf7303d4d45c70178db62b740c52e4534eb88e0dbbde41ee98edaa9680dbf132b46cddaf
14
+ secret_key_base: a423f7da722cf782bafd420c718451091fdfe0d81ba13a845053df3f652811b346303e17140694dc70c0f017bc5c618ce6e71a922a6c2dce5d203dacf4e4487c
15
15
 
16
16
  test:
17
- secret_key_base: 3f48b93cac4ac325eac2c90260394ddc65d760b908496f010bfd48c7d4adf022e917251349b6a4ddf688482c8ed5db9d5e97ae6e7912957b5625239e81dcc89a
17
+ secret_key_base: 97b0bfb17ffdf79171ca3c5172100d749a2f7963f923ffcb6efacded0f4c44ee56cd4f607c5dc9dd04b29ccaccbdb463168c24c5882679f9ebc9726ceb88709e
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
Binary file
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150320153153) do
14
+ ActiveRecord::Schema.define(version: 20150403220356) do
15
15
 
16
16
  create_table "bookmarks", force: true do |t|
17
17
  t.integer "user_id", null: false
@@ -53,6 +53,14 @@ ActiveRecord::Schema.define(version: 20150320153153) do
53
53
  t.datetime "updated_at"
54
54
  end
55
55
 
56
+ create_table "krikri_qa_reports", force: true do |t|
57
+ t.string "provider"
58
+ t.text "field_report"
59
+ t.text "count_report"
60
+ t.datetime "created_at"
61
+ t.datetime "updated_at"
62
+ end
63
+
56
64
  create_table "searches", force: true do |t|
57
65
  t.text "query_params"
58
66
  t.integer "user_id"
Binary file
@@ -1,52 +1,57 @@
1
-  (71.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.2ms) select sqlite_version(*)
3
-  (63.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
4
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
5
  Migrating to CreateKrikriInstitutions (20141113200614)
6
6
   (0.1ms) begin transaction
7
-  (0.5ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
7
+  (0.2ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
8
8
  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200614"]]
9
-  (62.3ms) commit transaction
9
+  (0.7ms) commit transaction
10
10
  Migrating to CreateKrikriHarvestSources (20141113200643)
11
-  (0.1ms) begin transaction
12
-  (0.5ms) CREATE TABLE "krikri_harvest_sources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "institution_id" integer, "name" varchar(255), "source_type" varchar(255), "metadata_schema" varchar(255), "uri" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
13
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200643"]]
14
-  (76.4ms) commit transaction
11
+  (0.0ms) begin transaction
12
+  (0.3ms) CREATE TABLE "krikri_harvest_sources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "institution_id" integer, "name" varchar(255), "source_type" varchar(255), "metadata_schema" varchar(255), "uri" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200643"]]
14
+  (0.6ms) commit transaction
15
15
  Migrating to CreateKrikriActivities (20141212220924)
16
-  (0.2ms) begin transaction
17
-  (0.8ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" varchar(255), "created_at" datetime, "updated_at" datetime)
18
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141212220924"]]
19
-  (132.5ms) commit transaction
16
+  (0.0ms) begin transaction
17
+  (0.2ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" varchar(255), "created_at" datetime, "updated_at" datetime)
18
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141212220924"]]
19
+  (0.6ms) commit transaction
20
20
  Migrating to AddOptsToKrikriHarvestSources (20150106164218)
21
-  (0.3ms) begin transaction
22
-  (0.8ms) ALTER TABLE "krikri_harvest_sources" ADD "opts" text
23
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106164218"]]
24
-  (159.5ms) commit transaction
21
+  (0.0ms) begin transaction
22
+  (0.2ms) ALTER TABLE "krikri_harvest_sources" ADD "opts" text
23
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106164218"]]
24
+  (0.6ms) commit transaction
25
25
  Migrating to ChangeOptsInKrikriActivities (20150309160112)
26
-  (0.2ms) begin transaction
27
-  (0.9ms) CREATE TEMPORARY TABLE "akrikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" varchar(255), "created_at" datetime, "updated_at" datetime)
28
-  (0.2ms) SELECT * FROM "krikri_activities"
29
-  (0.5ms) DROP TABLE "krikri_activities"
30
-  (0.4ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text(255), "created_at" datetime, "updated_at" datetime) 
31
-  (0.2ms) SELECT * FROM "akrikri_activities"
32
-  (0.4ms) DROP TABLE "akrikri_activities"
33
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150309160112"]]
34
-  (56.4ms) commit transaction
26
+  (0.0ms) begin transaction
27
+  (1.0ms) CREATE TEMPORARY TABLE "akrikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" varchar(255), "created_at" datetime, "updated_at" datetime)
28
+  (0.1ms) SELECT * FROM "krikri_activities"
29
+  (0.3ms) DROP TABLE "krikri_activities"
30
+  (0.2ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text(255), "created_at" datetime, "updated_at" datetime) 
31
+  (5.7ms) SELECT * FROM "akrikri_activities"
32
+  (21.8ms) DROP TABLE "akrikri_activities"
33
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150309160112"]]
34
+  (0.9ms) commit transaction
35
35
  Migrating to RemoveOptsLimitInKrikriActivities (20150310190054)
36
36
   (0.1ms) begin transaction
37
-  (0.6ms) CREATE TEMPORARY TABLE "akrikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text(255), "created_at" datetime, "updated_at" datetime) 
38
-  (0.2ms) SELECT * FROM "krikri_activities"
39
-  (0.5ms) DROP TABLE "krikri_activities"
40
-  (0.4ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text, "created_at" datetime, "updated_at" datetime)
37
+  (0.2ms) CREATE TEMPORARY TABLE "akrikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text(255), "created_at" datetime, "updated_at" datetime) 
38
+  (0.1ms) SELECT * FROM "krikri_activities"
39
+  (0.2ms) DROP TABLE "krikri_activities"
40
+  (0.1ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text, "created_at" datetime, "updated_at" datetime)
41
41
   (0.1ms) SELECT * FROM "akrikri_activities"
42
-  (0.2ms) DROP TABLE "akrikri_activities"
43
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150310190054"]]
44
-  (52.0ms) commit transaction
45
- Migrating to DeviseCreateUsers (20150320153132)
46
-  (0.2ms) begin transaction
47
-  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)
42
+  (0.1ms) DROP TABLE "akrikri_activities"
43
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150310190054"]]
44
+  (0.7ms) commit transaction
45
+ Migrating to AddQaReport (20150328035550)
46
+  (0.1ms) begin transaction
47
+  (0.2ms) CREATE TABLE "krikri_qa_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar(255), "field_report" text, "count_report" text, "created_at" datetime, "updated_at" datetime)
48
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150328035550"]]
49
+  (0.7ms) commit transaction
50
+ Migrating to DeviseCreateUsers (20150403220331)
51
+  (0.0ms) begin transaction
52
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)
48
53
   (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
49
-  (0.2ms) SELECT sql
54
+  (0.1ms) SELECT sql
50
55
  FROM sqlite_master
51
56
  WHERE name='index_users_on_email' AND type='index'
52
57
  UNION ALL
@@ -54,11 +59,11 @@ Migrating to DeviseCreateUsers (20150320153132)
54
59
  FROM sqlite_temp_master
55
60
  WHERE name='index_users_on_email' AND type='index'
56
61
 
57
-  (0.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
58
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150320153132"]]
59
-  (70.5ms) commit transaction
60
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
-  (0.3ms)  SELECT sql
62
+  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
63
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150403220331"]]
64
+  (0.8ms) commit transaction
65
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+  (0.1ms)  SELECT sql
62
67
  FROM sqlite_master
63
68
  WHERE name='index_users_on_reset_password_token' AND type='index'
64
69
  UNION ALL
@@ -66,7 +71,7 @@ Migrating to DeviseCreateUsers (20150320153132)
66
71
  FROM sqlite_temp_master
67
72
  WHERE name='index_users_on_reset_password_token' AND type='index'
68
73
  
69
-  (0.3ms) SELECT sql
74
+  (0.1ms) SELECT sql
70
75
  FROM sqlite_master
71
76
  WHERE name='index_users_on_email' AND type='index'
72
77
  UNION ALL
@@ -74,25 +79,25 @@ Migrating to DeviseCreateUsers (20150320153132)
74
79
  FROM sqlite_temp_master
75
80
  WHERE name='index_users_on_email' AND type='index'
76
81
 
77
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
78
- Migrating to CreateSearches (20150320153151)
82
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
+ Migrating to CreateSearches (20150403220354)
79
84
   (0.1ms) begin transaction
80
-  (0.2ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "user_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
81
-  (0.0ms) select sqlite_version(*)
85
+  (0.4ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "user_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
86
+  (0.1ms) select sqlite_version(*)
82
87
   (0.1ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
83
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150320153151"]]
84
-  (11.0ms) commit transaction
85
- Migrating to CreateBookmarks (20150320153152)
88
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150403220354"]]
89
+  (0.5ms) commit transaction
90
+ Migrating to CreateBookmarks (20150403220355)
86
91
   (0.1ms) begin transaction
87
-  (0.3ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255), "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
88
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150320153152"]]
89
-  (15.4ms) commit transaction
90
- Migrating to AddPolymorphicTypeToBookmarks (20150320153153)
92
+  (0.4ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255), "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
93
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150403220355"]]
94
+  (0.6ms) commit transaction
95
+ Migrating to AddPolymorphicTypeToBookmarks (20150403220356)
91
96
   (0.0ms) begin transaction
92
97
   (0.2ms) ALTER TABLE "bookmarks" ADD "document_type" varchar(255)
93
98
   (0.1ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
94
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150320153153"]]
95
-  (30.9ms) commit transaction
99
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150403220356"]]
100
+  (0.6ms) commit transaction
96
101
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
97
102
   (0.1ms) SELECT sql
98
103
  FROM sqlite_master
@@ -126,37 +131,37 @@ Migrating to AddPolymorphicTypeToBookmarks (20150320153153)
126
131
  FROM sqlite_temp_master
127
132
  WHERE name='index_users_on_email' AND type='index'
128
133
  
129
-  (20.0ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255), "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime, "document_type" varchar(255))
134
+  (0.9ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "user_type" varchar(255), "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime, "document_type" varchar(255))
130
135
   (0.1ms) select sqlite_version(*)
131
-  (17.0ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
132
-  (19.5ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text, "created_at" datetime, "updated_at" datetime) 
133
-  (22.0ms) CREATE TABLE "krikri_harvest_sources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "institution_id" integer, "name" varchar(255), "source_type" varchar(255), "metadata_schema" varchar(255), "uri" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime, "opts" text)
134
-  (23.6ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime) 
135
-  (23.7ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "user_type" varchar(255), "created_at" datetime, "updated_at" datetime)
136
-  (30.0ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
137
-  (32.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)
138
-  (24.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
139
-  (0.3ms) SELECT sql
136
+  (0.7ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
137
+  (0.6ms) CREATE TABLE "krikri_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_time" datetime, "end_time" datetime, "agent" varchar(255), "opts" text, "created_at" datetime, "updated_at" datetime) 
138
+  (0.9ms) CREATE TABLE "krikri_harvest_sources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "institution_id" integer, "name" varchar(255), "source_type" varchar(255), "metadata_schema" varchar(255), "uri" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime, "opts" text)
139
+  (1.0ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime) 
140
+  (0.9ms) CREATE TABLE "krikri_qa_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar(255), "field_report" text, "count_report" text, "created_at" datetime, "updated_at" datetime)
141
+  (0.7ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "user_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
142
+  (0.7ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
143
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime) 
144
+  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
145
+  (0.1ms)  SELECT sql
140
146
  FROM sqlite_master
141
147
  WHERE name='index_users_on_email' AND type='index'
142
148
  UNION ALL
143
149
  SELECT sql
144
150
  FROM sqlite_temp_master
145
151
  WHERE name='index_users_on_email' AND type='index'
146
-
147
-  (28.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
148
-  (21.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
149
-  (21.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
150
-  (0.2ms) SELECT version FROM "schema_migrations"
151
-  (17.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150320153153')
152
-  (17.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150320153132')
153
-  (18.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150320153152')
154
-  (21.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150320153151')
155
-  (39.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200643')
156
-  (31.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150309160112')
157
-  (24.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150106164218')
158
-  (22.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141212220924')
159
-  (20.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200614')
160
-  (18.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310190054')
161
- [2015-03-20 11:04:05 -0700] [11653] [Krikri::Enricher] enricher is running
162
- [2015-03-20 11:10:22 -0700] [11653] [Krikri::Enricher] enricher is done
152
+ 
153
+  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
154
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
155
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156
+  (0.1ms) SELECT version FROM "schema_migrations"
157
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150403220356')
158
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150403220331')
159
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150403220354')
160
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150403220355')
161
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200614')
162
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200643')
163
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141212220924')
164
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150106164218')
165
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150309160112')
166
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310190054')
167
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150328035550')