bolognese 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/version.rb +1 -1
- data/spec/fixtures/pure.xml +188 -0
- data/spec/readers/datacite_reader_spec.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18e30a9c4fd2f5e6976f471808e2128985b5d61e3de412ae8a501b4f58cf6e0a
|
4
|
+
data.tar.gz: e2c613389fb58916cbf912b709eefac7a2f1cc64904b7e501fea0256cccacf85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb80c4e870947c8569a39c1fc726b99bbe1061ffd47e1f37f80c94a469220b08aab7c624dffcb6c8d763f8413fc5af5d622efea9c6db21767c9993fb19a0b72c
|
7
|
+
data.tar.gz: fad294c8515a87cd581292f4785fdff394401d79d4080accbf6a66252e005a8cda569fa9574bbc83509f2ead87a7484ccbd83e74f5dcc4a7129c4574c0ca3f6d
|
data/Gemfile.lock
CHANGED
data/lib/bolognese/version.rb
CHANGED
@@ -0,0 +1,188 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<resource xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd"
|
3
|
+
xmlns="http://datacite.org/schema/kernel-4"
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
5
|
+
<identifier identifierType="DOI">10.17630/bb43e6a3-72e0-464c-9fdd-fbe5d3e56a09</identifier>
|
6
|
+
<creators>
|
7
|
+
<creator>
|
8
|
+
<creatorName>Haywood, Raphaelle Dawn</creatorName>
|
9
|
+
<givenName xsi:type="xs:string"
|
10
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Raphaelle Dawn</givenName>
|
11
|
+
<familyName xsi:type="xs:string"
|
12
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Haywood</familyName>
|
13
|
+
<affiliation xsi:type="xs:string"
|
14
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">School of Physics and Astronomy</affiliation>
|
15
|
+
</creator>
|
16
|
+
<creator>
|
17
|
+
<creatorName>Cameron, Andrew Collier</creatorName>
|
18
|
+
<givenName xsi:type="xs:string"
|
19
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Andrew Collier</givenName>
|
20
|
+
<familyName xsi:type="xs:string"
|
21
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Cameron</familyName>
|
22
|
+
<affiliation xsi:type="xs:string"
|
23
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">School of Physics and Astronomy</affiliation>
|
24
|
+
</creator>
|
25
|
+
<creator>
|
26
|
+
<creatorName>Unruh, Y. C. </creatorName>
|
27
|
+
<givenName xsi:type="xs:string"
|
28
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Y. C. </givenName>
|
29
|
+
<familyName xsi:type="xs:string"
|
30
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Unruh</familyName>
|
31
|
+
</creator>
|
32
|
+
<creator>
|
33
|
+
<creatorName>Lovis, C. </creatorName>
|
34
|
+
<givenName xsi:type="xs:string"
|
35
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">C. </givenName>
|
36
|
+
<familyName xsi:type="xs:string"
|
37
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Lovis</familyName>
|
38
|
+
</creator>
|
39
|
+
<creator>
|
40
|
+
<creatorName>Lanza, A.F. </creatorName>
|
41
|
+
<givenName xsi:type="xs:string"
|
42
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">A.F. </givenName>
|
43
|
+
<familyName xsi:type="xs:string"
|
44
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Lanza</familyName>
|
45
|
+
</creator>
|
46
|
+
<creator>
|
47
|
+
<creatorName>Llama, Joseph</creatorName>
|
48
|
+
<givenName xsi:type="xs:string"
|
49
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Joseph</givenName>
|
50
|
+
<familyName xsi:type="xs:string"
|
51
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Llama</familyName>
|
52
|
+
<affiliation xsi:type="xs:string"
|
53
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">School of Physics and Astronomy</affiliation>
|
54
|
+
</creator>
|
55
|
+
<creator>
|
56
|
+
<creatorName>Deleuil, M. </creatorName>
|
57
|
+
<givenName xsi:type="xs:string"
|
58
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">M. </givenName>
|
59
|
+
<familyName xsi:type="xs:string"
|
60
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Deleuil</familyName>
|
61
|
+
</creator>
|
62
|
+
<creator>
|
63
|
+
<creatorName>Fares, Rim</creatorName>
|
64
|
+
<givenName xsi:type="xs:string"
|
65
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Rim</givenName>
|
66
|
+
<familyName xsi:type="xs:string"
|
67
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Fares</familyName>
|
68
|
+
</creator>
|
69
|
+
<creator>
|
70
|
+
<creatorName>Gillon, M. </creatorName>
|
71
|
+
<givenName xsi:type="xs:string"
|
72
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">M. </givenName>
|
73
|
+
<familyName xsi:type="xs:string"
|
74
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Gillon</familyName>
|
75
|
+
</creator>
|
76
|
+
<creator>
|
77
|
+
<creatorName>Moutou, C. </creatorName>
|
78
|
+
<givenName xsi:type="xs:string"
|
79
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">C. </givenName>
|
80
|
+
<familyName xsi:type="xs:string"
|
81
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Moutou</familyName>
|
82
|
+
</creator>
|
83
|
+
<creator>
|
84
|
+
<creatorName>Pepe, F. </creatorName>
|
85
|
+
<givenName xsi:type="xs:string"
|
86
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">F. </givenName>
|
87
|
+
<familyName xsi:type="xs:string"
|
88
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Pepe</familyName>
|
89
|
+
</creator>
|
90
|
+
<creator>
|
91
|
+
<creatorName>Pollacco, D. </creatorName>
|
92
|
+
<givenName xsi:type="xs:string"
|
93
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">D. </givenName>
|
94
|
+
<familyName xsi:type="xs:string"
|
95
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Pollacco</familyName>
|
96
|
+
</creator>
|
97
|
+
<creator>
|
98
|
+
<creatorName>Queloz, D. </creatorName>
|
99
|
+
<givenName xsi:type="xs:string"
|
100
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">D. </givenName>
|
101
|
+
<familyName xsi:type="xs:string"
|
102
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Queloz</familyName>
|
103
|
+
</creator>
|
104
|
+
<creator>
|
105
|
+
<creatorName>Ségransan, D. </creatorName>
|
106
|
+
<givenName xsi:type="xs:string"
|
107
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">D. </givenName>
|
108
|
+
<familyName xsi:type="xs:string"
|
109
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Ségransan</familyName>
|
110
|
+
</creator>
|
111
|
+
</creators>
|
112
|
+
<titles>
|
113
|
+
<title xml:lang="en">Data underpinning - The Sun as a planet-host star: Proxies from SDO images for HARPS radial-velocity variations</title>
|
114
|
+
</titles>
|
115
|
+
<publisher>University of St Andrews</publisher>
|
116
|
+
<publicationYear>2016</publicationYear>
|
117
|
+
<resourceType resourceTypeGeneral="Audiovisual">Dataset</resourceType>
|
118
|
+
<contributors>
|
119
|
+
<contributor contributorType="ContactPerson">
|
120
|
+
<contributorName>Haywood, Raphaelle Dawn</contributorName>
|
121
|
+
<givenName xsi:type="xs:string"
|
122
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Raphaelle Dawn</givenName>
|
123
|
+
<familyName xsi:type="xs:string"
|
124
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">Haywood</familyName>
|
125
|
+
</contributor>
|
126
|
+
</contributors>
|
127
|
+
<dates>
|
128
|
+
<date dateType="Available">2016-01-20</date>
|
129
|
+
</dates>
|
130
|
+
<sizes>
|
131
|
+
<size>1KB</size>
|
132
|
+
<size>6KB</size>
|
133
|
+
<size>25KB</size>
|
134
|
+
<size>4KB</size>
|
135
|
+
<size>11KB</size>
|
136
|
+
<size>7MB</size>
|
137
|
+
</sizes>
|
138
|
+
<formats>
|
139
|
+
<format>application/octet-stream</format>
|
140
|
+
<format>application/x-rtf</format>
|
141
|
+
<format>text/plain</format>
|
142
|
+
<format>text/plain</format>
|
143
|
+
<format>application/octet-stream</format>
|
144
|
+
<format>application/x-gzip</format>
|
145
|
+
</formats>
|
146
|
+
<rightsList>
|
147
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
148
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
149
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
150
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
151
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
152
|
+
<rights rightsURI="http://creativecommons.org/licenses/by/4.0/">CC BY</rights>
|
153
|
+
</rightsList>
|
154
|
+
<descriptions>
|
155
|
+
<description descriptionType="Abstract" xml:lang="en"></description>
|
156
|
+
</descriptions>
|
157
|
+
<fundingReferences>
|
158
|
+
<fundingReference>
|
159
|
+
<funderName>Science & Technology Facilities Council</funderName>
|
160
|
+
<awardNumber>ST/M001296/1</awardNumber>
|
161
|
+
<awardTitle>Astronomy at St Andrews 2015-2018</awardTitle>
|
162
|
+
</fundingReference>
|
163
|
+
<fundingReference>
|
164
|
+
<funderName>European Commission</funderName>
|
165
|
+
<awardTitle>ETAEARTH</awardTitle>
|
166
|
+
</fundingReference>
|
167
|
+
<fundingReference>
|
168
|
+
<funderName>Science & Technology Facilities Council</funderName>
|
169
|
+
<awardNumber>ST/I000666/1</awardNumber>
|
170
|
+
<awardTitle>St Andrrews Astronomy PATT linked Travel and subsistence</awardTitle>
|
171
|
+
</fundingReference>
|
172
|
+
<fundingReference>
|
173
|
+
<funderName>Science & Technology Facilities Council</funderName>
|
174
|
+
<awardNumber>ST/J001651/1</awardNumber>
|
175
|
+
<awardTitle>Astrophysics at St Andrews: 2012 - 2014</awardTitle>
|
176
|
+
</fundingReference>
|
177
|
+
<fundingReference>
|
178
|
+
<funderName>PPARC - Now STFC</funderName>
|
179
|
+
<awardNumber>PP/D000890/1</awardNumber>
|
180
|
+
<awardTitle>Astrophysics at St.Andrews</awardTitle>
|
181
|
+
</fundingReference>
|
182
|
+
<fundingReference>
|
183
|
+
<funderName>Science & Technology Facilities Council</funderName>
|
184
|
+
<awardNumber>ST/G001006/1</awardNumber>
|
185
|
+
<awardTitle>Patt Linked Travel & Subsistence</awardTitle>
|
186
|
+
</fundingReference>
|
187
|
+
</fundingReferences>
|
188
|
+
</resource>
|
@@ -135,7 +135,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
135
135
|
end
|
136
136
|
|
137
137
|
it "xs:string attributes" do
|
138
|
-
input =
|
138
|
+
input = fixture_path + 'pure.xml'
|
139
139
|
subject = Bolognese::Metadata.new(input: input)
|
140
140
|
expect(subject.valid?).to be true
|
141
141
|
expect(subject.types["schemaOrg"]).to eq("Dataset")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolognese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
@@ -746,6 +746,7 @@ files:
|
|
746
746
|
- spec/fixtures/ns0.xml
|
747
747
|
- spec/fixtures/pure.bib
|
748
748
|
- spec/fixtures/pure.ris
|
749
|
+
- spec/fixtures/pure.xml
|
749
750
|
- spec/fixtures/ris_bug.ris
|
750
751
|
- spec/fixtures/schema_4.0.xml
|
751
752
|
- spec/fixtures/schema_org.json
|