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

pulibrary / tigerdata-app / e7a92392-be4c-4214-89f9-e70084a3165f

03 Nov 2025 06:52PM UTC coverage: 46.881% (-44.5%) from 91.394%
e7a92392-be4c-4214-89f9-e70084a3165f

Pull #2128

circleci

hectorcorrea
Rubocop
Pull Request #2128: Project Show page now displays metadata straight from Mediaflux

35 of 61 new or added lines in 6 files covered. (57.38%)

764 existing lines in 37 files now uncovered.

1646 of 3511 relevant lines covered (46.88%)

69.44 hits per line

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

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

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

UNCOV
18
    def version
×
UNCOV
19
      xml = response_xml
×
UNCOV
20
      {
×
UNCOV
21
        vendor: xml.xpath("/response/reply/result/vendor").text,
×
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