bolognese 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/bolognese/datacite_utils.rb +4 -4
- data/lib/bolognese/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4687acb1f204f7cea2f87698c0dc2a2a1dcd65d0ce129287623ade20dc812cd9
|
|
4
|
+
data.tar.gz: 2e0630eb9f1325afad5a18f3887924397f713627d7101db54611a0be0eff58f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20c58ca184e77626ead3101a5d7cda2e77812413a200435a4908140a1559db398375ab129fc31dc956aa9246f1e7b50ab30ebb19737e854b1e5d20592a98c34a
|
|
7
|
+
data.tar.gz: 6613ff4527370e1683fb345e64cc41060c038f5ab732011ebfc568df4c25caf3eb1d6e797166e613bc41b61aaa859bb1c8ea0cb371ce0552ff887558a6388db5
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bolognese (1.0.
|
|
4
|
+
bolognese (1.0.29)
|
|
5
5
|
activesupport (>= 4.2.5, < 6)
|
|
6
6
|
benchmark_methods (~> 0.7)
|
|
7
7
|
bibtex-ruby (~> 4.1)
|
|
@@ -28,7 +28,7 @@ PATH
|
|
|
28
28
|
GEM
|
|
29
29
|
remote: https://rubygems.org/
|
|
30
30
|
specs:
|
|
31
|
-
activesupport (5.2.
|
|
31
|
+
activesupport (5.2.2)
|
|
32
32
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
33
33
|
i18n (>= 0.7, < 2)
|
|
34
34
|
minitest (~> 5.1)
|
|
@@ -85,7 +85,7 @@ module Bolognese
|
|
|
85
85
|
t["title"] = title
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
attributes = { 'titleType' => t["titleType"], 'lang' => t["lang"] }.compact
|
|
88
|
+
attributes = { 'titleType' => t["titleType"], 'xml:lang' => t["lang"] }.compact
|
|
89
89
|
xml.title(t["title"], attributes)
|
|
90
90
|
end
|
|
91
91
|
end
|
|
@@ -154,7 +154,7 @@ module Bolognese
|
|
|
154
154
|
s["subject"] = subject
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
attributes = { "subjectScheme" => s["subjectScheme"], "schemeURI" => s["schemeUri"], "valueURI" => s["valueUri"], "lang" => s["lang"] }.compact
|
|
157
|
+
attributes = { "subjectScheme" => s["subjectScheme"], "schemeURI" => s["schemeUri"], "valueURI" => s["valueUri"], "xml:lang" => s["lang"] }.compact
|
|
158
158
|
|
|
159
159
|
xml.subject(s["subject"], attributes)
|
|
160
160
|
end
|
|
@@ -199,7 +199,7 @@ module Bolognese
|
|
|
199
199
|
r["rightsUri"] = normalize_id(rights)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
|
-
attributes = { 'rightsURI' => r["rightsUri"], 'lang' => r["lang"] }.compact
|
|
202
|
+
attributes = { 'rightsURI' => r["rightsUri"], 'xml:lang' => r["lang"] }.compact
|
|
203
203
|
|
|
204
204
|
xml.rights(r["rights"], attributes)
|
|
205
205
|
end
|
|
@@ -223,7 +223,7 @@ module Bolognese
|
|
|
223
223
|
d["descriptionType"] = "Abstract"
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
-
attributes = { 'lang' => d["lang"], 'descriptionType' => d["descriptionType"] || "Abstract" }.compact
|
|
226
|
+
attributes = { 'xml:lang' => d["lang"], 'descriptionType' => d["descriptionType"] || "Abstract" }.compact
|
|
227
227
|
|
|
228
228
|
xml.description(d["description"], attributes)
|
|
229
229
|
end
|
data/lib/bolognese/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bolognese
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.29
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Fenner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: maremma
|