Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0068c37
add bring_remaining to process in get_rest_mapping
syphax-bouazzouni Sep 23, 2022
117c31b
split mappings_ontologies method to small functions
syphax-bouazzouni Sep 23, 2022
29862df
fix rest mappings tests
syphax-bouazzouni Dec 17, 2022
363fcb5
Merge branch 'pr/fix/get-rest-mapping-with-prefix-url' into development
syphax-bouazzouni Dec 17, 2022
3d502b7
remove SAME_URI filter exception
syphax-bouazzouni Dec 17, 2022
f403571
fix miss typing variable
syphax-bouazzouni Dec 17, 2022
ad092d5
Merge branch 'upstream' into pr/refactor/simple-refactor-mapping-onto…
syphax-bouazzouni Dec 17, 2022
07eccad
add internal_mapping_predicates
syphax-bouazzouni Dec 17, 2022
a67f638
add internal_mapping_predicates to mappings_ont_build_query
syphax-bouazzouni Dec 17, 2022
b7fd016
if internal_mapping_predicates extract external_ontology from class id
syphax-bouazzouni Dec 17, 2022
769e92f
exrtact ontology mapping only if sub2 is nil
syphax-bouazzouni Sep 26, 2022
44d8506
fix mappings rest tests
syphax-bouazzouni Dec 17, 2022
7fbe880
Merge branch 'pr/refactor/simple-refactor-mapping-ontologies' into pr…
syphax-bouazzouni Dec 17, 2022
7f0e096
Merge remote-tracking branch 'ontoportal/master' into pr/feature/add-…
syphax-bouazzouni Mar 10, 2025
ba9b7a3
update submission extaction to fetch all mod metadata with extraction…
syphax-bouazzouni Mar 10, 2025
72e5f81
add metadata extraction test
syphax-bouazzouni Mar 10, 2025
28e729c
replace URI by uri in the yaml schema file
syphax-bouazzouni Mar 10, 2025
8bb09be
fix URI validation issue on saving
syphax-bouazzouni Mar 20, 2025
84a323f
Merge remote-tracking branch 'ncbo/master' into pr/feature/extract-in…
syphax-bouazzouni May 9, 2025
95e6afa
Merge remote-tracking branch 'ncbo/master' into pr/feature/add-metada…
syphax-bouazzouni May 9, 2025
52b8cfa
added #158
mdorf May 12, 2025
d1c220d
Merge branch 'ontoportal-lirmm-pr/feature/add-metadata-extraction' in…
mdorf May 12, 2025
a171413
commented out some tests for Agent properties
mdorf May 12, 2025
193b791
Merge pull request #158 from ontoportal-lirmm/pr/fix/bring-remaing-ma…
mdorf May 13, 2025
2df7463
resolved the failing test test_submission_parse
mdorf May 15, 2025
af6d584
Revert "added #158"
syphax-bouazzouni May 28, 2025
368f975
fix the new metadata extraction tests
syphax-bouazzouni May 28, 2025
95cb115
pointed to owlapi-wrapper-1.4.3.jar so unit tests pass
mdorf Jun 10, 2025
2d1019f
unit tests pass
mdorf Jun 10, 2025
4ceaa65
tests pass
mdorf Jun 10, 2025
5dcfdd3
fixed unit tests
mdorf Jun 19, 2025
751ac09
Merge branch 'develop' of github.com:ncbo/ontologies_linked_data into…
mdorf Jun 19, 2025
fe963da
fixed an error that was introduced by #158 and returned after the merge
mdorf Jun 20, 2025
ac63d2b
fixed an error that was introduced by #158 and returned after the merge
mdorf Jun 20, 2025
d132b2f
Update Gemfile.lock
jvendetti Jun 27, 2025
af1bb20
Move Redis analytics field to settings
jvendetti Jun 27, 2025
67169f3
change version of the owlapi-wrapper from v1.4.3 to v1.5.0
alexskr Jun 28, 2025
b863f63
Merge pull request #242 from ncbo/develop
alexskr Jun 28, 2025
93e0844
reset branch specifier to master
alexskr Jun 28, 2025
29171a0
Improve file copy error handling and post-copy verification
alexskr Jun 30, 2025
2a94e79
Add the mocha and mock_redis gems
jvendetti Jul 1, 2025
9dcfd13
Add unit tests for ontology analytics
jvendetti Jul 2, 2025
b28f350
Merge branch 'cloudflare-analytics/369' into develop
jvendetti Jul 2, 2025
76c1c82
Merge pull request #243 from ncbo/fix/repository-permissions-modes
alexskr Jul 8, 2025
6ce9fc5
Merge pull request #245 from ncbo/develop
alexskr Jul 9, 2025
9e0ccb7
update sparql-client
alexskr Jul 9, 2025
34a83cd
pin sparql-client to specific tag instead of floating branch
alexskr Jul 9, 2025
bd5c42e
ignore all tag pushes
alexskr Jul 9, 2025
e64d54d
enable email valiadation for user and contact
alexskr Jul 10, 2025
6764e06
add unit test for contact model
alexskr Jul 10, 2025
7520759
added :safe_text validation to some of the string fields of several m…
mdorf Jul 10, 2025
86891e6
minitest styleguide compliance
alexskr Jul 11, 2025
905214a
Merge branch 'develop' into feature/new-validators
alexskr Jul 11, 2025
fe03714
Merge branch 'feature/new-validators' into feature/improve-email-vali…
alexskr Jul 11, 2025
b8f69ad
Merge pull request #246 from ncbo/feature/improve-email-validator
alexskr Jul 11, 2025
91c71a0
Merge pull request #247 from ncbo/feature/new-validators
alexskr Jul 14, 2025
efce1cb
Gemfile update
alexskr Jul 15, 2025
d701661
Merge branch 'master' into develop
alexskr Jul 15, 2025
098c1e1
Merge pull request #248 from ncbo/develop
alexskr Jul 15, 2025
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
8 changes: 6 additions & 2 deletions .github/workflows/ruby-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Ruby Unit Tests

