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

pulibrary / tigerdata-app / ae92dc00-e0b3-4dab-b9c2-66e829d6d3e6

08 Jul 2025 06:28PM UTC coverage: 71.631% (-0.9%) from 72.487%
ae92dc00-e0b3-4dab-b9c2-66e829d6d3e6

Pull #1581

circleci

web-flow
Merge branch 'main' into 114-mflux-sync
Pull Request #1581: Remove schema create and update functionality from tigerdata-app

4 of 18 branches covered (22.22%)

27 of 28 new or added lines in 4 files covered. (96.43%)

14 existing lines in 2 files now uncovered.

2934 of 4096 relevant lines covered (71.63%)

503.55 hits per line

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

31.25
/lib/tasks/schema.rake
1
# frozen_string_literal: true
2
# :nocov:
3
namespace :schema do
✔
4
  # Define the TigerData schema
5
  desc "define the tigerdata schema in the current mediaflux instance"
✔
6
  task create: :environment do
✔
7
    # TODO: Make sure we login with a user that has access to
8
    # asset.doc.type.update and asset.doc.type.update
UNCOV
9
    saved_alternate = Flipflop.alternate_mediaflux?
×
UNCOV
10
    if saved_alternate
×
11
      Rake::Task["flipflop:turn_off"].invoke("alternate_mediaflux", "active_record")
×
12
    end
UNCOV
13
    logon_request = Mediaflux::LogonRequest.new
×
UNCOV
14
    logon_request.resolve
×
UNCOV
15
    schema = TigerdataSchema.new(session_id: logon_request.session_token)
×
UNCOV
16
    schema.create
×
UNCOV
17
    if saved_alternate
×
18
      Rake::Task["flipflop:turn_on"].invoke("alternate_mediaflux", "active_record")
×
19
    end
20
  end
21

22
  desc "create the script to define the tigerdata schema in mediaflux"
✔
23
  task create_script: :environment do
✔
24
    tigerdata_schema = TigerdataSchema.new(session_id: nil)
×
25
    tigerdata_schema.create_aterm_doc_script
×
26
  end
27
end
28
# :nocov:
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