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

pulibrary / bibdata / 1dcebae2-3318-4e77-bc53-82276e293354

02 May 2025 04:45PM UTC coverage: 28.256% (-63.9%) from 92.189%
1dcebae2-3318-4e77-bc53-82276e293354

push

circleci

sandbergja
Add basic infrastructure for compiling rust code

* Add a rake compile task to compile
* Run the rake task in CI
* Run the rake task before rspec tests with the rust tag, to provide quick feedback on rust changes in TDD cycles

2 of 7 new or added lines in 2 files covered. (28.57%)

2467 existing lines in 97 files now uncovered.

1089 of 3854 relevant lines covered (28.26%)

0.29 hits per line

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

50.0
/app/adapters/alma_adapter/connector.rb
1
class AlmaAdapter
1✔
2
  class Connector
1✔
3
    class << self
1✔
4
      def base_path
1✔
UNCOV
5
        "#{region}/almaws/v1"
×
6
      end
7

8
      def users_path
1✔
UNCOV
9
        "#{base_path}/users"
×
10
      end
11

12
      # ExLibris Alma region
13
      def region
1✔
UNCOV
14
        Rails.configuration.alma[:region]
×
15
      end
16

17
      def url
1✔
UNCOV
18
        URI::HTTPS.build(host: region)
×
19
      end
20

21
      # Exlibris Alma connection
22
      def connection
1✔
UNCOV
23
        Faraday.new(url: "#{url}/almaws/v1") do |builder|
×
UNCOV
24
          builder.adapter Faraday.default_adapter
×
UNCOV
25
          builder.response :logger
×
UNCOV
26
          builder.request :url_encoded
×
27
        end
28
      end
29
    end
30
  end
31
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