Skip to content

Commit

Permalink
Finish 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Feb 15, 2021
2 parents a6e62af + 7b0d4ef commit d1532bc
Show file tree
Hide file tree
Showing 25 changed files with 453 additions and 288 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
repo_token: H8GJq25RE5BDhwShpV5sgE1Dxd6Jodc2z
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,43 @@
# 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 }}"
strategy:
fail-fast: false
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
#- ruby-head # Until net-http-persistent updated
#- jruby # No Nokogumbo on JRuby
gemfile:
- Gemfile
- Gemfile-pure
steps:
- name: Clone repository
uses: actions/checkout@v2
- 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: bundle exec rspec spec

1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@
/spec/w3c-rdf
*.lock
*.byebug_history
coverage
2 changes: 1 addition & 1 deletion AUTHORS
@@ -1 +1 @@
* Gregg Kellogg <http://greggkellogg.net>
* Gregg Kellogg <https://greggkellogg.net>
14 changes: 8 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -6,7 +6,7 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee

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](http://github.com/ruby-rdf/rdf-rdfxml/issues)
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-rdfxml/issues)
* Fork and clone the repo:
`git clone git@github.com:your-username/rdf-rdfxml.git`
* Install bundle:
Expand All @@ -28,9 +28,11 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage devel
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.
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]: http://yardoc.org/
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
[pr]: https://github.com/ruby-rdf/rdf-rdfxml/compare/
[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/
5 changes: 5 additions & 0 deletions Gemfile
Expand Up @@ -24,3 +24,8 @@ group :debug do
gem "ruby-debug", platforms: :jruby
gem "byebug", platform: :mri
end

group :test do
gem 'simplecov', platforms: :mri
gem 'coveralls', '~> 0.8', platforms: :mri
end
48 changes: 26 additions & 22 deletions README.md
Expand Up @@ -2,8 +2,10 @@

[RDF/XML][] reader/writer for [RDF.rb][].

[![Gem Version](https://badge.fury.io/rb/rdf-rdfxml.png)](http://badge.fury.io/rb/rdf-rdfxml)
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-rdfxml.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-rdfxml)
[![Gem Version](https://badge.fury.io/rb/rdf-rdfxml.png)](https://badge.fury.io/rb/rdf-rdfxml)
[![Build Status](https://github.com/ruby-rdf/rdf-rdfxml/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-rdfxml/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-rdfxml/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-rdfxml?branch=develop)
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)

## DESCRIPTION

Expand All @@ -16,7 +18,7 @@ Fully compliant [RDF/XML][] parser and serializer.

Install with `gem install rdf-rdfxml`

* 100% free and unencumbered [public domain](http://unlicense.org/) software.
* 100% free and unencumbered [public domain](https://unlicense.org/) software.
* Implements a complete parser for [RDF/XML][].
* Compatible with Ruby >= 2.4.

Expand All @@ -40,8 +42,8 @@ Write a graph to a file:
end

## Dependencies
* [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.1)
* Soft dependency on [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.10)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1)
* Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (>= 1.10)

## Documentation
Full documentation available on [Rubydoc.info][RDF/XML doc])
Expand All @@ -63,13 +65,13 @@ Full documentation available on [Rubydoc.info][RDF/XML doc])
* [RDF/XML][RDF/XML]
* [Distiller](http://rdf.greggkellogg.net)
* [Documentation][RDF/XML doc]
* [RDF Tests](http://www.w3.org/2000/10/rdf-tests/rdfcore/allTestCases.html)
* [RDF Tests](https://www.w3.org/2000/10/rdf-tests/rdfcore/allTestCases.html)

## Author
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>

## Contributors
* [Nicholas Humfrey](http://github.com/njh) - <http://njh.me/>
* [Nicholas Humfrey](https://github.com/njh) - <http://njh.me/>

## Contributing
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
Expand All @@ -84,25 +86,27 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
list in the the `README`. Alphabetical order applies.
* 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.
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.

## License

This is free and unencumbered public domain software. For more information,
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.

## FEEDBACK

* gregg@greggkellogg.net
* <http://rubygems.org/rdf-rdfxml>
* <http://github.com/ruby-rdf/rdf-rdfxml>
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>

[Ruby]: http://ruby-lang.org/
[RDF]: http://www.w3.org/RDF/
[RDF.rb]: http://rubygems.org/gems/rdf
[RDF/XML]: hhttp://www.w3.org/TR/rdf-syntax-grammar/ "RDF/XML Syntax Specification"
[YARD]: http://yardoc.org/
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
[RDF/XML doc]: http://rubydoc.info/github/ruby-rdf/rdf-rdfxml/master/frames
* <https://rubygems.org/rdf-rdfxml>
* <https://github.com/ruby-rdf/rdf-rdfxml>
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>

[Ruby]: https://ruby-lang.org/
[RDF]: https://www.w3.org/RDF/
[RDF.rb]: https://rubygems.org/gems/rdf
[RDF/XML]: http://www.w3.org/TR/rdf-syntax-grammar/ "RDF/XML Syntax Specification"
[YARD]: https://yardoc.org/
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: https://unlicense.org/#unlicensing-contributions
[RDF/XML doc]: https://rubydoc.info/github/ruby-rdf/rdf-rdfxml/master/frames
2 changes: 1 addition & 1 deletion UNLICENSE
Expand Up @@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>
For more information, please refer to <https://unlicense.org/>
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.1.0
3.1.1
41 changes: 21 additions & 20 deletions etc/doap.nt
@@ -1,20 +1,21 @@
<http://rubygems.org/gems/rdf-rdfxml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
<http://rubygems.org/gems/rdf-rdfxml> <http://purl.org/dc/terms/creator> <http://greggkellogg.net/foaf#me> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#blog> <http://greggkellogg.net/> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/ruby-rdf/rdf-rdfxml/issues> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#created> "2010-06-03"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#description> "\n RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.\n "@en .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#helper> <http://njh.me/> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf-syntax-grammar/> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#download-page> <http://rubygems.org/gems/rdf-rdfxml> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#homepage> <http://github.com/ruby-rdf/rdf-rdfxml> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#mailing-list> <http://lists.w3.org/Archives/Public/public-rdf-ruby/> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#name> "RDF::RDFXML" .
<http://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#shortdesc> "RDF/XML reader/writer for Ruby."@en .
<http://rubygems.org/gems/rdf-rdfxml> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/publicdomain/> .
<http://rubygems.org/gems/rdf-rdfxml> <http://xmlns.com/foaf/0.1/maker> <http://greggkellogg.net/foaf#me> .
<https://rubygems.org/gems/rdf-rdfxml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
<https://rubygems.org/gems/rdf-rdfxml> <http://purl.org/dc/terms/creator> <http://greggkellogg.net/foaf#me> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#blog> <http://greggkellogg.net/> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#bug-database> <https://github.com/ruby-rdf/rdf-rdfxml/issues> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#created> "2010-06-03"^^<http://www.w3.org/2001/XMLSchema#date> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#description> "\n RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.\n "@en .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#helper> <http://njh.me/> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf-syntax-grammar/> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf-rdfxml> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#homepage> <https://github.com/ruby-rdf/rdf-rdfxml> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#mailing-list> <http://lists.w3.org/Archives/Public/public-rdf-ruby/> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#name> "RDF::RDFXML" .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
<https://rubygems.org/gems/rdf-rdfxml> <http://usefulinc.com/ns/doap#shortdesc> "RDF/XML reader/writer for Ruby."@en .
<https://rubygems.org/gems/rdf-rdfxml> <http://www.w3.org/1999/xhtml/vocab#license> <https://unlicense.org/1.0/> .
<https://rubygems.org/gems/rdf-rdfxml> <http://xmlns.com/foaf/0.1/maker> <http://greggkellogg.net/foaf#me> .
27 changes: 14 additions & 13 deletions etc/doap.rdf
Expand Up @@ -5,28 +5,29 @@
xmlns:dc="http://purl.org/dc/terms/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xml:base="http://rubygems.org/gems/rdf-rdfxml">
<doap:Project rdf:about="http://rubygems.org/gems/rdf-rdfxml">
<dc:creator rdf:resource="http://greggkellogg.net/foaf#me"/>
<doap:blog rdf:resource="http://greggkellogg.net/"/>
<doap:bug-database rdf:resource="http://github.com/ruby-rdf/rdf-rdfxml/issues"/>
xml:base="https://rubygems.org/gems/rdf-rdfxml">
<doap:Project rdf:about="https://rubygems.org/gems/rdf-rdfxml">
<dc:creator rdf:resource="https://greggkellogg.net/foaf#me"/>
<doap:blog rdf:resource="https://greggkellogg.net/"/>
<doap:bug-database rdf:resource="https://github.com/ruby-rdf/rdf-rdfxml/issues"/>
<doap:category rdf:resource="http://dbpedia.org/resource/Resource_Description_Framework"/>
<doap:category rdf:resource="http://dbpedia.org/resource/Ruby_(programming_language)"/>
<doap:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-06-03</doap:created>
<doap:description xml:lang="en">
RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.
</doap:description>
<doap:developer rdf:resource="http://greggkellogg.net/foaf#me"/>
<doap:developer rdf:resource="https://greggkellogg.net/foaf#me"/>
<doap:helper rdf:resource="http://njh.me/"/>
<doap:documenter rdf:resource="http://greggkellogg.net/foaf#me"/>
<doap:documenter rdf:resource="https://greggkellogg.net/foaf#me"/>
<doap:implements rdf:resource="http://www.w3.org/TR/rdf-syntax-grammar/"/>
<doap:download-page rdf:resource="http://rubygems.org/gems/rdf-rdfxml"/>
<doap:homepage rdf:resource="http://github.com/ruby-rdf/rdf-rdfxml"/>
<doap:mailing-list rdf:resource="http://lists.w3.org/Archives/Public/public-rdf-ruby/"/>
<doap:maintainer rdf:resource="http://greggkellogg.net/foaf#me"/>
<doap:programming-language>Ruby</doap:programming-language>
<doap:download-page rdf:resource="https://rubygems.org/gems/rdf-rdfxml"/>
<doap:homepage rdf:resource="https://github.com/ruby-rdf/rdf-rdfxml"/>
<doap:mailing-list rdf:resource="https://lists.w3.org/Archives/Public/public-rdf-ruby/"/>
<doap:maintainer rdf:resource="https://greggkellogg.net/foaf#me"/>
<doap:name>RDF::RDFXML</doap:name>
<doap:shortdesc xml:lang="en">RDF/XML reader/writer for Ruby.</doap:shortdesc>
<xhv:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
<foaf:maker rdf:resource="http://greggkellogg.net/foaf#me"/>
<xhv:license rdf:resource="https://unlicense.org/1.0/"/>
<foaf:maker rdf:resource="https://greggkellogg.net/foaf#me"/>
</doap:Project>
</rdf:RDF>
44 changes: 23 additions & 21 deletions etc/doap.ttl
@@ -1,29 +1,31 @@
@prefix dc: <http://purl.org/dc/terms/> .
@base <https://rubygems.org/gems/rdf-rdfxml> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://rubygems.org/gems/rdf-rdfxml> a doap:Project;
dc:creator <http://greggkellogg.net/foaf#me>;
doap:blog <http://greggkellogg.net/>;
doap:bug-database <http://github.com/ruby-rdf/rdf-rdfxml/issues>;
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
<http://dbpedia.org/resource/Ruby_(programming_language)>;
doap:created "2010-06-03"^^xsd:date;
<> a doap:Project;
doap:name "RDF::RDFXML";
doap:shortdesc "RDF/XML reader/writer for Ruby RDF.rb."@en;
doap:description """
RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.
"""@en;
doap:developer <http://greggkellogg.net/foaf#me>;
doap:documenter <http://greggkellogg.net/foaf#me>;
doap:download-page <http://rubygems.org/gems/rdf-rdfxml>;
dc:creator <https://greggkellogg.net/foaf#me>;
doap:blog <https://greggkellogg.net/>;
doap:bug-database <https://github.com/ruby-rdf/rdf-rdfxml/issues>;
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
<http://dbpedia.org/resource/Ruby_(programming_language)>;
doap:created "2010-06-03"^^xsd:date;
doap:developer <https://greggkellogg.net/foaf#me>;
doap:documenter <https://greggkellogg.net/foaf#me>;
doap:download-page <>;
doap:helper <http://njh.me/>;
doap:homepage <http://github.com/ruby-rdf/rdf-rdfxml>;
doap:homepage <https://github.com/ruby-rdf/rdf-rdfxml>;
doap:implements <http://www.w3.org/TR/rdf-syntax-grammar/>;
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/>;
doap:maintainer <http://greggkellogg.net/foaf#me>;
doap:name "RDF::RDFXML";
doap:shortdesc "RDF/XML reader/writer for Ruby."@en;
xhv:license <http://creativecommons.org/licenses/publicdomain/>;
foaf:maker <http://greggkellogg.net/foaf#me> .
doap:programming-language "Ruby";
doap:mailing-list <https://lists.w3.org/Archives/Public/public-rdf-ruby/>;
doap:maintainer <https://greggkellogg.net/foaf#me>;
xhv:license <https://unlicense.org/1.0/>;
foaf:maker <https://greggkellogg.net/foaf#me> .

0 comments on commit d1532bc

Please sign in to comment.