Skip to content

Commit

Permalink
Finish 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Sep 1, 2023
2 parents 6c77437 + e5c360f commit c28006a
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 50 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby]
ruby: ['3.0', 3.1, 3.2, ruby-head, jruby]
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -33,6 +33,6 @@ jobs:
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
if: "matrix.ruby == '3.0'"
if: "matrix.ruby == '3.2'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
59 changes: 31 additions & 28 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,40 @@
source "https://rubygems.org"
source 'https://rubygems.org'

gemspec

gem 'ebnf', github: "dryruby/ebnf", branch: "develop"
gem 'rdf', github: "ruby-rdf/rdf", branch: "develop"
gem 'rdf-aggregate-repo', github: "ruby-rdf/rdf-aggregate-repo", branch: "develop"
gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop"
gem 'sparql-client', github: "ruby-rdf/sparql-client", branch: "develop"
gem 'sxp', github: "dryruby/sxp.rb", branch: "develop"
gem 'ebnf', github: 'dryruby/ebnf', branch: 'develop'
gem 'rdf', github: 'ruby-rdf/rdf', branch: 'develop'
gem 'rdf-aggregate-repo', github: 'ruby-rdf/rdf-aggregate-repo', branch: 'develop'
gem 'rdf-xsd', github: 'ruby-rdf/rdf-xsd', branch: 'develop'
gem 'sparql-client', github: 'ruby-rdf/sparql-client', branch: 'develop'
gem 'sxp', github: 'dryruby/sxp.rb', branch: 'develop'

group :development do
gem 'json-ld', github: "ruby-rdf/json-ld", branch: "develop"
gem 'json-ld-preloaded',github: "ruby-rdf/json-ld-preloaded", branch: "develop"
gem 'linkeddata', github: "ruby-rdf/linkeddata", branch: "develop"
gem 'rdf-isomorphic', github: "ruby-rdf/rdf-isomorphic", branch: "develop"
gem 'rdf-json', github: "ruby-rdf/rdf-json", branch: "develop"
gem 'rdf-microdata', github: "ruby-rdf/rdf-microdata", branch: "develop"
gem 'rdf-n3', github: "ruby-rdf/rdf-n3", branch: "develop"
gem 'rdf-normalize', github: "ruby-rdf/rdf-normalize", branch: "develop"
gem 'rdf-rdfa', github: "ruby-rdf/rdf-rdfa", branch: "develop"
gem 'rdf-reasoner', github: "ruby-rdf/rdf-reasoner", branch: "develop"
gem 'rdf-rdfxml', github: "ruby-rdf/rdf-rdfxml", branch: "develop"
gem "rdf-spec", github: "ruby-rdf/rdf-spec", branch: "develop"
gem 'rdf-tabular', github: "ruby-rdf/rdf-tabular", branch: "develop"
gem 'rdf-trig', github: "ruby-rdf/rdf-trig", branch: "develop"
gem 'rdf-trix', github: "ruby-rdf/rdf-trix", branch: "develop"
gem 'rdf-turtle', github: "ruby-rdf/rdf-turtle", branch: "develop"
gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop"
gem 'ld-patch', github: "ruby-rdf/ld-patch", branch: "develop"
gem 'shex', github: "ruby-rdf/shex", branch: "develop"
gem 'json-ld', github: 'ruby-rdf/json-ld', branch: 'develop'
gem 'json-ld-preloaded',github: 'ruby-rdf/json-ld-preloaded', branch: 'develop'
gem 'ld-patch', github: 'ruby-rdf/ld-patch', branch: 'develop'
gem 'linkeddata', github: 'ruby-rdf/linkeddata', branch: 'develop'
gem 'rdf-hamster-repo', github: 'ruby-rdf/rdf-hamster-repo', branch: 'develop'
gem 'rdf-isomorphic', github: 'ruby-rdf/rdf-isomorphic', branch: 'develop'
gem 'rdf-json', github: 'ruby-rdf/rdf-json', branch: 'develop'
gem 'rdf-microdata', github: 'ruby-rdf/rdf-microdata', branch: 'develop'
gem 'rdf-n3', github: 'ruby-rdf/rdf-n3', branch: 'develop'
gem 'rdf-normalize', github: 'ruby-rdf/rdf-normalize', branch: 'develop'
gem 'rdf-ordered-repo', github: 'ruby-rdf/rdf-ordered-repo', branch: 'develop'
gem 'rdf-rdfa', github: 'ruby-rdf/rdf-rdfa', branch: 'develop'
gem 'rdf-rdfxml', github: 'ruby-rdf/rdf-rdfxml', branch: 'develop'
gem 'rdf-reasoner', github: 'ruby-rdf/rdf-reasoner', branch: 'develop'
gem 'rdf-spec', github: 'ruby-rdf/rdf-spec', branch: 'develop'
gem 'rdf-tabular', github: 'ruby-rdf/rdf-tabular', branch: 'develop'
gem 'rdf-trig', github: 'ruby-rdf/rdf-trig', branch: 'develop'
gem 'rdf-trix', github: 'ruby-rdf/rdf-trix', branch: 'develop'
gem 'rdf-turtle', github: 'ruby-rdf/rdf-turtle', branch: 'develop'
gem 'rdf-vocab', github: 'ruby-rdf/rdf-vocab', branch: 'develop'
gem 'shacl', github: 'ruby-rdf/shacl', branch: 'develop'
gem 'shex', github: 'ruby-rdf/shex', branch: 'develop'
gem 'erubis', '>= 2.7.0'
gem 'htmlentities', '>= 4.3.4'
gem "equivalent-xml", '>= 0.6.0'
gem 'equivalent-xml', '>= 0.6.0'
end

