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

uclibs / ucrate / 26b0560c-7626-477e-897f-b1bc76098c00

28 Aug 2025 06:13PM UTC coverage: 59.514% (-12.6%) from 72.086%
26b0560c-7626-477e-897f-b1bc76098c00

push

circleci

web-flow
LIBSCHOLAR-25 Run Brakeman on PRs (#1186)

* Add brakeman workflow and ruby installation action

* Add Brakeman CI workflow with high-confidence fail and report uploads

* Only warn if brakeman isn't updated

* Update brakeman to 5.4.1 in Gemfile.lock

* Update brakeman.ignore file

* Re-add ignore for EOL Rails

2252 of 3784 relevant lines covered (59.51%)

53.64 hits per line

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

60.0
/app/controllers/static_controller.rb
1
# frozen_string_literal: true
2

3
class StaticController < ApplicationController
1✔
4
  def about
1✔
5
    render "static/about"
1✔
6
  end
7

8
  def terms
1✔
9
    render "hyrax/static/terms"
×
10
  end
11

12
  def coll_policy
1✔
13
    render "static/coll_policy"
×
14
  end
15

16
  def format_advice
1✔
17
    render "static/format_advice"
×
18
  end
19

20
  def faq
1✔
21
    render "static/faq"
×
22
  end
23

24
  def documenting_data
1✔
25
    render "static/documenting_data_help"
×
26
  end
27

28
  def creators_rights
1✔
29
    render "static/creators_rights"
×
30
  end
31

32
  def student_work_help
1✔
33
    render "static/student_work_help"
×
34
  end
35

36
  def advisor_guidelines
1✔
37
    render "static/advisor_guidelines"
×
38
  end
39

40
  def student_instructions
1✔
41
    render "static/student_instructions"
×
42
  end
43

44
  def help
1✔
45
    render "static/help"
×
46
  end
47

48
  def doi_help
1✔
49
    render "static/doi_help"
×
50
  end
51

52
  def login
1✔
53
    if current_user
4✔
54
      redirect_to Hyrax::Engine.routes.url_helpers.dashboard_path
×
55
    elsif AUTH_CONFIG['shibboleth_enabled']
4✔
56
      render "static/login"
3✔
57
    else
58
      redirect_to new_user_session_path
1✔
59
    end
60
  end
61

62
  def whats_new
1✔
63
    render "static/whats_new"
×
64
  end
65

66
  def orcid_about
1✔
67
    render "static/orcid_about"
×
68
  end
69
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