krikri 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/krikri/enrichments/dcmi_type_map.rb +1 -0
- data/lib/krikri/version.rb +1 -1
- metadata +52 -627
- data/spec/internal/Gemfile +0 -44
- data/spec/internal/Gemfile.lock +0 -427
- data/spec/internal/README.rdoc +0 -28
- data/spec/internal/Rakefile +0 -6
- data/spec/internal/app/assets/javascripts/application.js +0 -19
- data/spec/internal/app/assets/javascripts/blacklight_gallery.js +0 -1
- data/spec/internal/app/assets/javascripts/openseadragon.js +0 -2
- data/spec/internal/app/assets/stylesheets/application.css +0 -15
- data/spec/internal/app/assets/stylesheets/blacklight.css.scss +0 -5
- data/spec/internal/app/assets/stylesheets/blacklight_gallery.css.scss +0 -3
- data/spec/internal/app/assets/stylesheets/openseadragon.css +0 -3
- data/spec/internal/app/controllers/application_controller.rb +0 -13
- data/spec/internal/app/controllers/catalog_controller.rb +0 -7
- data/spec/internal/app/helpers/application_helper.rb +0 -2
- data/spec/internal/app/models/solr_document.rb +0 -23
- data/spec/internal/app/models/user.rb +0 -10
- data/spec/internal/app/views/layouts/application.html.erb +0 -14
- data/spec/internal/bin/bundle +0 -3
- data/spec/internal/bin/rails +0 -4
- data/spec/internal/bin/rake +0 -4
- data/spec/internal/config.ru +0 -4
- data/spec/internal/config/application.rb +0 -23
- data/spec/internal/config/boot.rb +0 -4
- data/spec/internal/config/database.yml +0 -25
- data/spec/internal/config/environment.rb +0 -5
- data/spec/internal/config/environments/development.rb +0 -37
- data/spec/internal/config/environments/production.rb +0 -78
- data/spec/internal/config/environments/test.rb +0 -39
- data/spec/internal/config/initializers/assets.rb +0 -8
- data/spec/internal/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/internal/config/initializers/blacklight_initializer.rb +0 -7
- data/spec/internal/config/initializers/cookies_serializer.rb +0 -3
- data/spec/internal/config/initializers/devise.rb +0 -259
- data/spec/internal/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/internal/config/initializers/inflections.rb +0 -16
- data/spec/internal/config/initializers/mime_types.rb +0 -4
- data/spec/internal/config/initializers/session_store.rb +0 -3
- data/spec/internal/config/initializers/wrap_parameters.rb +0 -14
- data/spec/internal/config/jetty.yml +0 -7
- data/spec/internal/config/locales/blacklight.en.yml +0 -3
- data/spec/internal/config/locales/devise.en.yml +0 -60
- data/spec/internal/config/locales/en.yml +0 -23
- data/spec/internal/config/routes.rb +0 -60
- data/spec/internal/config/secrets.yml +0 -22
- data/spec/internal/config/solr.yml +0 -18
- data/spec/internal/db/development.sqlite3 +0 -0
- data/spec/internal/db/migrate/20160824151218_devise_create_users.rb +0 -42
- data/spec/internal/db/migrate/20160824151247_create_searches.blacklight.rb +0 -19
- data/spec/internal/db/migrate/20160824151248_create_bookmarks.blacklight.rb +0 -18
- data/spec/internal/db/migrate/20160824151249_add_polymorphic_type_to_bookmarks.blacklight.rb +0 -9
- data/spec/internal/db/schema.rb +0 -92
- data/spec/internal/db/seeds.rb +0 -7
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/lib/generators/test_app_generator.rb +0 -14
- data/spec/internal/log/development.log +0 -2177
- data/spec/internal/public/404.html +0 -67
- data/spec/internal/public/422.html +0 -67
- data/spec/internal/public/500.html +0 -66
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/internal/public/robots.txt +0 -5
- data/spec/internal/solr_conf/schema.xml +0 -729
- data/spec/internal/solr_conf/solrconfig.xml +0 -160
- data/spec/internal/test/factories/users.rb +0 -6
- data/spec/internal/test/models/user_test.rb +0 -7
- data/spec/internal/test/test_helper.rb +0 -10
- data/spec/internal/tmp/cache/318/301/krikri%2Fapplication_helper%2Favailable_providers +0 -3
- data/spec/internal/tmp/cache/assets/development/sass/0baf80e7841fa8d70d3005860d576e8259ea5596/_bootstrap-sprockets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/0baf80e7841fa8d70d3005860d576e8259ea5596/_bootstrap.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_background-variant.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_border-radius.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_center-block.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_clearfix.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_gradients.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_grid-framework.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_hide-text.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_image.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_nav-divider.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_nav-vertical-align.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_opacity.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_progress-bar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_reset-filter.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_resize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_responsive-visibility.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_size.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_tab-focus.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_table-row.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_text-emphasis.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_text-overflow.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/117b44281661ce6e61510ef9556ab78cb63712cd/_vendor-prefixes.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_badges.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_breadcrumbs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_button-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_carousel.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_close.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_code.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_component-animations.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_dropdowns.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_glyphicons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_input-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_jumbotron.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_media.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_mixins.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_modals.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_navbar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_navs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_normalize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_pager.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_popovers.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_print.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_progress-bars.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_responsive-embed.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_responsive-utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_scaffolding.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_tables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_thumbnails.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_tooltip.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_type.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_variables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2645018cd0a8a68bd2605dd51271b74dbee2396b/_wells.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2b9b2c67a86155d989bb658dc8f57af57a7b6794/_gallery.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2b9b2c67a86155d989bb658dc8f57af57a7b6794/_masonry.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2b9b2c67a86155d989bb658dc8f57af57a7b6794/_osd_viewer.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2b9b2c67a86155d989bb658dc8f57af57a7b6794/_slideshow.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/2b9b2c67a86155d989bb658dc8f57af57a7b6794/default.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/ab4e27dd4a27ebc533fa637af77660bea1a9dd4c/blacklight.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/ab4e27dd4a27ebc533fa637af77660bea1a9dd4c/blacklight_gallery.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_blacklight_base.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_bookmark.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_catalog.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_facets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_header.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_layout.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_modal.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/_search_history.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/blacklight.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sass/f906ef45ab3865a01ba555c88f41c20b2ca53098/blacklight_defaults.scssc +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/021b6fac8966fb697f4b2f94d7734e46 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/04ece4e403aa0d7a96a497f66cc37d6e +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/0b7be6556e9bbd6ebd1087c68ae3f5e1 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/0d4a8a48216c23366842df209015ad62 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/0fc0dc453efeacf2f9c3eb2c2acbc842 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/131d4af7c819f3c40e2e488d97eb390e +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/17ad8e203cfaa063599faa1eda4649de +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/1bbaab720f8087a0a2677e18288dff70 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/1d0e1a65d88225a3fafe103354e18376 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/21c9f77043eb0f3cdcff9d57ded15b86 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/22749ae5eff3071ed71c3593d730f927 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2538c572fefbc28be37add6d292b9424 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/27bd53c7673ab6ac19dcdb122f852089 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/27e47f698aa63f8d5d8ef57e10f775e5 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2ab3e413741542feb50d25142b8ff8e7 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2dbfa074d56d5bc029d0ad87f55be85f +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2e20aa46ac93cf4d45953010aaba4792 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2e4d2888da89a9f67989789f8d6933ea +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/31e9e50482ea3fedb0f140b9938dad2a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/3332887bbb57e26710c1b04e2e944c62 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/3769650c304cb6051ec1e27f58911813 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/390461080ad354c30161d88d711a3b85 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/397d6c13a876afb66283c356415b12fb +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/3b50b9a90283e783bd70b30a8a6f94b1 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/3fbe7e0bb0ca40849b4724092e0ed9d4 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/40c1e3671fb1de30b3f1d14e3aa31952 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/41f64115e67f20f780d5cdd53195d0e2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/43c6f97e772875c174ef7d8df46047b5 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/45cd2d89b1e87e8024527b0c864fdacb +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/460cea7c0671128630bd61ce353e7fb6 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/465cbe705d87f62530a79e0d83538d41 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/487d257e684652d0f8bf4504a45a93a7 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/4e25ed5807495da978f35a60839942bf +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/4e389b948dec2c2f09875cc17bd0699d +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/4f3c16257cc438b002918e00b9c61580 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/5171950d4e0cdee96c65b41f2525841a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/52944ee9b306eda0ead95ffa3e541902 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/541636f0c667324611d4b570090b27bd +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/544fd747ba7646cb86c38961a2c2672c +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/54f55d4aebd6a58962c4b3459a9b5ca1 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/56ac63d9cd7458b9e7f1f8661f9f13c7 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/57a2d8a6aa1a3cf58a0e283aea6b93ad +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/658d7e04f23aee7e21ae39f0204854f4 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/681b82d2af205883b655641b6ec8e319 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/6a2beb30e1653d6f3280b9a74510750c +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/6a7e62439dc314a3cf2922d9c560ceed +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/6b0f5222e06ce41571df5a62df03794f +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/6f885511de6798ff170a296c2f552698 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/713a8c150d2fb2313d831f79d49cd698 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/747f038c9c9d0e8fcb25dfb16cc5f840 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/74c71476ea5771f40188f6507a9dd0f2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/74cb5d42aec6843fc003585fad734d86 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/74f3e450ab3a14c028d3a34f29ecdf7a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/77f93fc33d2721bf2460c1d878b31663 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7825dbb7c2d6c1443a16eb74ce99e9ec +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/78356c54d5e8cbe16f5415f9ff38bf3a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/797bb49027b11868eb4ba2010ba1083f +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/79efb522babd25e8a0b2b51ac3304424 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7b2c2cbbcf85e8b6fe4c96ce6f8575e8 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7b6348685efd2e87b73c8db8303c6ab2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7b827d24fab94e1e5d221039eaf45506 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7bdc6410c6fd8ebef36b375cdeedef54 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7e54db76e578deda77c008b9a380d8b1 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/7f1edfda61db19f811c87b7f891b4310 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8411474b7fa939a14d7016cc44dd840e +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/85039b5b7bf046e0e6fe814afd131d04 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/86e048ea041f848e135d8d192e1d6b5f +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/88ac23cb21a6625ef98c905ebf3bae36 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8b35da36674462dff0c4d949732d185b +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8bbf3ab2bdbbc3db40063f92b2cff070 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8cba80ae236bf2054e19aca398470236 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8cf2884ebca25b696e3dc6265abdcfd7 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8e0ca053eb016d2ad1c8ceb7977d7126 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8f1feb9bfc885455c4a37935de44e94a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8f90b18d0ef597599cac23d6dbca4727 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/8fcc400d7d52c16311528f50b435944a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/9249abf1523a3ba13f3edc9bea667134 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/94a4402c6997e9c45deef27afe409309 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/968ae3d1fdbe693d65b2bb98b2addd38 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/9df51ad8a71251b5fb4935116bd21b49 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/9e329caa6cbf32091dd7c7241b094600 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/9e684037f9fd02f53a4a7078e93f457b +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/9f7323287be1cfac5ee568f496c80324 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a0c35895c526b4a7bec46d5e2f5e90f9 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a312eba1b1ee70771cd68a971c7db8f5 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a428f23a835a647a557cde31d424f12f +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a4bcc1045972e1ee5438cfce15d6ed93 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a58252b7e2054ea47abc25f0a09d58e7 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a5d4d7408ea60bcf083c32efa39ac005 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/a6c3ccc97b2fc285d2601da340660121 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ac84a347c96ef6211c87684d7c50e27b +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/acc01c4240701bca8f89017fcf6b0455 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/adc85480d703b48401823b070314f4a5 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b050779e3ec00bb5efa98ae4099f61fb +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b0c4874f628b857e9d419c7b919577c6 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b4dfe3a7c94dd629c962e6d96f47634c +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b693e95f1451e3827800127bfbca1b01 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b8004056dd1b2203790d542d631d6d47 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b89461ef450cbd9ee6c695fecb44fcc8 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/b93be5bcd6290f458b3dbd28227f2b04 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ba5ef460002b95d8e6f475387039fa2e +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ba78a2552e8d9e53b980328e3b885cb2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/bbe56b1188e940f75968817b6ee5f328 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/bede14533a14b68c66b0e11d1480d74a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/beece62b30d7136fa230d0b1d9996d10 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/c1bb841270448425a11db861d5808ed5 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/c6f225f5b6a7788e9933dedeeef4935e +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/cca88b6cffd703c601179ec635a24597 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ccc4561adc81c747fd4a6509fb18f3ef +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/cf930327d3fe3d82bbfb06b3c688be27 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/d1fc16d005b311853c6f097457528199 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/d26c008d41750ad1d89b6064cf840e53 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/d4d53250354066b67143ba478f4615e2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/de9583fa0ff63def267c5cb7081b71c2 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/df2e36893200f6875c038f938263dd4d +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/e41e308d6d1c582fae37657f07af3ab8 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/e5f6b0ceb67af85003c35f6eb585b859 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/e7f9bdf34e11da2443f1cda6c4704093 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ea3e30a2de02cff5716d172b95843675 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ea7e1f9fa038ee05c0cb3d261783f180 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ebbb41c9727a554e2b2f607c400a116a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/ebf6842f7ebcbce4c49c61f61055bc03 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/f06f4b49b528cd713c67314be3bc9b6a +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/f101dc509cc7203e1607c51673843880 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/f117fb61e1061bd9eeb3ca46aeb4dd9b +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/internal/tmp/cache/assets/development/sprockets/f864b5261e403c93d733c93029ff234f +0 -0
@@ -1,259 +0,0 @@
|
|
1
|
-
# Use this hook to configure devise mailer, warden hooks and so forth.
|
2
|
-
# Many of these configuration options can be set straight in your model.
|
3
|
-
Devise.setup do |config|
|
4
|
-
# The secret key used by Devise. Devise uses this key to generate
|
5
|
-
# random tokens. Changing this key will render invalid all existing
|
6
|
-
# confirmation, reset password and unlock tokens in the database.
|
7
|
-
# config.secret_key = '78dc739a81d1e69fe2b53253ec8cf25eb85a864af2e1d7daf61cdb2498f44cd0aadacf09a53a75d48d912fc480ef95370ab5ef90248ea80f5816faec773a6265'
|
8
|
-
|
9
|
-
# ==> Mailer Configuration
|
10
|
-
# Configure the e-mail address which will be shown in Devise::Mailer,
|
11
|
-
# note that it will be overwritten if you use your own mailer class
|
12
|
-
# with default "from" parameter.
|
13
|
-
config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
|
14
|
-
|
15
|
-
# Configure the class responsible to send e-mails.
|
16
|
-
# config.mailer = 'Devise::Mailer'
|
17
|
-
|
18
|
-
# ==> ORM configuration
|
19
|
-
# Load and configure the ORM. Supports :active_record (default) and
|
20
|
-
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
21
|
-
# available as additional gems.
|
22
|
-
require 'devise/orm/active_record'
|
23
|
-
|
24
|
-
# ==> Configuration for any authentication mechanism
|
25
|
-
# Configure which keys are used when authenticating a user. The default is
|
26
|
-
# just :email. You can configure it to use [:username, :subdomain], so for
|
27
|
-
# authenticating a user, both parameters are required. Remember that those
|
28
|
-
# parameters are used only when authenticating and not when retrieving from
|
29
|
-
# session. If you need permissions, you should implement that in a before filter.
|
30
|
-
# You can also supply a hash where the value is a boolean determining whether
|
31
|
-
# or not authentication should be aborted when the value is not present.
|
32
|
-
# config.authentication_keys = [ :email ]
|
33
|
-
|
34
|
-
# Configure parameters from the request object used for authentication. Each entry
|
35
|
-
# given should be a request method and it will automatically be passed to the
|
36
|
-
# find_for_authentication method and considered in your model lookup. For instance,
|
37
|
-
# if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
|
38
|
-
# The same considerations mentioned for authentication_keys also apply to request_keys.
|
39
|
-
# config.request_keys = []
|
40
|
-
|
41
|
-
# Configure which authentication keys should be case-insensitive.
|
42
|
-
# These keys will be downcased upon creating or modifying a user and when used
|
43
|
-
# to authenticate or find a user. Default is :email.
|
44
|
-
config.case_insensitive_keys = [ :email ]
|
45
|
-
|
46
|
-
# Configure which authentication keys should have whitespace stripped.
|
47
|
-
# These keys will have whitespace before and after removed upon creating or
|
48
|
-
# modifying a user and when used to authenticate or find a user. Default is :email.
|
49
|
-
config.strip_whitespace_keys = [ :email ]
|
50
|
-
|
51
|
-
# Tell if authentication through request.params is enabled. True by default.
|
52
|
-
# It can be set to an array that will enable params authentication only for the
|
53
|
-
# given strategies, for example, `config.params_authenticatable = [:database]` will
|
54
|
-
# enable it only for database (email + password) authentication.
|
55
|
-
# config.params_authenticatable = true
|
56
|
-
|
57
|
-
# Tell if authentication through HTTP Auth is enabled. False by default.
|
58
|
-
# It can be set to an array that will enable http authentication only for the
|
59
|
-
# given strategies, for example, `config.http_authenticatable = [:database]` will
|
60
|
-
# enable it only for database authentication. The supported strategies are:
|
61
|
-
# :database = Support basic authentication with authentication key + password
|
62
|
-
# config.http_authenticatable = false
|
63
|
-
|
64
|
-
# If 401 status code should be returned for AJAX requests. True by default.
|
65
|
-
# config.http_authenticatable_on_xhr = true
|
66
|
-
|
67
|
-
# The realm used in Http Basic Authentication. 'Application' by default.
|
68
|
-
# config.http_authentication_realm = 'Application'
|
69
|
-
|
70
|
-
# It will change confirmation, password recovery and other workflows
|
71
|
-
# to behave the same regardless if the e-mail provided was right or wrong.
|
72
|
-
# Does not affect registerable.
|
73
|
-
# config.paranoid = true
|
74
|
-
|
75
|
-
# By default Devise will store the user in session. You can skip storage for
|
76
|
-
# particular strategies by setting this option.
|
77
|
-
# Notice that if you are skipping storage for all authentication paths, you
|
78
|
-
# may want to disable generating routes to Devise's sessions controller by
|
79
|
-
# passing skip: :sessions to `devise_for` in your config/routes.rb
|
80
|
-
config.skip_session_storage = [:http_auth]
|
81
|
-
|
82
|
-
# By default, Devise cleans up the CSRF token on authentication to
|
83
|
-
# avoid CSRF token fixation attacks. This means that, when using AJAX
|
84
|
-
# requests for sign in and sign up, you need to get a new CSRF token
|
85
|
-
# from the server. You can disable this option at your own risk.
|
86
|
-
# config.clean_up_csrf_token_on_authentication = true
|
87
|
-
|
88
|
-
# ==> Configuration for :database_authenticatable
|
89
|
-
# For bcrypt, this is the cost for hashing the password and defaults to 10. If
|
90
|
-
# using other encryptors, it sets how many times you want the password re-encrypted.
|
91
|
-
#
|
92
|
-
# Limiting the stretches to just one in testing will increase the performance of
|
93
|
-
# your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
|
94
|
-
# a value less than 10 in other environments. Note that, for bcrypt (the default
|
95
|
-
# encryptor), the cost increases exponentially with the number of stretches (e.g.
|
96
|
-
# a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation).
|
97
|
-
config.stretches = Rails.env.test? ? 1 : 10
|
98
|
-
|
99
|
-
# Setup a pepper to generate the encrypted password.
|
100
|
-
# config.pepper = 'c3b8fcfacfcca529a118c49fa19c2666ccd9224a0b6a1f87c46c51bd27aba5c862154dd5e385c77b75e4e4260420bc81fdad8b48c48f58716d2c4332a67dcbc7'
|
101
|
-
|
102
|
-
# ==> Configuration for :confirmable
|
103
|
-
# A period that the user is allowed to access the website even without
|
104
|
-
# confirming their account. For instance, if set to 2.days, the user will be
|
105
|
-
# able to access the website for two days without confirming their account,
|
106
|
-
# access will be blocked just in the third day. Default is 0.days, meaning
|
107
|
-
# the user cannot access the website without confirming their account.
|
108
|
-
# config.allow_unconfirmed_access_for = 2.days
|
109
|
-
|
110
|
-
# A period that the user is allowed to confirm their account before their
|
111
|
-
# token becomes invalid. For example, if set to 3.days, the user can confirm
|
112
|
-
# their account within 3 days after the mail was sent, but on the fourth day
|
113
|
-
# their account can't be confirmed with the token any more.
|
114
|
-
# Default is nil, meaning there is no restriction on how long a user can take
|
115
|
-
# before confirming their account.
|
116
|
-
# config.confirm_within = 3.days
|
117
|
-
|
118
|
-
# If true, requires any email changes to be confirmed (exactly the same way as
|
119
|
-
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
120
|
-
# db field (see migrations). Until confirmed, new email is stored in
|
121
|
-
# unconfirmed_email column, and copied to email column on successful confirmation.
|
122
|
-
config.reconfirmable = true
|
123
|
-
|
124
|
-
# Defines which key will be used when confirming an account
|
125
|
-
# config.confirmation_keys = [ :email ]
|
126
|
-
|
127
|
-
# ==> Configuration for :rememberable
|
128
|
-
# The time the user will be remembered without asking for credentials again.
|
129
|
-
# config.remember_for = 2.weeks
|
130
|
-
|
131
|
-
# Invalidates all the remember me tokens when the user signs out.
|
132
|
-
config.expire_all_remember_me_on_sign_out = true
|
133
|
-
|
134
|
-
# If true, extends the user's remember period when remembered via cookie.
|
135
|
-
# config.extend_remember_period = false
|
136
|
-
|
137
|
-
# Options to be passed to the created cookie. For instance, you can set
|
138
|
-
# secure: true in order to force SSL only cookies.
|
139
|
-
# config.rememberable_options = {}
|
140
|
-
|
141
|
-
# ==> Configuration for :validatable
|
142
|
-
# Range for password length.
|
143
|
-
config.password_length = 8..128
|
144
|
-
|
145
|
-
# Email regex used to validate email formats. It simply asserts that
|
146
|
-
# one (and only one) @ exists in the given string. This is mainly
|
147
|
-
# to give user feedback and not to assert the e-mail validity.
|
148
|
-
# config.email_regexp = /\A[^@]+@[^@]+\z/
|
149
|
-
|
150
|
-
# ==> Configuration for :timeoutable
|
151
|
-
# The time you want to timeout the user session without activity. After this
|
152
|
-
# time the user will be asked for credentials again. Default is 30 minutes.
|
153
|
-
# config.timeout_in = 30.minutes
|
154
|
-
|
155
|
-
# If true, expires auth token on session timeout.
|
156
|
-
# config.expire_auth_token_on_timeout = false
|
157
|
-
|
158
|
-
# ==> Configuration for :lockable
|
159
|
-
# Defines which strategy will be used to lock an account.
|
160
|
-
# :failed_attempts = Locks an account after a number of failed attempts to sign in.
|
161
|
-
# :none = No lock strategy. You should handle locking by yourself.
|
162
|
-
# config.lock_strategy = :failed_attempts
|
163
|
-
|
164
|
-
# Defines which key will be used when locking and unlocking an account
|
165
|
-
# config.unlock_keys = [ :email ]
|
166
|
-
|
167
|
-
# Defines which strategy will be used to unlock an account.
|
168
|
-
# :email = Sends an unlock link to the user email
|
169
|
-
# :time = Re-enables login after a certain amount of time (see :unlock_in below)
|
170
|
-
# :both = Enables both strategies
|
171
|
-
# :none = No unlock strategy. You should handle unlocking by yourself.
|
172
|
-
# config.unlock_strategy = :both
|
173
|
-
|
174
|
-
# Number of authentication tries before locking an account if lock_strategy
|
175
|
-
# is failed attempts.
|
176
|
-
# config.maximum_attempts = 20
|
177
|
-
|
178
|
-
# Time interval to unlock the account if :time is enabled as unlock_strategy.
|
179
|
-
# config.unlock_in = 1.hour
|
180
|
-
|
181
|
-
# Warn on the last attempt before the account is locked.
|
182
|
-
# config.last_attempt_warning = true
|
183
|
-
|
184
|
-
# ==> Configuration for :recoverable
|
185
|
-
#
|
186
|
-
# Defines which key will be used when recovering the password for an account
|
187
|
-
# config.reset_password_keys = [ :email ]
|
188
|
-
|
189
|
-
# Time interval you can reset your password with a reset password key.
|
190
|
-
# Don't put a too small interval or your users won't have the time to
|
191
|
-
# change their passwords.
|
192
|
-
config.reset_password_within = 6.hours
|
193
|
-
|
194
|
-
# ==> Configuration for :encryptable
|
195
|
-
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
|
196
|
-
# :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
|
197
|
-
# :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
|
198
|
-
# and :restful_authentication_sha1 (then you should set stretches to 10, and copy
|
199
|
-
# REST_AUTH_SITE_KEY to pepper).
|
200
|
-
#
|
201
|
-
# Require the `devise-encryptable` gem when using anything other than bcrypt
|
202
|
-
# config.encryptor = :sha512
|
203
|
-
|
204
|
-
# ==> Scopes configuration
|
205
|
-
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
206
|
-
# "users/sessions/new". It's turned off by default because it's slower if you
|
207
|
-
# are using only default views.
|
208
|
-
# config.scoped_views = false
|
209
|
-
|
210
|
-
# Configure the default scope given to Warden. By default it's the first
|
211
|
-
# devise role declared in your routes (usually :user).
|
212
|
-
# config.default_scope = :user
|
213
|
-
|
214
|
-
# Set this configuration to false if you want /users/sign_out to sign out
|
215
|
-
# only the current scope. By default, Devise signs out all scopes.
|
216
|
-
# config.sign_out_all_scopes = true
|
217
|
-
|
218
|
-
# ==> Navigation configuration
|
219
|
-
# Lists the formats that should be treated as navigational. Formats like
|
220
|
-
# :html, should redirect to the sign in page when the user does not have
|
221
|
-
# access, but formats like :xml or :json, should return 401.
|
222
|
-
#
|
223
|
-
# If you have any extra navigational formats, like :iphone or :mobile, you
|
224
|
-
# should add them to the navigational formats lists.
|
225
|
-
#
|
226
|
-
# The "*/*" below is required to match Internet Explorer requests.
|
227
|
-
# config.navigational_formats = ['*/*', :html]
|
228
|
-
|
229
|
-
# The default HTTP method used to sign out a resource. Default is :delete.
|
230
|
-
config.sign_out_via = :delete
|
231
|
-
|
232
|
-
# ==> OmniAuth
|
233
|
-
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
234
|
-
# up on your models and hooks.
|
235
|
-
# config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'user,public_repo'
|
236
|
-
|
237
|
-
# ==> Warden configuration
|
238
|
-
# If you want to use other strategies, that are not supported by Devise, or
|
239
|
-
# change the failure app, you can configure them inside the config.warden block.
|
240
|
-
#
|
241
|
-
# config.warden do |manager|
|
242
|
-
# manager.intercept_401 = false
|
243
|
-
# manager.default_strategies(scope: :user).unshift :some_external_strategy
|
244
|
-
# end
|
245
|
-
|
246
|
-
# ==> Mountable engine configurations
|
247
|
-
# When using Devise inside an engine, let's call it `MyEngine`, and this engine
|
248
|
-
# is mountable, there are some extra configurations to be taken into account.
|
249
|
-
# The following options are available, assuming the engine is mounted as:
|
250
|
-
#
|
251
|
-
# mount MyEngine, at: '/my_engine'
|
252
|
-
#
|
253
|
-
# The router that invoked `devise_for`, in the example above, would be:
|
254
|
-
# config.router_name = :my_engine
|
255
|
-
#
|
256
|
-
# When using omniauth, Devise cannot automatically set Omniauth path,
|
257
|
-
# so you need to do it manually. For the users scope, it would be:
|
258
|
-
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
259
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format. Inflections
|
4
|
-
# are locale specific, and you may define rules for as many different
|
5
|
-
# locales as you wish. All of these examples are active by default:
|
6
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
# end
|
12
|
-
|
13
|
-
# These inflection rules are supported but not enabled by default:
|
14
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
-
# inflect.acronym 'RESTful'
|
16
|
-
# end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
-
# is enabled by default.
|
5
|
-
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
-
end
|
10
|
-
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
13
|
-
# self.include_root_in_json = true
|
14
|
-
# end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
-
|
3
|
-
en:
|
4
|
-
devise:
|
5
|
-
confirmations:
|
6
|
-
confirmed: "Your email address has been successfully confirmed."
|
7
|
-
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
9
|
-
failure:
|
10
|
-
already_authenticated: "You are already signed in."
|
11
|
-
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid %{authentication_keys} or password."
|
13
|
-
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account is locked."
|
15
|
-
not_found_in_database: "Invalid %{authentication_keys} or password."
|
16
|
-
timeout: "Your session expired. Please sign in again to continue."
|
17
|
-
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your email address before continuing."
|
19
|
-
mailer:
|
20
|
-
confirmation_instructions:
|
21
|
-
subject: "Confirmation instructions"
|
22
|
-
reset_password_instructions:
|
23
|
-
subject: "Reset password instructions"
|
24
|
-
unlock_instructions:
|
25
|
-
subject: "Unlock instructions"
|
26
|
-
omniauth_callbacks:
|
27
|
-
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
28
|
-
success: "Successfully authenticated from %{kind} account."
|
29
|
-
passwords:
|
30
|
-
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
|
-
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
32
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
-
updated: "Your password has been changed successfully. You are now signed in."
|
34
|
-
updated_not_active: "Your password has been changed successfully."
|
35
|
-
registrations:
|
36
|
-
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
37
|
-
signed_up: "Welcome! You have signed up successfully."
|
38
|
-
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
|
-
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
41
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
42
|
-
updated: "Your account has been updated successfully."
|
43
|
-
sessions:
|
44
|
-
signed_in: "Signed in successfully."
|
45
|
-
signed_out: "Signed out successfully."
|
46
|
-
already_signed_out: "Signed out successfully."
|
47
|
-
unlocks:
|
48
|
-
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
49
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
50
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
51
|
-
errors:
|
52
|
-
messages:
|
53
|
-
already_confirmed: "was already confirmed, please try signing in"
|
54
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
55
|
-
expired: "has expired, please request a new one"
|
56
|
-
not_found: "not found"
|
57
|
-
not_locked: "was not locked"
|
58
|
-
not_saved:
|
59
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
60
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than English, add the necessary files in this directory.
|
4
|
-
#
|
5
|
-
# To use the locales, use `I18n.t`:
|
6
|
-
#
|
7
|
-
# I18n.t 'hello'
|
8
|
-
#
|
9
|
-
# In views, this is aliased to just `t`:
|
10
|
-
#
|
11
|
-
# <%= t('hello') %>
|
12
|
-
#
|
13
|
-
# To use a different locale, set it with `I18n.locale`:
|
14
|
-
#
|
15
|
-
# I18n.locale = :es
|
16
|
-
#
|
17
|
-
# This would use the information in config/locales/es.yml.
|
18
|
-
#
|
19
|
-
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
|
-
en:
|
23
|
-
hello: "Hello world"
|
@@ -1,60 +0,0 @@
|
|
1
|
-
Rails.application.routes.draw do
|
2
|
-
mount Krikri::Engine => '/krikri'
|
3
|
-
root :to => "catalog#index"
|
4
|
-
blacklight_for :catalog
|
5
|
-
devise_for :users
|
6
|
-
# The priority is based upon order of creation: first created -> highest priority.
|
7
|
-
# See how all your routes lay out with "rake routes".
|
8
|
-
|
9
|
-
# You can have the root of your site routed with "root"
|
10
|
-
# root 'welcome#index'
|
11
|
-
|
12
|
-
# Example of regular route:
|
13
|
-
# get 'products/:id' => 'catalog#view'
|
14
|
-
|
15
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
16
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
17
|
-
|
18
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
19
|
-
# resources :products
|
20
|
-
|
21
|
-
# Example resource route with options:
|
22
|
-
# resources :products do
|
23
|
-
# member do
|
24
|
-
# get 'short'
|
25
|
-
# post 'toggle'
|
26
|
-
# end
|
27
|
-
#
|
28
|
-
# collection do
|
29
|
-
# get 'sold'
|
30
|
-
# end
|
31
|
-
# end
|
32
|
-
|
33
|
-
# Example resource route with sub-resources:
|
34
|
-
# resources :products do
|
35
|
-
# resources :comments, :sales
|
36
|
-
# resource :seller
|
37
|
-
# end
|
38
|
-
|
39
|
-
# Example resource route with more complex sub-resources:
|
40
|
-
# resources :products do
|
41
|
-
# resources :comments
|
42
|
-
# resources :sales do
|
43
|
-
# get 'recent', on: :collection
|
44
|
-
# end
|
45
|
-
# end
|
46
|
-
|
47
|
-
# Example resource route with concerns:
|
48
|
-
# concern :toggleable do
|
49
|
-
# post 'toggle'
|
50
|
-
# end
|
51
|
-
# resources :posts, concerns: :toggleable
|
52
|
-
# resources :photos, concerns: :toggleable
|
53
|
-
|
54
|
-
# Example resource route within a namespace:
|
55
|
-
# namespace :admin do
|
56
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
57
|
-
# # (app/controllers/admin/products_controller.rb)
|
58
|
-
# resources :products
|
59
|
-
# end
|
60
|
-
end
|