Skip to content

Commit 001eede

Browse files
authored
Merge pull request #41 from datacite/metadata-47
Metadata 4.7 updates for orcid_client
2 parents e48a88b + 8725229 commit 001eede

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
ruby: ["3.0", "3.1", "3.2", "3.3"]
12+
ruby: ["3.1", "3.2", "3.3"]
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3

Gemfile.lock

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PATH
33
specs:
44
orcid_client (0.16.0)
55
activesupport (>= 7, < 8)
6-
bolognese (~> 2.3.2)
6+
bolognese (~> 2.5.1)
77
builder (~> 3.2, >= 3.2.2)
88
dotenv (~> 2.1, >= 2.1.1)
99
maremma (>= 5.0)
@@ -13,26 +13,29 @@ PATH
1313
GEM
1414
remote: https://rubygems.org/
1515
specs:
16-
activesupport (7.1.3.2)
16+
activesupport (7.2.3)
1717
base64
18+
benchmark (>= 0.3)
1819
bigdecimal
19-
concurrent-ruby (~> 1.0, >= 1.0.2)
20+
concurrent-ruby (~> 1.0, >= 1.3.1)
2021
connection_pool (>= 2.2.5)
2122
drb
2223
i18n (>= 1.6, < 2)
24+
logger (>= 1.4.2)
2325
minitest (>= 5.1)
24-
mutex_m
25-
tzinfo (~> 2.0)
26+
securerandom (>= 0.3)
27+
tzinfo (~> 2.0, >= 2.0.5)
2628
addressable (2.8.1)
2729
public_suffix (>= 2.0.2, < 6.0)
2830
amazing_print (1.4.0)
2931
base64 (0.2.0)
32+
benchmark (0.5.0)
3033
benchmark_methods (0.7)
3134
bibtex-ruby (6.0.0)
3235
latex-decode (~> 0.0)
3336
bigdecimal (3.1.7)
34-
bolognese (2.3.2)
35-
activesupport (>= 4.2.5)
37+
bolognese (2.5.1)
38+
activesupport (= 7.2.3)
3639
benchmark_methods (~> 0.7)
3740
bibtex-ruby (>= 5.1.0)
3841
builder (~> 3.2, >= 3.2.2)
@@ -62,7 +65,7 @@ GEM
6265
citeproc (~> 1.0, >= 1.0.9)
6366
csl (~> 1.6)
6467
colorize (0.8.1)
65-
concurrent-ruby (1.2.3)
68+
concurrent-ruby (1.3.6)
6669
connection_pool (2.4.1)
6770
crack (0.4.5)
6871
rexml
@@ -128,6 +131,7 @@ GEM
128131
optimist (~> 3)
129132
latex-decode (0.4.0)
130133
link_header (0.0.8)
134+
logger (1.7.0)
131135
loofah (2.19.0)
132136
crass (~> 1.0.2)
133137
nokogiri (>= 1.5.9)
@@ -149,7 +153,6 @@ GEM
149153
minitest (5.22.3)
150154
multi_json (1.15.0)
151155
multipart-post (2.2.3)
152-
mutex_m (0.2.0)
153156
namae (1.0.2)
154157
nokogiri (1.16.4-arm64-darwin)
155158
racc (~> 1.4)
@@ -208,6 +211,7 @@ GEM
208211
rspec-support (3.12.0)
209212
ruby2_keywords (0.0.5)
210213
scanf (1.0.0)
214+
securerandom (0.4.1)
211215
simplecov (0.21.2)
212216
docile (~> 1.1)
213217
simplecov-html (~> 0.11)

lib/orcid_client/work_type.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ module WorkType
2020
'Model' => 'other',
2121
'OutputManagementPlan' => 'data-management-plan',
2222
'PeerReview' => 'review',
23+
'Poster' => 'conference-poster',
2324
'Preprint' => 'preprint',
25+
'Presentation' => 'conference-presentation',
2426
'PhysicalObject' => 'physical-object',
2527
'Report' => 'report',
2628
'Service' => 'other',
@@ -59,6 +61,8 @@ def orcid_work_type(internal_work_type, internal_work_subtype)
5961
'conference-paper'
6062
when /^(poster|Conference poster)$/i
6163
'conference-poster'
64+
when /^(presentation|Conference presentation)$/i
65+
'conference-presentation'
6266
when /^(working paper|workingpaper)$/i
6367
'working-paper'
6468
when /^(preprint)$/i

orcid_client.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020

2121
# Declary dependencies here, rather than in the Gemfile
2222
s.add_dependency 'activesupport', '>= 7', '< 8'
23-
s.add_dependency 'bolognese', '~> 2.3.2'
23+
s.add_dependency 'bolognese', '~> 2.5.1'
2424
s.add_dependency 'builder', '~> 3.2', '>= 3.2.2'
2525
s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.1'
2626
s.add_dependency 'maremma', '>= 5.0'

0 commit comments

Comments
 (0)