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

pulibrary / tigerdata-app / b10fccf6-5ec9-4665-936f-349cab0ca8ed

28 Oct 2025 02:06PM UTC coverage: 87.382% (-3.9%) from 91.294%
b10fccf6-5ec9-4665-936f-349cab0ca8ed

Pull #2057

circleci

hectorcorrea
Force a change
Pull Request #2057: Dashboard displays projects straights from Mediaflux

49 of 69 new or added lines in 4 files covered. (71.01%)

930 existing lines in 39 files now uncovered.

2694 of 3083 relevant lines covered (87.38%)

296.77 hits per line

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

100.0
/app/models/mediaflux/version_request.rb
1
# frozen_string_literal: true
UNCOV
2
module Mediaflux
2✔
3
  # This is the version of Mediaflux that we are testing against
UNCOV
4
  EXPECTED_VERSION = "4.17.061"
2✔
UNCOV
5
  class VersionRequest < Request
2✔
6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
UNCOV
8
    def initialize(session_token:)
2✔
UNCOV
9
      super(session_token: session_token)
4✔
UNCOV
10
    end
11

12
    # Specifies the Mediaflux service to use when querying the version
13
    # @return [String]
UNCOV
14
    def self.service
2✔
UNCOV
15
      "server.version"
8✔
UNCOV
16
    end
17

UNCOV
18
    def version
2✔
UNCOV
19
      xml = response_xml
5✔
UNCOV
20
      {
UNCOV
21
        vendor: xml.xpath("/response/reply/result/vendor").text,
5✔
UNCOV
22
        version: xml.xpath("/response/reply/result/version").text
UNCOV
23
      }
UNCOV
24
    end
UNCOV
25
  end
UNCOV
26
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