krikri 0.11.2 → 0.12.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/krikri/activity.rb +14 -4
  3. data/app/models/krikri/original_record.rb +21 -2
  4. data/config/settings/development.yml +2 -0
  5. data/config/settings/test.yml +2 -0
  6. data/lib/krikri/engine.rb +10 -4
  7. data/lib/krikri/entity_behavior.rb +3 -3
  8. data/lib/krikri/entity_behaviors/aggregation_entity_behavior.rb +9 -6
  9. data/lib/krikri/entity_behaviors/original_record_entity_behavior.rb +10 -5
  10. data/lib/krikri/harvesters/oai_harvester.rb +1 -0
  11. data/lib/krikri/map_crosswalk.rb +1 -1
  12. data/lib/krikri/provenance_query_client.rb +33 -2
  13. data/lib/krikri/version.rb +1 -1
  14. data/spec/internal/Gemfile +2 -2
  15. data/spec/internal/Gemfile.lock +43 -44
  16. data/spec/internal/config/initializers/blacklight_initializer.rb +1 -1
  17. data/spec/internal/config/initializers/devise.rb +2 -2
  18. data/spec/internal/config/secrets.yml +2 -2
  19. data/spec/internal/db/development.sqlite3 +0 -0
  20. data/spec/internal/db/migrate/{20160201014927_devise_create_users.rb → 20160224174647_devise_create_users.rb} +0 -0
  21. data/spec/internal/db/migrate/{20160201014947_create_searches.blacklight.rb → 20160224174738_create_searches.blacklight.rb} +0 -0
  22. data/spec/internal/db/migrate/{20160201014948_create_bookmarks.blacklight.rb → 20160224174739_create_bookmarks.blacklight.rb} +0 -0
  23. data/spec/internal/db/migrate/{20160201014949_add_polymorphic_type_to_bookmarks.blacklight.rb → 20160224174740_add_polymorphic_type_to_bookmarks.blacklight.rb} +0 -0
  24. data/spec/internal/db/schema.rb +1 -1
  25. data/spec/internal/db/test.sqlite3 +0 -0
  26. data/spec/internal/log/development.log +92 -92
  27. data/spec/internal/log/test.log +6213 -5985
  28. data/spec/internal/tmp/cache/318/301/krikri%2Fapplication_helper%2Favailable_providers +0 -0
  29. data/spec/internal/tmp/cache/assets/test/sass/0f463fae8ec59cbdc602859dac6f3131b47588e5/blacklight.css.scssc +0 -0
  30. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_alerts.scssc +0 -0
  31. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_background-variant.scssc +0 -0
  32. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_border-radius.scssc +0 -0
  33. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_buttons.scssc +0 -0
  34. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_center-block.scssc +0 -0
  35. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_clearfix.scssc +0 -0
  36. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_forms.scssc +0 -0
  37. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_gradients.scssc +0 -0
  38. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid-framework.scssc +0 -0
  39. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid.scssc +0 -0
  40. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_hide-text.scssc +0 -0
  41. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_image.scssc +0 -0
  42. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_labels.scssc +0 -0
  43. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_list-group.scssc +0 -0
  44. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-divider.scssc +0 -0
  45. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-vertical-align.scssc +0 -0
  46. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_opacity.scssc +0 -0
  47. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_pagination.scssc +0 -0
  48. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_panels.scssc +0 -0
  49. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_progress-bar.scssc +0 -0
  50. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_reset-filter.scssc +0 -0
  51. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_resize.scssc +0 -0
  52. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_responsive-visibility.scssc +0 -0
  53. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_size.scssc +0 -0
  54. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_tab-focus.scssc +0 -0
  55. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_table-row.scssc +0 -0
  56. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-emphasis.scssc +0 -0
  57. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-overflow.scssc +0 -0
  58. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_vendor-prefixes.scssc +0 -0
  59. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_blacklight_base.scssc +0 -0
  60. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_bookmark.scssc +0 -0
  61. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_catalog.scssc +0 -0
  62. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_facets.scssc +0 -0
  63. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_group.scssc +0 -0
  64. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_header.scssc +0 -0
  65. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_layout.scssc +0 -0
  66. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_modal.scssc +0 -0
  67. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_search_history.scssc +0 -0
  68. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight.scssc +0 -0
  69. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight_defaults.scssc +0 -0
  70. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_alerts.scssc +0 -0
  71. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_badges.scssc +0 -0
  72. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_breadcrumbs.scssc +0 -0
  73. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_button-groups.scssc +0 -0
  74. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_buttons.scssc +0 -0
  75. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_carousel.scssc +0 -0
  76. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_close.scssc +0 -0
  77. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_code.scssc +0 -0
  78. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_component-animations.scssc +0 -0
  79. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_dropdowns.scssc +0 -0
  80. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_forms.scssc +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_glyphicons.scssc +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_grid.scssc +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_input-groups.scssc +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_jumbotron.scssc +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_labels.scssc +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_list-group.scssc +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_media.scssc +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_mixins.scssc +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_modals.scssc +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navbar.scssc +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navs.scssc +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_normalize.scssc +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pager.scssc +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pagination.scssc +0 -0
  95. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_panels.scssc +0 -0
  96. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_popovers.scssc +0 -0
  97. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_print.scssc +0 -0
  98. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_progress-bars.scssc +0 -0
  99. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-embed.scssc +0 -0
  100. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-utilities.scssc +0 -0
  101. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_scaffolding.scssc +0 -0
  102. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tables.scssc +0 -0
  103. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_thumbnails.scssc +0 -0
  104. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tooltip.scssc +0 -0
  105. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_type.scssc +0 -0
  106. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_utilities.scssc +0 -0
  107. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_variables.scssc +0 -0
  108. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_wells.scssc +0 -0
  109. data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap-sprockets.scssc +0 -0
  110. data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap.scssc +0 -0
  111. data/spec/internal/tmp/cache/assets/test/sprockets/0a25eb99290a6b015dfe4c29d8585cec +0 -0
  112. data/spec/internal/tmp/cache/assets/test/sprockets/0a778a0a0f363d6d2431e921e19eead7 +0 -0
  113. data/spec/internal/tmp/cache/assets/test/sprockets/0b3eca32a0c1d368e88a01be94ca7f6b +0 -0
  114. data/spec/internal/tmp/cache/assets/test/sprockets/0fe9919db7899ede10068d0d9d3adfa8 +0 -0
  115. data/spec/internal/tmp/cache/assets/test/sprockets/1153a153512ddd535004623e0bbdc1c4 +0 -0
  116. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  117. data/spec/internal/tmp/cache/assets/test/sprockets/142790b68ce01969e4bbdd1d2a90b18c +0 -0
  118. data/spec/internal/tmp/cache/assets/test/sprockets/154af7ce6de6c616d3c1c654904a88de +0 -0
  119. data/spec/internal/tmp/cache/assets/test/sprockets/1a6f0128e8b6cc52594e7e16506dd476 +0 -0
  120. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  121. data/spec/internal/tmp/cache/assets/test/sprockets/30183a6c313ab79c8ffc2711dc633ea5 +0 -0
  122. data/spec/internal/tmp/cache/assets/test/sprockets/3290971c05649c7d11051df70b2fefbb +0 -0
  123. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  124. data/spec/internal/tmp/cache/assets/test/sprockets/35c0cb4e1848557e53960891cf2bbc4c +0 -0
  125. data/spec/internal/tmp/cache/assets/test/sprockets/3822d8965af2c63a9d8eb5be7d54a39e +0 -0
  126. data/spec/internal/tmp/cache/assets/test/sprockets/39191bda3ba14fb0d5671ef5320e9e01 +0 -0
  127. data/spec/internal/tmp/cache/assets/test/sprockets/3a1636e712ea5450451f140a1e11ad6b +0 -0
  128. data/spec/internal/tmp/cache/assets/test/sprockets/3af50e8108914b16e8005270444c23eb +0 -0
  129. data/spec/internal/tmp/cache/assets/test/sprockets/43549442460e63625bfa01b300845db4 +0 -0
  130. data/spec/internal/tmp/cache/assets/test/sprockets/4ffa695d373f85c9375cfeef7a7fa7b0 +0 -0
  131. data/spec/internal/tmp/cache/assets/test/sprockets/55c96cfe875a998dd83f861cec024cd8 +0 -0
  132. data/spec/internal/tmp/cache/assets/test/sprockets/5884f169a3cb492a556b12cf26d98512 +0 -0
  133. data/spec/internal/tmp/cache/assets/test/sprockets/5b4c0893fb6462116b5c893ee5067a7a +0 -0
  134. data/spec/internal/tmp/cache/assets/test/sprockets/5ed91405d3e1d9c4d64964b23e2ddad5 +0 -0
  135. data/spec/internal/tmp/cache/assets/test/sprockets/5ee4ec5587fe5e6b2489c6df8444c3a3 +0 -0
  136. data/spec/internal/tmp/cache/assets/test/sprockets/66bc87f66d912cc874b361b58b063232 +0 -0
  137. data/spec/internal/tmp/cache/assets/test/sprockets/6a7000430a188e026e888de506892486 +0 -0
  138. data/spec/internal/tmp/cache/assets/test/sprockets/6e51639f97de2a9999b40c947cc2cce4 +0 -0
  139. data/spec/internal/tmp/cache/assets/test/sprockets/70678ea30b446b6e43c58cb504a38c5e +0 -0
  140. data/spec/internal/tmp/cache/assets/test/sprockets/736b38c683d67eae78becf8bd03ccc03 +0 -0
  141. data/spec/internal/tmp/cache/assets/test/sprockets/74b2a1c32eb911fede6dbf691e2438fd +0 -0
  142. data/spec/internal/tmp/cache/assets/test/sprockets/769e239a980f02fb5f0d31f2e47661b6 +0 -0
  143. data/spec/internal/tmp/cache/assets/test/sprockets/7ed2a89adfb413f382b9844cb60e004f +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sprockets/843672eb02d8b4596eb8f05b0285812f +0 -0
  145. data/spec/internal/tmp/cache/assets/test/sprockets/86aa4bb34763ef2ec398ce2948064feb +0 -0
  146. data/spec/internal/tmp/cache/assets/test/sprockets/8826cc9e62d566dcd6557e4ce53c0c9e +0 -0
  147. data/spec/internal/tmp/cache/assets/test/sprockets/8e0a985f6d848652e6e2b69502089957 +0 -0
  148. data/spec/internal/tmp/cache/assets/test/sprockets/8e24ef751a813d86a3a2953ce9f31b1b +0 -0
  149. data/spec/internal/tmp/cache/assets/test/sprockets/92440cff8e26faca6421a88212bf5cc5 +0 -0
  150. data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  151. data/spec/internal/tmp/cache/assets/test/sprockets/9aa82f96c9760fb5b052b29dfead27ee +0 -0
  152. data/spec/internal/tmp/cache/assets/test/sprockets/9e3583b4a24bbae71c81cc89b31cf681 +0 -0
  153. data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  154. data/spec/internal/tmp/cache/assets/test/sprockets/addcc05c958d32994bbcc4df6b13c80a +0 -0
  155. data/spec/internal/tmp/cache/assets/test/sprockets/b02b8a41fe5c3dfa491d8bb0d95d6e2d +0 -0
  156. data/spec/internal/tmp/cache/assets/test/sprockets/b6fcc8843d7d36abc9183de7f3c09fdd +0 -0
  157. data/spec/internal/tmp/cache/assets/test/sprockets/b783bb7bbb5960da9c2720974804b177 +0 -0
  158. data/spec/internal/tmp/cache/assets/test/sprockets/c94aa024045ec61aa3ce4de5c0ca7515 +0 -0
  159. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  160. data/spec/internal/tmp/cache/assets/test/sprockets/d04cedd870a36cb0ac8ad65bf032c556 +0 -0
  161. data/spec/internal/tmp/cache/assets/test/sprockets/d0ae540226d860c35ce84f64c67f40bb +0 -0
  162. data/spec/internal/tmp/cache/assets/test/sprockets/d0d4fb263d72afa8341801f74e58939e +0 -0
  163. data/spec/internal/tmp/cache/assets/test/sprockets/d54a9568f2db6442d0be17210a6d683e +0 -0
  164. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  165. data/spec/internal/tmp/cache/assets/test/sprockets/d89eec758f13f7959ed8796e9b52469c +0 -0
  166. data/spec/internal/tmp/cache/assets/test/sprockets/da16a797f7553f717a002525bea10cbf +0 -0
  167. data/spec/internal/tmp/cache/assets/test/sprockets/da4e9efddf7d52d8de0c75b2f3ad571e +0 -0
  168. data/spec/internal/tmp/cache/assets/test/sprockets/dec30531a16449cd84734053a70b3a77 +0 -0
  169. data/spec/internal/tmp/cache/assets/test/sprockets/f429314ed6a6b2b42d3141578c4ec023 +0 -0
  170. data/spec/internal/tmp/cache/assets/test/sprockets/f5e21f9266ec8eafa27c52d109a9a498 +0 -0
  171. data/spec/internal/tmp/cache/assets/test/sprockets/f642847460097a56a55c8716c4d7a072 +0 -0
  172. data/spec/internal/tmp/cache/assets/test/sprockets/f69f1290f72a81d63fb93e81ff44f8a1 +0 -0
  173. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  174. data/spec/internal/tmp/cache/assets/test/sprockets/f8e9e8fcc081081c00dd69903ebcf709 +0 -0
  175. data/spec/internal/tmp/cache/assets/test/sprockets/f8fd1a8d086eb31f0df8de2ac3ab4517 +0 -0
  176. data/spec/internal/tmp/cache/assets/test/sprockets/fe00102a3b27990f149d71a23f06e32a +0 -0
  177. data/spec/krikri_spec.rb +5 -0
  178. data/spec/ldp/resource_spec.rb +1 -1
  179. data/spec/lib/krikri/aggregation_entity_behavior_spec.rb +7 -0
  180. data/spec/lib/krikri/harvesters/oai_harvester_spec.rb +2 -2
  181. data/spec/lib/krikri/map_crosswalk_spec.rb +1 -1
  182. data/spec/lib/krikri/mapping_dsl/parser_methods_spec.rb +2 -1
  183. data/spec/lib/krikri/mapping_dsl/rdf_subjects_spec.rb +1 -1
  184. data/spec/lib/krikri/original_record_entity_behavior_spec.rb +23 -0
  185. data/spec/lib/krikri/provenance_query_client_spec.rb +18 -0
  186. data/spec/models/activity_spec.rb +17 -1
  187. data/spec/models/dpla/map/aggregation_spec.rb +5 -5
  188. data/spec/models/original_record_spec.rb +6 -1
  189. data/spec/support/matchers/active_triple_matchers.rb +1 -1
  190. data/spec/support/shared_contexts/provenance_query_client.rb +1 -1
  191. metadata +466 -350
  192. data/app/controllers/krikri/_qa_report_list.html.erb~ +0 -10
  193. data/app/controllers/krikri/concerns/provider_context.rb~ +0 -7
  194. data/app/controllers/krikri/qa_reports_controller.rb~ +0 -18
  195. data/app/models/krikri/original_record_desc.rb~ +0 -6
  196. data/app/models/krikri/original_record_metadata.rb~ +0 -9
  197. data/app/models/krikri/parser.rb~ +0 -5
  198. data/app/models/krikri/parsers/xml_parser.rb~ +0 -5
  199. data/app/models/krikri/qa_report.rb~ +0 -7
  200. data/app/views/krikri/qa_reports/index.html.erb~ +0 -3
  201. data/app/views/krikri/qa_reports/show.html.erb~ +0 -1
  202. data/config/initializers/config.rb~ +0 -19
  203. data/config/settings/test.yml~ +0 -3
  204. data/db/migrate/20150328035550_add_qa_report.rb~ +0 -11
  205. data/lib/krikri/ldp/container.rb~ +0 -22
  206. data/lib/krikri/ldp/nr_source.rb~ +0 -4
  207. data/lib/krikri/ldp/rdf_source.rb~ +0 -24
  208. data/lib/krikri/ldp/resource.rb~ +0 -49
  209. data/lib/krikri/parsers/json_parser.rb~ +0 -17
  210. data/lib/krikri/parsers/oai_headers.rb~ +0 -4
  211. data/lib/krikri/parsers/oai_parser.rb~ +0 -2
  212. data/lib/krikri/parsers/oai_parser_headers.rb~ +0 -4
  213. data/lib/krikri/parsers/xml_parser.rb~ +0 -61
  214. data/lib/krikri/util/edtf_converter.rb~ +0 -26
  215. data/lib/krikri/util/extended_date_parser.rb~ +0 -70
  216. data/lib/tasks/jetty.rake~ +0 -12
  217. data/lib/tasks/krikri.rake~ +0 -20
  218. data/spec/controllers/application_controller_spec.rb~ +0 -11
  219. data/spec/controllers/qa_reports_controller_spec.rb~ +0 -15
  220. data/spec/controllers/records_controller_spec.rb~ +0 -11
  221. data/spec/controllers/reports_controller_spec.rb~ +0 -6
  222. data/spec/controllers/validation_reports_controller_spec.rb~ +0 -15
  223. data/spec/factories/krikri_original_record.rb~ +0 -5
  224. data/spec/factories/krikri_provider.rb~ +0 -7
  225. data/spec/factories/krikri_provider_spec.rb~ +0 -7
  226. data/spec/factories/krikri_qa_report.rb~ +0 -8
  227. data/spec/helpers/krikri/application_helper_spec.rb~ +0 -16
  228. data/spec/internal/lib/generators/test_app_generator.rb~ +0 -14
  229. data/spec/krikri_spec.rb~ +0 -30
  230. data/spec/ldp/active_triples_spec.rb~ +0 -15
  231. data/spec/ldp/at_resource_spec.rb~ +0 -41
  232. data/spec/ldp/nr_source_spec.rb~ +0 -3
  233. data/spec/ldp/rdf_source_spec.rb~ +0 -4
  234. data/spec/ldp/resource_spec.rb~ +0 -49
  235. data/spec/lib/krikri/enrichment_agent_spec.rb~ +0 -4
  236. data/spec/lib/krikri/harvesters/api_harvester_spec.rb~ +0 -47
  237. data/spec/lib/krikri/harvesters/basic_save_behavior_spec.rb~ +0 -12
  238. data/spec/lib/krikri/harvesters/file_harvester_spec.rb~ +0 -3
  239. data/spec/lib/krikri/harvesters/harvest_behavior_spec.rb~ +0 -5
  240. data/spec/lib/krikri/harvesters/mdl_api_harvester_spec.rb~ +0 -11
  241. data/spec/lib/krikri/harvesters/mdl_harvester_spec.rb~ +0 -8
  242. data/spec/lib/krikri/harvesters/oai_skip_deleted_behavior.rb~ +0 -7
  243. data/spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~ +0 -15
  244. data/spec/lib/krikri/id_service_spec.rb~ +0 -3
  245. data/spec/lib/krikri/job_spec.rb~ +0 -13
  246. data/spec/lib/krikri/map_crosswalk_spec.rb~ +0 -5
  247. data/spec/lib/krikri/mapper_agent_spec.rb~ +0 -64
  248. data/spec/lib/krikri/mapper_spec.rb~ +0 -5
  249. data/spec/lib/krikri/mapping_dsl/parser_methods_spec.rb~ +0 -65
  250. data/spec/lib/krikri/mapping_dsl/property_declaration_spec.rb~ +0 -87
  251. data/spec/lib/krikri/mapping_dsl/rdf_subjects_spec.rb~ +0 -16
  252. data/spec/lib/krikri/mapping_dsl_spec.rb~ +0 -10
  253. data/spec/lib/krikri/mapping_job.rb~ +0 -12
  254. data/spec/lib/krikri/mapping_job_spec.rb~ +0 -11
  255. data/spec/lib/krikri/mapping_spec.rb~ +0 -5
  256. data/spec/lib/krikri/md5_minter_spec.rb~ +0 -5
  257. data/spec/lib/krikri/parser_value_array.rb~ +0 -5
  258. data/spec/lib/krikri/parsers/json_parser_spec.rb~ +0 -17
  259. data/spec/lib/krikri/parsers/xml_parser_spec.rb~ +0 -21
  260. data/spec/lib/krikri/provenance_query_client.rb~ +0 -5
  261. data/spec/lib/krikri/provenance_query_client_spec.rb~ +0 -8
  262. data/spec/lib/krikri/qa_query_client_spec.rb~ +0 -9
  263. data/spec/lib/krikri/random_search_index_docmument_builder_spec.rb~ +0 -6
  264. data/spec/lib/krikri/util/edtf_converter_spec.rb~ +0 -17
  265. data/spec/lib/krikri/util/extended_date_parser_spec.rb~ +0 -102
  266. data/spec/models/activity_spec.rb~ +0 -41
  267. data/spec/models/dpla/map/aggregation_spec.rb~ +0 -67
  268. data/spec/models/harvesters/oai_harvester_spec.rb~ +0 -15
  269. data/spec/models/mapper_spec.rb~ +0 -5
  270. data/spec/models/original_record_metadata_spec.rb~ +0 -5
  271. data/spec/models/original_record_spec.rb~ +0 -5
  272. data/spec/models/provider_spec.rb~ +0 -33
  273. data/spec/models/qa_report_spec.rb~ +0 -64
  274. data/spec/models/validation_report_spec.rb~ +0 -15
  275. data/spec/support/shared_contexts/indexed_item.rb~ +0 -15
  276. data/spec/support/shared_contexts/mapping_dsl.rb~ +0 -12
  277. data/spec/support/shared_contexts/provenance_query_client.rb~ +0 -6
  278. data/spec/support/shared_contexts/rake.rb~ +0 -21
  279. data/spec/support/shared_examples/enrichment.rb~ +0 -5
  280. data/spec/support/shared_examples/harvest_behavior.rb~ +0 -13
  281. data/spec/support/shared_examples/job.rb~ +0 -20
  282. data/spec/support/shared_examples/ldp_resource.rb~ +0 -4
  283. data/spec/support/shared_examples/oai_parser_headers.rb~ +0 -12
  284. data/spec/support/shared_examples/rdf_source.rb~ +0 -1
  285. data/spec/support/shared_examples/software_agent.rb~ +0 -5
  286. data/spec/support/shared_examples/string_enrichment.rb~ +0 -12
  287. data/spec/test_app_templates/lib/generators/test_app_generator.rb~ +0 -14
  288. data/spec/views/krikri/providers/index.html.erb_spec.rb~ +0 -3
  289. data/spec/views/krikri/providers/show.html.erb.spec~ +0 -12
  290. data/spec/views/krikri/providers/show.html.erb_spec.rb~ +0 -10
  291. data/spec/views/krikri/qa_reports/index.html.erb_spec.rb~ +0 -17
  292. data/spec/views/krikri/qa_reports/show.html.erb_spec.rb~ +0 -22
  293. data/spec/views/krikri/records/index.html.erb_spec.rb~ +0 -15
  294. data/spec/views/krikri/records/show.html.erb_spec.rb~ +0 -8
  295. data/spec/views/krikri/reports/index.html.erb_spec.rb~ +0 -5
  296. data/spec/webmocks/oai.rb~ +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed0c538e39d8f73fe8b01cc8b71e84f5d4301229
