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

pulibrary / orangelight / a13c74e8-95d6-4e88-a984-67ca4d4d68ef

29 Jul 2025 08:10PM UTC coverage: 95.182% (-0.2%) from 95.407%
a13c74e8-95d6-4e88-a984-67ca4d4d68ef

Pull #4962

circleci

web-flow
Merge pull request #5093 from pulibrary/dont-download-franklin-gothic-urw

Stop downloading franklin-gothic-urw font
Pull Request #4962: Orangelight pos workcycle 07-07-2025

183 of 186 new or added lines in 23 files covered. (98.39%)

16 existing lines in 5 files now uncovered.

6104 of 6413 relevant lines covered (95.18%)

1508.55 hits per line

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

94.44
/app/components/holdings/physical_holding_component.rb
1
# frozen_string_literal: true
2

3
# This component is responsible for showing the details of a physical
4
# holding (such as on the show page)
5
class Holdings::PhysicalHoldingComponent < ViewComponent::Base
3✔
6
  def initialize(adapter, holding_id, holding, open_holdings = nil)
3✔
7
    @adapter = adapter
185✔
8
    @holding_id = holding_id
185✔
9
    @holding = holding
185✔
10
    @open_holdings = open_holdings
185✔
11
  end
12

13
  private
3✔
14

15
    attr_reader :adapter, :holding_id, :holding, :open_holdings
3✔
16

17
    def cn_value
3✔
18
      adapter.call_number(holding)
185✔
19
    end
20

21
    def doc_id
3✔
22
      holding["mms_id"] || adapter.doc_id
172✔
23
    end
24

25
    def holding_loc
3✔
UNCOV
26
      adapter.holding_location_label(holding)
×
27
    end
28

29
    def location_rules
3✔
30
      adapter.holding_location_rules(holding)
341✔
31
    end
32

33
    def temp_location_code
3✔
34
      adapter.temp_location_code(holding)
156✔
35
    end
36
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