Skip to content

Commit

Permalink
Merge branch 'master' into pl/add-mainlang-defaults-refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni authored Mar 21, 2024
2 parents 34a9fdf + f01386f commit fe1cf49
Show file tree
Hide file tree
Showing 53 changed files with 2,061 additions and 858 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ruby-unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ruby Unit Test

on: [push, pull_request]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.0']
triplestore: ['fs', 'ag']

steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt-get -y install raptor2-utils
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Add config file
# tempoaray workaround for the config.rb file requirement
run: echo 'Goo.config do |config| end' > config/config.rb
- name: Run tests
run: bundle exec rake test:docker:${{ matrix.triplestore }} TESTOPTS="-v"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
verbose: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ doc/

.idea/*
projectFilesBackup/*

config/config.rb
27 changes: 15 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ source 'https://rubygems.org'

gemspec

gem 'rake'
gem 'pry'
gem 'simplecov'
gem 'minitest', '< 5.0'
gem 'activesupport'
gem "activesupport"
gem "cube-ruby", require: "cube"
gem "rake"
gem "uuid"
gem 'cube-ruby', require: "cube"
gem 'faraday', '~> 1.9'

group :test do
gem "minitest", '< 5.0'
gem "pry"
gem 'simplecov'
gem 'simplecov-cobertura' # for submitting code coverage results to codecov.io
end

group :profiling do
gem 'sinatra'
gem 'rack-accept'
gem 'rack-post-body-to-params'
gem 'thin'
gem "rack-accept"
gem "rack-post-body-to-params"
gem "sinatra"
gem "thin"
end

gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'develop'
100 changes: 44 additions & 56 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/ncbo/sparql-client.git
revision: fb4a89b420f8eb6dda5190a126b6c62e32c4c0c9
branch: master
revision: 55e7dbf858eb571c767bc67868f9af61663859cb
branch: develop
specs:
sparql-client (1.0.1)
json_pure (>= 1.4)
Expand All @@ -12,14 +12,13 @@ PATH
remote: .
specs:
goo (0.0.2)
addressable (= 2.3.5)
addressable (~> 2.8)
pry
rdf (= 1.0.8)
redis
rest-client
rsolr
sparql-client
systemu
uuid

GEM
Expand All @@ -31,125 +30,114 @@ GEM
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
addressable (2.3.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
builder (3.2.4)
coderay (1.1.3)
concurrent-ruby (1.1.9)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
cube-ruby (0.0.3)
daemons (1.4.1)
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
domain_name (0.6.20240107)
eventmachine (1.2.7)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday-net_http (3.0.2)
http-accept (1.7.0)
http-cookie (1.0.4)
http-cookie (1.0.5)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json_pure (2.6.1)
json_pure (2.7.1)
macaddr (1.7.2)
systemu (~> 2.6.5)
method_source (1.0.0)
mime-types (3.4.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mime-types-data (3.2024.0305)
minitest (4.7.5)
multi_json (1.15.0)
multipart-post (2.1.1)
mustermann (1.1.1)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
net-http-persistent (2.9.4)
netrc (0.11.0)
pry (0.14.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
rack (2.2.3)
public_suffix (5.0.4)
rack (2.2.8.1)
rack-accept (0.4.5)
rack (>= 0.4)
rack-post-body-to-params (0.1.8)
activesupport (>= 2.3)
rack-protection (2.2.0)
rack
rake (13.0.6)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rake (13.1.0)
rdf (1.0.8)
addressable (>= 2.2)
redis (4.6.0)
redis (5.1.0)
redis-client (>= 0.17.0)
redis-client (0.21.0)
connection_pool
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.6)
rsolr (2.5.0)
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
ruby2_keywords (0.0.5)
simplecov (0.21.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sinatra (2.2.0)
mustermann (~> 1.0)
rack (~> 2.2)
rack-protection (= 2.2.0)
sinatra (3.2.0)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0)
tilt (~> 2.0)
systemu (2.6.5)
thin (1.8.1)
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thread_safe (0.3.6)
tilt (2.0.10)
tzinfo (0.3.60)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
tilt (2.3.0)
tzinfo (0.3.62)
uuid (2.3.9)
macaddr (~> 1.0)

PLATFORMS
ruby
x86_64-darwin-16
x86_64-linux

DEPENDENCIES
activesupport
cube-ruby
faraday (~> 1.9)
goo!
minitest (< 5.0)
pry
rack-accept
rack-post-body-to-params
rake
simplecov
simplecov-cobertura
sinatra
sparql-client!
thin
uuid

BUNDLED WITH
2.1.4
2.4.22
Loading

0 comments on commit fe1cf49

Please sign in to comment.