diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08ebade..20a0d42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3"] + ruby: ["3.1", "3.2", "3.3"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/Gemfile.lock b/Gemfile.lock index aa48163..ed7cd53 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: orcid_client (0.16.0) activesupport (>= 7, < 8) - bolognese (~> 2.3.2) + bolognese (~> 2.5.1) builder (~> 3.2, >= 3.2.2) dotenv (~> 2.1, >= 2.1.1) maremma (>= 5.0) @@ -13,26 +13,29 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (7.1.3.2) + activesupport (7.2.3) base64 + benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) amazing_print (1.4.0) base64 (0.2.0) + benchmark (0.5.0) benchmark_methods (0.7) bibtex-ruby (6.0.0) latex-decode (~> 0.0) bigdecimal (3.1.7) - bolognese (2.3.2) - activesupport (>= 4.2.5) + bolognese (2.5.1) + activesupport (= 7.2.3) benchmark_methods (~> 0.7) bibtex-ruby (>= 5.1.0) builder (~> 3.2, >= 3.2.2) @@ -62,7 +65,7 @@ GEM citeproc (~> 1.0, >= 1.0.9) csl (~> 1.6) colorize (0.8.1) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.6) connection_pool (2.4.1) crack (0.4.5) rexml @@ -128,6 +131,7 @@ GEM optimist (~> 3) latex-decode (0.4.0) link_header (0.0.8) + logger (1.7.0) loofah (2.19.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) @@ -149,7 +153,6 @@ GEM minitest (5.22.3) multi_json (1.15.0) multipart-post (2.2.3) - mutex_m (0.2.0) namae (1.0.2) nokogiri (1.16.4-arm64-darwin) racc (~> 1.4) @@ -208,6 +211,7 @@ GEM rspec-support (3.12.0) ruby2_keywords (0.0.5) scanf (1.0.0) + securerandom (0.4.1) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) diff --git a/lib/orcid_client/work_type.rb b/lib/orcid_client/work_type.rb index 2696e14..4838037 100644 --- a/lib/orcid_client/work_type.rb +++ b/lib/orcid_client/work_type.rb @@ -20,7 +20,9 @@ module WorkType 'Model' => 'other', 'OutputManagementPlan' => 'data-management-plan', 'PeerReview' => 'review', + 'Poster' => 'conference-poster', 'Preprint' => 'preprint', + 'Presentation' => 'conference-presentation', 'PhysicalObject' => 'physical-object', 'Report' => 'report', 'Service' => 'other', @@ -59,6 +61,8 @@ def orcid_work_type(internal_work_type, internal_work_subtype) 'conference-paper' when /^(poster|Conference poster)$/i 'conference-poster' + when /^(presentation|Conference presentation)$/i + 'conference-presentation' when /^(working paper|workingpaper)$/i 'working-paper' when /^(preprint)$/i diff --git a/orcid_client.gemspec b/orcid_client.gemspec index 9e2ca2f..53ee8fc 100644 --- a/orcid_client.gemspec +++ b/orcid_client.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| # Declary dependencies here, rather than in the Gemfile s.add_dependency 'activesupport', '>= 7', '< 8' - s.add_dependency 'bolognese', '~> 2.3.2' + s.add_dependency 'bolognese', '~> 2.5.1' s.add_dependency 'builder', '~> 3.2', '>= 3.2.2' s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.1' s.add_dependency 'maremma', '>= 5.0'