krikri 0.12.0.pre.rc.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/krikri/activity.rb +2 -2
  3. data/lib/krikri/enricher.rb +1 -8
  4. data/lib/krikri/harvester.rb +7 -8
  5. data/lib/krikri/mapper.rb +1 -8
  6. data/lib/krikri/software_agent.rb +13 -13
  7. data/lib/krikri/version.rb +1 -1
  8. data/spec/internal/Gemfile.lock +1 -1
  9. data/spec/internal/config/initializers/blacklight_initializer.rb +1 -1
  10. data/spec/internal/config/initializers/devise.rb +2 -2
  11. data/spec/internal/config/secrets.yml +2 -2
  12. data/spec/internal/db/development.sqlite3 +0 -0
  13. data/spec/internal/db/migrate/{20160224174647_devise_create_users.rb → 20160304151204_devise_create_users.rb} +0 -0
  14. data/spec/internal/db/migrate/{20160224174738_create_searches.blacklight.rb → 20160304151247_create_searches.blacklight.rb} +0 -0
  15. data/spec/internal/db/migrate/{20160224174739_create_bookmarks.blacklight.rb → 20160304151248_create_bookmarks.blacklight.rb} +0 -0
  16. data/spec/internal/db/migrate/{20160224174740_add_polymorphic_type_to_bookmarks.blacklight.rb → 20160304151249_add_polymorphic_type_to_bookmarks.blacklight.rb} +0 -0
  17. data/spec/internal/db/schema.rb +1 -1
  18. data/spec/internal/db/test.sqlite3 +0 -0
  19. data/spec/internal/log/development.log +86 -86
  20. data/spec/internal/log/test.log +6193 -5968
  21. data/spec/lib/krikri/harvester_spec.rb +6 -0
  22. metadata +12 -310
  23. data/spec/internal/tmp/cache/318/301/krikri%2Fapplication_helper%2Favailable_providers +0 -0
  24. data/spec/internal/tmp/cache/assets/test/sass/0f463fae8ec59cbdc602859dac6f3131b47588e5/blacklight.css.scssc +0 -0
  25. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_alerts.scssc +0 -0
  26. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_background-variant.scssc +0 -0
  27. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_border-radius.scssc +0 -0
  28. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_buttons.scssc +0 -0
  29. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_center-block.scssc +0 -0
  30. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_clearfix.scssc +0 -0
  31. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_forms.scssc +0 -0
  32. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_gradients.scssc +0 -0
  33. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid-framework.scssc +0 -0
  34. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid.scssc +0 -0
  35. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_hide-text.scssc +0 -0
  36. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_image.scssc +0 -0
  37. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_labels.scssc +0 -0
  38. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_list-group.scssc +0 -0
  39. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-divider.scssc +0 -0
  40. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-vertical-align.scssc +0 -0
  41. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_opacity.scssc +0 -0
  42. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_pagination.scssc +0 -0
  43. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_panels.scssc +0 -0
  44. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_progress-bar.scssc +0 -0
  45. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_reset-filter.scssc +0 -0
  46. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_resize.scssc +0 -0
  47. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_responsive-visibility.scssc +0 -0
  48. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_size.scssc +0 -0
  49. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_tab-focus.scssc +0 -0
  50. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_table-row.scssc +0 -0
  51. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-emphasis.scssc +0 -0
  52. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-overflow.scssc +0 -0
  53. data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_vendor-prefixes.scssc +0 -0
  54. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_blacklight_base.scssc +0 -0
  55. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_bookmark.scssc +0 -0
  56. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_catalog.scssc +0 -0
  57. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_facets.scssc +0 -0
  58. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_group.scssc +0 -0
  59. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_header.scssc +0 -0
  60. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_layout.scssc +0 -0
  61. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_modal.scssc +0 -0
  62. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_search_history.scssc +0 -0
  63. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight.scssc +0 -0
  64. data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight_defaults.scssc +0 -0
  65. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_alerts.scssc +0 -0
  66. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_badges.scssc +0 -0
  67. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_breadcrumbs.scssc +0 -0
  68. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_button-groups.scssc +0 -0
  69. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_buttons.scssc +0 -0
  70. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_carousel.scssc +0 -0
  71. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_close.scssc +0 -0
  72. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_code.scssc +0 -0
  73. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_component-animations.scssc +0 -0
  74. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_dropdowns.scssc +0 -0
  75. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_forms.scssc +0 -0
  76. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_glyphicons.scssc +0 -0
  77. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_grid.scssc +0 -0
  78. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_input-groups.scssc +0 -0
  79. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_jumbotron.scssc +0 -0
  80. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_labels.scssc +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_list-group.scssc +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_media.scssc +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_mixins.scssc +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_modals.scssc +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navbar.scssc +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navs.scssc +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_normalize.scssc +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pager.scssc +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pagination.scssc +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_panels.scssc +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_popovers.scssc +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_print.scssc +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_progress-bars.scssc +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-embed.scssc +0 -0
  95. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-utilities.scssc +0 -0
  96. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_scaffolding.scssc +0 -0
  97. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tables.scssc +0 -0
  98. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_thumbnails.scssc +0 -0
  99. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tooltip.scssc +0 -0
  100. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_type.scssc +0 -0
  101. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_utilities.scssc +0 -0
  102. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_variables.scssc +0 -0
  103. data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_wells.scssc +0 -0
  104. data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap-sprockets.scssc +0 -0
  105. data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap.scssc +0 -0
  106. data/spec/internal/tmp/cache/assets/test/sprockets/0a25eb99290a6b015dfe4c29d8585cec +0 -0
  107. data/spec/internal/tmp/cache/assets/test/sprockets/0a778a0a0f363d6d2431e921e19eead7 +0 -0
  108. data/spec/internal/tmp/cache/assets/test/sprockets/0b3eca32a0c1d368e88a01be94ca7f6b +0 -0
  109. data/spec/internal/tmp/cache/assets/test/sprockets/0fe9919db7899ede10068d0d9d3adfa8 +0 -0
  110. data/spec/internal/tmp/cache/assets/test/sprockets/1153a153512ddd535004623e0bbdc1c4 +0 -0
  111. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  112. data/spec/internal/tmp/cache/assets/test/sprockets/142790b68ce01969e4bbdd1d2a90b18c +0 -0
  113. data/spec/internal/tmp/cache/assets/test/sprockets/154af7ce6de6c616d3c1c654904a88de +0 -0
  114. data/spec/internal/tmp/cache/assets/test/sprockets/1a6f0128e8b6cc52594e7e16506dd476 +0 -0
  115. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  116. data/spec/internal/tmp/cache/assets/test/sprockets/30183a6c313ab79c8ffc2711dc633ea5 +0 -0
  117. data/spec/internal/tmp/cache/assets/test/sprockets/3290971c05649c7d11051df70b2fefbb +0 -0
  118. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  119. data/spec/internal/tmp/cache/assets/test/sprockets/35c0cb4e1848557e53960891cf2bbc4c +0 -0
  120. data/spec/internal/tmp/cache/assets/test/sprockets/3822d8965af2c63a9d8eb5be7d54a39e +0 -0
  121. data/spec/internal/tmp/cache/assets/test/sprockets/39191bda3ba14fb0d5671ef5320e9e01 +0 -0
  122. data/spec/internal/tmp/cache/assets/test/sprockets/3a1636e712ea5450451f140a1e11ad6b +0 -0
  123. data/spec/internal/tmp/cache/assets/test/sprockets/3af50e8108914b16e8005270444c23eb +0 -0
  124. data/spec/internal/tmp/cache/assets/test/sprockets/43549442460e63625bfa01b300845db4 +0 -0
  125. data/spec/internal/tmp/cache/assets/test/sprockets/4ffa695d373f85c9375cfeef7a7fa7b0 +0 -0
  126. data/spec/internal/tmp/cache/assets/test/sprockets/55c96cfe875a998dd83f861cec024cd8 +0 -0
  127. data/spec/internal/tmp/cache/assets/test/sprockets/5884f169a3cb492a556b12cf26d98512 +0 -0
  128. data/spec/internal/tmp/cache/assets/test/sprockets/5b4c0893fb6462116b5c893ee5067a7a +0 -0
  129. data/spec/internal/tmp/cache/assets/test/sprockets/5ed91405d3e1d9c4d64964b23e2ddad5 +0 -0
  130. data/spec/internal/tmp/cache/assets/test/sprockets/5ee4ec5587fe5e6b2489c6df8444c3a3 +0 -0
  131. data/spec/internal/tmp/cache/assets/test/sprockets/66bc87f66d912cc874b361b58b063232 +0 -0
  132. data/spec/internal/tmp/cache/assets/test/sprockets/6a7000430a188e026e888de506892486 +0 -0
  133. data/spec/internal/tmp/cache/assets/test/sprockets/6e51639f97de2a9999b40c947cc2cce4 +0 -0
  134. data/spec/internal/tmp/cache/assets/test/sprockets/70678ea30b446b6e43c58cb504a38c5e +0 -0
  135. data/spec/internal/tmp/cache/assets/test/sprockets/736b38c683d67eae78becf8bd03ccc03 +0 -0
  136. data/spec/internal/tmp/cache/assets/test/sprockets/74b2a1c32eb911fede6dbf691e2438fd +0 -0
  137. data/spec/internal/tmp/cache/assets/test/sprockets/769e239a980f02fb5f0d31f2e47661b6 +0 -0
  138. data/spec/internal/tmp/cache/assets/test/sprockets/7ed2a89adfb413f382b9844cb60e004f +0 -0
  139. data/spec/internal/tmp/cache/assets/test/sprockets/843672eb02d8b4596eb8f05b0285812f +0 -0
  140. data/spec/internal/tmp/cache/assets/test/sprockets/86aa4bb34763ef2ec398ce2948064feb +0 -0
  141. data/spec/internal/tmp/cache/assets/test/sprockets/8826cc9e62d566dcd6557e4ce53c0c9e +0 -0
  142. data/spec/internal/tmp/cache/assets/test/sprockets/8e0a985f6d848652e6e2b69502089957 +0 -0
  143. data/spec/internal/tmp/cache/assets/test/sprockets/8e24ef751a813d86a3a2953ce9f31b1b +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sprockets/92440cff8e26faca6421a88212bf5cc5 +0 -0
  145. data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  146. data/spec/internal/tmp/cache/assets/test/sprockets/9aa82f96c9760fb5b052b29dfead27ee +0 -0
  147. data/spec/internal/tmp/cache/assets/test/sprockets/9e3583b4a24bbae71c81cc89b31cf681 +0 -0
  148. data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  149. data/spec/internal/tmp/cache/assets/test/sprockets/addcc05c958d32994bbcc4df6b13c80a +0 -0
  150. data/spec/internal/tmp/cache/assets/test/sprockets/b02b8a41fe5c3dfa491d8bb0d95d6e2d +0 -0
  151. data/spec/internal/tmp/cache/assets/test/sprockets/b6fcc8843d7d36abc9183de7f3c09fdd +0 -0
  152. data/spec/internal/tmp/cache/assets/test/sprockets/b783bb7bbb5960da9c2720974804b177 +0 -0
  153. data/spec/internal/tmp/cache/assets/test/sprockets/c94aa024045ec61aa3ce4de5c0ca7515 +0 -0
  154. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  155. data/spec/internal/tmp/cache/assets/test/sprockets/d04cedd870a36cb0ac8ad65bf032c556 +0 -0
  156. data/spec/internal/tmp/cache/assets/test/sprockets/d0ae540226d860c35ce84f64c67f40bb +0 -0
  157. data/spec/internal/tmp/cache/assets/test/sprockets/d0d4fb263d72afa8341801f74e58939e +0 -0
  158. data/spec/internal/tmp/cache/assets/test/sprockets/d54a9568f2db6442d0be17210a6d683e +0 -0
  159. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  160. data/spec/internal/tmp/cache/assets/test/sprockets/d89eec758f13f7959ed8796e9b52469c +0 -0
  161. data/spec/internal/tmp/cache/assets/test/sprockets/da16a797f7553f717a002525bea10cbf +0 -0
  162. data/spec/internal/tmp/cache/assets/test/sprockets/da4e9efddf7d52d8de0c75b2f3ad571e +0 -0
  163. data/spec/internal/tmp/cache/assets/test/sprockets/dec30531a16449cd84734053a70b3a77 +0 -0
  164. data/spec/internal/tmp/cache/assets/test/sprockets/f429314ed6a6b2b42d3141578c4ec023 +0 -0
  165. data/spec/internal/tmp/cache/assets/test/sprockets/f5e21f9266ec8eafa27c52d109a9a498 +0 -0
  166. data/spec/internal/tmp/cache/assets/test/sprockets/f642847460097a56a55c8716c4d7a072 +0 -0
  167. data/spec/internal/tmp/cache/assets/test/sprockets/f69f1290f72a81d63fb93e81ff44f8a1 +0 -0
  168. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  169. data/spec/internal/tmp/cache/assets/test/sprockets/f8e9e8fcc081081c00dd69903ebcf709 +0 -0
  170. data/spec/internal/tmp/cache/assets/test/sprockets/f8fd1a8d086eb31f0df8de2ac3ab4517 +0 -0
  171. data/spec/internal/tmp/cache/assets/test/sprockets/fe00102a3b27990f149d71a23f06e32a +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b7f5913ed8e669b3e0451397e3c036dead804cc