on:
push:
branches:
- '**'
tags-ignore:
- '**' # ignore all tag pushes
pull_request:

jobs:
Expand All @@ -18,15 +22,15 @@ jobs:
- name: create config.rb file
run: cp config/config.test.rb config/config.rb
- name: Build docker compose
run: docker compose --profile 4store build #profile flag is set in order to build all containers in this step
run: docker compose --profile 4store build # profile flag is set in order to build all containers in this step
- name: Run unit tests
# unit tests are run inside a container
# http://docs.codecov.io/docs/testing-with-docker
run: |
ci_env=`bash <(curl -s https://codecov.io/env)`
docker compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ group :test do
gem 'email_spec'
gem 'minitest', '~> 4'
gem 'minitest-reporters', '>= 0.5.0'
gem 'mocha', '~> 2.7'
gem 'mock_redis', '~> 0.5'
gem 'pry'
gem 'rack-test', '~> 0.6'
gem 'simplecov'
Expand All @@ -37,7 +39,7 @@ group :development do
end
# NCBO gems (can be from a local dev path or from rubygems/git)
gem 'goo', github: 'ncbo/goo', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', tag: 'v6.3.0'

gem 'public_suffix', '~> 5.1.1'
gem 'net-imap', '~> 0.4.18'
30 changes: 19 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/ncbo/goo.git
revision: b9019ad9e1eb78c74105fc6c6a879085066da17d
revision: 26c0a69e67ac59778a46caf51202ebd38ccac767
branch: master
specs:
goo (0.0.2)
Expand All @@ -16,8 +16,8 @@ GIT

GIT
remote: https://github.com/ncbo/sparql-client.git
revision: e89c26aa96f184dbe9b52d51e04fb3d9ba998dbc
branch: master
revision: 512edc320b43e83971835dc046b4923485e8f70e
tag: v6.3.0
specs:
sparql-client (1.0.1)
json_pure (>= 1.4)
Expand Down Expand Up @@ -74,11 +74,11 @@ GEM
launchy (>= 2.1, < 4.0)
mail (~> 2.7)
eventmachine (1.2.7)
faraday (2.13.1)
faraday (2.13.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-arm64-darwin)
Expand All @@ -90,7 +90,7 @@ GEM
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.11.3)
json (2.12.2)
json_pure (2.8.1)
language_server-protocol (3.17.0.4)
launchy (3.1.1)
Expand All @@ -108,17 +108,21 @@ GEM
net-pop
net-smtp
method_source (1.1.0)
mime-types (3.6.2)
mime-types (3.7.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2025.0422)
mime-types-data (~> 3.2025, >= 3.2025.0507)
mime-types-data (3.2025.0708)
mini_mime (1.1.5)
minitest (4.7.5)
minitest-reporters (0.14.24)
ansi
builder
minitest (>= 2.12, < 5.0)
powerbar
mocha (2.7.1)
ruby2_keywords (>= 0.0.5)
mock_redis (0.50.0)
redis (~> 5)
multi_json (1.15.0)
net-ftp (0.3.8)
net-protocol
Expand Down Expand Up @@ -156,7 +160,7 @@ GEM
method_source (~> 1.0)
public_suffix (5.1.1)
racc (1.8.1)
rack (2.2.13)
rack (2.2.17)
rack-test (0.8.3)
rack (>= 1.0, < 3)
rainbow (3.1.1)
Expand All @@ -165,7 +169,7 @@ GEM
addressable (>= 2.2)
redis (5.4.0)
redis-client (>= 0.22.0)
redis-client (0.24.0)
redis-client (0.25.1)
connection_pool
regexp_parser (2.10.0)
request_store (1.7.0)
Expand Down Expand Up @@ -194,6 +198,7 @@ GEM
parser (>= 3.3.7.2)
prism (~> 1.4)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
simplecov (0.22.0)
docile (~> 1.1)
Expand Down Expand Up @@ -225,6 +230,7 @@ PLATFORMS
aarch64-linux
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand All @@ -238,6 +244,8 @@ DEPENDENCIES
libxml-ruby
minitest (~> 4)
minitest-reporters (>= 0.5.0)
mocha (~> 2.7)
mock_redis (~> 0.5)
multi_json (~> 1.0)
net-imap (~> 0.4.18)
oj (~> 3.0)
Expand Down
Binary file renamed bin/owlapi-wrapper-1.4.2.jar → bin/owlapi-wrapper-1.5.0.jar
100755 → 100644
Binary file not shown.
2 changes: 1 addition & 1 deletion config/schemes/ontology_submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ version:
"PAV: The version number of a resource.",
"DOAP: A project release",
"SCHEMA: The version of the CreativeWork embodied by a specified resource."]
extractedMetadata: true
extractedMetadata: false
metadataMappings: [ "omv:version", "mod:version", "owl:versionInfo", "pav:version", "doap:release", "schema:version", "oboInOwl:data-version", "oboInOwl:version" ]

#Status
Expand Down
Loading