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

pulibrary / orangelight / 00dbc10b-d747-4ad7-b211-7b26d753abbb

14 Aug 2025 01:25PM UTC coverage: 0.483% (-94.9%) from 95.343%
00dbc10b-d747-4ad7-b211-7b26d753abbb

push

circleci

web-flow
Merge pull request #5181 from pulibrary/dependabot/bundler/activestorage-7.2.2.2

Bump activestorage from 7.2.2.1 to 7.2.2.2

47 of 9721 relevant lines covered (0.48%)

0.01 hits per line

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

0.0
/app/models/in_library_use.rb
1
# frozen_string_literal: true
2
# This class is responsible for providing a label for
3
# in library use locations.
4
class InLibraryUse
×
5
  def initialize(location_code)
×
6
    @location_code = location_code
×
7
  end
×
8

9
  def label
×
10
    library_in_use_locations = {
×
11
      'arch$pw': "Archictecture (Remote Storage)",
×
12
      'eastasian$pl': "East Asian (Remote Storage)",
×
13
      'eastasian$ql': "East Asian (Remote Storage)",
×
14
      'engineer$pt': "Engineering (Remote Storage)",
×
15
      'firestone$pb': "Firestone (Remote Storage)",
×
16
      'firestone$pf': "Firestone (Remote Storage)",
×
17
      'lewis$pn': "Lewis (Remote Storage)",
×
18
      'lewis$ps': "Lewis (Remote Storage)",
×
19
      'mendel$pk': "Mendel (Remote Storage)",
×
20
      'mendel$qk': "Mendel (Remote Storage)",
×
21
      'stokes$pm': "Stokes (Remote Storage)",
×
22
      'marquand$pj': "Marquand (Remote Storage)",
×
23
      'marquand$pjm': "Marquand (Remote Storage)",
×
24
      'marquand$pv': "Marquand (Remote Storage)",
×
25
      'marquand$pz': "Marquand (Remote Storage)"
×
26
    }.freeze
×
27
    library_in_use_locations[location_code&.to_sym]
×
28
  end
×
29

30
    private
×
31

32
      attr_reader :location_code
×
33
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