4
- data.tar.gz: 541d265b195aa3d779a6ddd3e5de4eeae4faffed
3
+ metadata.gz: 6ac6156f3d3dfd9164e4598d0b236bff739885ed
4
+ data.tar.gz: 437640a56aa024e4bcb4b58a58a70e02d3f8edb5
5
5
  SHA512:
6
- metadata.gz: dd37e66d03acee110f6ec49aa0d5e5ccbcdc97f246785535de6bc68ada64ce984eebfc85e1435fc3e53a75f0525fc0c36a54089e99466b58ff5b96e353ab522d
7
- data.tar.gz: 4a4c71f09a89585ec8132378893241852aa72d0c8887ef0d76ba1c07e2d10a87428b1929e606eb6449b5d86ff7179eec644382e5f4d9c5abcf559735421601b1
6
+ metadata.gz: 9bdc4b60c7c533c4ed27d635c14fa11bef703037729edc5e4b31c80376f450289f1fb369c6f5e36d5de3ced9edd8162591d2f651bff01b6c63a1505c33861217
7
+ data.tar.gz: f2cc707b635d75265947eccc27617310199721186831e84b6d75ab64dab4178471631df760a5db5f01f8dff2dd42c305d8c47876216858ab0295b8035d9d6666
@@ -127,14 +127,14 @@ module Krikri
127
127
  # that have been affected by this activity.
