datacite-mapping 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/README.md +21 -0
- data/datacite-mapping.gemspec +1 -1
- data/lib/datacite/mapping/date.rb +2 -2
- data/lib/datacite/mapping/identifier.rb +19 -3
- data/lib/datacite/mapping/module_info.rb +1 -1
- data/lib/datacite/mapping/nonvalidating/identifier.rb +40 -0
- data/lib/datacite/mapping/nonvalidating/subject.rb +43 -0
- data/lib/datacite/mapping/nonvalidating.rb +10 -0
- data/lib/datacite/mapping/resource.rb +19 -14
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3059p-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r31017-mrt-datacite.xml +37 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3201j-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r33w26-mrt-datacite.xml +45 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r34s3v-mrt-datacite.xml +35 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r36p4t-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r39g6f-mrt-datacite.xml +68 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3cc7d-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3d59d-mrt-datacite.xml +45 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3f59q-mrt-datacite.xml +68 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3g591-mrt-datacite.xml +35 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3k016-mrt-datacite.xml +68 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3kw2j-mrt-datacite.xml +58 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3mw2v-mrt-datacite.xml +33 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3np4v-mrt-datacite.xml +40 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3pp45-mrt-datacite.xml +47 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3rp4s-mrt-datacite.xml +34 -0
- data/spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3tg63-mrt-datacite.xml +36 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1159q-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d17g6j-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1c88g-mrt-datacite.xml +47 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1cc74-mrt-datacite.xml +71 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1h019-mrt-datacite.xml +38 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1ms3x-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1mw2k-mrt-datacite.xml +39 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rg66-mrt-datacite.xml +39 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rp4h-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1wc7s-mrt-datacite.xml +49 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1001p-mrt-datacite.xml +51 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1059f-mrt-datacite.xml +65 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d11010-mrt-datacite.xml +49 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1159r-mrt-datacite.xml +79 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d12019-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d12s30-mrt-datacite.xml +51 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1301m-mrt-datacite.xml +66 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d13s39-mrt-datacite.xml +49 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d13w2z-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d14s3m-mrt-datacite.xml +64 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d15k5m-mrt-datacite.xml +66 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d15p48-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d16k5x-mrt-datacite.xml +49 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d16p4k-mrt-datacite.xml +62 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d17g6k-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d17p4w-mrt-datacite.xml +69 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d18g6w-mrt-datacite.xml +69 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1988w-mrt-datacite.xml +66 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d19g66-mrt-datacite.xml +74 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1b886-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1bc7v-mrt-datacite.xml +67 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1c88h-mrt-datacite.xml +59 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1cc75-mrt-datacite.xml +62 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1d595-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f30c-mrt-datacite.xml +115 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f59g-mrt-datacite.xml +71 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g011-mrt-datacite.xml +52 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g59s-mrt-datacite.xml +81 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h01b-mrt-datacite.xml +66 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h593-mrt-datacite.xml +62 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1j01n-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1js3b-mrt-datacite.xml +55 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1k01z-mrt-datacite.xml +67 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ks3n-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1kw29-mrt-datacite.xml +82 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ms3z-mrt-datacite.xml +48 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1mw2m-mrt-datacite.xml +67 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1np4m-mrt-datacite.xml +51 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pk58-mrt-datacite.xml +47 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pp4x-mrt-datacite.xml +67 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qg6x-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qp47-mrt-datacite.xml +68 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rg67-mrt-datacite.xml +48 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rp4j-mrt-datacite.xml +70 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1sg6j-mrt-datacite.xml +85 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1t88j-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1tg6v-mrt-datacite.xml +66 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1v88v-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1vc7h-mrt-datacite.xml +64 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1w885-mrt-datacite.xml +50 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1wc7t-mrt-datacite.xml +71 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1x59t-mrt-datacite.xml +47 -0
- data/spec/data/dash1-datacite-xml/uci-ark+=b7280=d1z594-mrt-datacite.xml +62 -0
- data/spec/data/dash1-datacite-xml/ucla-ark+=b5060=d2qr4v2t-mrt-datacite.xml +57 -0
- data/spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1cc7x-mrt-datacite.xml +41 -0
- data/spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1h59v-mrt-datacite.xml +33 -0
- data/spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1rp49-mrt-datacite.xml +36 -0
- data/spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1wc7k-mrt-datacite.xml +46 -0
- data/spec/data/dash1-datacite-xml/ucm-ark+=13030=m51g217t-mrt-datacite.xml +28 -0
- data/spec/data/dash1-datacite-xml/ucm-ark+=b6071=z7wc73-mrt-datacite.xml +83 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8301x-mrt-datacite.xml +39 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d86p4w-mrt-datacite.xml +38 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8bc75-mrt-datacite.xml +40 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8g593-mrt-datacite.xml +39 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8h59d-mrt-datacite.xml +53 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8kw2m-mrt-datacite.xml +39 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8rp4v-mrt-datacite.xml +52 -0
- data/spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8z59f-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d11592-mrt-datacite.xml +38 -0
- data/spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d17p46-mrt-datacite.xml +43 -0
- data/spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1h59d-mrt-datacite.xml +43 -0
- data/spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1mw2x-mrt-datacite.xml +54 -0
- data/spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1wc74-mrt-datacite.xml +55 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6057cv6-mrt-datacite.xml +96 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6154f00-mrt-datacite.xml +73 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q61z429d-mrt-datacite.xml +29 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q62z13fs-mrt-datacite.xml +43 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q65q4t1r-mrt-datacite.xml +25 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q66q1v54-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q67p8w9z-mrt-datacite.xml +63 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q68g8hmp-mrt-datacite.xml +24 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6bg2kwf-mrt-datacite.xml +63 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6c8276k-mrt-datacite.xml +43 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6cc0xmh-mrt-datacite.xml +63 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6d798bd-mrt-datacite.xml +26 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h12zxh-mrt-datacite.xml +46 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h41pb7-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6kw5cxv-mrt-datacite.xml +43 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6ms3qnx-mrt-datacite.xml +42 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6mw2f2n-mrt-datacite.xml +61 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6pn93h6-mrt-datacite.xml +52 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6qn64nk-mrt-datacite.xml +46 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rf5rzx-mrt-datacite.xml +60 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rn35sz-mrt-datacite.xml +63 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6sf2t3q-mrt-datacite.xml +21 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6td9v7j-mrt-datacite.xml +29 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6w66hpn-mrt-datacite.xml +23 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6x63jt1-mrt-datacite.xml +27 -0
- data/spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6z60kzd-mrt-datacite.xml +45 -0
- data/spec/data/metadata.xsd +380 -0
- data/spec/data/mrt-datacite.xml +61 -0
- data/spec/unit/datacite/mapping/date_spec.rb +23 -15
- data/spec/unit/datacite/mapping/nonvalidating/identifier_spec.rb +38 -0
- data/spec/unit/datacite/mapping/resource_spec.rb +69 -12
- metadata +267 -4
@@ -0,0 +1,61 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<resource xmlns="http://datacite.org/schema/kernel-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd">
|
3
|
+
<identifier identifierType="DOI"/>
|
4
|
+
<creators>
|
5
|
+
<creator>
|
6
|
+
<creatorName>Baldassare, Mark</creatorName>
|
7
|
+
</creator>
|
8
|
+
</creators>
|
9
|
+
<titles>
|
10
|
+
<title>Annual Survey of Orange County 2000</title>
|
11
|
+
</titles>
|
12
|
+
<publisher>UC Irvine</publisher>
|
13
|
+
<publicationYear>2014</publicationYear>
|
14
|
+
<subjects>
|
15
|
+
<subject>Consumer Confidence</subject>
|
16
|
+
<subject>El Toro Airport</subject>
|
17
|
+
<subject>School Vouchers</subject>
|
18
|
+
<subject>Transportation</subject>
|
19
|
+
<subject>Measure M</subject>
|
20
|
+
<subject>Social Issues</subject>
|
21
|
+
</subjects>
|
22
|
+
<contributors>
|
23
|
+
<contributor contributorType="DataManager">
|
24
|
+
<contributorName>McKinley, Matthew J.</contributorName>
|
25
|
+
</contributor>
|
26
|
+
<contributor contributorType="Funder">
|
27
|
+
<contributorName>University of California, Irvine</contributorName>
|
28
|
+
</contributor>
|
29
|
+
</contributors>
|
30
|
+
<relatedIdentifiers>
|
31
|
+
<relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementedBy">http://data.lib.uci.edu/ocs/</relatedIdentifier>
|
32
|
+
</relatedIdentifiers>
|
33
|
+
<resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>
|
34
|
+
<sizes>
|
35
|
+
<size>546378</size>
|
36
|
+
</sizes>
|
37
|
+
<rightsList>
|
38
|
+
<rights rightsURI="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International (CC-BY 4.0)</rights>
|
39
|
+
</rightsList>
|
40
|
+
<descriptions>
|
41
|
+
<description descriptionType="Abstract">This 19th Orange County Annual Survey, UCI, continues to monitor social, economic and political trends. The Orange County Consumer Confidence Index now stands at 112, the highest score since the study began tracking this five-question measure in 1986, surpassing the U.S. index, which is at 109. The 2000 survey was conducted May 3-14, 2000, and includes random telephone interviews with 1,005 Orange County adults in English and Spanish.
|
42
|
+
|
43
|
+
Online data analysis & additional documentation in Link below.</description>
|
44
|
+
<description descriptionType="Methods">The 2000 Orange County Annual Survey was directed by Mark Baldassare, professor and Johnson Chair in Civic Governance at UCI, and Senior Fellow at the Public Policy Institute of California. Cheryl Katz, research associate, was co-director. The random telephone survey included interviews with 1,005 Orange County adult residents conducted May 3-14, 2000. We follow the methods used in the 18 previous surveys.
|
45
|
+
|
46
|
+
Interviewing was conducted on weekend days and weekday nights, using a computer-generated random sample of telephone numbers. Within a household, adult respondents were randomly chosen for interview. Each interview and took an average of 20 minutes to complete. The interviewing was conducted in English and Spanish as needed. The completion rate was 67%. Telephone interviewing was conducted by Interviewing Services of America in Van Nuys, CA. The sample's demographic characteristics were comparable to data from the U.S. Census, California Department of Finance, and previous Orange County Annual Surveys.
|
47
|
+
|
48
|
+
The sampling error for this survey is +/- 3% at the 95% confidence level. This means that 95 times out of 100, the results will be within 3 percentage points of what they would be if all adults in Orange County were interviewed. The sampling error for any subgroup would be larger. Sampling error is just one type of error to which surveys are subject. Results may also be affected by factors such as question wording, ordering, and survey timing.
|
49
|
+
|
50
|
+
Throughout the report, we refer to two geographic regions. North refers to cities and communities north of the 55 Freeway, including Anaheim, Orange, Villa Park, La Habra, Brea, Buena Park, Fullerton, Placentia, Yorba Linda, La Palma, Cypress, Los Alamitos, Rossmoor, Seal Beach, Westminster, Midway City,
|
51
|
+
Stanton, Fountain Valley, Huntington Beach, Santa Ana, Garden Grove, Tustin, Tustin Foothills and Costa Mesa. South refers to cities and communities south of the 55 Freeway, including Newport Beach, Irvine,
|
52
|
+
Lake Forest, Newport Coast, Aliso Viejo, Laguna Hills, Laguna Niguel, Laguna Woods, Mission Viejo, Portola Hills, Rancho Santa Margarita, Foothill Ranch, Coto de Caza, Trabuco, Laguna Beach, Dana Point, San Clemente, Capistrano Beach and San Juan Capistrano. In the analysis of questions on the proposed El Toro airport, we include Newport Beach in the North County.
|
53
|
+
|
54
|
+
Some of the questions in this survey are repeated from national surveys conducted by the University of Michigan in 2000, the Pew Research Center in 1999, the Wall Street Journal and NBC News in 1999, CBS News in 1999, Fox News in 2000, and the Gallup Organization in 1999. Questions with California comparisons are repeated from the Public Policy Institute of California's Statewide Surveys in 2000, directed by Mark Baldassare.</description>
|
55
|
+
</descriptions>
|
56
|
+
<geoLocations>
|
57
|
+
<geoLocation>
|
58
|
+
<geoLocationPlace>Orange County (Calif.)</geoLocationPlace>
|
59
|
+
</geoLocation>
|
60
|
+
</geoLocations>
|
61
|
+
</resource>
|
@@ -5,15 +5,17 @@ module Datacite
|
|
5
5
|
describe Date do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@values = {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
8
|
+
@values = {
|
9
|
+
with_date_time: DateTime.new(1914, 8, 4, 11, 01, 6.0123, '+1'),
|
10
|
+
with_date: ::Date.new(1914, 8, 4),
|
11
|
+
with_year: 1914,
|
12
|
+
with_year_str: '1914',
|
13
|
+
with_year_month: '1914-08',
|
14
|
+
iso8601: '1914-08-04T11:01+01:00',
|
15
|
+
iso8601_secs: '1914-08-04T11:01:06+01:00',
|
16
|
+
iso8601_frac: '1914-08-04T11:01:06.0123+01:00',
|
17
|
+
year_range: '1914-1915'
|
18
|
+
}
|
17
19
|
@dates = @values.map { |format, v| [format, Date.new(type: DateType::AVAILABLE, value: v)] }.to_h
|
18
20
|
end
|
19
21
|
|
@@ -66,6 +68,12 @@ module Datacite
|
|
66
68
|
expect(d.value).not_to be_nil
|
67
69
|
end
|
68
70
|
|
71
|
+
it 'accepts a year range' do
|
72
|
+
d = @dates[:year_range]
|
73
|
+
expect(d).to be_a(Date)
|
74
|
+
expect(d.value).to eq('1914-1915')
|
75
|
+
end
|
76
|
+
|
69
77
|
it 'rejects invalid dates' do
|
70
78
|
expect { Date.new(value: 'elvis') }.to raise_error(ArgumentError)
|
71
79
|
end
|
@@ -154,7 +162,7 @@ module Datacite
|
|
154
162
|
it 'returns the month for all date formats that have it' do
|
155
163
|
expected = 8
|
156
164
|
@dates.each_pair do |format, d|
|
157
|
-
if [:with_year, :with_year_str].include?(format)
|
165
|
+
if [:with_year, :with_year_str, :year_range].include?(format)
|
158
166
|
expect(d.month).to be_nil
|
159
167
|
else
|
160
168
|
expect(d.month).to eq(expected), "expected #{expected}, got #{d.month} for :#{format} (#{d.value})"
|
@@ -167,7 +175,7 @@ module Datacite
|
|
167
175
|
it 'returns the day for all date formats that have it' do
|
168
176
|
expected = 4
|
169
177
|
@dates.each_pair do |format, d|
|
170
|
-
if [:with_year, :with_year_str, :with_year_month].include?(format)
|
178
|
+
if [:with_year, :with_year_str, :with_year_month, :year_range].include?(format)
|
171
179
|
expect(d.day).to be_nil
|
172
180
|
else
|
173
181
|
expect(d.day).to eq(expected), "expected #{expected}, got #{d.day} for :#{format} (#{d.value})"
|
@@ -180,7 +188,7 @@ module Datacite
|
|
180
188
|
it 'returns the hour for all formats that have it' do
|
181
189
|
expected = 11
|
182
190
|
@dates.each_pair do |format, d|
|
183
|
-
if [:with_date, :with_year, :with_year_str, :with_year_month].include?(format)
|
191
|
+
if [:with_date, :with_year, :with_year_str, :with_year_month, :year_range].include?(format)
|
184
192
|
expect(d.hour).to be_nil, "expected nil, got #{d.hour} for :#{format} (#{d.value})"
|
185
193
|
else
|
186
194
|
expect(d.hour).to eq(expected), "expected #{expected}, got #{d.hour} for :#{format} (#{d.value})"
|
@@ -193,7 +201,7 @@ module Datacite
|
|
193
201
|
it 'returns the minutes for all formats that have it' do
|
194
202
|
expected = 1
|
195
203
|
@dates.each_pair do |format, d|
|
196
|
-
if [:with_date, :with_year, :with_year_str, :with_year_month].include?(format)
|
204
|
+
if [:with_date, :with_year, :with_year_str, :with_year_month, :year_range].include?(format)
|
197
205
|
expect(d.minute).to be_nil, "expected nil, got #{d.hour} for :#{format} (#{d.value})"
|
198
206
|
else
|
199
207
|
expect(d.minute).to eq(expected), "expected #{expected}, got #{d.minute} for :#{format} (#{d.value})"
|
@@ -206,7 +214,7 @@ module Datacite
|
|
206
214
|
it 'returns the seconds for all formats that have it' do
|
207
215
|
expected = 6
|
208
216
|
@dates.each_pair do |format, d|
|
209
|
-
if [:with_date, :with_year, :with_year_str, :with_year_month].include?(format)
|
217
|
+
if [:with_date, :with_year, :with_year_str, :with_year_month, :year_range].include?(format)
|
210
218
|
expect(d.sec).to be_nil, "expected nil, got #{d.hour} for :#{format} (#{d.value})"
|
211
219
|
elsif format == :iso8601
|
212
220
|
expect(d.sec).to eq(0)
|
@@ -221,7 +229,7 @@ module Datacite
|
|
221
229
|
it 'returns the nanoseconds for all formats that have it' do
|
222
230
|
expected = 12_300_000
|
223
231
|
@dates.each_pair do |format, d|
|
224
|
-
if [:with_date, :with_year, :with_year_str, :with_year_month].include?(format)
|
232
|
+
if [:with_date, :with_year, :with_year_str, :with_year_month, :year_range].include?(format)
|
225
233
|
expect(d.nsec).to be_nil, "expected nil, got #{d.hour} for :#{format} (#{d.value})"
|
226
234
|
elsif [:iso8601, :iso8601_secs].include?(format)
|
227
235
|
expect(d.nsec).to eq(0)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Datacite
|
4
|
+
module Mapping
|
5
|
+
module Nonvalidating
|
6
|
+
describe Identifier do
|
7
|
+
describe '#load_from_xml' do
|
8
|
+
it 'parses a valid identifier' do
|
9
|
+
xml_text = "<identifier identifierType='DOI'>10.14749/1407399498</identifier>"
|
10
|
+
id = Identifier.parse_xml(xml_text, mapping: :nonvalidating)
|
11
|
+
expect(id.identifier_type).to eq('DOI')
|
12
|
+
expect(id.value).to eq('10.14749/1407399498')
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'parses an identifier with a missing value' do
|
16
|
+
xml_text = "<identifier identifierType='DOI'/>"
|
17
|
+
id = Identifier.parse_xml(xml_text, mapping: :nonvalidating)
|
18
|
+
expect(id.identifier_type).to eq('DOI')
|
19
|
+
expect(id.value).to be_nil
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '#save_to_xml' do
|
24
|
+
it 'writes a valid identifier' do
|
25
|
+
xml_text = "<identifier identifierType='DOI'>10.14749/1407399498</identifier>"
|
26
|
+
id = Identifier.parse_xml(xml_text, mapping: :nonvalidating)
|
27
|
+
expect(id.write_xml(mapping: :nonvalidating)).to be_xml(xml_text)
|
28
|
+
end
|
29
|
+
it 'writes an identifier with a missing value' do
|
30
|
+
xml_text = "<identifier identifierType='DOI'/>"
|
31
|
+
id = Identifier.parse_xml(xml_text, mapping: :nonvalidating)
|
32
|
+
expect(id.write_xml(mapping: :nonvalidating)).to be_xml(xml_text)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -686,6 +686,56 @@ module Datacite
|
|
686
686
|
|
687
687
|
describe 'XML mapping' do
|
688
688
|
|
689
|
+
describe '#parse_xml' do
|
690
|
+
it 'handles all Dash 1 documents' do
|
691
|
+
Dir.glob('/Users/dmoles/Work/datacite-mapping/spec/data/dash1-datacite-xml/*mrt-datacite.xml') do |f|
|
692
|
+
basename = File.basename(f)
|
693
|
+
bad_contrib_regex = Regexp.new('<contributor contributorType="([^"]+)">\p{Space}*<contributor>([^<]+)</contributor>\p{Space}*</contributor>', Regexp::MULTILINE)
|
694
|
+
good_contrib_replacement = "<contributor contributorType=\"\\1\">\n<contributorName>\\2</contributorName>\n</contributor>"
|
695
|
+
xml_text = File.read(f).gsub(bad_contrib_regex, good_contrib_replacement)
|
696
|
+
|
697
|
+
resource = nil
|
698
|
+
begin
|
699
|
+
resource = Resource.parse_xml(xml_text, mapping: :nonvalidating)
|
700
|
+
rescue Exception => e # rubocop:disable Lint/RescueException:
|
701
|
+
puts "Error parsing #{basename}: #{e}"
|
702
|
+
File.open("tmp/#{basename}-parse_error.xml", 'w') { |t| t.write(xml_text) }
|
703
|
+
raise
|
704
|
+
end
|
705
|
+
next unless resource
|
706
|
+
|
707
|
+
actual_xml = nil
|
708
|
+
begin
|
709
|
+
actual_xml = resource.write_xml
|
710
|
+
rescue Exception => e # rubocop:disable Lint/RescueException:
|
711
|
+
puts "Error writing #{basename}: #{e}"
|
712
|
+
raise
|
713
|
+
end
|
714
|
+
next unless actual_xml
|
715
|
+
|
716
|
+
actual_tidy = actual_xml
|
717
|
+
.gsub('<dcs:language>en</dcs:language>', '')
|
718
|
+
.gsub(" xml:lang='en'", '')
|
719
|
+
.gsub('<language>en</language>', '')
|
720
|
+
expected_tidy = xml_text
|
721
|
+
.gsub('<br/>', '[BREAK]')
|
722
|
+
.gsub(Regexp.new('<[a-zA-Z]+/>'), '')
|
723
|
+
.gsub('[BREAK]', '<br/>')
|
724
|
+
.gsub(Regexp.new('<subjects>\p{space}</subjects>', Regexp::MULTILINE), '')
|
725
|
+
.gsub("'", ''')
|
726
|
+
.gsub('"', "'")
|
727
|
+
|
728
|
+
begin
|
729
|
+
expect(actual_tidy).to be_xml(expected_tidy)
|
730
|
+
rescue Exception # rubocop:disable Lint/RescueException:
|
731
|
+
File.open("tmp/#{basename}-original.xml", 'w') { |t| t.write(expected_tidy) }
|
732
|
+
File.open("tmp/#{basename}-roundtrip.xml", 'w') { |t| t.write(actual_tidy) }
|
733
|
+
raise
|
734
|
+
end
|
735
|
+
end
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
689
739
|
describe '#save_to_xml' do
|
690
740
|
it 'writes XML' do
|
691
741
|
resource = Resource.new(
|
@@ -726,8 +776,8 @@ module Datacite
|
|
726
776
|
]
|
727
777
|
)
|
728
778
|
|
729
|
-
expected_xml = '<resource xsi:schemaLocation
|
730
|
-
<identifier identifierType
|
779
|
+
expected_xml = '<resource xsi:schemaLocation=\'http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd\' xmlns=\'http://datacite.org/schema/kernel-3\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\'>
|
780
|
+
<identifier identifierType=\'DOI\'>10.5072/D3P26Q35R-Test</identifier>
|
731
781
|
<creators>
|
732
782
|
<creator>
|
733
783
|
<creatorName>Fosmire, Michael</creatorName>
|
@@ -740,27 +790,34 @@ module Datacite
|
|
740
790
|
</creator>
|
741
791
|
</creators>
|
742
792
|
<titles>
|
743
|
-
<title xml:lang
|
793
|
+
<title xml:lang=\'en\'>Critical Engineering Literacy Test (CELT)</title>
|
744
794
|
</titles>
|
745
795
|
<publisher>Purdue University Research Repository (PURR)</publisher>
|
746
796
|
<publicationYear>2013</publicationYear>
|
747
797
|
<subjects>
|
748
|
-
<subject xml:lang
|
749
|
-
<subject xml:lang
|
750
|
-
<subject xml:lang
|
751
|
-
<subject xml:lang
|
752
|
-
<subject xml:lang
|
753
|
-
<subject xml:lang
|
798
|
+
<subject xml:lang=\'en\'>Assessment</subject>
|
799
|
+
<subject xml:lang=\'en\'>Information Literacy</subject>
|
800
|
+
<subject xml:lang=\'en\'>Engineering</subject>
|
801
|
+
<subject xml:lang=\'en\'>Undergraduate Students</subject>
|
802
|
+
<subject xml:lang=\'en\'>CELT</subject>
|
803
|
+
<subject xml:lang=\'en\'>Purdue University</subject>
|
754
804
|
</subjects>
|
755
805
|
<language>en</language>
|
756
|
-
<resourceType resourceTypeGeneral
|
806
|
+
<resourceType resourceTypeGeneral=\'Dataset\'>Dataset</resourceType>
|
757
807
|
<version>1</version>
|
758
808
|
<descriptions>
|
759
|
-
<description descriptionType
|
809
|
+
<description descriptionType=\'Abstract\' xml:lang=\'en\'>We developed an instrument, Critical Engineering Literacy Test (CELT), which is a multiple choice instrument designed to measure undergraduate students’ scientific and information literacy skills. It requires students to first read a technical memo and, based on the memo’s arguments, answer eight multiple choice and six open-ended response questions. We collected data from 143 first-year engineering students and conducted an item analysis. The KR-20 reliability of the instrument was .39. Item difficulties ranged between .17 to .83. The results indicate low reliability index but acceptable levels of item difficulties and item discrimination indices. Students were most challenged when answering items measuring scientific and mathematical literacy (i.e., identifying incorrect information).</description>
|
760
810
|
</descriptions>
|
761
811
|
</resource>'
|
762
812
|
|
763
|
-
|
813
|
+
actual_xml = resource.write_xml
|
814
|
+
begin
|
815
|
+
expect(actual_xml).to be_xml(expected_xml)
|
816
|
+
rescue Exception # rubocop:disable Lint/RescueException:
|
817
|
+
File.open('tmp/expected.xml', 'w') { |t| t.write(expected_xml) }
|
818
|
+
File.open('tmp/actual.xml', 'w') { |t| t.write(actual_xml) }
|
819
|
+
raise
|
820
|
+
end
|
764
821
|
end
|
765
822
|
end
|
766
823
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datacite-mapping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Moles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typesafe_enum
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '0.4'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.4.
|
42
|
+
version: 0.4.5
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '0.4'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.4.
|
52
|
+
version: 0.4.5
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: bundler
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,6 +222,9 @@ files:
|
|
222
222
|
- lib/datacite/mapping/identifier.rb
|
223
223
|
- lib/datacite/mapping/module_info.rb
|
224
224
|
- lib/datacite/mapping/name_identifier.rb
|
225
|
+
- lib/datacite/mapping/nonvalidating.rb
|
226
|
+
- lib/datacite/mapping/nonvalidating/identifier.rb
|
227
|
+
- lib/datacite/mapping/nonvalidating/subject.rb
|
225
228
|
- lib/datacite/mapping/related_identifier.rb
|
226
229
|
- lib/datacite/mapping/resource.rb
|
227
230
|
- lib/datacite/mapping/resource_type.rb
|
@@ -229,6 +232,135 @@ files:
|
|
229
232
|
- lib/datacite/mapping/subject.rb
|
230
233
|
- lib/datacite/mapping/title.rb
|
231
234
|
- spec/.rubocop.yml
|
235
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3059p-mrt-datacite.xml
|
236
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r31017-mrt-datacite.xml
|
237
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3201j-mrt-datacite.xml
|
238
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r33w26-mrt-datacite.xml
|
239
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r34s3v-mrt-datacite.xml
|
240
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r36p4t-mrt-datacite.xml
|
241
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r39g6f-mrt-datacite.xml
|
242
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3cc7d-mrt-datacite.xml
|
243
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3d59d-mrt-datacite.xml
|
244
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3f59q-mrt-datacite.xml
|
245
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3g591-mrt-datacite.xml
|
246
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3k016-mrt-datacite.xml
|
247
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3kw2j-mrt-datacite.xml
|
248
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3mw2v-mrt-datacite.xml
|
249
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3np4v-mrt-datacite.xml
|
250
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3pp45-mrt-datacite.xml
|
251
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3rp4s-mrt-datacite.xml
|
252
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3tg63-mrt-datacite.xml
|
253
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1159q-mrt-datacite.xml
|
254
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d17g6j-mrt-datacite.xml
|
255
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1c88g-mrt-datacite.xml
|
256
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1cc74-mrt-datacite.xml
|
257
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1h019-mrt-datacite.xml
|
258
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1ms3x-mrt-datacite.xml
|
259
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1mw2k-mrt-datacite.xml
|
260
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rg66-mrt-datacite.xml
|
261
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rp4h-mrt-datacite.xml
|
262
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1wc7s-mrt-datacite.xml
|
263
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1001p-mrt-datacite.xml
|
264
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1059f-mrt-datacite.xml
|
265
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d11010-mrt-datacite.xml
|
266
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1159r-mrt-datacite.xml
|
267
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d12019-mrt-datacite.xml
|
268
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d12s30-mrt-datacite.xml
|
269
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1301m-mrt-datacite.xml
|
270
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d13s39-mrt-datacite.xml
|
271
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d13w2z-mrt-datacite.xml
|
272
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d14s3m-mrt-datacite.xml
|
273
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d15k5m-mrt-datacite.xml
|
274
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d15p48-mrt-datacite.xml
|
275
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d16k5x-mrt-datacite.xml
|
276
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d16p4k-mrt-datacite.xml
|
277
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d17g6k-mrt-datacite.xml
|
278
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d17p4w-mrt-datacite.xml
|
279
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d18g6w-mrt-datacite.xml
|
280
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1988w-mrt-datacite.xml
|
281
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d19g66-mrt-datacite.xml
|
282
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1b886-mrt-datacite.xml
|
283
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1bc7v-mrt-datacite.xml
|
284
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1c88h-mrt-datacite.xml
|
285
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1cc75-mrt-datacite.xml
|
286
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1d595-mrt-datacite.xml
|
287
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f30c-mrt-datacite.xml
|
288
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f59g-mrt-datacite.xml
|
289
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g011-mrt-datacite.xml
|
290
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g59s-mrt-datacite.xml
|
291
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h01b-mrt-datacite.xml
|
292
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h593-mrt-datacite.xml
|
293
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1j01n-mrt-datacite.xml
|
294
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1js3b-mrt-datacite.xml
|
295
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1k01z-mrt-datacite.xml
|
296
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ks3n-mrt-datacite.xml
|
297
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1kw29-mrt-datacite.xml
|
298
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ms3z-mrt-datacite.xml
|
299
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1mw2m-mrt-datacite.xml
|
300
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1np4m-mrt-datacite.xml
|
301
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pk58-mrt-datacite.xml
|
302
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pp4x-mrt-datacite.xml
|
303
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qg6x-mrt-datacite.xml
|
304
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qp47-mrt-datacite.xml
|
305
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rg67-mrt-datacite.xml
|
306
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rp4j-mrt-datacite.xml
|
307
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1sg6j-mrt-datacite.xml
|
308
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1t88j-mrt-datacite.xml
|
309
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1tg6v-mrt-datacite.xml
|
310
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1v88v-mrt-datacite.xml
|
311
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1vc7h-mrt-datacite.xml
|
312
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1w885-mrt-datacite.xml
|
313
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1wc7t-mrt-datacite.xml
|
314
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1x59t-mrt-datacite.xml
|
315
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1z594-mrt-datacite.xml
|
316
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5060=d2qr4v2t-mrt-datacite.xml
|
317
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1cc7x-mrt-datacite.xml
|
318
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1h59v-mrt-datacite.xml
|
319
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1rp49-mrt-datacite.xml
|
320
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1wc7k-mrt-datacite.xml
|
321
|
+
- spec/data/dash1-datacite-xml/ucm-ark+=13030=m51g217t-mrt-datacite.xml
|
322
|
+
- spec/data/dash1-datacite-xml/ucm-ark+=b6071=z7wc73-mrt-datacite.xml
|
323
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8301x-mrt-datacite.xml
|
324
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d86p4w-mrt-datacite.xml
|
325
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8bc75-mrt-datacite.xml
|
326
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8g593-mrt-datacite.xml
|
327
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8h59d-mrt-datacite.xml
|
328
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8kw2m-mrt-datacite.xml
|
329
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8rp4v-mrt-datacite.xml
|
330
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8z59f-mrt-datacite.xml
|
331
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d11592-mrt-datacite.xml
|
332
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d17p46-mrt-datacite.xml
|
333
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1h59d-mrt-datacite.xml
|
334
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1mw2x-mrt-datacite.xml
|
335
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1wc74-mrt-datacite.xml
|
336
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6057cv6-mrt-datacite.xml
|
337
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6154f00-mrt-datacite.xml
|
338
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q61z429d-mrt-datacite.xml
|
339
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q62z13fs-mrt-datacite.xml
|
340
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q65q4t1r-mrt-datacite.xml
|
341
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q66q1v54-mrt-datacite.xml
|
342
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q67p8w9z-mrt-datacite.xml
|
343
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q68g8hmp-mrt-datacite.xml
|
344
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6bg2kwf-mrt-datacite.xml
|
345
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6c8276k-mrt-datacite.xml
|
346
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6cc0xmh-mrt-datacite.xml
|
347
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6d798bd-mrt-datacite.xml
|
348
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h12zxh-mrt-datacite.xml
|
349
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h41pb7-mrt-datacite.xml
|
350
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6kw5cxv-mrt-datacite.xml
|
351
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6ms3qnx-mrt-datacite.xml
|
352
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6mw2f2n-mrt-datacite.xml
|
353
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6pn93h6-mrt-datacite.xml
|
354
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6qn64nk-mrt-datacite.xml
|
355
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rf5rzx-mrt-datacite.xml
|
356
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rn35sz-mrt-datacite.xml
|
357
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6sf2t3q-mrt-datacite.xml
|
358
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6td9v7j-mrt-datacite.xml
|
359
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6w66hpn-mrt-datacite.xml
|
360
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6x63jt1-mrt-datacite.xml
|
361
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6z60kzd-mrt-datacite.xml
|
362
|
+
- spec/data/metadata.xsd
|
363
|
+
- spec/data/mrt-datacite.xml
|
232
364
|
- spec/data/resource.xml
|
233
365
|
- spec/rspec_custom_matchers.rb
|
234
366
|
- spec/spec_helper.rb
|
@@ -243,6 +375,7 @@ files:
|
|
243
375
|
- spec/unit/datacite/mapping/identifier_spec.rb
|
244
376
|
- spec/unit/datacite/mapping/log_spec.rb
|
245
377
|
- spec/unit/datacite/mapping/name_identifier_spec.rb
|
378
|
+
- spec/unit/datacite/mapping/nonvalidating/identifier_spec.rb
|
246
379
|
- spec/unit/datacite/mapping/related_identifier_spec.rb
|
247
380
|
- spec/unit/datacite/mapping/resource_spec.rb
|
248
381
|
- spec/unit/datacite/mapping/resource_type_spec.rb
|
@@ -275,6 +408,135 @@ specification_version: 4
|
|
275
408
|
summary: Parses and generates Datacite XML documents
|
276
409
|
test_files:
|
277
410
|
- spec/.rubocop.yml
|
411
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3059p-mrt-datacite.xml
|
412
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r31017-mrt-datacite.xml
|
413
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3201j-mrt-datacite.xml
|
414
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r33w26-mrt-datacite.xml
|
415
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r34s3v-mrt-datacite.xml
|
416
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r36p4t-mrt-datacite.xml
|
417
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r39g6f-mrt-datacite.xml
|
418
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3cc7d-mrt-datacite.xml
|
419
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3d59d-mrt-datacite.xml
|
420
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3f59q-mrt-datacite.xml
|
421
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3g591-mrt-datacite.xml
|
422
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3k016-mrt-datacite.xml
|
423
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3kw2j-mrt-datacite.xml
|
424
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3mw2v-mrt-datacite.xml
|
425
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3np4v-mrt-datacite.xml
|
426
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3pp45-mrt-datacite.xml
|
427
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3rp4s-mrt-datacite.xml
|
428
|
+
- spec/data/dash1-datacite-xml/dataone-ark+=c5146=r3tg63-mrt-datacite.xml
|
429
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1159q-mrt-datacite.xml
|
430
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d17g6j-mrt-datacite.xml
|
431
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1c88g-mrt-datacite.xml
|
432
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1cc74-mrt-datacite.xml
|
433
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1h019-mrt-datacite.xml
|
434
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1ms3x-mrt-datacite.xml
|
435
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1mw2k-mrt-datacite.xml
|
436
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rg66-mrt-datacite.xml
|
437
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1rp4h-mrt-datacite.xml
|
438
|
+
- spec/data/dash1-datacite-xml/ucb-ark+=b6078=d1wc7s-mrt-datacite.xml
|
439
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1001p-mrt-datacite.xml
|
440
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1059f-mrt-datacite.xml
|
441
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d11010-mrt-datacite.xml
|
442
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1159r-mrt-datacite.xml
|
443
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d12019-mrt-datacite.xml
|
444
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d12s30-mrt-datacite.xml
|
445
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1301m-mrt-datacite.xml
|
446
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d13s39-mrt-datacite.xml
|
447
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d13w2z-mrt-datacite.xml
|
448
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d14s3m-mrt-datacite.xml
|
449
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d15k5m-mrt-datacite.xml
|
450
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d15p48-mrt-datacite.xml
|
451
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d16k5x-mrt-datacite.xml
|
452
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d16p4k-mrt-datacite.xml
|
453
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d17g6k-mrt-datacite.xml
|
454
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d17p4w-mrt-datacite.xml
|
455
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d18g6w-mrt-datacite.xml
|
456
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1988w-mrt-datacite.xml
|
457
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d19g66-mrt-datacite.xml
|
458
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1b886-mrt-datacite.xml
|
459
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1bc7v-mrt-datacite.xml
|
460
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1c88h-mrt-datacite.xml
|
461
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1cc75-mrt-datacite.xml
|
462
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1d595-mrt-datacite.xml
|
463
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f30c-mrt-datacite.xml
|
464
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1f59g-mrt-datacite.xml
|
465
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g011-mrt-datacite.xml
|
466
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1g59s-mrt-datacite.xml
|
467
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h01b-mrt-datacite.xml
|
468
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1h593-mrt-datacite.xml
|
469
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1j01n-mrt-datacite.xml
|
470
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1js3b-mrt-datacite.xml
|
471
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1k01z-mrt-datacite.xml
|
472
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ks3n-mrt-datacite.xml
|
473
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1kw29-mrt-datacite.xml
|
474
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1ms3z-mrt-datacite.xml
|
475
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1mw2m-mrt-datacite.xml
|
476
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1np4m-mrt-datacite.xml
|
477
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pk58-mrt-datacite.xml
|
478
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1pp4x-mrt-datacite.xml
|
479
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qg6x-mrt-datacite.xml
|
480
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1qp47-mrt-datacite.xml
|
481
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rg67-mrt-datacite.xml
|
482
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1rp4j-mrt-datacite.xml
|
483
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1sg6j-mrt-datacite.xml
|
484
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1t88j-mrt-datacite.xml
|
485
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1tg6v-mrt-datacite.xml
|
486
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1v88v-mrt-datacite.xml
|
487
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1vc7h-mrt-datacite.xml
|
488
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1w885-mrt-datacite.xml
|
489
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1wc7t-mrt-datacite.xml
|
490
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1x59t-mrt-datacite.xml
|
491
|
+
- spec/data/dash1-datacite-xml/uci-ark+=b7280=d1z594-mrt-datacite.xml
|
492
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5060=d2qr4v2t-mrt-datacite.xml
|
493
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1cc7x-mrt-datacite.xml
|
494
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1h59v-mrt-datacite.xml
|
495
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1rp49-mrt-datacite.xml
|
496
|
+
- spec/data/dash1-datacite-xml/ucla-ark+=b5068=d1wc7k-mrt-datacite.xml
|
497
|
+
- spec/data/dash1-datacite-xml/ucm-ark+=13030=m51g217t-mrt-datacite.xml
|
498
|
+
- spec/data/dash1-datacite-xml/ucm-ark+=b6071=z7wc73-mrt-datacite.xml
|
499
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8301x-mrt-datacite.xml
|
500
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d86p4w-mrt-datacite.xml
|
501
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8bc75-mrt-datacite.xml
|
502
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8g593-mrt-datacite.xml
|
503
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8h59d-mrt-datacite.xml
|
504
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8kw2m-mrt-datacite.xml
|
505
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8rp4v-mrt-datacite.xml
|
506
|
+
- spec/data/dash1-datacite-xml/ucop-ark+=b5060=d8z59f-mrt-datacite.xml
|
507
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d11592-mrt-datacite.xml
|
508
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d17p46-mrt-datacite.xml
|
509
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1h59d-mrt-datacite.xml
|
510
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1mw2x-mrt-datacite.xml
|
511
|
+
- spec/data/dash1-datacite-xml/ucsc-ark+=b7291=d1wc74-mrt-datacite.xml
|
512
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6057cv6-mrt-datacite.xml
|
513
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6154f00-mrt-datacite.xml
|
514
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q61z429d-mrt-datacite.xml
|
515
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q62z13fs-mrt-datacite.xml
|
516
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q65q4t1r-mrt-datacite.xml
|
517
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q66q1v54-mrt-datacite.xml
|
518
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q67p8w9z-mrt-datacite.xml
|
519
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q68g8hmp-mrt-datacite.xml
|
520
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6bg2kwf-mrt-datacite.xml
|
521
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6c8276k-mrt-datacite.xml
|
522
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6cc0xmh-mrt-datacite.xml
|
523
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6d798bd-mrt-datacite.xml
|
524
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h12zxh-mrt-datacite.xml
|
525
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6h41pb7-mrt-datacite.xml
|
526
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6kw5cxv-mrt-datacite.xml
|
527
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6ms3qnx-mrt-datacite.xml
|
528
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6mw2f2n-mrt-datacite.xml
|
529
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6pn93h6-mrt-datacite.xml
|
530
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6qn64nk-mrt-datacite.xml
|
531
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rf5rzx-mrt-datacite.xml
|
532
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6rn35sz-mrt-datacite.xml
|
533
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6sf2t3q-mrt-datacite.xml
|
534
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6td9v7j-mrt-datacite.xml
|
535
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6w66hpn-mrt-datacite.xml
|
536
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6x63jt1-mrt-datacite.xml
|
537
|
+
- spec/data/dash1-datacite-xml/ucsf-ark+=b7272=q6z60kzd-mrt-datacite.xml
|
538
|
+
- spec/data/metadata.xsd
|
539
|
+
- spec/data/mrt-datacite.xml
|
278
540
|
- spec/data/resource.xml
|
279
541
|
- spec/rspec_custom_matchers.rb
|
280
542
|
- spec/spec_helper.rb
|
@@ -289,6 +551,7 @@ test_files:
|
|
289
551
|
- spec/unit/datacite/mapping/identifier_spec.rb
|
290
552
|
- spec/unit/datacite/mapping/log_spec.rb
|
291
553
|
- spec/unit/datacite/mapping/name_identifier_spec.rb
|
554
|
+
- spec/unit/datacite/mapping/nonvalidating/identifier_spec.rb
|
292
555
|
- spec/unit/datacite/mapping/related_identifier_spec.rb
|
293
556
|
- spec/unit/datacite/mapping/resource_spec.rb
|
294
557
|
- spec/unit/datacite/mapping/resource_type_spec.rb
|