From acbb9c977194fc762a59807c0664d62c41294bee Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Tue, 20 Feb 2024 08:50:52 +0100 Subject: [PATCH] RDF::SKOS is replaced with RDF::Vocab::SKOS in the latest version of RDF --- Gemfile | 1 + Gemfile.lock | 13 ++++++------- test/test_model_complex.rb | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 49dd2b38..af13989b 100644 --- a/Gemfile +++ b/Gemfile @@ -23,3 +23,4 @@ group :profiling do end gem 'sparql-client', github: 'ontoportal-lirmm/sparql-client', branch: 'master' +gem 'faraday', '2.7.11' #unpin if we no more support ruby 2.7 \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 7212f17d..37dfd575 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -46,10 +46,11 @@ GEM docile (1.4.0) domain_name (0.6.20240107) eventmachine (1.2.7) - faraday (2.9.0) - faraday-net_http (>= 2.0, < 3.2) - faraday-net_http (3.1.0) - net-http + faraday (2.7.11) + base64 + faraday-net_http (>= 2.0, < 3.1) + ruby2_keywords (>= 0.0.4) + faraday-net_http (3.0.2) ffi (1.16.3) htmlentities (4.3.4) http-accept (1.7.0) @@ -69,8 +70,6 @@ GEM multi_json (1.15.0) mustermann (3.0.0) ruby2_keywords (~> 0.0.1) - net-http (0.4.1) - uri net-http-persistent (2.9.4) netrc (0.11.0) pry (0.14.2) @@ -140,7 +139,6 @@ GEM thread_safe (0.3.6) tilt (2.3.0) tzinfo (0.3.62) - uri (0.13.0) uuid (2.3.9) macaddr (~> 1.0) @@ -152,6 +150,7 @@ PLATFORMS DEPENDENCIES activesupport cube-ruby + faraday (= 2.7.11) goo! minitest (< 5.0) pry diff --git a/test/test_model_complex.rb b/test/test_model_complex.rb index 3074683c..38a282d6 100644 --- a/test/test_model_complex.rb +++ b/test/test_model_complex.rb @@ -46,7 +46,7 @@ def self.tree_property(*args) if collection.id.to_s["submission1"] return RDF::RDFS[:subClassOf] end - return RDF::SKOS[:broader] + return RDF::Vocab::SKOS[:broader] end def self.class_rdf_type(*args) @@ -54,7 +54,7 @@ def self.class_rdf_type(*args) if collection.id.to_s["submission1"] return RDF::OWL[:Class] end - return RDF::SKOS[:Concept] + return RDF::Vocab::SKOS[:Concept] end attribute :methodBased, namespace: :rdfs, property: :subClassOf, handler: :dataMethod