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

pulibrary / allsearch_api / 93455990-ca6b-4aa4-bb7b-c77568bb5653

01 Aug 2025 03:42PM UTC coverage: 86.395% (-13.1%) from 99.514%
93455990-ca6b-4aa4-bb7b-c77568bb5653

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)

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

889 of 1029 relevant lines covered (86.39%)

33.24 hits per line

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

58.33
/app/models/findingaids_document.rb
1
# frozen_string_literal: true
2

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

8
  private
1✔
9

10
  def service
1✔
11
    'findingaids'
×
12
  end
13

14
  # Use the collection name as the title?
15
  def title
1✔
16
    document[:collection_ssm]&.first
×
17
  end
18

19
  def creator
1✔
20
    document[:creator_ssm]&.first
×
21
  end
22

23
  # No sensible field to map to this currently
24
  def publisher
1✔
25
    # tbd - nothing in the current json that seems relevant
26
  end
27

28
  def type
1✔
29
    document[:level_ssm]&.first
×
30
  end
31

32
  # This field may contain html
33
  def description
1✔
34
    sanitize document[:abstract_ssm]&.first
×
35
  end
36

37
  def doc_keys
1✔
38
    [:access_restriction, :date, :extent, :repository]
×
39
  end
40

41
  def repository
1✔
42
    document[:repository_ssm]&.first
×
43
  end
44

45
  def extent
1✔
46
    document[:extent_ssm]&.to_sentence
×
47
  end
48

49
  def access_restriction
1✔
50
    document[:accessrestrict_ssm]&.first
×
51
  end
52

53
  def date
1✔
54
    document[:normalized_date_ssm]&.first
×
55
  end
56
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