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

pulibrary / bibdata / f400817a-dbb4-4213-8c38-ea1927389f1a

01 Oct 2025 12:30PM UTC coverage: 90.779% (+1.1%) from 89.665%
f400817a-dbb4-4213-8c38-ea1927389f1a

push

circleci

christinach
Update CacheMap to look for the correct structure from figgy
Exclude resource types with no ark
and no resource_identifier(bibID)

related to [#1720]
related to [#1848]

4 of 28 new or added lines in 1 file covered. (14.29%)

4051 existing lines in 107 files now uncovered.

3229 of 3557 relevant lines covered (90.78%)

913.12 hits per line

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

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