128
128
  #
129
129
  # The kind of object that is returned depends on the EntityBehavior class
130
- # that is associated with the SoftwareAgent that is represented by the
130
+ # that is associated with the SoftwareAgent class that is represented by the
131
131
  # Activity's `agent' field.
132
132
  #
133
133
  # @param [Array<Object>] *args Arguments to pass along to
134
134
  # EntityBehavior#entities
135
135
  # @return [Enumerator] Objects
136
136
  def entities(*args)
137
- agent_instance.entity_behavior.entities(self, *args)
137
+ agent.constantize.entity_behavior.entities(self, *args)
138
138
  end
139
139
  end
140
140
  end
@@ -33,14 +33,6 @@ module Krikri
33
33
  :enrichment
34
34
  end
35
35
 
36
- ##
37
- # @see Krikri::Activity#entities
38
- # @see Krikri::EntityBehavior
39
- # @see Krikri::SoftwareAgent#entity_behavior
40
- def entity_behavior
41
- @entity_behavior ||= Krikri::AggregationEntityBehavior
42
- end
43
-
44
36
  ##
45
37
  # Create a new Enricher, given a hash of options:
46
38
  # generator_uri: the LDP URI of the Activity that generated the mapped
@@ -53,6 +45,7 @@ module Krikri
53
45
  def initialize(opts = {})
