• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uclibs / ucrate / e7f74b81-9988-4392-8c4b-8166a67e996f

21 Oct 2025 07:00PM UTC coverage: 61.15% (+1.8%) from 59.35%
e7f74b81-9988-4392-8c4b-8166a67e996f

push

circleci

web-flow
Squash merge: Removes deprecated daemon and logging switches for Sidekiq 6+

Squash merge for PR #1172: Removes the daemon and logging switch from Sidekiq 6+

2287 of 3740 relevant lines covered (61.15%)

106.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.45
/app/controllers/application_controller.rb
1
# frozen_string_literal: true
2

3
require 'hyrax/search_state'
2✔
4

5
class ApplicationController < ActionController::Base
2✔
6
  helper Openseadragon::OpenseadragonHelper
2✔
7
  # Adds a few additional behaviors into the application controller
8
  include Blacklight::Controller
2✔
9
  skip_after_action :discard_flash_if_xhr
2✔
10
  include Hydra::Controller::ControllerBehavior
2✔
11

12
  # Adds Hyrax behaviors into the application controller
13
  include Hyrax::Controller
2✔
14
  include Hyrax::ThemedLayoutController
2✔
15
  with_themed_layout '1_column'
2✔
16
  protect_from_forgery with: :exception
2✔
17

18
  private
2✔
19

20
  # override devise helper and route to CC.new when parameter is set
21
  def after_sign_in_path_for(resource)
2✔
22
    cookies[:login_type] = {
3✔
23
      value: "local",
24
      secure: Rails.env.production?
25
    }
26
    if !resource.waived_welcome_page
3✔
27
      Rails.application.routes.url_helpers.welcome_page_index_path
3✔
28
    else
29
      Rails.application.routes.url_helpers.new_classify_concern_path
×
30
    end
31
  end
32

33
  def after_sign_out_path_for(_resource_or_scope)
2✔
34
    if cookies[:login_type] == "shibboleth"
2✔
35
      "/Shibboleth.sso/Logout?return=https%3A%2F%2F" + ENV['SCHOLAR_SHIBBOLETH_LOGOUT']
1✔
36
    else
37
      root_path
1✔
38
    end
39
  end
40

41
  def auth_shib_user!
2✔
42
    redirect_to login_path unless user_signed_in?
10✔
43
  end
44
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc