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

pulibrary / tigerdata-app / 6588ad4d-e242-4902-a1a0-b1458c34681f

27 Oct 2025 06:00PM UTC coverage: 91.33% (+0.005%) from 91.325%
6588ad4d-e242-4902-a1a0-b1458c34681f

Pull #2057

circleci

web-flow
Merge branch 'main' into 2037-dashboard-mf
Pull Request #2057: Dashboard displays projects straights from Mediaflux

52 of 69 new or added lines in 4 files covered. (75.36%)

571 existing lines in 36 files now uncovered.

2802 of 3068 relevant lines covered (91.33%)

486.93 hits per line

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

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

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

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

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

UNCOV
17
  private
2✔
18

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

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

UNCOV
27
    def mf_version
2✔
UNCOV
28
      version_request.version
2✔
UNCOV
29
    end
UNCOV
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