Skip to content

Fix protocol manifest #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
- name: Install dependencies
run: bundle install
- name: Generate Test Manifests
run: bundle exec rake
run: |
bundle exec rake
(cd sparql/sparql11/protocol; bundle exec rake)
(cd sparql/sparql11/http-rdf-update; bundle exec rake)
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated manifest generation
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ ruby "3.4.3"
gem 'rake'
gem 'json-ld'
gem 'rdf-turtle'
gem 'rdf-reasoner'
gem 'rdf-rdfa'
gem 'haml', '~> 6.3'
gem 'htmlbeautifier', '~> 1.4'
gem 'kramdown', '~> 2.5'
gem 'logger', '~> 1.7'
gem 'ostruct', '~> 0.6'
gem 'nokogiri', '~> 1.18'
gem 'pathname', '~> 0.4'
gem 'getoptlong'
21 changes: 21 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GEM
scanf (~> 1.0)
sxp (~> 2.0)
unicode-types (~> 1.8)
getoptlong (0.2.1)
haml (6.3.0)
temple (>= 0.8.2)
thor
Expand Down Expand Up @@ -45,11 +46,28 @@ GEM
bcp47_spec (~> 0.2)
bigdecimal (~> 3.1, >= 3.1.5)
link_header (~> 0.0, >= 0.0.8)
rdf-aggregate-repo (3.3.0)
rdf (~> 3.3)
rdf-rdfa (3.3.0)
haml (~> 6.1)
htmlentities (~> 4.3)
rdf (~> 3.3)
rdf-aggregate-repo (~> 3.3)
rdf-vocab (~> 3.3)
rdf-xsd (~> 3.3)
rdf-reasoner (0.9.0)
rdf (~> 3.3)
rdf-xsd (~> 3.3)
rdf-turtle (3.3.1)
base64 (~> 0.2)
bigdecimal (~> 3.1, >= 3.1.5)
ebnf (~> 2.5)
rdf (~> 3.3)
rdf-vocab (3.3.2)
rdf (~> 3.3)
rdf-xsd (3.3.0)
rdf (~> 3.3)
rexml (~> 3.2)
rexml (3.4.1)
scanf (1.0.0)
sxp (2.0.0)
Expand All @@ -66,6 +84,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
getoptlong
haml (~> 6.3)
htmlbeautifier (~> 1.4)
json-ld
Expand All @@ -75,6 +94,8 @@ DEPENDENCIES
ostruct (~> 0.6)
pathname (~> 0.4)
rake
rdf-rdfa
rdf-reasoner
rdf-turtle

RUBY VERSION
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require 'pathname'

task default: :index

MANIFESTS = Dir.glob("**/manifest*.ttl").reject {|f| f.include?('-az')}
MANIFESTS = Dir.glob("**/manifest*.ttl").reject {|f| f.include?('-az') || f.include?('protocol') || f.include?('http-rdf-update')}

SPECS = {
"rdf-concepts/spec/index.html" => "FIXME",
Expand Down
2 changes: 1 addition & 1 deletion rdf/rdf11/rdf-trig/reports/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@

<http://rubygems.org/gems/rdf-trig> a doap:Project, earl:TestSubject, earl:Software ;
doap:name "RDF::TriG" ;
doap:homepage <http://ruby-rdf.github.com/rdf-trig> ;
doap:homepage <https://ruby-rdf.github.io/rdf-trig> ;
doap:license <http://creativecommons.org/licenses/publicdomain/> ;
doap:description "RDF::TriG is an TriG reader/writer for the RDF.rb library suite."@en ;
doap:created "2011-08-29"^^xsd:date ;
Expand Down
2 changes: 1 addition & 1 deletion rdf/rdf11/rdf-turtle/reports/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@

<http://rubygems.org/gems/rdf-turtle> a doap:Project, earl:TestSubject, earl:Software ;
doap:name "RDF::Turtle" ;
doap:homepage <http://ruby-rdf.github.com/rdf-turtle> ;
doap:homepage <https://ruby-rdf.github.io/rdf-turtle> ;
doap:license <http://creativecommons.org/licenses/publicdomain/> ;
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;
doap:created "2011-08-29"^^xsd:date ;
Expand Down
17 changes: 17 additions & 0 deletions sparql/sparql11/http-rdf-update/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Builds manifests
task default: [:jsonld, :ttl, :html]

desc "Create manifest.jsonld"
task jsonld: "gen_manifest.rb" do
%x(ruby gen_manifest.rb -o manifest.jsonld)
end

desc "Create manifest.ttl"
task ttl: "gen_manifest.rb" do
%x(ruby gen_manifest.rb --format ttl -o manifest.ttl)
end

desc "Create index.html"
task html: "gen_manifest.rb" do
%x(ruby gen_manifest.rb --format html -o index.html)
end
Loading