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

pulibrary / tigerdata-app / 9abe2bc9-d36d-4972-8da7-4344ab200fcd

19 Nov 2025 07:18PM UTC coverage: 91.292% (+3.3%) from 87.975%
9abe2bc9-d36d-4972-8da7-4344ab200fcd

push

circleci

web-flow
Better handling of empty project purpose (#2221)

Accounts for nil in the project purpose (in addition to empty string)

I saw a [Honeybadger error about this in
Staging](https://app.honeybadger.io/projects/113559/faults/125327107 )
and decided to fix the issue before we see it in production.

---------

Co-authored-by: Robert-Anthony Lee-Faison <108823963+leefaisonr@users.noreply.github.com>

2883 of 3158 relevant lines covered (91.29%)

570.32 hits per line

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

100.0
/app/models/mediaflux/string_reverse.rb
1
# frozen_string_literal: true
2
module Mediaflux
3✔
3
  class StringReverse < Request
3✔
4
    # This is only here to prove that we can use a mediaflux service that is provided by
5
    # a java plugin.
6

7
    # Constructor
8
    # @param session_token [String] the API token for the authenticated session
9
    def initialize(string:, session_token:)
3✔
10
      super(session_token: session_token)
66✔
11
      @string = string
66✔
12
    end
13

14
    # Specifies the Mediaflux service to use when querying Mediaflux.
15
    # @return [String]
16
    def self.service
3✔
17
      "tigerdata.trivial"
132✔
18
    end
19

20
    private
3✔
21

22
      def build_http_request_body(name:)
3✔
23
        super do |xml|
132✔
24
          xml.args do
132✔
25
            xml.string @string
132✔
26
          end
27
        end
28
      end
29
  end
30
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

© 2026 Coveralls, Inc