Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 12 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<a href="https://github.com/ncbo/ontologies_api_ruby_client/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ncbo/ontologies_api_ruby_client" />
</a>

This project is licensed under the [FreeBSD License](LICENSE.txt) © 2025 The Board of Trustees of Leland Stanford Junior University.
## License
The 2-Clause BSD License. See [LICENSE.txt](LICENSE.txt) for more information.
2 changes: 1 addition & 1 deletion lib/ontologies_api_client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module LinkedData
module Client
VERSION = '2.7.1'
VERSION = '2.8.0'
end
end
4 changes: 2 additions & 2 deletions ontologies_api_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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
4 changes: 4 additions & 0 deletions test/models/test_class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down
Loading