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

pulibrary / allsearch_api / aa1cbf92-a6e7-4ca9-bad6-dfcce6f1afbc

01 Aug 2025 03:44PM UTC coverage: 99.514%. Remained the same
aa1cbf92-a6e7-4ca9-bad6-dfcce6f1afbc

push

circleci

sandbergja
Explicitly include Rake in Gemfile

When we deployed, it gave various errors:
* can't find executable rake for gem rake.
* cannot load such file -- net/ssh/proxy/command (LoadError)
* cannot load such file -- net/scp (LoadError)

This commit explicitly includes rake, net-scp, and net-ssh in the Gemfile
to see if it resolves the issue.

1024 of 1029 relevant lines covered (99.51%)

92.23 hits per line

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

100.0
/app/models/dpul_document.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for getting relevant
4
# metadata from DPUL's JSON
5
class DpulDocument < Document
3✔
6
  include SolrDocument
3✔
7

8
  private
3✔
9

10
  def service
3✔
11
    'dpul'
53✔
12
  end
13

14
  def title
3✔
15
    document[:readonly_title_ssim]&.first
52✔
16
  end
17

18
  def creator
3✔
19
    document[:readonly_creator_ssim]&.first
51✔
20
  end
21

22
  def publisher
3✔
23
    document[:readonly_publisher_ssim]&.first
51✔
24
  end
25

26
  def type
3✔
27
    document[:readonly_format_ssim]&.first
51✔
28
  end
29

30
  def description
3✔
31
    # tbd - nothing in the current json that seems relevant
32
  end
33

34
  def doc_keys
3✔
35
    [:collection]
52✔
36
  end
37

38
  def collection
3✔
39
    document[:readonly_collections_tesim]&.first
52✔
40
  end
41
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