Skip to content

Commit f86c502

Browse files
committed
Finish 0.1.7
2 parents 9d89cd0 + a563fa6 commit f86c502

25 files changed

+816
-326
lines changed

.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 }}
14+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
15+
runs-on: ubuntu-latest
16+
env:
17+
CI: true
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
ruby:
22+
- 2.4
23+
- 2.5
24+
- 2.6
25+
- 2.7
26+
#- ruby-head # Eventualy
27+
- jruby
28+
steps:
29+
- name: Clone repository
30+
uses: actions/checkout@v2
31+
- name: Set up Ruby
32+
uses: ruby/setup-ruby@v1
33+
with:
34+
ruby-version: ${{ matrix.ruby }}
35+
- name: Install dependencies
36+
run: bundle install --jobs 4 --retry 3
37+
- name: Run tests
38+
run: bundle exec rspec spec
39+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.bundle
33
Gemfile.lock
44
pkg/*
5+
.idea/

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: ruby
2+
3+
cache: bundler
4+
5+
sudo: false
6+
7+
bundler_args: --without debug
8+
script: "bundle exec rspec spec"
9+
10+
rvm:
11+
- 2.2.2
12+
- 2.3
13+
- 2.4
14+
- 2.5
15+
- 2.6
16+
- jruby-9
17+
- rbx-3
18+
19+
matrix:
20+
allow_failures:
21+
- rvm: jruby-9
22+
- rvm: rbx-3
23+
24+
dist: trusty

Gemfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
source "http://rubygems.org"
1+
source "https://rubygems.org"
22

33
# Specify your gem's dependencies in rdf-virtuoso.gemspec
4-
gemspec
5-
6-
gem "rdf", git: "git://github.com/ruby-rdf/rdf.git", branch: "develop"
7-
8-
group :development, :test do
9-
gem "rdf-spec", git: "git://github.com/ruby-rdf/rdf-spec.git", branch: "develop"
10-
gem "rdf-vocab", git: "git://github.com/ruby-rdf/rdf-vocab.git", branch: "develop"
11-
gem "wirble"
12-
end
4+
gemspec

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# rdf-virtuoso: Ruby Virtuoso adapter for RDF.rb
2+
23
The intent of this class is to act as an abstraction for clients wishing to connect and manipulate linked data stored in a Virtuoso Quad store.
34

5+
[![Gem Version](https://badge.fury.io/rb/rdf-virtuoso.png)](https://badge.fury.io/rb/rdf-virtuoso)
6+
[![Build Status](https://github.com/ruby-rdf/rdf-virtuoso/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-virtuoso/actions?query=workflow%3ACI)
7+
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
8+
49
## How?
510
RDF::Virtuoso::Repository subclasses RDF::Repository built on RDF.rb and is the main connection class built on top of APISmith to establish the read and write methods to a Virtuoso store SPARQL endpoint.
611
RDF::Virtuoso::Query subclasses RDF::Query and adds SPARQL 1.1. update methods (insert, delete, aggregates, etc.).

Rakefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
require "bundler/gem_tasks"
2+
3+
namespace :gem do
4+
desc "Build the rdf-virtuoso-#{File.read('VERSION').chomp}.gem file"
5+
task :build do
6+
sh "gem build rdf-virtuoso.gemspec && mv rdf-virtuoso-#{File.read('VERSION').chomp}.gem pkg/"
7+
end
8+
9+
desc "Release the rdf-virtuoso-#{File.read('VERSION').chomp}.gem file"
10+
task :release do
11+
sh "gem push pkg/rdf-virtuoso-#{File.read('VERSION').chomp}.gem"
12+
end
13+
end

VERSION

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

etc/bendiken.nq

Lines changed: 0 additions & 8 deletions
This file was deleted.

etc/bendiken.nt

Lines changed: 0 additions & 8 deletions
This file was deleted.

etc/bendiken.ttl

Lines changed: 0 additions & 17 deletions
This file was deleted.

etc/bhuga.nq

Lines changed: 0 additions & 6 deletions
This file was deleted.

etc/bhuga.nt

Lines changed: 0 additions & 6 deletions
This file was deleted.

etc/bhuga.ttl

Lines changed: 0 additions & 15 deletions
This file was deleted.

etc/doap.nq

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)