4
- data.tar.gz: a1e4947bae2177804b1cda18251cf0cacb8cf700
3
+ metadata.gz: 7b7f5913ed8e669b3e0451397e3c036dead804cc
4
+ data.tar.gz: 541d265b195aa3d779a6ddd3e5de4eeae4faffed
5
5
  SHA512:
6
- metadata.gz: 62aad477bfe83bdf1aad7ef810bc0ac99391874a8491750c769a36a7b92517fe90242e66570dbd8f512e82d232a91901272c473256c8e69e00641c2f43aac8c7
7
- data.tar.gz: 06e3c912140e8b42c25391e8e727a2d6650b36c52cb028810d97e521045756e0d6f1f88d66c7eda6f41f3c978e7cb3ec821b9e6ddd6477f61cfda7b9b0e94b69
6
+ metadata.gz: dd37e66d03acee110f6ec49aa0d5e5ccbcdc97f246785535de6bc68ada64ce984eebfc85e1435fc3e53a75f0525fc0c36a54089e99466b58ff5b96e353ab522d
7
+ data.tar.gz: 4a4c71f09a89585ec8132378893241852aa72d0c8887ef0d76ba1c07e2d10a87428b1929e606eb6449b5d86ff7179eec644382e5f4d9c5abcf559735421601b1
@@ -105,10 +105,18 @@ module Krikri
105
105
  # Return an Enumerator of URI strings of entities (e.g. aggregations or
