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.
- checksums.yaml +4 -4
- data/app/models/krikri/activity.rb +2 -2
- data/lib/krikri/enricher.rb +1 -8
- data/lib/krikri/harvester.rb +7 -8
- data/lib/krikri/mapper.rb +1 -8
- data/lib/krikri/software_agent.rb +13 -13
- data/lib/krikri/version.rb +1 -1
- data/spec/internal/Gemfile.lock +1 -1
- data/spec/internal/config/initializers/blacklight_initializer.rb +1 -1
- data/spec/internal/config/initializers/devise.rb +2 -2
- data/spec/internal/config/secrets.yml +2 -2
- data/spec/internal/db/development.sqlite3 +0 -0
- data/spec/internal/db/migrate/{20160224174647_devise_create_users.rb → 20160304151204_devise_create_users.rb} +0 -0
- data/spec/internal/db/migrate/{20160224174738_create_searches.blacklight.rb → 20160304151247_create_searches.blacklight.rb} +0 -0
- data/spec/internal/db/migrate/{20160224174739_create_bookmarks.blacklight.rb → 20160304151248_create_bookmarks.blacklight.rb} +0 -0
- data/spec/internal/db/migrate/{20160224174740_add_polymorphic_type_to_bookmarks.blacklight.rb → 20160304151249_add_polymorphic_type_to_bookmarks.blacklight.rb} +0 -0
- data/spec/internal/db/schema.rb +1 -1
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/log/development.log +86 -86
- data/spec/internal/log/test.log +6193 -5968
- data/spec/lib/krikri/harvester_spec.rb +6 -0
- metadata +12 -310
- data/spec/internal/tmp/cache/318/301/krikri%2Fapplication_helper%2Favailable_providers +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/0f463fae8ec59cbdc602859dac6f3131b47588e5/blacklight.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_background-variant.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_border-radius.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_center-block.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_clearfix.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_gradients.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid-framework.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_hide-text.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_image.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-divider.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_nav-vertical-align.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_opacity.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_progress-bar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_reset-filter.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_resize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_responsive-visibility.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_size.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_tab-focus.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_table-row.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-emphasis.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_text-overflow.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/622890f0980fe8cd9e30bdaab5a7914245d2443e/_vendor-prefixes.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_blacklight_base.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_bookmark.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_catalog.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_facets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_header.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_layout.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_modal.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/_search_history.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/80ea3b25063dd984130d99a1c4278f3cd1b013f1/blacklight_defaults.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_badges.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_breadcrumbs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_button-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_carousel.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_close.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_code.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_component-animations.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_dropdowns.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_glyphicons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_input-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_jumbotron.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_media.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_mixins.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_modals.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navbar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_navs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_normalize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pager.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_popovers.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_print.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_progress-bars.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-embed.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_responsive-utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_scaffolding.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_thumbnails.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_tooltip.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_type.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_variables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/93f97edda53560c38d0d029e30e3b3a93212c1b8/_wells.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap-sprockets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/c50f52d2eeadabb7c9bfad3246524fac09113575/_bootstrap.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/0a25eb99290a6b015dfe4c29d8585cec +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/0a778a0a0f363d6d2431e921e19eead7 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/0b3eca32a0c1d368e88a01be94ca7f6b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/0fe9919db7899ede10068d0d9d3adfa8 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/1153a153512ddd535004623e0bbdc1c4 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/142790b68ce01969e4bbdd1d2a90b18c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/154af7ce6de6c616d3c1c654904a88de +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/1a6f0128e8b6cc52594e7e16506dd476 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/30183a6c313ab79c8ffc2711dc633ea5 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/3290971c05649c7d11051df70b2fefbb +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/35c0cb4e1848557e53960891cf2bbc4c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/3822d8965af2c63a9d8eb5be7d54a39e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/39191bda3ba14fb0d5671ef5320e9e01 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/3a1636e712ea5450451f140a1e11ad6b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/3af50e8108914b16e8005270444c23eb +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/43549442460e63625bfa01b300845db4 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/4ffa695d373f85c9375cfeef7a7fa7b0 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/55c96cfe875a998dd83f861cec024cd8 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5884f169a3cb492a556b12cf26d98512 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5b4c0893fb6462116b5c893ee5067a7a +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5ed91405d3e1d9c4d64964b23e2ddad5 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5ee4ec5587fe5e6b2489c6df8444c3a3 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/66bc87f66d912cc874b361b58b063232 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6a7000430a188e026e888de506892486 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6e51639f97de2a9999b40c947cc2cce4 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/70678ea30b446b6e43c58cb504a38c5e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/736b38c683d67eae78becf8bd03ccc03 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/74b2a1c32eb911fede6dbf691e2438fd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/769e239a980f02fb5f0d31f2e47661b6 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/7ed2a89adfb413f382b9844cb60e004f +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/843672eb02d8b4596eb8f05b0285812f +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/86aa4bb34763ef2ec398ce2948064feb +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/8826cc9e62d566dcd6557e4ce53c0c9e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/8e0a985f6d848652e6e2b69502089957 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/8e24ef751a813d86a3a2953ce9f31b1b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/92440cff8e26faca6421a88212bf5cc5 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/9aa82f96c9760fb5b052b29dfead27ee +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/9e3583b4a24bbae71c81cc89b31cf681 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/addcc05c958d32994bbcc4df6b13c80a +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b02b8a41fe5c3dfa491d8bb0d95d6e2d +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b6fcc8843d7d36abc9183de7f3c09fdd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b783bb7bbb5960da9c2720974804b177 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/c94aa024045ec61aa3ce4de5c0ca7515 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d04cedd870a36cb0ac8ad65bf032c556 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d0ae540226d860c35ce84f64c67f40bb +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d0d4fb263d72afa8341801f74e58939e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d54a9568f2db6442d0be17210a6d683e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d89eec758f13f7959ed8796e9b52469c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/da16a797f7553f717a002525bea10cbf +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/da4e9efddf7d52d8de0c75b2f3ad571e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/dec30531a16449cd84734053a70b3a77 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f429314ed6a6b2b42d3141578c4ec023 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f5e21f9266ec8eafa27c52d109a9a498 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f642847460097a56a55c8716c4d7a072 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f69f1290f72a81d63fb93e81ff44f8a1 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f8e9e8fcc081081c00dd69903ebcf709 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f8fd1a8d086eb31f0df8de2ac3ab4517 +0 -0
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ac6156f3d3dfd9164e4598d0b236bff739885ed
|
4
|
+
data.tar.gz: 437640a56aa024e4bcb4b58a58a70e02d3f8edb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
137
|
+
agent.constantize.entity_behavior.entities(self, *args)
|
138
138
|
end
|
139
139
|
end
|
140
140
|
end
|
data/lib/krikri/enricher.rb
CHANGED
@@ -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
|
|
data/lib/krikri/harvester.rb
CHANGED
@@ -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
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
|
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
|
data/lib/krikri/version.rb
CHANGED
data/spec/internal/Gemfile.lock
CHANGED
@@ -3,5 +3,5 @@
|
|
3
3
|
# will use the application's secret key base instead.
|
4
4
|
#
|
5
5
|
|
6
|
-
# Blacklight.secret_key = '
|
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 = '
|
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 = '
|
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:
|
14
|
+
secret_key_base: 54220d04d57b5dcc6dd2eadc805455695bda1ca0ed39225d5bf33b640fa983eeec53bb3e734a9af4b2c67dbae35033203ddb1e2a95851af90a0a6d66a34aa33c
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/internal/db/schema.rb
CHANGED
@@ -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:
|
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
|
-
[1m[36m (
|
1
|
+
[1m[36m (6.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
2
|
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.
|
3
|
+
[1m[36m (4.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
5
|
Migrating to CreateKrikriInstitutions (20141113200614)
|
6
6
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (
|
9
|
-
[1m[35m (2.
|
7
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141113200614"]]
|
9
|
+
[1m[35m (2.6ms)[0m commit transaction
|
10
10
|
Migrating to CreateKrikriHarvestSources (20141113200643)
|
11
11
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (2.
|
13
|
-
[1m[36mSQL (
|
14
|
-
[1m[35m (2.
|
12
|
+
[1m[35m (2.6ms)[0m 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
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141113200643"]]
|
14
|
+
[1m[35m (2.5ms)[0m commit transaction
|
15
15
|
Migrating to CreateKrikriActivities (20141212220924)
|
16
|
-
[1m[36m (0.
|
17
|
-
[1m[35m (
|
18
|
-
[1m[36mSQL (0.
|
19
|
-
[1m[35m (2.
|
16
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (3.3ms)[0m 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
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141212220924"]]
|
19
|
+
[1m[35m (2.2ms)[0m commit transaction
|
20
20
|
Migrating to AddOptsToKrikriHarvestSources (20150106164218)
|
21
21
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (
|
22
|
+
[1m[35m (3.3ms)[0m ALTER TABLE "krikri_harvest_sources" ADD "opts" text
|
23
23
|
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106164218"]]
|
24
|
-
[1m[35m (2.
|
24
|
+
[1m[35m (2.8ms)[0m commit transaction
|
25
25
|
Migrating to ChangeOptsInKrikriActivities (20150309160112)
|
26
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
27
|
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (1.
|
29
|
-
[1m[35m (2.
|
28
|
+
[1m[36m (1.4ms)[0m [1mSELECT * FROM "krikri_activities"[0m
|
29
|
+
[1m[35m (2.2ms)[0m DROP TABLE "krikri_activities"
|
30
30
|
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
31
31
|
[1m[35m (0.1ms)[0m SELECT * FROM "akrikri_activities"
|
32
32
|
[1m[36m (0.2ms)[0m [1mDROP TABLE "akrikri_activities"[0m
|
33
33
|
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150309160112"]]
|
34
|
-
[1m[36m (3.
|
34
|
+
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
35
35
|
Migrating to RemoveOptsLimitInKrikriActivities (20150310190054)
|
36
|
-
[1m[35m (0.
|
37
|
-
[1m[36m (0.
|
38
|
-
[1m[35m (1.
|
39
|
-
[1m[36m (2.
|
40
|
-
[1m[35m (0.
|
36
|
+
[1m[35m (0.4ms)[0m begin transaction
|
37
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
38
|
+
[1m[35m (1.5ms)[0m SELECT * FROM "krikri_activities"
|
39
|
+
[1m[36m (2.4ms)[0m [1mDROP TABLE "krikri_activities"[0m
|
40
|
+
[1m[35m (0.1ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mSELECT * FROM "akrikri_activities"[0m
|
42
42
|
[1m[35m (0.1ms)[0m DROP TABLE "akrikri_activities"
|
43
|
-
[1m[36mSQL (0.
|
44
|
-
[1m[35m (2.
|
43
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150310190054"]]
|
44
|
+
[1m[35m (2.6ms)[0m commit transaction
|
45
45
|
Migrating to AddQaReport (20150328035550)
|
46
46
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47
|
-
[1m[35m (
|
48
|
-
[1m[36mSQL (
|
49
|
-
[1m[35m (2.
|
50
|
-
Migrating to DeviseCreateUsers (
|
51
|
-
[1m[36m (0.
|
52
|
-
[1m[35m (
|
47
|
+
[1m[35m (2.5ms)[0m 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
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150328035550"]]
|
49
|
+
[1m[35m (2.3ms)[0m commit transaction
|
50
|
+
Migrating to DeviseCreateUsers (20160304151204)
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35m (3.6ms)[0m 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
|
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
54
|
-
[1m[35m (0.
|
54
|
+
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.
|
63
|
-
[1m[35mSQL (
|
64
|
-
[1m[36m (2.
|
65
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.
|
66
|
-
[1m[36m (1.
|
62
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
63
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151204"]]
|
64
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
65
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
66
|
+
[1m[36m (1.7ms)[0m [1m 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
|
[0m
|
74
|
-
[1m[35m (1.
|
74
|
+
[1m[35m (1.3ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (
|
83
|
-
Migrating to CreateSearches (
|
84
|
-
[1m[35m (0.
|
85
|
-
[1m[36m (
|
86
|
-
[1m[35m (0.
|
87
|
-
[1m[36m (
|
88
|
-
[1m[35mSQL (
|
89
|
-
[1m[36m (
|
90
|
-
Migrating to CreateBookmarks (
|
82
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
83
|
+
Migrating to CreateSearches (20160304151247)
|
84
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85
|
+
[1m[36m (4.4ms)[0m [1mCREATE 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) [0m
|
86
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
87
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")[0m
|
88
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151247"]]
|
89
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
90
|
+
Migrating to CreateBookmarks (20160304151248)
|
91
91
|
[1m[35m (0.1ms)[0m begin transaction
|
92
|
-
[1m[36m (
|
93
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "
|
94
|
-
[1m[36m (
|
95
|
-
Migrating to AddPolymorphicTypeToBookmarks (
|
92
|
+
[1m[36m (3.3ms)[0m [1mCREATE 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) [0m
|
93
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160304151248"]]
|
94
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
95
|
+
Migrating to AddPolymorphicTypeToBookmarks (20160304151249)
|
96
96
|
[1m[35m (0.1ms)[0m begin transaction
|
97
|
-
[1m[36m (
|
98
|
-
[1m[35m (
|
99
|
-
[1m[36mSQL (
|
100
|
-
[1m[35m (
|
101
|
-
[1m[36mActiveRecord::SchemaMigration Load (
|
102
|
-
[1m[35m (
|
97
|
+
[1m[36m (3.3ms)[0m [1mALTER TABLE "bookmarks" ADD "document_type" varchar(255)[0m
|
98
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
|
99
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160304151249"]]
|
100
|
+
[1m[35m (2.9ms)[0m commit transaction
|
101
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
102
|
+
[1m[35m (1.8ms)[0m 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
|
-
[1m[36m (
|
110
|
+
[1m[36m (2.1ms)[0m [1m 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
|
[0m
|
118
|
-
[1m[35m (
|
118
|
+
[1m[35m (0.9ms)[0m 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
|
-
[1m[36m (
|
126
|
+
[1m[36m (1.6ms)[0m [1m 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
|
[0m
|
134
|
-
[1m[35m (
|
134
|
+
[1m[35m (4.8ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
136
|
-
[1m[35m (
|
137
|
-
[1m[36m (
|
138
|
-
[1m[35m (
|
139
|
-
[1m[36m (
|
140
|
-
[1m[35m (
|
141
|
-
[1m[36m (
|
142
|
-
[1m[35m (
|
143
|
-
[1m[36m (
|
144
|
-
[1m[35m (
|
145
|
-
[1m[36m (
|
136
|
+
[1m[35m (3.6ms)[0m CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")
|
137
|
+
[1m[36m (3.9ms)[0m [1mCREATE 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) [0m
|
138
|
+
[1m[35m (3.9ms)[0m 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
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "krikri_institutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
140
|
+
[1m[35m (3.3ms)[0m 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
|
+
[1m[36m (5.1ms)[0m [1mCREATE 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) [0m
|
142
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
|
143
|
+
[1m[36m (5.4ms)[0m [1mCREATE 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) [0m
|
144
|
+
[1m[35m (4.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
145
|
+
[1m[36m (0.8ms)[0m [1m 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
|
[0m
|
153
|
-
[1m[35m (
|
154
|
-
[1m[36m (
|
155
|
-
[1m[35m (
|
156
|
-
[1m[36m (
|
157
|
-
[1m[35m (
|
158
|
-
[1m[36m (
|
159
|
-
[1m[35m (
|
160
|
-
[1m[36m (
|
161
|
-
[1m[35m (
|
162
|
-
[1m[36m (
|
163
|
-
[1m[35m (
|
164
|
-
[1m[36m (
|
165
|
-
[1m[35m (
|
166
|
-
[1m[36m (
|
167
|
-
[1m[35m (
|
153
|
+
[1m[35m (5.3ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
154
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
155
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
156
|
+
[1m[36m (1.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
157
|
+
[1m[35m (4.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160304151249')
|
158
|
+
[1m[36m (5.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160304151204')[0m
|
159
|
+
[1m[35m (4.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160304151247')
|
160
|
+
[1m[36m (4.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160304151248')[0m
|
161
|
+
[1m[35m (4.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141113200614')
|
162
|
+
[1m[36m (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141113200643')[0m
|
163
|
+
[1m[35m (3.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141212220924')
|
164
|
+
[1m[36m (3.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150106164218')[0m
|
165
|
+
[1m[35m (4.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150309160112')
|
166
|
+
[1m[36m (3.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150310190054')[0m
|
167
|
+
[1m[35m (4.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150328035550')
|