Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Update to use the latest version of SPARQL CLIENT (v3.2.1) #1

Merged
merged 252 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
13055ce
Update dependencies for RDF 1.1. Use json gem instead of json_pure, a…
gkellogg Nov 11, 2013
cbbffbd
Update to RSpec expect syntax and use webmock for remote resources.
gkellogg Nov 11, 2013
e13fc81
Update travis to run unrestricted version of JRuby
gkellogg Nov 14, 2013
d1dae68
Add rdf-aggregate-repo to Gemfile.
gkellogg Nov 14, 2013
fc00fdd
Revert use of Enumerator for solutions.
gkellogg Dec 4, 2013
717b258
Update Travis test matrix to use rbx instead of rbx-mode19
gkellogg Dec 4, 2013
82731cb
Finish 1.1.0
gkellogg Dec 6, 2013
484053f
Use Nokogiri instead of REXML for parsing results.
tomjnixon Oct 10, 2013
dafeae9
Add Nokogiri dep to README.
tomjnixon Oct 10, 2013
6b35c0f
Add Nokogiri as development dependency.
tomjnixon Oct 10, 2013
7d6d1f5
Merge pull request #36 from tomjnixon/nokogiri
gkellogg Dec 19, 2013
3ce7cdf
Use Nokogiri instead of REXML for parsing results.
tomjnixon Oct 10, 2013
82cdf4a
Add Nokogiri dep to README.
tomjnixon Oct 10, 2013
76e28c9
Add Nokogiri as development dependency.
tomjnixon Oct 10, 2013
bbab836
Add tests for XML results parsing.
tomjnixon Dec 9, 2013
6699303
Simplified xml tests slightly.
tomjnixon Dec 12, 2013
60ef59c
Update node hash when parsing json.
tomjnixon Dec 12, 2013
0b3a682
Add tests for json parsing.
tomjnixon Dec 12, 2013
e44062d
Add csv parsing test.
tomjnixon Dec 12, 2013
4fa6bca
Minor fixes to TSV parsing.
tomjnixon Dec 18, 2013
45c785a
Add test for TSV parsing.
tomjnixon Dec 18, 2013
3c668a4
Make nokogiri really be a soft dependency and fallback to REXML if it…
gkellogg Dec 19, 2013
6961d82
Finish nokogiri. This addresses issue #39.
gkellogg Dec 19, 2013
70c6ba3
Merge branch 'origin/master'
gkellogg Dec 19, 2013
37b6e4e
add read_timeout support for requests
descl Aug 13, 2013
4a1b44a
Test both with and without nokogiri.
tomjnixon Dec 19, 2013
4268ce9
Version 1.1.1.
gkellogg Dec 20, 2013
2a394d2
Finish 1.1.1
gkellogg Dec 20, 2013
66bad05
Finish 1.1.1
gkellogg Dec 20, 2013
028241f
Remove json dependency
gkellogg Dec 30, 2013
0c6e7d1
Add Ruby 2.1.0 to Travis CI mix.
gkellogg Dec 30, 2013
b763758
Use develop version of sxp.
gkellogg Dec 31, 2013
6d9608f
Add rubinius dependencies to Gemfile.
gkellogg Jan 9, 2014
a56d56c
Require json gem for rbx.
gkellogg Jan 10, 2014
7090a64
Move .gemspec to sparql-client.gemspec and update Gemfile.
gkellogg Feb 27, 2014
7c7e4b8
Move .gemspec to sparql-client.gemspec and update Gemfile.
gkellogg Feb 27, 2014
e129aed
distinct should work with the "*" select form
dannybtran Mar 30, 2014
5245b1f
Merge pull request #42 from dannybtran/select-all-vars-distinct
gkellogg Mar 30, 2014
2d23581
Adding support for property paths. See spec for DSL syntax and examples.
dannybtran Apr 4, 2014
4621651
Merge pull request #44 from dannybtran/property-paths
gkellogg Apr 4, 2014
c40db4e
Add more specs for query builder.
gkellogg Apr 6, 2014
9271c7a
Update Travis Ruby versions.
gkellogg May 10, 2014
e782c27
Finish WritableRepository
gkellogg Jun 30, 2014
6ef7c69
Version 1.1.2.
gkellogg Jun 30, 2014
72da7a5
Release 1.1.2.
gkellogg Jun 30, 2014
dccb8da
Release 1.1.2.
gkellogg Jun 30, 2014
7f4981f
Added :endpoint option for #update method to specify an alternative u…
Jul 24, 2014
37268c4
Merge pull request #50 from bencpeters/update-url
gkellogg Jul 25, 2014
21ac68c
Be more descriminating on Accept headers sent based on different quer…
gkellogg Jul 30, 2014
6e86709
Ensured that SPARQL 1.1 JSON typed literals are parsed correctly.
artob Aug 11, 2014
10e9657
Update code setting appropriate Accept header, and also add */*;q=0.1…
gkellogg Aug 24, 2014
bda0015
Only use DELETE DATA for #delete_statements if the statement is both …
gkellogg Aug 24, 2014
f6a1db6
Check error response outputs query.
gkellogg Aug 25, 2014
ce283e0
Add around block with response delegation to capture query and report…
gkellogg Aug 25, 2014
6f9839b
Remove debug point.
gkellogg Aug 25, 2014
fa787c4
Be more descriminating on Accept headers sent based on different quer…
gkellogg Aug 25, 2014
2d7f1ac
Version 1.1.3.
gkellogg Aug 25, 2014
89f12f9
Release 1.1.3.
gkellogg Aug 25, 2014
bc9ad1c
Follow redirects when querying sparql
Sep 26, 2014
561e18e
Merge pull request #52 from no-reply/feature/follow-redirects
gkellogg Sep 30, 2014
7028605
Update dependency on net-http-persistent to ~> 2.9.
gkellogg Oct 3, 2014
0c37749
disable webmock for rdf-spec repo tests and reenable repo tests
ngottlieb Oct 3, 2014
7ca453a
Merge pull request #53 from ngottlieb/fix-tests
gkellogg Oct 3, 2014
6a54ca5
Version 1.1.3.1.
gkellogg Oct 3, 2014
8eb1f27
Release 1.1.3.1.
gkellogg Oct 3, 2014
2f1cb59
Release 1.1.3.1.
gkellogg Oct 3, 2014
406054f
Update build matrix to run both with and without nokogiri.
gkellogg Oct 7, 2014
13263c1
Gemfile-pure, not Gemfile.pure
gkellogg Oct 7, 2014
722f905
Update README.md
gkellogg Oct 16, 2014
fe5bff3
Option for separate update_endpoint for Client::Repositories
marcelotto Oct 24, 2014
c85826b
Merge pull request #54 from marcelotto/feature/update_endpoint
gkellogg Oct 24, 2014
c34e458
Add a mechanism to override the HTTP verb
jcoyne Mar 4, 2015
b91382c
Merge pull request #57 from jcoyne/override_method
gkellogg Mar 4, 2015
9a5df9b
Change Client#method to Client#request_method, as #method replaces Ob…
gkellogg Mar 4, 2015
924b0ce
Version 1.1.4.
gkellogg Mar 4, 2015
e120e27
Release 1.1.4
gkellogg Mar 4, 2015
afed0d8
Release 1.1.4
gkellogg Mar 4, 2015
2460c93
When using the SPARQL gem as an update endpoint, use the `:update` op…
gkellogg May 5, 2015
f5f2b06
Updates to allow a native RDF::Repository instance to be used for SPA…
gkellogg May 5, 2015
8425f79
Version 1.1.5.
gkellogg May 5, 2015
6216174
Release 1.1.5
gkellogg May 5, 2015
bb085d2
Release 1.1.5
gkellogg May 5, 2015
2651651
Added support for specifying the sort order in SPARQL::Client::Query.…
ckristo Aug 26, 2015
7602ee0
Merge pull request #61 from ckristo/order-direction
gkellogg Aug 27, 2015
0c7474d
Update documentation. Add support for `#asc` and `#desc` modifiers.
gkellogg Aug 28, 2015
142e85c
Version 1.1.6.
gkellogg Aug 28, 2015
67218b6
Release 1.1.6:
gkellogg Aug 28, 2015
d6fb70f
Release 1.1.6:
gkellogg Aug 28, 2015
bc105b9
Add link to coveralls coverage report.
gkellogg Aug 28, 2015
8eef974
Improve code coverage.
gkellogg Aug 28, 2015
866ecef
Use mri 2.2.1, instead of 2.2; this defaults to 2.2.0p0, because of o…
gkellogg Aug 29, 2015
f5b8162
When calling @http.request, use ::URI, not ::RDF::URI.
gkellogg Sep 10, 2015
3f71e07
Merge pull request #62 from ruby-rdf/feature/issue-29-SSL-endpoints
gkellogg Sep 14, 2015
67fa46f
Add that Repository does not support graph_name in addition to contex…
gkellogg Oct 15, 2015
0254d47
Don't insert incomplete statement in `Repository::insert_statement(s)`.
gkellogg Oct 31, 2015
bb21146
Release 1.99.0:
gkellogg Oct 31, 2015
311b7b6
Minor updates for RDF.rb 2.0.
gkellogg Nov 6, 2015
d9a9ab3
Handle `Enumerable` values on `Repository#delete`
Nov 7, 2015
1b507ff
Merge pull request #63 from ruby-rdf/feature/handle-enums-delete
gkellogg Nov 7, 2015
33416c1
Update Ruby versions.
gkellogg Dec 27, 2015
7d8b239
Updates for keyword arguments.
gkellogg Dec 27, 2015
e8996be
Update required ruby version >= 2.0.
gkellogg Jan 3, 2016
dd94160
Change gemspec dependencies to '>= 1.99', '< 3' in prep for 2.0.0.bet…
gkellogg Jan 31, 2016
fda1207
Change calling sequence to Repository to use `uri` named parameter in…
gkellogg Feb 1, 2016
e4a2be3
Change pattern of uri named parameter for backwards compatibility wit…
gkellogg Feb 1, 2016
2eeb2d0
Set version to 2.0.0.beta1 and change gemspec dependencies to '>= 2.0…
gkellogg Feb 6, 2016
f3af808
Release 2.0.0.beta1
gkellogg Feb 22, 2016
fd4cb4b
Don't run coverage unless the gem is loaded.
gkellogg Feb 22, 2016
861ddbc
Finish 2.0.0.beta1
gkellogg Feb 22, 2016
dcb19f3
Update gemspec. Remove README symlink.
gkellogg Feb 23, 2016
0a6d8b5
Finish 2.0.0.beta1
gkellogg Feb 23, 2016
cc08356
Allow configuration of keep-alive
Feb 24, 2016
8827a44
Add CONTRIBUTING.md.
gkellogg Mar 24, 2016
311fbec
Fix CONTRIBUTING typos.
gkellogg Mar 29, 2016
409a1c4
Updates for release 2.0.0.
gkellogg Apr 10, 2016
ddf951d
Update Gemfile dependencies.
gkellogg Apr 10, 2016
6852c67
Finish 2.0.0
gkellogg Apr 11, 2016
59d4093
content_type is always passed to RDF::Reader.for
nvdk Jun 7, 2016
c56d25f
raise error when no suitable rdf reader is found
nvdk Jun 7, 2016
fc78158
set appropriate content types in mocks
nvdk Jun 7, 2016
b5ea2df
call original when rdf reader is mocked
nvdk Jun 7, 2016
46e3984
require rdf/turtle to have a reader for turtle
nvdk Jun 7, 2016
1d0b871
Merge pull request #68 from nvdk/no-suitable-rdf-reader
gkellogg Jun 7, 2016
7ca0fd8
Fixed quality values in generated Accept headers (closes #69).
artob Jun 13, 2016
092d104
Added pre/post HTTP request hooks for monitoring/debugging.
artob Jun 13, 2016
0338c80
Bumped the version to 2.0.1.
artob Jun 13, 2016
63088db
Update client_spec mock request expectations to expaect "q=.." instea…
gkellogg Jul 29, 2016
ca613d8
Update minimum ruby version, and change sxp repo location in Gemfiles.
gkellogg Jul 29, 2016
3d2081f
Remove wirble from Gemfile, as dependency-ci objects that it has no l…
gkellogg Aug 13, 2016
4669283
Change Travis JRuby to default and allow failures.
gkellogg Aug 13, 2016
6a7ebef
Handle empty response body on update queries
Aug 23, 2016
9f173a5
Merge pull request #70 from ruby-rdf/feature/empty-body
gkellogg Aug 23, 2016
1e8b231
Implements tests for update alternative endpoint
cecton Aug 25, 2016
82530b9
Fixed problems with the alternative endpoint
cecton Aug 25, 2016
3f21267
Improvement: don't parse update response
cecton Aug 26, 2016
c2c78a2
Merge pull request #73 from cecton/dont-parse-update-response
Aug 27, 2016
57ffebd
Merge pull request #72 from cecton/fix-alt-endpoint
Aug 27, 2016
5c03ea8
Skip depencency checking on rdf-isomorphic.
gkellogg Sep 2, 2016
653a4b8
Version 2.1.0.
gkellogg Sep 6, 2016
29e3b25
Remove require of 'sparql/client' from Rakefile.
gkellogg Sep 6, 2016
d8c169d
Finish 2.1.0
gkellogg Sep 6, 2016
20f587d
Finish 2.1.0
gkellogg Sep 6, 2016
f320a9a
Add block forms for `#where` and `#optional`, this allows sub-queries…
gkellogg Nov 1, 2016
90177ae
Add support for UNION, either with triple patterns, subquery, or bloc…
gkellogg Nov 2, 2016
7ca5a02
Add support for MINUS, pretty much equivalent to UNION support.
gkellogg Nov 2, 2016
66e1fdf
Add documentation for select `:count` option. Not quite what was requ…
gkellogg Nov 2, 2016
4d33b84
Add `Repository#each_statement` using a copy from `Enumerable`. This …
gkellogg Nov 16, 2016
7c711a8
Add supports `literal_equality` so that spec count passes.
gkellogg Nov 16, 2016
0a0ab9a
Add support for net-http-persistent 3.x
cbeer Nov 21, 2016
ddc0edc
Merge pull request #76 from ruby-rdf/feature/dataset-update
gkellogg Nov 22, 2016
1ab8f58
Merge pull request #77 from cbeer/net-http-persistent
gkellogg Nov 22, 2016
9f8986b
Update webmock to ~> 2.3.
gkellogg Dec 31, 2016
e9c7350
Use Travis "trusty" build and wildcard Ruby versions.
gkellogg Mar 31, 2017
bb8deb6
Fix broken Markdown headings
bryant1410 Apr 16, 2017
546482a
Merge pull request #81 from bryant1410/develop
gkellogg Apr 16, 2017
203890d
Finish 2.2.0
gkellogg Jun 24, 2017
f33da4e
Remove rubyforge reference.
gkellogg Aug 21, 2017
e88c648
Fix comment
davidrupp Nov 7, 2017
9d0f450
Fix example code
davidrupp Nov 7, 2017
3885a8a
Merge pull request #82 from davidrupp/patch-1
gkellogg Nov 7, 2017
d821fb3
Merge pull request #83 from davidrupp/patch-2
gkellogg Nov 7, 2017
33eb266
Relax dependencies for 3.0 release.
gkellogg Nov 25, 2017
a347d4e
Fix Gemfile.
gkellogg Nov 25, 2017
df41637
Version 2.2.0.
gkellogg Dec 14, 2017
95ad202
Version 2.2.1.
gkellogg Dec 14, 2017
4270492
Finish 2.2.1
gkellogg Dec 14, 2017
c726c69
Finish 2.2.1
gkellogg Dec 14, 2017
eb5f8c4
Update yard ~> 0.9.12 due to vulnerability.
gkellogg Dec 21, 2017
f15dec5
Allow VALUES to be specified using `Query#values`.
gkellogg Dec 27, 2017
9f85b57
Update dependencies.
gkellogg Dec 31, 2017
609d9ee
Version 3.0.0
gkellogg Dec 31, 2017
2abd569
Finish 3.0.0
gkellogg Dec 31, 2017
28370e0
Improved error message
May 30, 2018
c651818
Merge pull request #84 from Richard-Degenne/improved-error-message
gkellogg Jun 19, 2018
204355e
Remove gemspec deprecations.
gkellogg Aug 8, 2018
a4194b9
use ruby syntax highlighting for readme
ConorSheehan1 Nov 12, 2018
60826de
remove prefix example, add as separate pr
ConorSheehan1 Nov 12, 2018
2d63993
add support for RDF::URI prefixes
ConorSheehan1 Nov 13, 2018
6e9bb94
match code style in spec
ConorSheehan1 Nov 13, 2018
8957d3a
support prefix hashes
ConorSheehan1 Nov 13, 2018
71f7c9e
added a default graph option
Simaris Nov 18, 2018
4d733b9
support multiple default graphs
Simaris Nov 26, 2018
547348b
Added Tests for the default-graph feature
Simaris Dec 2, 2018
b346727
Version 3.0.1.
gkellogg Dec 3, 2018
c1051d9
Finish 3.0.1
gkellogg Dec 3, 2018
ff9d21c
Finish 3.0.1
gkellogg Dec 3, 2018
26e0e1a
Update travis config to deal with rubygems not supporting ruby < 2.3 …
gkellogg Dec 21, 2018
0508243
Add 2.6 to travis RVM matrix.
gkellogg Dec 24, 2018
0627034
Update Gemfile.
gkellogg Jan 1, 2019
1546bd7
Add default for User-Agent HTTP header, and fix code that sets defaul…
gkellogg Jul 1, 2019
543e2cd
Add `Client#close` to shutdown any HTTP connection and object finaliz…
gkellogg Oct 13, 2018
336effd
Run 2.2.2 on Travis.
gkellogg Oct 15, 2018
8b2723f
Remove jruby-openssl from Gemfiles.
gkellogg Jul 2, 2019
cc9812c
Updates for 3.1 release and Ruby 2.7 calling sequences.
gkellogg Dec 16, 2019
72464f4
Finish 3.1.0
gkellogg Dec 16, 2019
2f98a5d
Finish 3.1.0
gkellogg Dec 16, 2019
b2394b1
Update URLs to use HTTPS, where possible.
gkellogg May 21, 2020
040316b
Update doap:license to https://unlicense.org/.
gkellogg May 28, 2020
685a974
Update doap:license.
gkellogg May 30, 2020
eb88348
Use `each_statement.count` instead of `each_statement {count+=1}`. as…
gkellogg May 30, 2020
622ad17
Use `optimize: true` for queries to the sparql gem.
gkellogg May 30, 2020
369d051
Update PDD info in the README.
gkellogg Oct 25, 2020
7365f99
Update gem dependencies.
gkellogg Dec 19, 2020
2cf4236
CI on GitHub.
gkellogg Dec 21, 2020
b4eea17
Fix README badges.
gkellogg Dec 21, 2020
7da4005
Fix bug in values when value is not a literal.
gkellogg Dec 23, 2020
76b2a20
Explicitlly require 'delegate' and add example for #92.
gkellogg Dec 23, 2020
3c802f0
Version 3.1.1.
gkellogg Dec 26, 2020
1bc66e3
Finish 3.1.1
gkellogg Dec 26, 2020
ceb41d3
Finish 3.1.1
gkellogg Dec 26, 2020
0ce3b32
Update net-http-dependency to >= 4.0.1 and enable CI on Ruby 3.0.
gkellogg Jan 18, 2021
be19290
Change finalizer for closing HTTP connections to a class method.
gkellogg Jan 18, 2021
e77ec5f
Version 3.1.2.
gkellogg Jan 18, 2021
6b79072
Finish 3.1.2
gkellogg Jan 18, 2021
9c527f0
Finish 3.1.2
gkellogg Jan 18, 2021
9dd2b6d
Add .coveralls.yml.
gkellogg Jan 18, 2021
a589bcd
Change Nokogiri dependency in Gemfile to ~> 1.10, as 1.11 no requires…
gkellogg Jan 18, 2021
05d8cfb
Add triple forms parsing to XML and JSON results for RDF-star.
gkellogg Feb 28, 2021
3955805
Fixes for REXML used in Gemfile-pure.
gkellogg Feb 28, 2021
84adf30
Update CI for coveralls.
gkellogg Aug 11, 2021
e7de441
Update CI.
gkellogg Oct 26, 2021
bc5f010
Update documentation, dependencies, and version sync for 3.2.
gkellogg Dec 13, 2021
50398b9
CI on Ruby 3.1.
gkellogg Dec 27, 2021
cc5c7ee
Finish 3.2.0
gkellogg Dec 29, 2021
b60d7ec
Finish 3.2.0
gkellogg Dec 29, 2021
f0b4844
Force CI on Ruby "3.0".
gkellogg Feb 26, 2022
a3c426d
Run client finalizer in a Thread (if possible) for emergent Ruby 3.1 …
gkellogg Feb 26, 2022
fb01de2
* Force running REXML in addition to Nokogiri by adding `library` key…
gkellogg Feb 26, 2022
3f52c37
Set variable_names in solutions, which might not be the same as the a…
gkellogg Feb 28, 2022
55f3637
Since cc9812c8baed593e1d3b5c745ee3ec0ca84d1124 the interface to speci…
white-gecko Feb 28, 2022
7a072c3
Add test for correct hand over of the graph parameter
white-gecko Feb 28, 2022
32760d6
remove focus tag
white-gecko Feb 28, 2022
5220241
Add WebMock around test for default query specifying default graph.
gkellogg Feb 28, 2022
3bde8ea
Version 3.2.1.
gkellogg Mar 16, 2022
b91979e
Finish 3.2.1
gkellogg Mar 16, 2022
9b10cef
Finish 3.2.1
gkellogg Mar 16, 2022
9e3f86b
Tolerate an empty binding in XML.
gkellogg Mar 24, 2022
586f8cd
CI on 3.2.
gkellogg Jan 4, 2023
87625d2
Update badges
gkellogg May 3, 2023
528913e
Adds support for Federated Service with SERVICE keyword.
gkellogg Jul 15, 2023
3a25fb2
Update dependencies.
gkellogg Jul 23, 2023
0b257ae
Version 3.2.2.
gkellogg Jul 23, 2023
79670ad
Finish 3.2.2
gkellogg Jul 23, 2023
e501a36
make it work with ruby <= 3.0
syphax-bouazzouni Apr 30, 2024
c841d9d
add pry gem to use binding.pry
syphax-bouazzouni Apr 30, 2024
94cffd9
use INSERT { GRAPH ...} instead of INSERT GRAPH {...} to work for vir…
syphax-bouazzouni Apr 30, 2024
24af9f9
put again NCBO custom code
syphax-bouazzouni Apr 30, 2024
04e904d
Merge branch 'master' into feature/reset-to-upstream
syphax-bouazzouni Apr 30, 2024
c96da3a
handle the insert data bug of Virtuoso
syphax-bouazzouni May 1, 2024
59251e5
put again the fix of the string datatype for 4store and Virtuoso
syphax-bouazzouni May 1, 2024
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
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: VCzjHF1tTiWms12qHsCsrQyId4YWSQlfH
36 changes: 0 additions & 36 deletions .gemspec

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.

name: CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ develop ]
workflow_dispatch:

jobs:
tests:
name: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }}
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
runs-on: ubuntu-latest
env:
CI: true
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') }}
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby]
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
if: ${{ matrix.ruby == '3.0' && matrix.gemfile == 'Gemfile' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build & deploy documentation
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update gh-pages with docs
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
- name: Install required gem dependencies
run: gem install yard --no-document
- name: Build YARD Ruby Documentation
run: yardoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/yard
publish_branch: gh-pages
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
.idea
pkg
tmp
doc
coverage
.bundle
/.byebug_history
.ruby-version

*.swp
.idea/

# rbenv
.ruby-version
*.iml
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

38 changes: 38 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# How to contribute

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.

## Development

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.

* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/sparql-client/issues)
* Fork and clone the repo:
`git clone [email protected]:your-username/sparql-client.git`
* Install bundle:
`bundle install`
* Create tests in RSpec and make sure you achieve at least 90% code coverage for the feature your adding or behavior being modified.
* Push to your fork and [submit a pull request][pr].

## Do's and Dont's
* Do your best to adhere to the existing coding conventions and idioms.
* Don't use hard tabs, and don't leave trailing whitespace on any line.
Before committing, run `git diff --check` to make sure of this.
* Do document every method you add using [YARD][] annotations. Read the
[tutorial][YARD-GS] or just look at the existing code for examples.
* Don't touch the `.gemspec` or `VERSION` files. If you need to change them,
do so on your private branch only.
* Do feel free to add yourself to the `CREDITS` file and the
corresponding list in the the `README`. Alphabetical order applies.
* Don't touch the `AUTHORS` file. If your contributions are significant
enough, be assured we will eventually add you in there.
* Do note that in order for us to merge any non-trivial changes (as a rule
of thumb, additions larger than about 15 lines of code), we need an
explicit [public domain dedication][PDD] on record from you,
which you will be asked to agree to on the first commit to a repo within the organization.
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.

[YARD]: https://yardoc.org/
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: https://unlicense.org/#unlicensing-contributions
[pr]: https://github.com/ruby-rdf/rdf/compare/
4 changes: 3 additions & 1 deletion CREDITS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* Christoph Badura <[email protected]>
* Thomas Feron <[email protected]>
* James Hetherington <[email protected]>
* Gabriel Horner <[email protected]>
* Nicholas Humfrey <[email protected]>
Expand All @@ -7,4 +8,5 @@
* Thamaraiselvan Poomalai <[email protected]>
* Michael Sokol <[email protected]>
* Yves Raimond <[email protected]>
* Thomas Feron <[email protected]>
* Danny Tran <[email protected]>
* Nick Gottlieb <[email protected]>
22 changes: 18 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@ source "https://rubygems.org"

gemspec

gem "jruby-openssl", :platforms => :jruby
gem 'cube-ruby', require: "cube"
gem 'rdf', git: "https://github.com/ruby-rdf/rdf", tag: "3.2.11"
gem 'rdf-aggregate-repo', git: "https://github.com/ruby-rdf/rdf-aggregate-repo", tag: "3.2.0"
gem 'sparql', git: "https://github.com/ruby-rdf/sparql", tag: "3.2.0"
gem "nokogiri", '~> 1.13', '>= 1.13.4'

group :development, :test do
gem 'ebnf', git: "https://github.com/dryruby/ebnf", tag: "2.3.5"
gem 'rdf-isomorphic', git: "https://github.com/ruby-rdf/rdf-isomorphic", tag: "3.2.0"
gem 'rdf-spec', git: "https://github.com/ruby-rdf/rdf-spec", tag: "3.2.0"
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", tag: "3.2.0"
gem "rdf-xsd", git: "https://github.com/ruby-rdf/rdf-xsd", tag: "3.2.0"
gem 'sxp'
gem "redcarpet", platform: :ruby
gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end

group :debug do
gem 'shotgun'
gem "wirble"
gem "debugger", :platforms => [:mri_19, :mri_20]
gem "byebug", platforms: :mri
gem "pry"
end
26 changes: 26 additions & 0 deletions Gemfile-pure
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
source "https://rubygems.org"

gemspec

gem 'rdf', git: "https://github.com/ruby-rdf/rdf", branch: "develop"
gem 'rdf-aggregate-repo', git: "https://github.com/ruby-rdf/rdf-aggregate-repo", branch: "develop"
gem 'sparql', git: "https://github.com/ruby-rdf/sparql", branch: "develop"
#gem "nokogiri", '~> 1.8'

group :development, :test do
gem 'ebnf', git: "https://github.com/dryruby/ebnf", branch: "develop"
gem 'rdf-isomorphic', git: "https://github.com/ruby-rdf/rdf-isomorphic", branch: "develop"
gem 'rdf-spec', git: "https://github.com/ruby-rdf/rdf-spec", branch: "develop"
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", branch: "develop"
gem "rdf-xsd", git: "https://github.com/ruby-rdf/rdf-xsd", branch: "develop"
gem 'sxp', git: "https://github.com/dryruby/sxp.rb", branch: "develop"
gem "redcarpet", platform: :ruby
gem 'simplecov', platforms: :mri
gem 'coveralls', '~> 0.8', platforms: :mri
end

group :debug do
gem 'shotgun'
gem "byebug", platforms: :mri
gem "pry"
end
1 change: 0 additions & 1 deletion README

This file was deleted.

Loading
Loading