106
106
  # original records) that pertain to this activity
107
107
  #
108
+ # @param include_invalidated [Boolean] Whether to include entities that
109
+ # have been invalidated with prov:invalidatedAtTime. Default: false
110
+ #
108
111
  # @return [Enumerator] URI strings
109
- def entity_uris
112
+ #
113
+ # @see Krikri::ProvenanceQueryClient#find_by_activity regarding
114
+ # invalidation.
115
+ #
116
+ def entity_uris(include_invalidated = false)
110
117
  activity_uri = RDF::URI(rdf_subject) # This activity's LDP URI
111
- query = Krikri::ProvenanceQueryClient.find_by_activity(activity_uri)
118
+ query = Krikri::ProvenanceQueryClient
119
+ .find_by_activity(activity_uri, include_invalidated)
112
120
  query.each_solution.lazy.map do |s|
113
121
  s.record.to_s
114
122
  end
@@ -122,9 +130,11 @@ module Krikri
122
130
  # that is associated with the SoftwareAgent that is represented by the
123
131
  # Activity's `agent' field.
124
132
  #
133
+ # @param [Array<Object>] *args Arguments to pass along to
134
+ # EntityBehavior#entities
125
135
  # @return [Enumerator] Objects
126
- def entities
127
- agent_instance.entity_behavior.entities(self)
136
+ def entities(*args)
137
+ agent_instance.entity_behavior.entities(self, *args)
128
138
  end
