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

pulibrary / bibdata / b3c4a532-5da0-46f8-9c20-20018605a028

21 Mar 2025 08:11PM UTC coverage: 42.257% (-49.9%) from 92.185%
b3c4a532-5da0-46f8-9c20-20018605a028

push

circleci

sandbergja
Move various gems from the default Gemfile group to a more appropriate group

1599 of 3784 relevant lines covered (42.26%)

2.56 hits per line

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

28.57
/app/controllers/users/omniauth_callbacks_controller.rb
1
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
1✔
2
  def cas
1✔
3
    @user = User.from_cas(request.env['omniauth.auth'])
×
4
    if @user.persisted?
×
5
      sign_in_and_redirect @user, event: :authentication # this will throw if @user is not activated
×
6
      set_flash_message(:notice, :success, kind: 'from Princeton Central Authentication '\
7
                                                 'Service') if is_navigational_format?
×
8
    else
9
      # nosemgrep
10
      redirect_to request.env['omniauth.origin'], alert: t('users.omniauth_callback.unauthorized')
×
11
    end
12
  end
13
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