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

pulibrary / bibdata / b3c4a532-5da0-46f8-9c20-20018605a028

21 Mar 2025 08:11PM UTC coverage: 42.257% (-49.9%) from 92.185%
b3c4a532-5da0-46f8-9c20-20018605a028

push

circleci

sandbergja
Move various gems from the default Gemfile group to a more appropriate group

1599 of 3784 relevant lines covered (42.26%)

2.56 hits per line

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

0.0
/app/jobs/import/partner/start_workflow_job.rb
1
module Import
×
2
  module Partner
×
3
    class StartWorkflowJob
×
4
      include Sidekiq::Job
×
5
      def perform(dump_id)
×
6
        dump = Dump.find(dump_id)
×
7
        batch.jobs do
×
8
          institutions.each do |institution, prefix|
×
9
            validate_csv_batch = Sidekiq::Batch.new
×
10
            validate_csv_batch.description = "Ensure there are no private records included for institution #{institution}"
×
11
            validate_csv_batch.on(:success, 'Import::Partner::FullCallbacks#validate_csv_success', 'dump_id' => dump_id, 'institution' => institution, 'prefix' => prefix)
×
12
            validate_csv_batch.jobs do
×
13
              ValidateCsvJob.perform_async(dump_id, institution, prefix)
×
14
            end
×
15
          end
×
16
        end
×
17
      end
×
18

19
      private
×
20

21
        def institutions
×
22
          {
×
23
            'NYPL' => 'scsbfull_nypl_',
×
24
            'CUL' => 'scsbfull_cul_',
×
25
            'HL' => 'scsbfull_hl_'
×
26
          }
×
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

© 2025 Coveralls, Inc