129
139
  end
130
140
  end
@@ -30,8 +30,9 @@ module Krikri
30
30
  # @param identifier [#to_s] a string representing the #local_name or
31
31
  # fully qualified URI for the resource. Identifier may have a mime type
32
32
  # extension, ie. '123.xml'.
33
+ #
33
34
  # @return [OriginalRecord] the instantiated record.
34
- # @raise when no matching record is found in the LDP datastore
35
+ # @raise [LoadError] when no matching record is found in the LDP datastore
35
36
  def load(identifier)
36
37
  identifier = identifier.to_s.split('/').last if
37
38
  identifier.start_with? base_uri
@@ -42,7 +43,7 @@ module Krikri
42
43
  record = new(identifier)
43
44
  end
44
45
 
45
- raise "No #{self} found with id: #{identifier}" unless record.exists?
46
+ raise LoadError.new(identifier), 'No record found' unless record.exists?
46
47
 
47
48
  if identifier.include?('.')
48
49
  record.rdf_subject = "#{base_uri}/#{identifier}"
@@ -201,5 +202,23 @@ module Krikri
201
202
  def headers
202
203
  { 'Content-Type' => content_type }
203
204
  end
205
+
206
+ ##
207
+ # Error class expressing failed load of an OriginalRecord
208
+ class LoadError < RuntimeError
209
+ ##
210
+ # @param identifier [#to_s]
211
+ def initialize(identifier)
212
+ @identifier = identifier
213
+ end
214
+
215
+ ##
216
+ # Augments the raised message with generic failure information
217
+ #
218
+ # @see Exception#message
219
+ def message
220
+ "Could not load OriginalRecord with `#{@identifier}: #{super}"
221
+ end
222
+ end
204
223
  end
