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

pulibrary / orangelight / 0e37073d-109c-440c-949f-49d2aa86311b

18 Aug 2025 09:05PM UTC coverage: 0.482% (-94.9%) from 95.343%
0e37073d-109c-440c-949f-49d2aa86311b

push

circleci

web-flow
Replace per_page_options_for_select with custom component to avoid deprecation issue (#5186)

* Start creating new component to address deprecaton warning

* Replace per_page_options_for_select with custom component to avoid deprecation issue

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>

---------

Co-authored-by: Ryan Jensen <rj1044@princeton.edu>
Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>

0 of 33 new or added lines in 1 file covered. (0.0%)

9374 existing lines in 213 files now uncovered.

47 of 9753 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/requests/illiad_metadata/metadata.rb
1
# frozen_string_literal: true
2

UNCOV
3
module Requests
×
UNCOV
4
  module IlliadMetadata
×
UNCOV
5
    class Metadata
×
UNCOV
6
      def initialize(username, transaction_status, request_type, process_type, not_wanted_after,
×
UNCOV
7
                     wanted_by, photo_item_author, photo_article_author, photo_journal_title,
×
UNCOV
8
                     photo_item_publisher, issn, call_number, photo_journal_inclusive_pages, cited_in,
×
UNCOV
9
                     photo_journal_year, photo_journal_volume, photo_journal_issue, item_info3,
×
UNCOV
10
                     item_info4, cited_pages, accept_non_english, esp_number, document_type, location,
×
UNCOV
11
                     photo_article_title)
×
UNCOV
12
        @username = username
×
UNCOV
13
        @transaction_status = transaction_status
×
UNCOV
14
        @request_type = request_type
×
UNCOV
15
        @process_type = process_type
×
UNCOV
16
        @not_wanted_after = not_wanted_after
×
UNCOV
17
        @wanted_by = wanted_by
×
UNCOV
18
        @photo_item_author = photo_item_author
×
UNCOV
19
        @photo_article_author = photo_article_author
×
UNCOV
20
        @photo_journal_title = photo_journal_title
×
UNCOV
21
        @photo_item_publisher = photo_item_publisher
×
UNCOV
22
        @issn = issn
×
UNCOV
23
        @call_number = call_number
×
UNCOV
24
        @photo_journal_inclusive_pages = photo_journal_inclusive_pages
×
UNCOV
25
        @cited_in = cited_in
×
UNCOV
26
        @photo_journal_year = photo_journal_year
×
UNCOV
27
        @photo_journal_volume = photo_journal_volume
×
UNCOV
28
        @photo_journal_issue = photo_journal_issue
×
UNCOV
29
        @item_info3 = item_info3
×
UNCOV
30
        @item_info4 = item_info4
×
UNCOV
31
        @cited_pages = cited_pages
×
UNCOV
32
        @accept_non_english = accept_non_english
×
UNCOV
33
        @esp_number = esp_number
×
UNCOV
34
        @document_type = document_type
×
UNCOV
35
        @location = location
×
UNCOV
36
        @photo_article_title = photo_article_title
×
UNCOV
37
      end
×
38

UNCOV
39
      def to_metadata_hash
×
UNCOV
40
        {
×
UNCOV
41
          "Username" => @username,
×
UNCOV
42
          "TransactionStatus" => @transaction_status,
×
UNCOV
43
          "RequestType" => @request_type,
×
UNCOV
44
          "ProcessType" => @process_type,
×
UNCOV
45
          "NotWantedAfter" => @not_wanted_after,
×
UNCOV
46
          "WantedBy" => @wanted_by,
×
UNCOV
47
          "PhotoItemAuthor" => @photo_item_author,
×
UNCOV
48
          "PhotoArticleAuthor" => @photo_article_author,
×
UNCOV
49
          "PhotoJournalTitle" => @photo_journal_title,
×
UNCOV
50
          "PhotoItemPublisher" => @photo_item_publisher,
×
UNCOV
51
          "ISSN" => @issn,
×
UNCOV
52
          "CallNumber" => @call_number,
×
UNCOV
53
          "PhotoJournalInclusivePages" => @photo_journal_inclusive_pages,
×
UNCOV
54
          "CitedIn" => @cited_in,
×
UNCOV
55
          "PhotoJournalYear" => @photo_journal_year,
×
UNCOV
56
          "PhotoJournalVolume" => @photo_journal_volume,
×
UNCOV
57
          "PhotoJournalIssue" => @photo_journal_issue,
×
UNCOV
58
          "ItemInfo3" => @item_info3,
×
UNCOV
59
          "ItemInfo4" => @item_info4,
×
UNCOV
60
          "CitedPages" => @cited_pages,
×
UNCOV
61
          "AcceptNonEnglish" => @accept_non_english,
×
UNCOV
62
          "ESPNumber" => @esp_number,
×
UNCOV
63
          "DocumentType" => @document_type,
×
UNCOV
64
          "Location" => @location,
×
UNCOV
65
          "PhotoArticleTitle" => @photo_article_title
×
UNCOV
66
        }
×
UNCOV
67
      end
×
UNCOV
68
    end
×
UNCOV
69
  end
×
UNCOV
70
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