54
46
  @generator_uri = RDF::URI(opts.fetch(:generator_uri))
55
47
  @chain = deep_sym(opts.fetch(:chain) { {} })
48
+ @entity_behavior = self.class.entity_behavior
56
49
  assign_generator_activity!(opts)
57
50
  end
58
51
 
@@ -43,15 +43,13 @@ module Krikri
43
43
  def queue_name
44
44
  :harvest
45
45
  end
46
- end
47
- end
48
46
 
49
- ##
50
- # @see Krikri::Activity#entities
51
- # @see Krikri::EntityBehavior
52
- # @see Krikri::SoftwareAgent#entity_behavior
53
- def entity_behavior
54
- @entity_behavior ||= Krikri::OriginalRecordEntityBehavior
47
+ ##
48
+ # @see Krikri::SoftwareAgent::ClassMethods#entity_behavior
49
+ def entity_behavior
50
+ Krikri::OriginalRecordEntityBehavior
51
+ end
52
+ end
55
53
  end
56
54
 
57
55
  ##
@@ -79,6 +77,7 @@ module Krikri
79
77
  @harvest_behavior = opts.delete(:harvest_behavior) do
80
78
  Krikri::Harvesters::BasicSaveBehavior
81
79
  end.to_s.constantize
80
+ @entity_behavior = self.class.entity_behavior
82
81
  end