205
224
  end
@@ -4,6 +4,8 @@ marmotta:
4
4
  ldp: 'http://localhost:8983/marmotta/ldp'
5
5
  record_container: 'http://localhost:8983/marmotta/ldp/original_record'
6
6
  item_container: 'http://localhost:8983/marmotta/ldp/items'
7
+ # read_timeout: Seconds to wait for marmotta's HTTP response.
8
+ read_timeout: 360
7
9
 
8
10
  elasticsearch:
9
11
  host: 'localhost:9200'
@@ -4,6 +4,8 @@ marmotta:
4
4
  ldp: 'http://localhost:8983/marmotta/ldp'
5
5
  record_container: 'http://localhost:8983/marmotta/ldp/original_record'
6
6
  item_container: 'http://localhost:8983/marmotta/ldp/items'
7
+ # read_timeout: Seconds to wait for marmotta's HTTP response.
8
+ read_timeout: 360
7
9
 
8
10
  elasticsearch:
9
11
  host: 'localhost:9200'
data/lib/krikri/engine.rb CHANGED
@@ -80,7 +80,10 @@ module Krikri
80
80
 
81
81
  initializer :rdf_repository do
82
82
  Krikri::Repository =
83
- RDF::Marmotta.new(Krikri::Settings['marmotta']['base'])
83
+ RDF::Marmotta.new(
84
+ Krikri::Settings['marmotta']['base'],
85
+ { read_timeout: Krikri::Settings['marmotta']['read_timeout'] }
86
+ )
84
87
  end
85
88
 
86
89
  initializer :blacklight_settings do
@@ -126,11 +129,14 @@ module Krikri
126
129
  # Get the persisted original record for this Aggregation.
127
130
  # @return [Krikri::OriginalRecord, nil]
128
131
  #
129
- # An Exception will be raised if:
130
- # the original record id is invalid.
132
+ # @raise [NameError] when the original record id is not a URI or the
131
133
  # the original record has not been persisted to Marmotta.
132
- # there is a connection problem with Marmotta.
134
+ #
135
+ # @raise [Faraday::ConnectionError] when there is a connection problem
136
+ # with Marmotta.
133
137
  def original_record
138
+ raise NameError, "#{originalRecord.first} is not an OriginalRecord" if
139
+ originalRecord.empty? || originalRecord.first.node?
134
140
  Krikri::OriginalRecord.load(originalRecord.first.rdf_subject
135
141
  .to_s)
136
142
  end
@@ -25,7 +25,7 @@ module Krikri
25
25
  # @see lib/krikri/entity_behaviors
