diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7564131..3a1750d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.1'] + ruby-version: ['3.2'] steps: - uses: actions/checkout@v5 - name: Set up Ruby diff --git a/Gemfile b/Gemfile index 3d9f833..83b4947 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,6 @@ gemspec gem 'pry' gem 'rake' -gem 'rubocop', '~> 1.43' -gem "simplecov", require: false -gem "simplecov-cobertura", require: false +gem 'rubocop', '~> 1.81' +gem 'simplecov', require: false +gem 'simplecov-cobertura', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 5c96a36..c165d83 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - ontologies_api_client (2.7.1) - activesupport (= 7.2.2.1) + ontologies_api_client (2.8.0) + activesupport (= 8.0.3) addressable (~> 2.8) excon faraday @@ -15,7 +15,7 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (7.2.2.1) + activesupport (8.0.3) base64 benchmark (>= 0.3) bigdecimal @@ -27,6 +27,7 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.3) @@ -61,13 +62,13 @@ GEM logger (1.7.0) lz4-ruby (0.3.3) method_source (1.1.0) - minitest (5.26.0) + minitest (5.26.2) minitest-hooks (1.5.2) minitest (> 5.3) multi_json (1.17.0) multipart-post (2.4.1) - net-http (0.7.0) - uri + net-http (0.8.0) + uri (>= 0.11.1) oj (3.16.12) bigdecimal (>= 3.0) ostruct (>= 0.2) @@ -97,7 +98,7 @@ GEM rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.47.1) + rubocop-ast (1.48.0) parser (>= 3.3.7.2) prism (~> 1.4) ruby-progressbar (1.13.0) @@ -119,19 +120,19 @@ GEM uri (1.1.1) PLATFORMS - arm64-darwin-23 + arm64-darwin-24 ruby DEPENDENCIES faraday-follow_redirects (~> 0.3) - minitest (~> 5.25) + minitest (~> 5.26) minitest-hooks (~> 1.5) ontologies_api_client! pry rake - rubocop (~> 1.43) + rubocop (~> 1.81) simplecov simplecov-cobertura BUNDLED WITH - 2.6.9 + 2.7.2 diff --git a/LICENSE.txt b/LICENSE.txt index 8b0d9e2..7edfb51 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2025, The Board of Trustees of Leland Stanford Junior University +Copyright (c) 2026, The Board of Trustees of Leland Stanford Junior University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are diff --git a/README.md b/README.md index 4feda27..bb9a762 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,10 @@ Resources that should have save, update, and delete methods will need to include For questions please email [support@bioontology.org](support@bioontology.org.) -## License +## Contributors + + + -This project is licensed under the [FreeBSD License](LICENSE.txt) © 2025 The Board of Trustees of Leland Stanford Junior University. \ No newline at end of file +## License +The 2-Clause BSD License. See [LICENSE.txt](LICENSE.txt) for more information. diff --git a/lib/ontologies_api_client/version.rb b/lib/ontologies_api_client/version.rb index 0029957..b4ad266 100644 --- a/lib/ontologies_api_client/version.rb +++ b/lib/ontologies_api_client/version.rb @@ -2,6 +2,6 @@ module LinkedData module Client - VERSION = '2.7.1' + VERSION = '2.8.0' end end diff --git a/ontologies_api_client.gemspec b/ontologies_api_client.gemspec index a95da6c..0bb5ebf 100644 --- a/ontologies_api_client.gemspec +++ b/ontologies_api_client.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |gem| gem.require_paths = ['lib'] gem.version = LinkedData::Client::VERSION - gem.add_dependency('activesupport', '7.2.2.1') + gem.add_dependency('activesupport', '8.0.3') gem.add_dependency('addressable', '~> 2.8') gem.add_dependency('excon') gem.add_dependency('faraday') @@ -29,6 +29,6 @@ Gem::Specification.new do |gem| gem.add_dependency('oj') gem.add_development_dependency('faraday-follow_redirects', '~> 0.3') - gem.add_development_dependency('minitest', '~> 5.25') + gem.add_development_dependency('minitest', '~> 5.26') gem.add_development_dependency('minitest-hooks', '~> 1.5') end diff --git a/test/models/test_class.rb b/test/models/test_class.rb index c0eba57..5b597df 100644 --- a/test/models/test_class.rb +++ b/test/models/test_class.rb @@ -36,6 +36,8 @@ def test_purl_owl # Test PURL generation for a class in a UMLS format ontology def test_purl_umls + skip 'Disable until #41 is fixed: https://github.com/ncbo/ontologies_api_ruby_client/issues/41' + cls = LinkedData::Client::Models::Class.find( 'http://purl.bioontology.org/ontology/SNOMEDCT/64572001', 'https://bioportal.bioontology.org/ontologies/SNOMEDCT' @@ -53,6 +55,8 @@ def test_purl_umls # Test PURL generation for a class in an OBO format ontology def test_purl_obo + skip 'Disable until #41 is fixed: https://github.com/ncbo/ontologies_api_ruby_client/issues/41' + cls = LinkedData::Client::Models::Class.find( 'http://purl.obolibrary.org/obo/DOID_4', 'https://bioportal.bioontology.org/ontologies/DOID'