Skip to content

Commit fa69937

Browse files
committed
Merge ontoportal-lirmm-development into main
2 parents bb01e52 + 2ac20b2 commit fa69937

39 files changed

Lines changed: 5143 additions & 0 deletions

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: VCzjHF1tTiWms12qHsCsrQyId4YWSQlfH

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.
2+
3+
name: CI
4+
on:
5+
push:
6+
branches: [ '**' ]
7+
pull_request:
8+
branches: [ develop ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
tests:
13+
name: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }}
14+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
15+
runs-on: ubuntu-latest
16+
env:
17+
CI: true
18+
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
19+
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') }}
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby]
24+
steps:
25+
- name: Clone repository
26+
uses: actions/checkout@v3
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
- name: Install dependencies
32+
run: bundle install --jobs 4 --retry 3
33+
- name: Run tests
34+
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
35+
- name: Coveralls GitHub Action
36+
uses: coverallsapp/github-action@v2
37+
if: ${{ matrix.ruby == '3.0' && matrix.gemfile == 'Gemfile' }}
38+
with:
39+
github-token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build & deploy documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Update gh-pages with docs
11+
steps:
12+
- name: Clone repository
13+
uses: actions/checkout@v3
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: "3.1"
18+
- name: Install required gem dependencies
19+
run: gem install yard --no-document
20+
- name: Build YARD Ruby Documentation
21+
run: yardoc
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./doc/yard
27+
publish_branch: gh-pages

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.DS_Store
2+
.tmp
3+
.yardoc
4+
*~
5+
*.gem
6+
*.lock
7+
.idea
8+
pkg
9+
tmp
10+
doc
11+
coverage
12+
.bundle
13+
/.byebug_history
14+
.ruby-version
15+
16+
.idea/
17+
18+
*.iml

CONTRIBUTING.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# How to contribute
2+
3+
Community contributions are essential for keeping Ruby RDF great. We want to keep it as easy as possible to contribute changes that get things working in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
4+
5+
## Development
6+
7+
This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
8+
9+
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/sparql-client/issues)
10+
* Fork and clone the repo:
11+
`git clone git@github.com:your-username/sparql-client.git`
12+
* Install bundle:
13+
`bundle install`
14+
* Create tests in RSpec and make sure you achieve at least 90% code coverage for the feature your adding or behavior being modified.
15+
* Push to your fork and [submit a pull request][pr].
16+
17+
## Do's and Dont's
18+
* Do your best to adhere to the existing coding conventions and idioms.
19+
* Don't use hard tabs, and don't leave trailing whitespace on any line.
20+
Before committing, run `git diff --check` to make sure of this.
21+
* Do document every method you add using [YARD][] annotations. Read the
22+
[tutorial][YARD-GS] or just look at the existing code for examples.
23+
* Don't touch the `.gemspec` or `VERSION` files. If you need to change them,
24+
do so on your private branch only.
25+
* Do feel free to add yourself to the `CREDITS` file and the
26+
corresponding list in the the `README`. Alphabetical order applies.
27+
* Don't touch the `AUTHORS` file. If your contributions are significant
28+
enough, be assured we will eventually add you in there.
29+
* Do note that in order for us to merge any non-trivial changes (as a rule
30+
of thumb, additions larger than about 15 lines of code), we need an
31+
explicit [public domain dedication][PDD] on record from you,
32+
which you will be asked to agree to on the first commit to a repo within the organization.
33+
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
34+
35+
[YARD]: https://yardoc.org/
36+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
37+
[PDD]: https://unlicense.org/#unlicensing-contributions
38+
[pr]: https://github.com/ruby-rdf/rdf/compare/

CREDITS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
* Christoph Badura <bad@bsd.de>
2+
* Thomas Feron <tho.feron@gmail.com>
3+
* James Hetherington <jamespjh@googlemail.com>
4+
* Gabriel Horner <gabriel.horner@gmail.com>
5+
* Nicholas Humfrey <njh@aelius.com>
6+
* Fumihiro Kato <fumi@fumi.me>
7+
* David Nielsen <david@graveyard.dk>
8+
* Thamaraiselvan Poomalai <p.thamarai@gmail.com>
9+
* Michael Sokol <mikaa123@gmail.com>
10+
* Yves Raimond <yves.raimond@bbc.co.uk>
11+
* Danny Tran <dannybtran@gmail.com>
12+
* Nick Gottlieb <ngottlieb@gmail.com>

Gemfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
source "https://rubygems.org"
2+
3+
gemspec
4+
5+
gem 'rdf', git: "https://github.com/ruby-rdf/rdf", tag: "3.2.11"
6+
gem 'rdf-aggregate-repo', git: "https://github.com/ruby-rdf/rdf-aggregate-repo", tag: "3.2.0"
7+
gem 'sparql', git: "https://github.com/ruby-rdf/sparql", tag: "3.2.0"
8+
gem "nokogiri", '~> 1.13', '>= 1.13.4'
9+
10+
group :development, :test do
11+
gem 'ebnf', git: "https://github.com/dryruby/ebnf", tag: "2.3.5"
12+
gem 'rdf-isomorphic', git: "https://github.com/ruby-rdf/rdf-isomorphic", tag: "3.2.0"
13+
gem 'rdf-spec', git: "https://github.com/ruby-rdf/rdf-spec", tag: "3.2.0"
14+
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", tag: "3.2.0"
15+
gem "rdf-xsd", git: "https://github.com/ruby-rdf/rdf-xsd", tag: "3.2.0"
16+
gem 'sxp'
17+
gem "redcarpet", platform: :ruby
18+
gem 'simplecov', '~> 0.21', platforms: :mri
19+
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
20+
end
21+
22+
group :debug do
23+
gem 'shotgun'
24+
gem "byebug", platforms: :mri
25+
gem "pry"
26+
end

Gemfile-pure

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
source "https://rubygems.org"
2+
3+
gemspec
4+
5+
gem 'rdf', git: "https://github.com/ruby-rdf/rdf", branch: "develop"
6+
gem 'rdf-aggregate-repo', git: "https://github.com/ruby-rdf/rdf-aggregate-repo", branch: "develop"
7+
gem 'sparql', git: "https://github.com/ruby-rdf/sparql", branch: "develop"
8+
#gem "nokogiri", '~> 1.8'
9+
10+
group :development, :test do
11+
gem 'ebnf', git: "https://github.com/dryruby/ebnf", branch: "develop"
12+
gem 'rdf-isomorphic', git: "https://github.com/ruby-rdf/rdf-isomorphic", branch: "develop"
13+
gem 'rdf-spec', git: "https://github.com/ruby-rdf/rdf-spec", branch: "develop"
14+
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", branch: "develop"
15+
gem "rdf-xsd", git: "https://github.com/ruby-rdf/rdf-xsd", branch: "develop"
16+
gem 'sxp', git: "https://github.com/dryruby/sxp.rb", branch: "develop"
17+
gem "redcarpet", platform: :ruby
18+
gem 'simplecov', platforms: :mri
19+
gem 'coveralls', '~> 0.8', platforms: :mri
20+
end
21+
22+
group :debug do
23+
gem 'shotgun'
24+
gem "byebug", platforms: :mri
25+
gem "pry"
26+
end

0 commit comments

Comments
 (0)