83
82
 
84
83
  delegate :process_record, :to => :@harvest_behavior
data/lib/krikri/mapper.rb CHANGED
@@ -98,16 +98,9 @@ module Krikri
98
98
  :mapping
99
99
  end
100
100
 
101
- ##
102
- # @see Krikri::Activity#entities
103
- # @see Krikri::EntityBehavior
104
- # @see Krikri::SoftwareAgent#entity_behavior
105
- def entity_behavior
106
- @entity_behavior ||= Krikri::AggregationEntityBehavior
107
- end
108
-
109
101
  def initialize(opts = {})
110
102
  @name = opts.fetch(:name).to_sym
103
+ @entity_behavior = self.class.entity_behavior
111
104
  assign_generator_activity!(opts)
112
105
  end
113
106
 
@@ -11,20 +11,12 @@ module Krikri
11
11
  module SoftwareAgent
12
12
  extend ActiveSupport::Concern
13
13
 
14
- included do
15
- attr_writer :entity_behavior
16
- end
17
-
18
14
  ##
19
- # Return the EntityBehavior associated with the SoftwareAgent.
20
- # Meant to be overridden as necessary.
21
- #
22
- # @see Krikri::Activity#entities
23
- # @see Krikri::EntityBehavior
24
- #
25
- def entity_behavior
26
- @entity_behavior ||= nil
27
- end
15
+ # @!attribute [rw] entity_behavior
16
+ # @return [Krikri::EntityBehavior] the entity initialization behavior to use with this
17
+ # SoftwareAgent.
18
+ # @see Krikri::Activity#entities
19
+ included { attr_accessor :entity_behavior }
28
20
 
29
21
  ##
30
22
  # Return an agent name suitable for saving in an Activity.
@@ -61,6 +53,14 @@ module Krikri
61
53
  to_s
62
54
  end
63
55
 
56
+ ##
57
+ # @return [Krikri::EntityBehavior] the default entity initializiation
58
+ # behavior for this class of SoftwareAgents
59
+ # @see #entity_behavior
60
+ def entity_behavior
61
+ Krikri::AggregationEntityBehavior
62
+ end
63
+
64
64
  ##
65
65
  # @return the name of the default queue for jobs invoking this
66
66
  # SoftwareAgent
@@ -1,3 +1,3 @@
1
1
  module Krikri
2
- VERSION = '0.12.0-rc.1'.freeze
2
+ VERSION = '0.12.0'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /vagrant
3
3
  specs:
4
- krikri (0.11.2)
4
+ krikri (0.12.0.pre.rc.1)
5
5
  analysand (= 4.0.0)
6
6
  audumbla (~> 0.1)
7
7
  blacklight (~> 5.8.0)
@@ -3,5 +3,5 @@
3
3
  # will use the application's secret key base instead.
4
4
  #
5
5
 
