circleci
72 of 72 new or added lines in 3 files covered. (100.0%)
180 of 796 relevant lines covered (22.61%)
0.23 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
3 |
module Metadata |
× |
4 |
class DublinCore < Base |
× |
5 |
def self.document_class |
× |
6 |
OaiPmhDocument
|
× |
7 |
end
|
× |
8 |
|
|
9 |
def self.attribute_names |
× |
10 |
super + [
|
× |
11 |
:title,
|
× |
12 |
:creator,
|
× |
13 |
:subject,
|
× |
14 |
:date,
|
× |
15 |
:identifier,
|
× |
16 |
:language,
|
× |
17 |
:relation,
|
× |
18 |
:publisher
|
× |
19 |
] |
× |
20 |
end
|
× |
21 |
end
|
× |
22 |
end
|
× |