26
26
  # @see Krikri::Activity#entities
27
27
  #
28
- def entities
28
+ def entities(*args)
29
29
  raise NotImplementedError
30
30
  end
31
31
 
@@ -33,8 +33,8 @@ module Krikri
33
33
  # @see Krikri::Activity#entities
34
34
  # @see Krikri::EntityBehavior#entities
35
35
  #
36
- def self.entities(activity)
37
- new(activity).entities
36
+ def self.entities(activity, *args)
37
+ new(activity).entities(*args)
38
38
  end
39
39
  end
40
40
  end
@@ -11,15 +11,18 @@ module Krikri
11
11
 
12
12
  ##
13
13
  # @param load [Boolean] Whether to load the whole record from the LDP
14
- # server. Default: true.
15
- # DPLA::MAP::Aggregation#get is slow, because it
16
- # results in a network request, so this provides the
17
- # possibility of avoiding it.
14
+ # server. DPLA::MAP::Aggregation#get is slow, because it results in a
15
+ # network request, so this provides the possibility of avoiding it.
16
+ # Default: true.
17
+ #
18
+ # @param include_invalidated [Boolean] Whether to include entities that
19
+ # have been invalidated with prov:invalidatedAtTime. Default: false
20
+ #
18
21
  # @see Krikri::EntityBehavior::entities
19
22
  # @return [Enumerator] DPLA::MAP::Aggregation objects
20
23
  #
21
- def entities(load = true)
22
- @activity.entity_uris.lazy.map do |uri|
24
+ def entities(load = true, include_invalidated = false)
25
+ @activity.entity_uris(include_invalidated).lazy.map do |uri|
23
26
  agg = DPLA::MAP::Aggregation.new(uri)
24
27
  agg.get if load
25
28
  agg
@@ -11,14 +11,19 @@ module Krikri
11
11
 
12
12
  ##
13
13
  # @param load [Boolean] Whether to load the whole record from the LDP
14
- # server. Default: true. OriginalRecord.load is
15
- # slow, because it results in a network request, so
16
- # this provides the possibility of avoiding it.
14
+ # server. OriginalRecord.load is slow, because it results in a network
15
+ # request, so this provides the possibility of avoiding it.
16
+ # Default: true.
17
+ #
18
+ # @param include_invalidated [Boolean] Whether to include entities that
19
+ # have been invalidated with prov:invalidatedAtTime. Default: false
20
+ #
17
21
  # @see Krikri::EntityBehavior::entities
22
+ #
18
23
  # @return [Enumerator] OriginalRecord objects
19
24
  #
20
- def entities(load = true)
21
- @activity.entity_uris.lazy.map do |uri|
25
+ def entities(load = true, include_invalidated = false)
26
+ @activity.entity_uris(include_invalidated).lazy.map do |uri|
22
27
  load ? OriginalRecord.load(uri) : OriginalRecord.new(uri)
23
28
  end
24
29
  end
@@ -97,6 +97,7 @@ module Krikri::Harvesters
97
97
  record_xml(rec))
98
98
  rescue => e
99
99
  Krikri::Logger.log(:error, e.message)
100
+ next
100
101
  end
101
102
  end
102
103
  end
@@ -47,7 +47,7 @@ module Krikri
47
47
  # subsequent harvest. Figure out how to do that, or what we want to do
48
48
  # instead.
49
49
  def build_aggregation