6
- # Blacklight.secret_key = '5a09a69fff3b481232e340d44dfac0cad73f16628e1b5ee7f127b481bbfcce153859c1d4db89826d0417e633d1abd1439e9d9a0c534f093defa560676c3a51bf'
6
+ # Blacklight.secret_key = 'ebc37207b10c8eca83db801d1048bab793a8989077927d0acd02dbf2510165f5e4d016d1c8c15c23c25dee94a9c1e1087ba5ede5dc94dce8fa4539cdcf93f270'
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 = '06f55f081179339565cd683591dffdaf57f6f340206d19f26fd13a1c9fd18c4d549709d74a960c5636a6f6f3e959e3316a864a73cf3c5d41b012c7c067a6c049'
7
+ # config.secret_key = '0b72f71851a885c429315093ac2db2dcd3823429a5a4f9f7c6ac233e8b2ecdc4cb6ecbc70b265102e87b6bd969325eed8197e6ac3cfdfe95f0b0fa335f180147'
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 = '379239f236a953fc942bf473655eedc8b90c653f6404ac06cd45c71690e6565d6671f63701b120cb1170eaa579c387059ad10a9b537c0e7ef32b702b73e6efd6'
100
+ # config.pepper = '94ee00c9080cdb76c8c060c1af2f24299179ef43587ed58fa553da7ab56b4da1dc25c2b351f8ef027abafc2df9d53584566312c2a0586faac7edb43b46b9c905'
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: 40552a8973624429a73ba6bda6a5797bae4ad3495d8404891ace56a633405174fa9365c34e9dc3b579f92ed26f165c72c3e9b454ca814cab20b91893c00eb93d
14
+ secret_key_base: 54220d04d57b5dcc6dd2eadc805455695bda1ca0ed39225d5bf33b640fa983eeec53bb3e734a9af4b2c67dbae35033203ddb1e2a95851af90a0a6d66a34aa33c
15
15
 
16
16
  test:
17
- secret_key_base: b7a204846993178e23440606508244c4a6d865bfaff1d432b9a466b6bd2f522acb45ea1e36aaf39206ff36b0e32b340146fdd09fad6061ec4519b2ae9d7349cc
17
+ secret_key_base: f3ba998d333d9560c0bf83d53703cd7efd707afa57ccc4d0a9f00029b26c78b4341e03799dd390ba88e41e199789d9fa330cd507c6e5e3756f3edc2a847ae83d
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: 20160224174740) do
14
+ ActiveRecord::Schema.define(version: 20160304151249) do
15
15
 
16
16
  create_table "bookmarks", force: true do |t|
17
17
  t.integer "user_id", null: false
Binary file
@@ -1,57 +1,57 @@
1
-  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1
+  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
2
   (0.1ms) select sqlite_version(*)
