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

pulibrary / allsearch_api / 151ae947-01ae-47bb-ae96-d6dbb109b2b8

23 Apr 2025 07:29PM UTC coverage: 99.49% (+1.1%) from 98.369%
151ae947-01ae-47bb-ae96-d6dbb109b2b8

Pull #359

circleci

web-flow
Add coverage badge and description of the software

Also, remove the command used to generate the app and update the ruby version

Closes #345
Pull Request #359: Add coverage badge and description of the software

976 of 981 relevant lines covered (99.49%)

101.0 hits per line

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

100.0
/app/services/best_bet_loading_service.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for refreshing the
4
# best_bet_document table from the canonical
5
# spreadsheet maintained by librarians
6
class BestBetLoadingService < CSVLoadingService
3✔
7
  private
3✔
8

9
  def class_to_load
3✔
10
    BestBetRecord
84✔
11
  end
12

13
  def expected_headers
3✔
14
    ['Title', 'Description', 'URL', 'Search Terms', 'Last Update', 'Updated By']
21✔
15
  end
16

17
  def uri
3✔
18
    @uri ||= URI.parse('https://docs.google.com/spreadsheets/d/e/2PACX-1vSSDYbAmj_SDVK96DJItSsir_PbjMIqe8cBMvBfRIh4fpVzv3aozhCdulrgJXZzwl-fh-lbULMuLZuO/pub?gid=170493948&single=true&output=csv')
12✔
19
  end
20
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