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

pulibrary / bibdata / 6abac514-72ac-4486-a766-bbe23a5c8e00

04 Jun 2024 11:19PM UTC coverage: 91.185% (-0.05%) from 91.239%
6abac514-72ac-4486-a766-bbe23a5c8e00

Pull #2394

circleci

web-flow
Bump actionpack from 7.0.8.1 to 7.1.3.4

Bumps [actionpack](https://github.com/rails/rails) from 7.0.8.1 to 7.1.3.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.1.3.4/actionpack/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.0.8.1...v7.1.3.4)

---
updated-dependencies:
- dependency-name: actionpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #2394: Bump actionpack from 7.0.8.1 to 7.1.3.4

3393 of 3721 relevant lines covered (91.19%)

341.14 hits per line

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

81.82
/app/services/alma/indexer.rb
1
class Alma::Indexer
1✔
2
  attr_reader :solr_url
1✔
3
  def initialize(solr_url:)
1✔
4
    @solr_url = solr_url
32✔
5
  end
6

7
  def index_file(file_path, debug_mode = false)
1✔
8
    debug_flag = debug_mode ? "--debug-mode" : ""
32✔
9
    # nosemgrep
10
    stdout, stderr, status = Open3.capture3("traject #{debug_flag} -c marc_to_solr/lib/traject_config.rb #{file_path} -u #{solr_url} -w Traject::PulSolrJsonWriter")
32✔
11
    if stderr.include?("FATAL") && !status.success?
32✔
12
      Rails.logger.error(stderr)
×
13
      raise "Traject indexing failed for #{file_path}: #{stderr}"
×
14
    else
15
      Rails.logger.info("Successfully indexed file #{file_path}")
32✔
16
    end
17
  end
18
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