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

pulibrary / bibdata / 03936b48-38dc-426c-afe8-57993b6e85af

27 Jan 2026 10:01PM UTC coverage: 55.504% (-34.7%) from 90.159%
03936b48-38dc-426c-afe8-57993b6e85af

push

circleci

christinach
Add custom implementation of Deserialize in origin_place and coverage
If pref_label is missing then defalt to an empty string
If the exact_match exists and it has the wrong structure it returns None instead of erroring

related to [#3020]

80 of 81 new or added lines in 4 files covered. (98.77%)

4044 existing lines in 108 files now uncovered.

6288 of 11329 relevant lines covered (55.5%)

11.64 hits per line

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

0.0
/app/controllers/users/omniauth_callbacks_controller.rb
UNCOV
1
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
×
UNCOV
2
  def cas
×
UNCOV
3
    @user = User.from_cas(request.env['omniauth.auth'])
×
UNCOV
4
    if @user.persisted?
×
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')
×
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