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

pulibrary / tigerdata-app / 9d76b7eb-940a-44e8-b4ac-cf7b8cdcc98c

01 Dec 2025 03:02PM UTC coverage: 80.707% (-6.9%) from 87.594%
9d76b7eb-940a-44e8-b4ac-cf7b8cdcc98c

Pull #2251

circleci

carolyncole
Updating the department select to utilize LuxInputMultiSelect
The component only allows an item to be selected once (only for non asynch results which departments are).
fiexs #2134
Pull Request #2251: Updating the department select to utilize LuxInputMultiSelect

2602 of 3224 relevant lines covered (80.71%)

263.99 hits per line

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

90.91
/app/models/project_mediaflux.rb
1
# frozen_string_literal: true
2

3
# A custom exception class for when a namespace path is already taken
4
class MediafluxDuplicateNamespaceError < StandardError
1✔
5
end
6

7
# Take an instance of Project and adds it to MediaFlux
8
class ProjectMediaflux
1✔
9
  # Returns the XML string with the mediaflux metadata
10
  def self.xml_payload(project:, user:, xml_namespace: nil)
1✔
11
    request = Mediaflux::AssetMetadataRequest.new(session_token: user.mediaflux_session, id: project.mediaflux_id)
2✔
12
    request.resolve
2✔
13
    if request.error?
2✔
14
      raise request.response_error[:message]
×
15
    end
16
    request.response_body
2✔
17
  end
18

19
  # Returns an XML document with the mediaflux metadata
20
  def self.document(project:, user:, xml_namespace: nil)
1✔
21
    xml_body = xml_payload(project:, user:, xml_namespace:)
2✔
22
    Nokogiri::XML.parse(xml_body)
2✔
23
  end
24
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