group :debug do
Expand All @@ -44,6 +47,6 @@ end

group :test do
gem 'rake'
gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov', '~> 0.22', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,15 @@ a full set of RDF formats.
### Command line processing

sparql execute --dataset etc/doap.ttl etc/from_default.rq
sparql execute -e "SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }"
sparql execute --dataset etc/doap.ttl -e "SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }"

# Generate SPARQL Algebra Expression (SSE) format
sparql parse etc/input.rq
sparql parse -e "SELECT * WHERE { ?s ?p ?o }"

# Generate SPARQL Query from SSE
sparql parse --sse etc/input.sse --format sparql
sparql parse --sse --format sparql -e "(dataset (<http://usefulinc.com/ns/doap>) (bgp (triple ?s ?p ?o))))"
sparql parse --sse --format sparql -e "(dataset (<etc/doap.ttl>) (bgp (triple ?s ?p ?o))))"

# Run query using SSE input
sparql execute --dataset etc/doap.ttl --sse etc/input.sse
Expand Down Expand Up @@ -397,14 +397,14 @@ Full documentation available on [Rubydoc.info][SPARQL doc]

## Dependencies

* [Ruby](https://ruby-lang.org/) (>= 2.6)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
* [SPARQL::Client](https://rubygems.org/gems/sparql-client) (~> 3.1)
* [Ruby](https://ruby-lang.org/) (>= 3.0)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3)
* [SPARQL::Client](https://rubygems.org/gems/sparql-client) (~> 3.3)
* [SXP](https://rubygems.org/gems/sxp) (~> 1.2)
* [Builder](https://rubygems.org/gems/builder) (~> 3.2)
* [JSON](https://rubygems.org/gems/json) (~> 2.6)
* Soft dependency on [Linked Data][] (>= 3.1)
* Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.12)
* Soft dependency on [Linked Data][] (>= 3.3)
* Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.15)
Falls back to REXML for XML parsing Builder for XML serializing. Nokogiri is much more efficient
* Soft dependency on [Equivalent XML](https://rubygems.org/gems/equivalent-xml) (>= 0.6)
Equivalent XML performs more efficient comparisons of XML Literals when Nokogiri is included
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.6
3.3.0
2 changes: 1 addition & 1 deletion etc/from_default.rq
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT * FROM <http://usefulinc.com/ns/doap> WHERE { ?s ?p ?o }
SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }
2 changes: 1 addition & 1 deletion etc/input.sse
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(dataset (<http://usefulinc.com/ns/doap>) (bgp (triple ?s ?p ?o))))
(dataset (<etc/doap.ttl>) (bgp (triple ?s ?p ?o))))
20 changes: 10 additions & 10 deletions sparql.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ Gem::Specification.new do |gem|
gem.executables = %w(sparql)
gem.require_paths = %w(lib)

gem.required_ruby_version = '>= 2.6'
gem.required_ruby_version = '>= 3.0'
gem.requirements = []
gem.add_runtime_dependency 'rdf', '~> 3.2', '>= 3.2.11'
gem.add_runtime_dependency 'rdf-aggregate-repo', '~> 3.2', '>= 3.2.1'
gem.add_runtime_dependency 'ebnf', '~> 2.3', '>= 2.3.5'
gem.add_runtime_dependency 'rdf', '~> 3.3'
gem.add_runtime_dependency 'rdf-aggregate-repo', '~> 3.3'
gem.add_runtime_dependency 'ebnf', '~> 2.4'
gem.add_runtime_dependency 'builder', '~> 3.2', '>= 3.2.4'
gem.add_runtime_dependency 'logger', '~> 1.5'
gem.add_runtime_dependency 'sxp', '~> 1.2', '>= 1.2.4'
gem.add_runtime_dependency 'sparql-client', '~> 3.2', '>= 3.2.2'
gem.add_runtime_dependency 'rdf-xsd', '~> 3.2'
gem.add_runtime_dependency 'sxp', '~> 1.3'
gem.add_runtime_dependency 'sparql-client', '~> 3.3'
gem.add_runtime_dependency 'rdf-xsd', '~> 3.3'

gem.add_development_dependency 'sinatra', '~> 3.0', '>= 3.0.5'
gem.add_development_dependency 'sinatra', '~> 3.1'
gem.add_development_dependency 'rack', '>= 2.2', '< 4'
gem.add_development_dependency 'rack-test', '~> 2.1'
gem.add_development_dependency 'rdf-spec', '~> 3.2'
gem.add_development_dependency 'linkeddata', '~> 3.2'
gem.add_development_dependency 'rdf-spec', '~> 3.3'
gem.add_development_dependency 'linkeddata'
gem.add_development_dependency 'rspec', '~> 3.12'
gem.add_development_dependency 'rspec-its', '~> 1.3'
gem.add_development_dependency 'yard' , '~> 0.9'
Expand Down

0 comments on commit c28006a

Please sign in to comment.