3
-  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3
+  (4.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
5
  Migrating to CreateKrikriInstitutions (20141113200614)
6
6
   (0.1ms) begin transaction
7
-  (2.7ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
8
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200614"]]
9
-  (2.4ms) commit transaction
7
+  (2.8ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
8
+ SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200614"]]
9
+  (2.6ms) commit transaction
10
10
  Migrating to CreateKrikriHarvestSources (20141113200643)
11
11
   (0.1ms) begin transaction
12
-  (2.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)
13
- SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200643"]]
14
-  (2.8ms) commit transaction
12
+  (2.6ms) 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.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141113200643"]]
14
+  (2.5ms) commit transaction
15
15
  Migrating to CreateKrikriActivities (20141212220924)
16
-  (0.2ms) begin transaction
17
-  (4.7ms) 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.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141212220924"]]
19
-  (2.3ms) commit transaction
16
+  (0.1ms) begin transaction
17
+  (3.3ms) 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.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141212220924"]]
19
+  (2.2ms) commit transaction
20
20
  Migrating to AddOptsToKrikriHarvestSources (20150106164218)
21
21
   (0.1ms) begin transaction
22
-  (4.4ms) ALTER TABLE "krikri_harvest_sources" ADD "opts" text
22
+  (3.3ms) ALTER TABLE "krikri_harvest_sources" ADD "opts" text
23
23
  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106164218"]]
24
-  (2.1ms) commit transaction
24
+  (2.8ms) commit transaction
25
25
  Migrating to ChangeOptsInKrikriActivities (20150309160112)
26
26
   (0.1ms) begin transaction
27
27
   (0.3ms) 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
-  (1.3ms) SELECT * FROM "krikri_activities"
29
-  (2.9ms) DROP TABLE "krikri_activities"
28
+  (1.4ms) SELECT * FROM "krikri_activities"
29
+  (2.2ms) DROP TABLE "krikri_activities"
30
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
31
   (0.1ms) SELECT * FROM "akrikri_activities"
32
32
   (0.2ms) DROP TABLE "akrikri_activities"
33
33
  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150309160112"]]
34
-  (3.5ms) commit transaction
34
+  (3.2ms) commit transaction
35
35
  Migrating to RemoveOptsLimitInKrikriActivities (20150310190054)
36
-  (0.1ms) begin transaction
37
-  (0.3ms) 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
-  (1.8ms) SELECT * FROM "krikri_activities"
39
-  (2.9ms) DROP TABLE "krikri_activities"
40
-  (0.2ms) 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)
36
+  (0.4ms) begin transaction
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
+  (1.5ms) SELECT * FROM "krikri_activities"
39
+  (2.4ms) 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
42
   (0.1ms) DROP TABLE "akrikri_activities"
43
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150310190054"]]
44
-  (2.2ms) commit transaction
43
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150310190054"]]
44
+  (2.6ms) commit transaction
45
45
  Migrating to AddQaReport (20150328035550)
46
46
   (0.1ms) begin transaction
47
-  (3.5ms) 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 (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150328035550"]]
49
-  (2.8ms) commit transaction
50
- Migrating to DeviseCreateUsers (20160224174647)
51
-  (0.2ms) begin transaction
52
-  (4.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)
47
+  (2.5ms) 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.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150328035550"]]
49
+  (2.3ms) commit transaction
50
+ Migrating to DeviseCreateUsers (20160304151204)
51
+  (0.1ms) begin transaction
52
+  (3.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)
53
53
   (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
54
-  (0.1ms) SELECT sql
54
+  (0.3ms) SELECT sql
55
55
  FROM sqlite_master
56
56
  WHERE name='index_users_on_email' AND type='index'
57
57
  UNION ALL
@@ -59,11 +59,11 @@ Migrating to DeviseCreateUsers (20160224174647)
59
59
  FROM sqlite_temp_master
60
60
  WHERE name='index_users_on_email' AND type='index'
61
61
 
62
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
63
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224174647"]]
64
-  (2.6ms) commit transaction
65
- ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
-  (1.5ms)  SELECT sql
62
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
63
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151204"]]
64
+  (2.7ms) commit transaction
65
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+  (1.7ms)  SELECT sql
67
67
  FROM sqlite_master
68
68
  WHERE name='index_users_on_reset_password_token' AND type='index'
69
69
  UNION ALL
@@ -71,7 +71,7 @@ Migrating to DeviseCreateUsers (20160224174647)
71
71
  FROM sqlite_temp_master
72
72
  WHERE name='index_users_on_reset_password_token' AND type='index'
73
73
  
74
-  (1.2ms) SELECT sql
74
+  (1.3ms) SELECT sql
75
75
  FROM sqlite_master
76
76
  WHERE name='index_users_on_email' AND type='index'
77
77
  UNION ALL
@@ -79,27 +79,27 @@ Migrating to DeviseCreateUsers (20160224174647)
79
79
  FROM sqlite_temp_master
80
80
  WHERE name='index_users_on_email' AND type='index'
81
81
 
82
- ActiveRecord::SchemaMigration Load (4.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
- Migrating to CreateSearches (20160224174738)
84
-  (0.2ms) begin transaction
85
-  (8.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) 
86
-  (0.2ms) select sqlite_version(*)
87
-  (2.5ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
88
- SQL (2.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224174738"]]
89
-  (15.9ms) commit transaction
90
- Migrating to CreateBookmarks (20160224174739)
82
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
+ Migrating to CreateSearches (20160304151247)
84
+  (0.1ms) begin transaction
85
+  (4.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.3ms) select sqlite_version(*)
87
+  (1.1ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
88
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151247"]]
89
+  (2.9ms) commit transaction
90
+ Migrating to CreateBookmarks (20160304151248)
91
91
   (0.1ms) begin transaction
92
-  (6.6ms) 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 (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224174739"]]
94
-  (3.0ms) commit transaction
95
- Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
92
+  (3.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) 
93
+ SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151248"]]
94
+  (1.9ms) commit transaction
95
+ Migrating to AddPolymorphicTypeToBookmarks (20160304151249)
96
96
   (0.1ms) begin transaction
97
-  (10.9ms) ALTER TABLE "bookmarks" ADD "document_type" varchar(255)
98
-  (2.8ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
99
- SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224174740"]]
100
-  (12.8ms) commit transaction
101
- ActiveRecord::SchemaMigration Load (5.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
102
-  (2.2ms) SELECT sql
97
+  (3.3ms) ALTER TABLE "bookmarks" ADD "document_type" varchar(255)
98
+  (0.2ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
99
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151249"]]
100
+  (2.9ms) commit transaction
101
+ ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
102
+  (1.8ms) SELECT sql
103
103
  FROM sqlite_master
104
104
  WHERE name='index_bookmarks_on_user_id' AND type='index'
105
105
  UNION ALL
@@ -107,7 +107,7 @@ Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
107
107
  FROM sqlite_temp_master
108
108
  WHERE name='index_bookmarks_on_user_id' AND type='index'
109
109
 
110
-  (1.7ms)  SELECT sql
110
+  (2.1ms)  SELECT sql
111
111
  FROM sqlite_master
112
112
  WHERE name='index_searches_on_user_id' AND type='index'
113
113
  UNION ALL
@@ -115,7 +115,7 @@ Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
115
115
  FROM sqlite_temp_master
116
116
  WHERE name='index_searches_on_user_id' AND type='index'
117
117
  
118
-  (1.7ms) SELECT sql
118
+  (0.9ms) SELECT sql
119
119
  FROM sqlite_master
120
120
  WHERE name='index_users_on_reset_password_token' AND type='index'
121
121
  UNION ALL
@@ -123,7 +123,7 @@ Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
123
123
  FROM sqlite_temp_master
124
124
  WHERE name='index_users_on_reset_password_token' AND type='index'
125
125
 
126
-  (2.9ms)  SELECT sql
126
+  (1.6ms)  SELECT sql
127
127
  FROM sqlite_master
128
128
  WHERE name='index_users_on_email' AND type='index'
129
129
  UNION ALL
@@ -131,18 +131,18 @@ Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
131
131
  FROM sqlite_temp_master
132
132
  WHERE name='index_users_on_email' AND type='index'
133
133
  
134
-  (9.2ms) 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
+  (4.8ms) 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))
135
135
   (0.1ms) select sqlite_version(*)
136
-  (8.2ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
137
-  (7.8ms) 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
-  (10.2ms) 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
-  (8.2ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime) 
140
-  (9.1ms) 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
-  (11.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
-  (5.9ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
143
-  (8.0ms) 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
-  (12.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
145
-  (6.3ms)  SELECT sql
136
+  (3.6ms) CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
137
+  (3.9ms) 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
+  (3.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
+  (3.7ms) CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime) 
140
+  (3.3ms) 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
+  (5.1ms) 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
+  (4.4ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
143
+  (5.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) 
144
+  (4.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
145
+  (0.8ms)  SELECT sql
146
146
  FROM sqlite_master
147
147
  WHERE name='index_users_on_email' AND type='index'
148
148
  UNION ALL
@@ -150,18 +150,18 @@ Migrating to AddPolymorphicTypeToBookmarks (20160224174740)
150
150
  FROM sqlite_temp_master
151
151
  WHERE name='index_users_on_email' AND type='index'
152
152
  
153
-  (12.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
154
-  (8.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
155
-  (9.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156
-  (2.8ms) SELECT version FROM "schema_migrations"
157
-  (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160224174740')
158
-  (8.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160224174647')
159
-  (9.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160224174738')
160
-  (6.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160224174739')
161
-  (7.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200614')
162
-  (7.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200643')
163
-  (7.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141212220924')
164
-  (7.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150106164218')
165
-  (9.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150309160112')
166
-  (8.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310190054')
167
-  (7.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150328035550')
153
+  (5.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
154
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
155
+  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156
+  (1.2ms) SELECT version FROM "schema_migrations"
157
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160304151249')
158
+  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160304151204')
159
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160304151247')
160
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160304151248')
161
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200614')
162
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141113200643')
163
+  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141212220924')
164
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150106164218')
165
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150309160112')
166
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310190054')
167
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150328035550')