bolognese 1.8.18 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/changelog.yml +36 -0
- data/CHANGELOG.md +1740 -0
- data/Gemfile.lock +54 -50
- data/bolognese.gemspec +1 -1
- data/lib/bolognese/author_utils.rb +6 -5
- data/lib/bolognese/datacite_utils.rb +76 -9
- data/lib/bolognese/metadata.rb +10 -5
- data/lib/bolognese/metadata_utils.rb +3 -2
- data/lib/bolognese/readers/bibtex_reader.rb +5 -4
- data/lib/bolognese/readers/citeproc_reader.rb +1 -1
- data/lib/bolognese/readers/crossref_reader.rb +3 -3
- data/lib/bolognese/readers/datacite_reader.rb +77 -11
- data/lib/bolognese/readers/ris_reader.rb +3 -3
- data/lib/bolognese/utils.rb +163 -46
- data/lib/bolognese/version.rb +1 -1
- data/resources/kernel-4.4/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.4/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.4/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.4/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.4/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.4/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.4/include/datacite-relationType-v4.xsd +51 -0
- data/resources/kernel-4.4/include/datacite-resourceType-v4.xsd +43 -0
- data/resources/kernel-4.4/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.4/include/xml.xsd +286 -0
- data/resources/kernel-4.4/metadata.xsd +707 -0
- data/resources/kernel-4/include/datacite-contributorType-v4.xsd +21 -21
- data/resources/kernel-4/include/datacite-dateType-v4.xsd +11 -11
- data/resources/kernel-4/include/datacite-descriptionType-v4.xsd +6 -6
- data/resources/kernel-4/include/datacite-funderIdentifierType-v4.xsd +5 -5
- data/resources/kernel-4/include/datacite-nameType-v4.xsd +2 -2
- data/resources/kernel-4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd +19 -19
- data/resources/kernel-4/include/datacite-relationType-v4.xsd +36 -34
- data/resources/kernel-4/include/datacite-resourceType-v4.xsd +32 -17
- data/resources/kernel-4/include/datacite-titleType-v4.xsd +4 -4
- data/resources/kernel-4/metadata.xsd +297 -105
- data/spec/fixtures/datacite-example-dissertation-v4.4.xml +56 -0
- data/spec/fixtures/datacite-example-full-v4.4.xml +114 -0
- data/spec/fixtures/datacite-example-relateditems.xml +61 -0
- data/spec/fixtures/datacite-example-xs-string.xml +28 -0
- data/spec/fixtures/datacite-geolocationpolygons-multiple.xml +76 -0
- data/spec/metadata_spec.rb +1 -1
- data/spec/readers/bibtex_reader_spec.rb +2 -2
- data/spec/readers/crossref_reader_spec.rb +37 -37
- data/spec/readers/datacite_json_reader_spec.rb +1 -1
- data/spec/readers/datacite_reader_spec.rb +262 -3
- data/spec/readers/ris_reader_spec.rb +3 -3
- data/spec/writers/crosscite_writer_spec.rb +3 -3
- data/spec/writers/csv_writer_spec.rb +4 -4
- data/spec/writers/datacite_json_writer_spec.rb +3 -3
- data/spec/writers/datacite_writer_spec.rb +4 -4
- data/spec/writers/schema_org_writer_spec.rb +2 -2
- metadata +25 -5
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.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.11.2
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.11.2
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: loofah
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -560,9 +560,11 @@ extra_rdoc_files:
|
|
560
560
|
- README.md
|
561
561
|
files:
|
562
562
|
- ".github/workflows/build.yml"
|
563
|
+
- ".github/workflows/changelog.yml"
|
563
564
|
- ".github/workflows/release.yml"
|
564
565
|
- ".gitignore"
|
565
566
|
- ".rubocop.yml"
|
567
|
+
- CHANGELOG.md
|
566
568
|
- CITATION
|
567
569
|
- Gemfile
|
568
570
|
- Gemfile.lock
|
@@ -712,11 +714,24 @@ files:
|
|
712
714
|
- resources/kernel-4.3/include/datacite-titleType-v4.xsd
|
713
715
|
- resources/kernel-4.3/include/xml.xsd
|
714
716
|
- resources/kernel-4.3/metadata.xsd
|
717
|
+
- resources/kernel-4.4/include/datacite-contributorType-v4.xsd
|
718
|
+
- resources/kernel-4.4/include/datacite-dateType-v4.xsd
|
719
|
+
- resources/kernel-4.4/include/datacite-descriptionType-v4.xsd
|
720
|
+
- resources/kernel-4.4/include/datacite-funderIdentifierType-v4.xsd
|
721
|
+
- resources/kernel-4.4/include/datacite-nameType-v4.xsd
|
722
|
+
- resources/kernel-4.4/include/datacite-numberType-v4.xsd
|
723
|
+
- resources/kernel-4.4/include/datacite-relatedIdentifierType-v4.xsd
|
724
|
+
- resources/kernel-4.4/include/datacite-relationType-v4.xsd
|
725
|
+
- resources/kernel-4.4/include/datacite-resourceType-v4.xsd
|
726
|
+
- resources/kernel-4.4/include/datacite-titleType-v4.xsd
|
727
|
+
- resources/kernel-4.4/include/xml.xsd
|
728
|
+
- resources/kernel-4.4/metadata.xsd
|
715
729
|
- resources/kernel-4/include/datacite-contributorType-v4.xsd
|
716
730
|
- resources/kernel-4/include/datacite-dateType-v4.xsd
|
717
731
|
- resources/kernel-4/include/datacite-descriptionType-v4.xsd
|
718
732
|
- resources/kernel-4/include/datacite-funderIdentifierType-v4.xsd
|
719
733
|
- resources/kernel-4/include/datacite-nameType-v4.xsd
|
734
|
+
- resources/kernel-4/include/datacite-numberType-v4.xsd
|
720
735
|
- resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd
|
721
736
|
- resources/kernel-4/include/datacite-relationType-v4.xsd
|
722
737
|
- resources/kernel-4/include/datacite-resourceType-v4.xsd
|
@@ -753,13 +768,18 @@ files:
|
|
753
768
|
- spec/fixtures/datacite-example-complicated-v3.0.xml
|
754
769
|
- spec/fixtures/datacite-example-complicated-v4.0.xml
|
755
770
|
- spec/fixtures/datacite-example-complicated-v4.1.xml
|
771
|
+
- spec/fixtures/datacite-example-dissertation-v4.4.xml
|
756
772
|
- spec/fixtures/datacite-example-escaped-text.xml
|
773
|
+
- spec/fixtures/datacite-example-full-v4.4.xml
|
757
774
|
- spec/fixtures/datacite-example-geolocation-2.xml
|
758
775
|
- spec/fixtures/datacite-example-geolocation.xml
|
759
776
|
- spec/fixtures/datacite-example-polygon-v4.1.xml
|
777
|
+
- spec/fixtures/datacite-example-relateditems.xml
|
778
|
+
- spec/fixtures/datacite-example-xs-string.xml
|
760
779
|
- spec/fixtures/datacite-formats-with-xs.xml
|
761
780
|
- spec/fixtures/datacite-funderIdentifier.xml
|
762
781
|
- spec/fixtures/datacite-geolocation-empty.xml
|
782
|
+
- spec/fixtures/datacite-geolocationpolygons-multiple.xml
|
763
783
|
- spec/fixtures/datacite-metadata-sample-complicated-v2.2.xml
|
764
784
|
- spec/fixtures/datacite-multiple-language.xml
|
765
785
|
- spec/fixtures/datacite-multiple-rights.xml
|
@@ -1254,7 +1274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1254
1274
|
- !ruby/object:Gem::Version
|
1255
1275
|
version: '0'
|
1256
1276
|
requirements: []
|
1257
|
-
rubygems_version: 3.0.3
|
1277
|
+
rubygems_version: 3.0.3.1
|
1258
1278
|
signing_key:
|
1259
1279
|
specification_version: 4
|
1260
1280
|
summary: Ruby client library for conversion of DOI Metadata
|