bolognese 1.9 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef73cc8365724a284a14e5318aff3bd68d682c3012febdf193276270a46e6b01
4
- data.tar.gz: 01d8c98bde85b7ebdd8144137e41904f17e7b524d5b90c4ae4dc05cc93ca3641
3
+ metadata.gz: 06d651b8877944fead2a1d1ba18ec5847ea327a4c835ace217dffe544e9f04e1
4
+ data.tar.gz: 4c7af71d22ae44861acac86d234deb81561ed83327e6e39adebac01af44ab21d
5
5
  SHA512:
6
- metadata.gz: 9ba6b8e5bd8973475c7b729ebe00887640bc8a8e95454cf37240e359c716e0be04ba8fb49c4416dade0e5ff137d6a9b85795c38c1c4be421fb686bc581757df5
7
- data.tar.gz: 7cd72b97701f8dfc8abbd5348d9347306e2fd2824008ac1522c89dd6a2c18066fa97b3330ed7b5f0e37d41cd3b689c87e91519bfd0126fb1227d9147436d708a
6
+ metadata.gz: bd4d06c35507d50add44947a5c26e66ecdd8f593c2e984b772add2126bf42a162d6861ff2af027b4fbe0d78c7ddf1b17693a8f5f47d217bc86aca498efcdd96b
7
+ data.tar.gz: bd81ea7482839d1c87afa18b64ba08f85e237faca63a4bda1ec827cc44a261a601fa20610d0806cc758011265dd92d2ffb43ca040a9c26f89a5a21825de52a54
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/datacite/bolognese/tree/HEAD)
3
+ ## [1.9.1](https://github.com/datacite/bolognese/tree/1.9.1) (2021-03-25)
4
4
 
5
- [Full Changelog](https://github.com/datacite/bolognese/compare/1.8.20...HEAD)
5
+ [Full Changelog](https://github.com/datacite/bolognese/compare/1.9...1.9.1)
6
+
7
+ ## [1.9](https://github.com/datacite/bolognese/tree/1.9) (2021-03-24)
8
+
9
+ [Full Changelog](https://github.com/datacite/bolognese/compare/1.8.20...1.9)
6
10
 
7
11
  **Implemented enhancements:**
8
12
 
@@ -11,10 +15,14 @@
11
15
  **Fixed bugs:**
12
16
 
13
17
  - Correctly parse DataCite XML for formats and sizes [\#103](https://github.com/datacite/bolognese/issues/103)
18
+ - Improve auto detection of metadata formats [\#86](https://github.com/datacite/bolognese/issues/86)
19
+ - geoLocationPolygons can not be added multiple times within geoLocation elements. [\#68](https://github.com/datacite/bolognese/issues/68)
14
20
  - Title field of DOI 10.1104/pp.111.178582 [\#31](https://github.com/datacite/bolognese/issues/31)
15
21
 
16
22
  **Merged pull requests:**
17
23
 
24
+ - Change detection for crosscite format [\#107](https://github.com/datacite/bolognese/pull/107) ([richardhallett](https://github.com/richardhallett))
25
+ - Add support for multiple geolocation polygons [\#106](https://github.com/datacite/bolognese/pull/106) ([richardhallett](https://github.com/richardhallett))
18
26
  - Support schema 4 4 [\#105](https://github.com/datacite/bolognese/pull/105) ([richardhallett](https://github.com/richardhallett))
19
27
 
20
28
  ## [1.8.20](https://github.com/datacite/bolognese/tree/1.8.20) (2020-11-21)
@@ -1454,7 +1462,6 @@
1454
1462
  **Closed issues:**
1455
1463
 
1456
1464
  - Fix error handling alternate names in ris writer [\#14](https://github.com/datacite/bolognese/issues/14)
1457
- - Error displaying container-title [\#13](https://github.com/datacite/bolognese/issues/13)
1458
1465
  - Error parsing funding information [\#12](https://github.com/datacite/bolognese/issues/12)
1459
1466
  - crossref author id to orcid id? [\#10](https://github.com/datacite/bolognese/issues/10)
1460
1467
  - datacite: support subjectScheme and subjectURI [\#4](https://github.com/datacite/bolognese/issues/4)
@@ -1465,6 +1472,7 @@
1465
1472
 
1466
1473
  **Closed issues:**
1467
1474
 
1475
+ - Error displaying container-title [\#13](https://github.com/datacite/bolognese/issues/13)
1468
1476
  - Abstract should be a string in Citeproc writer [\#11](https://github.com/datacite/bolognese/issues/11)
1469
1477
  - the Bolognese gem doesn't properly handle the optional language attribute. [\#8](https://github.com/datacite/bolognese/issues/8)
1470
1478
  - Support funding information [\#7](https://github.com/datacite/bolognese/issues/7)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.9)
4
+ bolognese (1.9.2)
5
5
  activesupport (>= 4.2.5)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (>= 5.1.0)
@@ -213,4 +213,4 @@ DEPENDENCIES
213
213
  webmock (~> 3.0, >= 3.0.1)
214
214
 
215
215
  BUNDLED WITH
216
- 2.2.14
216
+ 2.2.15
@@ -368,13 +368,14 @@ module Bolognese
368
368
  xml.northBoundLatitude(geo_location.dig("geoLocationBox", "northBoundLatitude"))
369
369
  end
370
370
  end
371
-
372
371
  if geo_location["geoLocationPolygon"]
373
- xml.geoLocationPolygon do
374
- geo_location["geoLocationPolygon"].each do |polygon_point|
375
- xml.polygonPoint do
376
- xml.pointLatitude(polygon_point["pointLatitude"])
377
- xml.pointLongitude(polygon_point["pointLongitude"])
372
+ geo_location["geoLocationPolygon"].each do |geo_location_polygon|
373
+ xml.geoLocationPolygon do
374
+ geo_location_polygon.each do |polygon_point|
375
+ xml.polygonPoint do
376
+ xml.pointLatitude(polygon_point.dig("polygonPoint", "pointLatitude"))
377
+ xml.pointLongitude(polygon_point.dig("polygonPoint", "pointLongitude"))
378
+ end
378
379
  end
379
380
  end
380
381
  end
@@ -85,7 +85,7 @@ module Bolognese
85
85
  "ComputationalNotebook" => nil,
86
86
  "ConferencePaper" => "paper_conference",
87
87
  "ConferenceProceeding" => nil,
88
- "DataPaper" => nil,
88
+ "DataPaper" => "report",
89
89
  "Dataset" => "dataset",
90
90
  "Dissertation" => nil,
91
91
  "Event" => nil,
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.9"
2
+ VERSION = "1.9.2"
3
3
  end
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.9'
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-24 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma