Skip to content

Commit

Permalink
Finish 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Dec 29, 2021
2 parents 9e563ea + 0ae42f3 commit ed3b1c6
Show file tree
Hide file tree
Showing 15 changed files with 1,152 additions and 107 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-latest
env:
CI: true
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') }}
strategy:
fail-fast: false
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
- ruby-head
- jruby
steps:
Expand All @@ -36,5 +36,9 @@ jobs:
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rspec spec

run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.2
if: "matrix.ruby == '3.0'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Gemfile
Expand Up @@ -17,6 +17,6 @@ group :development, :test do
gem 'rdf-vocab', git: "https://github.com/ruby-rdf/rdf-vocab", 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
gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end
17 changes: 14 additions & 3 deletions README.md
Expand Up @@ -38,6 +38,16 @@ Write a repository to a file:
Note that reading and writing of graphs is also possible, but as graphs have only a single context,
it is not particularly interesting for TriG.

## RDF-star

Both reader and writer include provisional support for [RDF-star][].

Internally, an `RDF::Statement` is treated as another resource, along with `RDF::URI` and `RDF::Node`, which allows an `RDF::Statement` to have a `#subject` or `#object` which is also an `RDF::Statement`.

Note that this requires the `rdfstar` option to be se.

**Note: This feature is subject to change or elimination as the standards process progresses.**

## Documentation
Full documentation available on [Rubydoc.info][TriG doc].

Expand All @@ -58,9 +68,9 @@ There is a new `:stream` option to {RDF::TriG::Writer} which is more efficient f

## Dependencies

* [Ruby](https://ruby-lang.org/) (>= 2.2.2)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.0)
* [rdf-turtle](https://rubygems.org/gems/rdf-turtle) (~> 3.0)
* [Ruby](https://ruby-lang.org/) (>= 2.6)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
* [rdf-turtle](https://rubygems.org/gems/rdf-turtle) (~> 3.2)

## Installation

Expand Down Expand Up @@ -103,6 +113,7 @@ A copy of the [TriG EBNF][] and derived parser files are included in the reposit
[PDD]: https://unlicense.org/#unlicensing-contributions
[RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf/master/frames
[Backports]: https://rubygems.org/gems/backports
[RDF-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
[TriG]: https://www.w3.org/TR/trig/
[TriG doc]: https://rubydoc.info/github/ruby-rdf/rdf-trig/master/file/README.markdown
[TriG EBNF]: https://dvcs.w3.org/hg/rdf/raw-file/default/trig/trig.bnf
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.1.2
3.2.0

0 comments on commit ed3b1c6

Please sign in to comment.