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

pulibrary / tigerdata-app / 8479a24a-e310-45e5-8d6b-ec6c71da8281

24 Nov 2025 02:38PM UTC coverage: 73.002% (-15.1%) from 88.064%
8479a24a-e310-45e5-8d6b-ec6c71da8281

Pull #2235

circleci

carolyncole
Do not redirect from home page when login is disabled
fixes #2188
Pull Request #2235: Do not redirect from home page when login is disabled

2 of 5 new or added lines in 2 files covered. (40.0%)

320 existing lines in 38 files now uncovered.

2320 of 3178 relevant lines covered (73.0%)

209.4 hits per line

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

53.33
/app/channels/mediaflux_channel.rb
1
# frozen_string_literal: true
2
class MediafluxChannel < ApplicationCable::Channel
1✔
3
  def subscribed
1✔
UNCOV
4
    update_state
×
5
  end
6

7
  def unsubscribed
1✔
UNCOV
8
    transmit({ state: false })
×
9
  end
10

11
  def update_state
1✔
UNCOV
12
    state = mf_version.present?
×
13

UNCOV
14
    transmit({ state: state })
×
15
  end
16

17
  private
1✔
18

19
    def session_token
1✔
UNCOV
20
      SystemUser.mediaflux_session
×
21
    end
22

23
    def version_request
1✔
UNCOV
24
      Mediaflux::VersionRequest.new(session_token: session_token)
×
25
    end
26

27
    def mf_version
1✔
UNCOV
28
      version_request.version
×
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

© 2025 Coveralls, Inc