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

pulibrary / tigerdata-app / 8306569a-4f72-444d-ba8a-d69ed227106c

05 Nov 2025 07:43PM UTC coverage: 91.527% (+0.03%) from 91.5%
8306569a-4f72-444d-ba8a-d69ed227106c

push

circleci

web-flow
Set the displayed value to the entire name (#2151)

Centralize the view and javascript for data manager and sponsor
Set the displayed value to the entire name and have a hidden field with
the uid

fix spec error "not to search for nil"
<img width="1707" height="1085" alt="Screenshot 2025-11-05 at 2 38
43 PM"
src="https://github.com/user-attachments/assets/82278712-d16d-4b58-8b9c-5c33587a7810"
/>

6 of 10 new or added lines in 1 file covered. (60.0%)

1010 existing lines in 37 files now uncovered.

2841 of 3104 relevant lines covered (91.53%)

792.96 hits per line

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

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

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

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

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