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

pulibrary / orangelight / 4e01fe00-694b-47b4-8b30-2de4dc4acc66

31 Jul 2025 07:56PM UTC coverage: 92.891% (-2.5%) from 95.4%
4e01fe00-694b-47b4-8b30-2de4dc4acc66

Pull #4962

circleci

web-flow
Merge pull request #5130 from pulibrary/clean_up_scss_comments

Remove SCSS commented code.
Pull Request #4962: Orangelight pos workcycle 07-07-2025

193 of 197 new or added lines in 24 files covered. (97.97%)

161 existing lines in 35 files now uncovered.

5932 of 6386 relevant lines covered (92.89%)

1443.08 hits per line

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

80.0
/app/services/ez_proxy_service.rb
1
# frozen_string_literal: true
2

3
class EzProxyService
2✔
4
  def self.ez_proxy_url?(url)
2✔
5
    host = URI(url.to_s).host
34✔
6
    EZ_PROXY_HOST_LIST.include?(host)
34✔
7
  rescue URI::InvalidURIError
UNCOV
8
    Rails.logger.warn("EzProxyService encountered bad url: #{url}")
×
UNCOV
9
    false
×
10
  end
11

12
  def self.ez_proxy_url(url)
2✔
13
    if EzProxyService.ez_proxy_url?(url)
34✔
14
      "#{Requests.config['proxy_base']}#{url}"
10✔
15
    else
16
      url.to_s
24✔
17
    end
18
  end
19
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

© 2025 Coveralls, Inc