• 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

60.0
/app/models/dpul.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for querying DPUL
4
class Dpul
1✔
5
  include ActiveModel::API
1✔
6
  include Parsed
1✔
7
  include Solr
1✔
8
  attr_reader :query_terms, :service, :service_response
1✔
9

10
  def initialize(query_terms:)
1✔
11
    @query_terms = query_terms
×
12
    @service = 'dpul'
×
13
    @service_response = solr_service_response
×
14
  end
15

16
  def solr_fields
1✔
17
    %w[id readonly_title_ssim readonly_creator_ssim readonly_publisher_ssim readonly_format_ssim
×
18
       readonly_collections_tesim]
19
  end
20

21
  def solr_sort
1✔
22
    'score desc'
×
23
  end
24

25
  def extra_solr_params
1✔
26
    'group=true&group.main=true&group.limit=1&group.field=content_metadata_iiif_manifest_field_ssi&group.facet=true'
×
27
  end
28
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