From 394c42bf102cfa04087fb41699bc8d837a9b0506 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 20 May 2020 17:00:47 -0700 Subject: [PATCH 1/6] Update URLs to use HTTPS, where possible. --- CONTRIBUTING.md | 8 +++--- Gemfile | 2 +- README.md | 49 ++++++++++++++++---------------- UNLICENSE | 2 +- lib/rdf/trig.rb | 8 +++--- lib/rdf/trig/format.rb | 2 +- lib/rdf/trig/streaming_writer.rb | 2 +- lib/rdf/trig/writer.rb | 2 +- rdf-trig.gemspec | 2 +- script/tc | 12 ++++---- spec/reader_spec.rb | 2 +- 11 files changed, 45 insertions(+), 46 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3f3fcd..b4c897b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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-trig/issues) +* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-trig/issues) * Fork and clone the repo: `git clone git@github.com:your-username/rdf-trig.git` * Install bundle: @@ -30,7 +30,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage devel of thumb, additions larger than about 15 lines of code), we need an explicit [public domain dedication][PDD] on record from you. -[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 +[YARD]: https://yardoc.org/ +[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md +[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html [pr]: https://github.com/ruby-rdf/rdf-trig/compare/ diff --git a/Gemfile b/Gemfile index 32d1a6f..0c660f7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source "http://rubygems.org" +source "https://rubygems.org" gemspec diff --git a/README.md b/README.md index 28e6191..5b6fbe8 100755 --- a/README.md +++ b/README.md @@ -2,10 +2,9 @@ [TriG][] reader/writer for [RDF.rb][RDF.rb] . -[![Gem Version](https://badge.fury.io/rb/rdf-trig.png)](http://badge.fury.io/rb/rdf-trig) -[![Build Status](https://travis-ci.org/ruby-rdf/rdf-trig.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-trig) +[![Gem Version](https://badge.fury.io/rb/rdf-trig.png)](https://badge.fury.io/rb/rdf-trig) +[![Build Status](https://travis-ci.org/ruby-rdf/rdf-trig.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-trig) [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-trig/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-trig) -[![Dependency Status](https://gemnasium.com/ruby-rdf/rdf-trig.png)](https://gemnasium.com/ruby-rdf/rdf-trig) ## Description This is a [Ruby][] implementation of a [TriG][] reader and writer for [RDF.rb][]. @@ -15,7 +14,7 @@ RDF::TriG parses [TriG][Trig] into statements or quads. It also serializes to Tr Install with `gem install rdf-trig` -* 100% free and unencumbered [public domain](http://unlicense.org/) software. +* 100% free and unencumbered [public domain](https://unlicense.org/) software. * Implements a complete parser and serializer for [TriG][]. * Compatible with Ruby 2.x, and JRuby 1.7+. * Optional streaming writer, to serialize large graphs @@ -58,22 +57,22 @@ There is a new `:stream` option to {RDF::TriG::Writer} which is more efficient f ## Dependencies -* [Ruby](http://ruby-lang.org/) (>= 2.2.2) -* [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.0) -* [rdf-turtle](http://rubygems.org/gems/rdf-turtle) (~> 3.0) +* [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) ## Installation -The recommended installation method is via [RubyGems](http://rubygems.org/). +The recommended installation method is via [RubyGems](https://rubygems.org/). To install the latest official release of the `RDF::TriG` gem, do: % [sudo] gem install rdf-trig ## Mailing List -* +* ## Author -* [Gregg Kellogg](http://github.com/gkellogg) - +* [Gregg Kellogg](https://github.com/gkellogg) - ## Contributing * Do your best to adhere to the existing coding conventions and idioms. @@ -90,18 +89,18 @@ To install the latest official release of the `RDF::TriG` gem, do: ## License This is free and unencumbered public domain software. For more information, -see or the accompanying {file:UNLICENSE} file. - -A copy of the [TriG EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231). - -[Ruby]: http://ruby-lang.org/ -[RDF]: http://www.w3.org/RDF/ -[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.rb]: http://rubydoc.info/github/ruby-rdf/rdf/master/frames -[Backports]: http://rubygems.org/gems/backports -[TriG]: http://www.w3.org/TR/trig/ -[TriG doc]: http://rubydoc.info/github/ruby-rdf/rdf-trig/master/file/README.markdown -[TriG EBNF]: http://dvcs.w3.org/hg/rdf/raw-file/default/trig/trig.bnf -[Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown +see or the accompanying {file:UNLICENSE} file. + +A copy of the [TriG EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](https://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231). + +[Ruby]: https://ruby-lang.org/ +[RDF]: https://www.w3.org/RDF/ +[YARD]: https://yardoc.org/ +[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md +[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html +[RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf/master/frames +[Backports]: https://rubygems.org/gems/backports +[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 +[Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown diff --git a/UNLICENSE b/UNLICENSE index 68a49da..efb9808 100644 --- a/UNLICENSE +++ b/UNLICENSE @@ -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 +For more information, please refer to diff --git a/lib/rdf/trig.rb b/lib/rdf/trig.rb index b92b733..9485e04 100644 --- a/lib/rdf/trig.rb +++ b/lib/rdf/trig.rb @@ -15,11 +15,11 @@ module RDF # end # end # - # @see http://rubydoc.info/github/ruby-rdf/rdf-turtle/ - # @see http://rubydoc.info/github/ruby-rdf/rdf/master/ - # @see http://www.w3.org/TR/trig/ + # @see https://rubydoc.info/github/ruby-rdf/rdf-turtle/ + # @see https://rubydoc.info/github/ruby-rdf/rdf/master/ + # @see https://www.w3.org/TR/trig/ # - # @author [Gregg Kellogg](http://greggkellogg.net/) + # @author [Gregg Kellogg](https://greggkellogg.net/) module TriG require 'rdf/trig/format' autoload :Reader, 'rdf/trig/reader' diff --git a/lib/rdf/trig/format.rb b/lib/rdf/trig/format.rb index ca452c6..d4ff66d 100644 --- a/lib/rdf/trig/format.rb +++ b/lib/rdf/trig/format.rb @@ -14,7 +14,7 @@ module RDF::TriG # @example Obtaining serialization format file extension mappings # RDF::Format.file_extensions #=> {trig: "application/trig"} # - # @see http://www.w3.org/TR/rdf-testcases/#ntriples + # @see https://www.w3.org/TR/rdf-testcases/#ntriples class Format < RDF::Format content_type 'application/trig', extension: :trig, alias: 'application/x-trig;q=0.2' content_encoding 'utf-8' diff --git a/lib/rdf/trig/streaming_writer.rb b/lib/rdf/trig/streaming_writer.rb index 23d14c3..b5d2796 100644 --- a/lib/rdf/trig/streaming_writer.rb +++ b/lib/rdf/trig/streaming_writer.rb @@ -1,7 +1,7 @@ module RDF::TriG ## # Streaming writer interface - # @author [Gregg Kellogg](http://greggkellogg.net/) + # @author [Gregg Kellogg](https://greggkellogg.net/) module StreamingWriter ## # Write out a statement, retaining current diff --git a/lib/rdf/trig/writer.rb b/lib/rdf/trig/writer.rb index f6641bd..26e4a12 100644 --- a/lib/rdf/trig/writer.rb +++ b/lib/rdf/trig/writer.rb @@ -54,7 +54,7 @@ module RDF::TriG # end # end # - # @author [Gregg Kellogg](http://greggkellogg.net/) + # @author [Gregg Kellogg](https://greggkellogg.net/) class Writer < RDF::Turtle::Writer include StreamingWriter format RDF::TriG::Format diff --git a/rdf-trig.gemspec b/rdf-trig.gemspec index 0c3712f..f646235 100755 --- a/rdf-trig.gemspec +++ b/rdf-trig.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |gem| gem.date = File.mtime('VERSION').strftime('%Y-%m-%d') gem.name = "rdf-trig" - gem.homepage = "http://ruby-rdf.github.com/rdf-trig" + gem.homepage = "https://github.com/ruby-rdf/rdf-trig" gem.license = 'Unlicense' gem.summary = "TriG reader/writer for Ruby." gem.description = %q{RDF::TriG is an TriG reader/writer for the RDF.rb library suite.} diff --git a/script/tc b/script/tc index 63bc707..3162972 100755 --- a/script/tc +++ b/script/tc @@ -9,31 +9,31 @@ require File.expand_path(File.join(File.dirname(__FILE__), "..", 'spec', 'spec_h require File.expand_path(File.join(File.dirname(__FILE__), "..", 'spec', 'suite_helper')) require 'getoptlong' -ASSERTOR = "http://greggkellogg.net/foaf#me" +ASSERTOR = "https://greggkellogg.net/foaf#me" RUN_TIME = Time.now def earl_preamble(**options) options[:output].write File.read(File.expand_path("../../etc/doap#{'-nquads' if options[:nquads]}.ttl", __FILE__)) options[:output].puts %( -<> foaf:primaryTopic ; +<> foaf:primaryTopic ; dc:issued "#{RUN_TIME.xmlschema}"^^xsd:dateTime ; foaf:maker <#{ASSERTOR}> . <#{ASSERTOR}> a foaf:Person, earl:Assertor; foaf:name "Gregg Kellogg"; foaf:title "Implementor"; - foaf:homepage . + foaf:homepage . ) options[:output].puts options[:nquads] ? %( - + doap:release . a doap:Version; doap:name "RDF.rb-#{RDF::VERSION}"; doap:revision "#{RDF::VERSION}" . ) : %( - + doap:release . a doap:Version; @@ -105,7 +105,7 @@ def run_tc(tc, **options) options[:output].puts %{ [ a earl:Assertion; earl:assertedBy <#{ASSERTOR}>; - earl:subject ; + earl:subject ; earl:test <#{tc.id}>; earl:result [ a earl:TestResult; diff --git a/spec/reader_spec.rb b/spec/reader_spec.rb index 9851ac4..844086c 100644 --- a/spec/reader_spec.rb +++ b/spec/reader_spec.rb @@ -97,7 +97,7 @@ end end - # NTriple tests from http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt + # NTriple tests from https://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt describe "with blank lines" do { "comment" => "# comment lines", From 86f168debc9aab0b4d37a7199da4a0dcd5769e40 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 28 May 2020 16:24:29 -0700 Subject: [PATCH 2/6] Update doap:license to https://unlicense.org/. --- etc/doap-nquads.ttl | 2 +- etc/doap.nq | 86 ++++++++++++++++++++++----------------------- etc/doap.trig | 77 ++++++++++++++++++++-------------------- etc/doap.ttl | 42 +++++++++++----------- etc/earl-nquads.ttl | 2 +- etc/earl.ttl | 2 +- 6 files changed, 105 insertions(+), 106 deletions(-) diff --git a/etc/doap-nquads.ttl b/etc/doap-nquads.ttl index df73f7a..f6b140d 100644 --- a/etc/doap-nquads.ttl +++ b/etc/doap-nquads.ttl @@ -8,7 +8,7 @@ <> a doap:Project ; doap:name "RDF.rb" ; doap:homepage ; - doap:license ; + doap:license ; doap:shortdesc "A Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:description "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:created "2007-10-23" ; diff --git a/etc/doap.nq b/etc/doap.nq index 65d0a9e..66b6d38 100644 --- a/etc/doap.nq +++ b/etc/doap.nq @@ -1,45 +1,45 @@ + . + "2011-12-22"^^ . + . + "TriG reader/writer for RDF.rb" . + . + . + . + . + . + . + . + . + . + . + . + "TriG reader/writer for Ruby."@en . + "RDF::TriG" . + . + . + . + "TriG reader/writer for RDF.rb" . + . + . + "Ruby" . + . + . . "RDF::TriG" . - . - . - . - . - . - . - . - . - . - "TriG reader/writer for RDF.rb" . - "RDF::TriG" . - "TriG reader/writer for Ruby."@en . - "Ruby" . - . - . - . - . - . - . - . - . - . - "2011-12-22"^^ . - . - "TriG reader/writer for RDF.rb" . - . - . - "2009-01-13T08:58:46-08:00"^^ . - . - "gkellogg" . - . - "GitHub" . - . - . - . - "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" . - "Gregg Kellogg" . - "gkellogg" . - _:proj . - . - "San Rafael, CA" . - . - . + . + "2009-01-13T08:58:46-08:00"^^ . + . + "gkellogg" . + . + . + "GitHub" . + . + "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" . + . + "gkellogg" . + _:proj . + . + . + . + "Gregg Kellogg" . + "San Rafael, CA" . diff --git a/etc/doap.trig b/etc/doap.trig index afad086..c631fa5 100644 --- a/etc/doap.trig +++ b/etc/doap.trig @@ -1,3 +1,4 @@ +@base . @prefix dc: . @prefix doap: . @prefix earl: . @@ -5,53 +6,51 @@ @prefix rdf: . @prefix xsd: . -{ - a doap:GitRepository; - dc:title "RDF::TriG"; - doap:browse . + a doap:GitRepository; + dc:title "RDF::TriG"; + doap:browse . - a doap:Project, earl:TestSubject, earl:Software; - doap:blog ; - doap:developer ; - doap:documenter ; - doap:maintainer ; - doap:bug-database ; - doap:description "TriG reader/writer for RDF.rb"; - doap:name "RDF::TriG"; - doap:shortdesc "TriG reader/writer for Ruby."@en; - doap:programming-language "Ruby"; - doap:repository ; - doap:mailing-list ; - doap:implements ; - doap:category , - ; - doap:homepage ; - doap:license ; - doap:wiki ; - foaf:maker ; - dc:date "2011-12-22"^^xsd:date; - dc:creator ; - dc:description "TriG reader/writer for RDF.rb"; - dc:isPartOf . +<> a doap:Project, earl:TestSubject, earl:Software; + doap:blog ; + doap:developer ; + doap:documenter ; + doap:maintainer ; + doap:bug-database ; + doap:description "TriG reader/writer for RDF.rb"; + doap:name "RDF::TriG"; + doap:shortdesc "TriG reader/writer for Ruby."@en; + doap:programming-language "Ruby"; + doap:repository ; + doap:mailing-list ; + doap:implements ; + doap:category , + ; + doap:homepage ; + doap:license ; + doap:wiki ; + foaf:maker ; + dc:date "2011-12-22"^^xsd:date; + dc:creator ; + dc:description "TriG reader/writer for RDF.rb"; + dc:isPartOf . - a foaf:OnlineAccount; - dc:created "2009-01-13T08:58:46-08:00"^^xsd:dateTime; - doap:homepage ; - foaf:accountName "gkellogg"; - foaf:accountServiceHomepage ; - foaf:name "GitHub"; - foaf:page . -} + a foaf:OnlineAccount; + dc:created "2009-01-13T08:58:46-08:00"^^xsd:dateTime; + doap:homepage ; + foaf:accountName "gkellogg"; + foaf:accountServiceHomepage ; + foaf:name "GitHub"; + foaf:page . - { - a foaf:Person; + { + a foaf:Person; foaf:mbox ; foaf:mbox_sha1sum "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd"; foaf:name "Gregg Kellogg"; foaf:nick "gkellogg"; foaf:developer _:proj; - foaf:account ; + foaf:account ; foaf:based_near "San Rafael, CA"; foaf:depiction ; - foaf:weblog . + foaf:weblog . } diff --git a/etc/doap.ttl b/etc/doap.ttl index 3ffc693..e5cd30b 100644 --- a/etc/doap.ttl +++ b/etc/doap.ttl @@ -1,3 +1,4 @@ +@base . @prefix dc: . @prefix doap: . @prefix earl: . @@ -9,45 +10,44 @@ dc:title "RDF::TriG"; doap:browse . - a doap:Project, earl:TestSubject, earl:Software; - doap:blog ; - doap:developer ; - doap:documenter ; - doap:maintainer ; + <> a doap:Project, earl:TestSubject, earl:Software; + doap:blog ; + doap:developer ; + doap:documenter ; + doap:maintainer ; doap:bug-database ; doap:description "TriG reader/writer for RDF.rb"; doap:name "RDF::TriG"; doap:shortdesc "TriG reader/writer for Ruby."@en; doap:programming-language "Ruby"; doap:repository ; - doap:mailing-list ; - doap:implements ; + doap:mailing-list ; + doap:implements ; doap:category , ; - doap:homepage ; - doap:license ; - doap:wiki ; - foaf:maker ; + doap:homepage ; + doap:license ; + foaf:maker ; dc:date "2011-12-22"^^xsd:date; - dc:creator ; + dc:creator ; dc:description "TriG reader/writer for RDF.rb"; - dc:isPartOf . + dc:isPartOf . - a foaf:OnlineAccount; + a foaf:OnlineAccount; dc:created "2009-01-13T08:58:46-08:00"^^xsd:dateTime; - doap:homepage ; + doap:homepage ; foaf:accountName "gkellogg"; - foaf:accountServiceHomepage ; + foaf:accountServiceHomepage ; foaf:name "GitHub"; - foaf:page . + foaf:page . - a foaf:Person; + a foaf:Person; foaf:mbox ; foaf:mbox_sha1sum "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd"; foaf:name "Gregg Kellogg"; foaf:nick "gkellogg"; foaf:developer _:proj; - foaf:account ; + foaf:account ; foaf:based_near "San Rafael, CA"; - foaf:depiction ; - foaf:weblog . + foaf:depiction ; + foaf:weblog . diff --git a/etc/earl-nquads.ttl b/etc/earl-nquads.ttl index c683875..132e958 100644 --- a/etc/earl-nquads.ttl +++ b/etc/earl-nquads.ttl @@ -10,7 +10,7 @@ <> a doap:Project ; doap:name "RDF.rb" ; doap:homepage ; - doap:license ; + doap:license ; doap:shortdesc "A Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:description "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:created "2007-10-23" ; diff --git a/etc/earl.ttl b/etc/earl.ttl index 449e275..3885b6b 100644 --- a/etc/earl.ttl +++ b/etc/earl.ttl @@ -25,7 +25,7 @@ doap:category , ; doap:homepage ; - doap:license ; + doap:license ; doap:wiki ; foaf:maker ; dc:date "2011-12-22"^^xsd:date; From da8db2620ab22003facee0b7ae4e43e025a12a8b Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 30 May 2020 13:11:29 -0700 Subject: [PATCH 3/6] Update doap:license (again) to https://unlicense.org/1.0/. --- etc/doap-nquads.ttl | 2 +- etc/doap.nq | 2 +- etc/doap.trig | 2 +- etc/doap.ttl | 2 +- etc/earl-nquads.ttl | 2 +- etc/earl.ttl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/doap-nquads.ttl b/etc/doap-nquads.ttl index f6b140d..90edb8e 100644 --- a/etc/doap-nquads.ttl +++ b/etc/doap-nquads.ttl @@ -8,7 +8,7 @@ <> a doap:Project ; doap:name "RDF.rb" ; doap:homepage ; - doap:license ; + doap:license ; doap:shortdesc "A Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:description "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:created "2007-10-23" ; diff --git a/etc/doap.nq b/etc/doap.nq index 66b6d38..bcb1142 100644 --- a/etc/doap.nq +++ b/etc/doap.nq @@ -20,7 +20,7 @@ . "TriG reader/writer for RDF.rb" . . - . + . "Ruby" . . . diff --git a/etc/doap.trig b/etc/doap.trig index c631fa5..4b2e99f 100644 --- a/etc/doap.trig +++ b/etc/doap.trig @@ -26,7 +26,7 @@ doap:category , ; doap:homepage ; - doap:license ; + doap:license ; doap:wiki ; foaf:maker ; dc:date "2011-12-22"^^xsd:date; diff --git a/etc/doap.ttl b/etc/doap.ttl index e5cd30b..c2070e6 100644 --- a/etc/doap.ttl +++ b/etc/doap.ttl @@ -26,7 +26,7 @@ doap:category , ; doap:homepage ; - doap:license ; + doap:license ; foaf:maker ; dc:date "2011-12-22"^^xsd:date; dc:creator ; diff --git a/etc/earl-nquads.ttl b/etc/earl-nquads.ttl index 132e958..4b9bb91 100644 --- a/etc/earl-nquads.ttl +++ b/etc/earl-nquads.ttl @@ -10,7 +10,7 @@ <> a doap:Project ; doap:name "RDF.rb" ; doap:homepage ; - doap:license ; + doap:license ; doap:shortdesc "A Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:description "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en ; doap:created "2007-10-23" ; diff --git a/etc/earl.ttl b/etc/earl.ttl index 3885b6b..a38c560 100644 --- a/etc/earl.ttl +++ b/etc/earl.ttl @@ -25,7 +25,7 @@ doap:category , ; doap:homepage ; - doap:license ; + doap:license ; doap:wiki ; foaf:maker ; dc:date "2011-12-22"^^xsd:date; From 4347d688d8cb6439dcec65b3f0534fc17df28112 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 15 Jun 2020 15:01:56 -0700 Subject: [PATCH 4/6] Fix TriG EBNF grammar. --- etc/trig.bnf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/etc/trig.bnf b/etc/trig.bnf index 942b149..ec5343c 100644 --- a/etc/trig.bnf +++ b/etc/trig.bnf @@ -67,26 +67,26 @@ [162s] ANON ::= "[" WS* "]" [163s] PN_CHARS_BASE ::= [A-Z] | [a-z] - | [#00C0-#00D6] - | [#00D8-#00F6] - | [#00F8-#02FF] - | [#0370-#037D] - | [#037F-#1FFF] - | [#200C-#200D] - | [#2070-#218F] - | [#2C00-#2FEF] - | [#3001-#D7FF] - | [#F900-#FDCF] - | [#FDF0-#FFFD] - | [#10000-#EFFFF] + | [#x00C0-#x00D6] + | [#x00D8-#x00F6] + | [#x00F8-#x02FF] + | [#x0370-#x037D] + | [#x037F-#x1FFF] + | [#x200C-#x200D] + | [#x2070-#x218F] + | [#x2C00-#x2FEF] + | [#x3001-#xD7FF] + | [#xF900-#xFDCF] + | [#xFDF0-#xFFFD] + | [#x10000-#xEFFFF] [164s] PN_CHARS_U ::= PN_CHARS_BASE | '_' [166s] PN_CHARS ::= PN_CHARS_U | "-" | [0-9] - | #00B7 - | [#0300-#036F] - | [#203F-#2040] + | #x00B7 + | [#x0300-#x036F] + | [#x203F-#x2040] [167s] PN_PREFIX ::= PN_CHARS_BASE ( ( PN_CHARS | "." )* PN_CHARS )? [168s] PN_LOCAL ::= ( PN_CHARS_U | ':' | [0-9] | PLX ) ( ( PN_CHARS | '.' | ':' | PLX )* ( PN_CHARS | ':' | PLX ) ) ? [169s] PLX ::= PERCENT From 9447d5c404cfa1dd1e2c4b022a0cfdb37483f44d Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 15 Jun 2020 15:02:03 -0700 Subject: [PATCH 5/6] Bump dependency on EBNF gem to 2.0. --- rdf-trig.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdf-trig.gemspec b/rdf-trig.gemspec index f646235..fa5f1da 100755 --- a/rdf-trig.gemspec +++ b/rdf-trig.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 2.4' gem.requirements = [] gem.add_runtime_dependency 'rdf', '~> 3.1' - gem.add_runtime_dependency 'ebnf', '~> 1.1' + gem.add_runtime_dependency 'ebnf', '~> 2.0' gem.add_runtime_dependency 'rdf-turtle', '~> 3.1' gem.add_development_dependency 'json-ld', '~> 3.1' gem.add_development_dependency 'rspec', '~> 3.9' From 1e9863e2d5bbda9bd8959bc85923d2f21fb773f0 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 10 Jul 2020 12:24:35 -0700 Subject: [PATCH 6/6] Version 3.1.1. --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index fd2a018..94ff29c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.0 +3.1.1