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

curationexperts / laevigata / 589cae08-3fda-43d7-b7b3-2a405d40cd24

14 May 2025 04:48PM UTC coverage: 97.411%. Remained the same
589cae08-3fda-43d7-b7b3-2a405d40cd24

push

circleci

mark-dce
Bump elliptic from 6.6.0 to 6.6.1

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.6.0 to 6.6.1.
- [Commits](https://github.com/indutny/elliptic/compare/v6.6.0...v6.6.1)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-version: 6.6.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

2822 of 2897 relevant lines covered (97.41%)

52.29 hits per line

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

100.0
/app/validators/my_program_validator.rb
1
class MyProgramValidator < ActiveModel::Validator
4✔
2
  def validate(record)
4✔
3
    return unless current_tab?(record)
91✔
4
    fields_to_validate = ::Hyrax::EtdForm.my_program_terms - [:partnering_agency]
3✔
5
    fields_to_validate.each do |field|
3✔
6
      # TODO: confirm whether subfields are never required by Emory
7
      next if field == :subfield
12✔
8
      record.errors.add(field, "#{field} is required") if parsed_data(record)[field.to_s].blank?
9✔
9
    end
10
  end
11

12
  def parsed_data(record)
4✔
13
    return {} unless record.data
100✔
14
    JSON.parse(record.data)
74✔
15
  end
16

17
  def current_tab?(record)
4✔
18
    parsed_data(record)['currentTab'] == "My Program"
91✔
19
  end
20
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

© 2026 Coveralls, Inc