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

pulibrary / bibdata / eed637ee-6222-43e0-89df-2b22beb9d904

14 May 2025 08:32PM UTC coverage: 91.704% (-0.5%) from 92.212%
eed637ee-6222-43e0-89df-2b22beb9d904

Pull #2715

circleci

sandbergja
Add doc for theses
Pull Request #2715: Bring Senior theses indexing into bibdata

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

3493 of 3809 relevant lines covered (91.7%)

382.42 hits per line

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

0.0
/lib/bibdata_rs/theses/fetcher.rb
1
# frozen_string_literal: true
2

NEW
3
module BibdataRs
×
NEW
4
  module Theses
×
NEW
5
    class Fetcher
×
NEW
6
      def self.env_config
×
NEW
7
        Rails.application.config_for Rails.root.join('config/dspace.yml')
×
NEW
8
      end
×
9

NEW
10
      def self.default_server
×
NEW
11
        env_config['server']
×
NEW
12
      end
×
13

NEW
14
      def self.default_community
×
NEW
15
        env_config['community']
×
NEW
16
      end
×
17

NEW
18
      def self.default_rest_limit
×
NEW
19
        env_config['rest_limit']
×
NEW
20
      end
×
21

22
      ##
23
      # Get a json representation of all thesis collections and write it as JSON to
24
      # a cache file.
NEW
25
      def self.write_all_collections_to_cache
×
NEW
26
        BibdataRs::Theses.all_documents_as_solr(default_server, default_community, default_rest_limit)
×
NEW
27
      end
×
NEW
28
    end
×
NEW
29
  end
×
NEW
30
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