50
- raise 'Tried to index a blank node!' if @parent.node?
50
+ raise NameError, 'Tried to index a blank node!' if @parent.node?
51
51
  hash.merge!({ :ingestType => 'item',
52
52
  :ingestionSequence => 999999,
53
53
  :ingestDate => Date.today.as_json,
@@ -12,15 +12,46 @@ module Krikri
12
12
  #
13
13
  # @param activity_uri [#to_uri] the URI of the activity to search
14
14
  #
15
+ # @param include_invalidated [Boolean] Whether to include entities that
16
+ # have been invalidated with <http://www.w3.org/ns/prov#invalidatedAtTime>
17
+ #
18
+ # @see https://www.w3.org/TR/prov-o/#invalidatedAtTime
19
+ # @see Krikri::LDP::Invalidatable
20
+ #
15
21
  # @return [RDF::SPARQL::Query] a query object that, when executed, will
16
22
  # give solutions containing the URIs for the resources in `#record`.
17
- def find_by_activity(activity_uri)
23
+ def find_by_activity(activity_uri, include_invalidated = false)
18
24
  raise ArgumentError, 'activity_uri must be an RDF::URI' unless
19
25
  activity_uri.respond_to? :to_term
20
- SPARQL_CLIENT.select(:record)
26
+ query = SPARQL_CLIENT.select(:record)
21
27
  .where([:record,
22
28
  [RDF::PROV.wasGeneratedBy, '|', RDF::DPLA.wasRevisedBy],
23
29
  activity_uri.to_term])
30
+
31
+ if include_invalidated
32
+ query
33
+ else
34
+ # We need to say "and if RDF::PROV.invalidatedAtTime is not set."
35
+ #
36
+ # The SPARQL query should be:
37
+ #
38
+ # PREFIX prov: <http://www.w3.org/ns/prov#>
39
+ # SELECT * WHERE {
40
+ # ?subject prov:wasGeneratedBy <http://xampl.org/ldp/activity/n> .
41
+ # FILTER NOT EXISTS { ?subject prov:invalidatedAtTime ?x }
42
+ # }
43
+ #
44
+ # ... However there doesn't appear to be a way of constructing
45
+ # 'FILTER NOT EXISTS' with SPARQL::Client. Instead, we've managed to
46
+ # hack the following solution together.
47
+ #
48
+ # SPARQL::Client#filter is labeled @private in its YARD comment (and
49
+ # has no other documentation) but it's not private, at least for
50
+ # now.
51
+ query.filter \
52
+ 'NOT EXISTS ' \
53
+ '{ ?record <http://www.w3.org/ns/prov#invalidatedAtTime> ?x }'
54
+ end
24
55
  end
25
56
  end
26
57
  end
@@ -1,3 +1,3 @@
1
1
  module Krikri
2
- VERSION = '0.11.2'.freeze
2
+ VERSION = '0.12.0-rc.1'.freeze
3
3
  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.6'
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
@@ -36,7 +36,7 @@ gem 'sdoc', '~> 0.4.0', group: :doc
36
36
  # gem 'debugger', group: [:development, :test]
37
37
 
38
38
 
39
- gem 'krikri', :path => '/home/tjohnson/src/dpla/krikri'
39
+ gem 'krikri', :path => '/vagrant'
40
40
 
41
41
  gem "factory_girl_rails", "~> 4.4.0", group: :development
42
42
  gem "jettywrapper", "~> 2.0", group: :development
@@ -1,7 +1,7 @@
1
1
  PATH
2
- remote: /home/tjohnson/src/dpla/krikri
2
+ remote: /vagrant
3
3
  specs:
4
- krikri (0.11.1)
4
+ krikri (0.11.2)
5
5
  analysand (= 4.0.0)
6
6
  audumbla (~> 0.1)
7
7
  blacklight (~> 5.8.0)
@@ -26,17 +26,17 @@ PATH
26
26
  GEM
27
27
  remote: https://rubygems.org/
28
28
  specs:
29
- actionmailer (4.1.6)
30
- actionpack (= 4.1.6)
31
- actionview (= 4.1.6)
29
+ actionmailer (4.1.9)
30
+ actionpack (= 4.1.9)
31
+ actionview (= 4.1.9)
32
32
  mail (~> 2.5, >= 2.5.4)
33
- actionpack (4.1.6)
34
- actionview (= 4.1.6)
35
- activesupport (= 4.1.6)
33
+ actionpack (4.1.9)
34
+ actionview (= 4.1.9)
35
+ activesupport (= 4.1.9)
36
36
  rack (~> 1.5.2)
37
37
  rack-test (~> 0.6.2)
38
- actionview (4.1.6)
39
- activesupport (= 4.1.6)
38
+ actionview (4.1.9)
39
+ activesupport (= 4.1.9)
40
40
  builder (~> 3.1)
41
41
  erubis (~> 2.7.0)
42
42
  active-triples (0.6.1)
@@ -45,14 +45,14 @@ GEM
45
45
  deprecation (~> 0.1)
46
46
  linkeddata (~> 1.1)
47
47
  rdf (~> 1.1)
48
- activemodel (4.1.6)
49
- activesupport (= 4.1.6)
48
+ activemodel (4.1.9)
49
+ activesupport (= 4.1.9)
50
50
  builder (~> 3.1)
51
- activerecord (4.1.6)
52
- activemodel (= 4.1.6)
53
- activesupport (= 4.1.6)
51
+ activerecord (4.1.9)
52
+ activemodel (= 4.1.9)
53
+ activesupport (= 4.1.9)
54
54
  arel (~> 5.0.0)
55
- activesupport (4.1.6)
55
+ activesupport (4.1.9)
56
56
  i18n (~> 0.6, >= 0.6.9)
57
57
  json (~> 1.7, >= 1.7.7)
58
58
  minitest (~> 5.1)
@@ -72,9 +72,8 @@ GEM
72
72
  dpla-map (~> 4.0.0.0.pre.10)
73
73
  geokit
74
74
  twofishes
75
- autoprefixer-rails (6.3.1)
75
+ autoprefixer-rails (6.3.3.1)
76
76
  execjs
77
- json
78
77
  bcrypt (3.1.10)
79
78
  blacklight (5.8.2)
80
79
  bootstrap-sass (~> 3.2)
@@ -92,9 +91,9 @@ GEM
92
91
  celluloid-io (0.16.2)
93
92
  celluloid (>= 0.16.0)
94
93
  nio4r (>= 1.1.0)
95
- childprocess (0.5.7)
94
+ childprocess (0.5.9)
96
95
  ffi (~> 1.0, >= 1.0.11)
97
- coderay (1.1.0)
96
+ coderay (1.1.1)
98
97
  coffee-rails (4.0.1)
99
98
  coffee-script (>= 2.2.0)
100
99
  railties (>= 4.0.0, < 5.0)
@@ -111,7 +110,7 @@ GEM
111
110
  responders
112
111
  thread_safe (~> 0.1)
113
112
  warden (~> 1.2.3)
114
- domain_name (0.5.25)
113
+ domain_name (0.5.20160216)
115
114
  unf (>= 0.0.5, < 1.0.0)
116
115
  dpla-map (4.0.0.0.pre.13)
117
116
  active-triples (~> 0.6.0)
@@ -152,7 +151,7 @@ GEM
152
151
  domain_name (~> 0.5)
153
152
  http_parser.rb (0.6.0)
154
153
  i18n (0.7.0)
155
- jbuilder (2.4.0)
154
+ jbuilder (2.4.1)
156
155
  activesupport (>= 3.0.0, < 5.1)
157
156
  multi_json (~> 1.2)
158
157
  jettywrapper (2.0.3)
@@ -198,7 +197,7 @@ GEM
198
197
  mail (2.6.3)
199
198
  mime-types (>= 1.16, < 3)
200
199
  method_source (0.8.2)
201
- mime-types (2.99)
200
+ mime-types (2.99.1)
202
201
  mini_portile2 (2.0.0)
203
202
  minitest (5.8.4)
204
203
  mono_logger (1.1.0)
@@ -206,8 +205,8 @@ GEM
206
205
  multipart-post (2.0.0)
207
206
  net-http-persistent (2.9.4)
208
207
  netrc (0.11.0)
209
- nio4r (1.2.0)
210
- nokogiri (1.6.7.1)
208
+ nio4r (1.2.1)
209
+ nokogiri (1.6.7.2)
211
210
  mini_portile2 (~> 2.0.0.rc2)
212
211
  oai (0.4.0)
213
212
  builder (>= 3.1.0)
@@ -225,21 +224,21 @@ GEM
225
224
  rack
226
225
  rack-test (0.6.3)
227
226
  rack (>= 1.0)
228
- rails (4.1.6)
229
- actionmailer (= 4.1.6)
230
- actionpack (= 4.1.6)
231
- actionview (= 4.1.6)
232
- activemodel (= 4.1.6)
233
- activerecord (= 4.1.6)
234
- activesupport (= 4.1.6)
227
+ rails (4.1.9)
228
+ actionmailer (= 4.1.9)
229
+ actionpack (= 4.1.9)
230
+ actionview (= 4.1.9)
231
+ activemodel (= 4.1.9)
232
+ activerecord (= 4.1.9)
233
+ activesupport (= 4.1.9)
235
234
  bundler (>= 1.3.0, < 2.0)
236
- railties (= 4.1.6)
235
+ railties (= 4.1.9)
237
236
  sprockets-rails (~> 2.0)
238
237
  rails_config (0.4.2)
239
238
  activesupport (>= 3.0)
240
- railties (4.1.6)
241
- actionpack (= 4.1.6)
242
- activesupport (= 4.1.6)
239
+ railties (4.1.9)
240
+ actionpack (= 4.1.9)
241
+ activesupport (= 4.1.9)
243
242
  rake (>= 0.8.7)
244
243
  thor (>= 0.18.1, < 2.0)
245
244
  rake (10.5.0)
@@ -293,7 +292,7 @@ GEM
293
292
  rdf (~> 1.1, >= 1.1.10)
294
293
  rdf-xsd (1.1.5.1)
295
294
  rdf (~> 1.1, >= 1.1.9, < 1.99)
296
- rdoc (4.2.1)
295
+ rdoc (4.2.2)
297
296
  json (~> 1.4)
298
297
  redis (3.2.2)
299
298
  redis-namespace (1.5.2)
@@ -313,7 +312,7 @@ GEM
313
312
  netrc (~> 0.7)
314
313
  rsolr (1.0.13)
315
314
  builder (>= 2.1.2)
316
- rubyzip (1.1.7)
315
+ rubyzip (1.2.0)
317
316
  sass (3.2.19)
318
317
  sass-rails (4.0.5)
319
318
  railties (>= 4.0.0, < 5.0)
@@ -323,8 +322,8 @@ GEM
323
322
  sdoc (0.4.1)
324
323
  json (~> 1.7, >= 1.7.7)
325
324
  rdoc (~> 4.0)
326
- sinatra (1.4.6)
327
- rack (~> 1.4)
325
+ sinatra (1.4.7)
326
+ rack (~> 1.5)
328
327
  rack-protection (~> 1.4)
329
328
  tilt (>= 1.3, < 3)
330
329
  slop (3.6.0)
@@ -374,10 +373,10 @@ GEM
374
373
  json (>= 1.8.0)
375
374
  unf (0.1.4)
376
375
  unf_ext
377
- unf_ext (0.0.7.1)
376
+ unf_ext (0.0.7.2)
378
377
  vegas (0.1.11)
379
378
  rack (>= 1.0.0)
380
- warden (1.2.4)
379
+ warden (1.2.6)
381
380
  rack (>= 1.0)
382
381
  yajl-ruby (1.2.1)
383
382
 
@@ -393,7 +392,7 @@ DEPENDENCIES
393
392
  jquery-rails
394
393
  krikri!
395
394
  pry-rails
396
- rails (= 4.1.6)
395
+ rails (= 4.1.9)
397
396
  sass-rails (~> 4.0.3)
398
397
  sdoc (~> 0.4.0)
399
398
  sqlite3
@@ -401,4 +400,4 @@ DEPENDENCIES
401
400
  uglifier (>= 1.3.0)
402
401
 
403
402
  BUNDLED WITH
404
- 1.10.6
403
+ 1.11.2
@@ -3,5 +3,5 @@
3
3
  # will use the application's secret key base instead.
4
4
  #
5
5
 
6
- # Blacklight.secret_key = '2e18692814c107ed106221a977f8a5fa38bd1a8355716a818ff72b8b618dd97e07385335c796361f2d18d00302de916adf1e397ad60f725a4b3f3eebd0c3eff2'
6
+ # Blacklight.secret_key = '5a09a69fff3b481232e340d44dfac0cad73f16628e1b5ee7f127b481bbfcce153859c1d4db89826d0417e633d1abd1439e9d9a0c534f093defa560676c3a51bf'
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 = '8f0b79f6ceba0441e785de1179473bade347d14f3718eeb09d0c46657653bb30f2592d6123de9cb7316910280cf9c81dd5ca2d1794023a5c1de7a715cfb37d20'
7
+ # config.secret_key = '06f55f081179339565cd683591dffdaf57f6f340206d19f26fd13a1c9fd18c4d549709d74a960c5636a6f6f3e959e3316a864a73cf3c5d41b012c7c067a6c049'
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 = 'ffc94a9f1b5bd168c80153de7513d7e6e61c8066ea2b793750f4732e65e6c62b1e2f8a729c07de2cf3ad5b465b183364e0ce6acde3a4581ca3e2e64f7c07ef93'
100
+ # config.pepper = '379239f236a953fc942bf473655eedc8b90c653f6404ac06cd45c71690e6565d6671f63701b120cb1170eaa579c387059ad10a9b537c0e7ef32b702b73e6efd6'
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: baa7b78f0d33e176d43c2e53b15cc34a7a13353589e525b444eca2593b2abcbb9a0b55a1b30196d7886d41d7a5801aa2e4ba6aed862340704dbac5f165ddf961
14
+ secret_key_base: 40552a8973624429a73ba6bda6a5797bae4ad3495d8404891ace56a633405174fa9365c34e9dc3b579f92ed26f165c72c3e9b454ca814cab20b91893c00eb93d
15
15
 
16
16
  test:
17
- secret_key_base: 775cd9bf2b3e7cb1f9f98ea042f371ca3bbeb565ffaad8314cb89887da924c77bdb1e9be79f03b5790c6345901cee62e5c67df2bf8a80a490b1fe0e4f337882d
17
+ secret_key_base: b7a204846993178e23440606508244c4a6d865bfaff1d432b9a466b6bd2f522acb45ea1e36aaf39206ff36b0e32b340146fdd09fad6061ec4519b2ae9d7349cc
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: 20160201014949) do
14
+ ActiveRecord::Schema.define(version: 20160224174740) do
15
15
 
16
16
  create_table "bookmarks", force: true do |t|
17
17
  t.integer "user_id", null: false
Binary file