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

pulibrary / pdc_describe / 9091a1ae-29be-458c-984a-339d213919c4

12 Dec 2024 07:41PM UTC coverage: 26.434% (-69.7%) from 96.113%
9091a1ae-29be-458c-984a-339d213919c4

Pull #2000

circleci

jrgriffiniii
Removing integration with ActiveStorage
Pull Request #2000: Bump actionpack from 7.2.1.1 to 7.2.2.1

945 of 3575 relevant lines covered (26.43%)

0.35 hits per line

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

80.0
/app/models/pdc_metadata/title.rb
1
# frozen_string_literal: true
2
# Class for storing a title in our local representation
3
module PDCMetadata
1✔
4
  # value:      "100 aƱos de soledad"
5
  # title_type: "TranslatedTitle"
6
  class Title
1✔
7
    attr_accessor :title, :title_type
1✔
8
    def initialize(title:, title_type: nil)
1✔
9
      @title = title
3✔
10
      @title_type = title_type
3✔
11
    end
12

13
    def main?
1✔
14
      @title_type.blank?
×
15
    end
16

17
    def compare_value
1✔
18
      "#{title} (#{title_type})"
×
19
    end
20
  end
21
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