Skip to content

Commit 8dbd85e

Browse files
committed
Finish 3.2.1
2 parents 1f07bc0 + 01a8352 commit 8dbd85e

File tree

14 files changed

+56
-16
lines changed

14 files changed

+56
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
ruby:
2323
- 2.6
2424
- 2.7
25-
- 3.0
25+
- "3.0"
2626
- 3.1
2727
- ruby-head
2828
- jruby
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build & deploy documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Update gh-pages with docs
11+
steps:
12+
- name: Clone repository
13+
uses: actions/checkout@v2
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: "3.1"
18+
- name: Install required gem dependencies
19+
run: gem install yard --no-document
20+
- name: Build YARD Ruby Documentation
21+
run: yardoc
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./doc/yard
27+
publish_branch: gh-pages

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ A copy of the [Turtle EBNF][] and derived parser files are included in the repos
185185
[YARD]: https://yardoc.org/
186186
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
187187
[PDD]: https://unlicense.org/#unlicensing-contributions
188-
[RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf
188+
[RDF.rb]: https://ruby-rdf.github.io/rdf
189189
[EBNF]: https://rubygems.org/gems/ebnf
190190
[Backports]: https://rubygems.org/gems/backports
191191
[N-Triples]: https://www.w3.org/TR/rdf-testcases/#ntriples
192192
[Turtle]: https://www.w3.org/TR/2012/WD-turtle-20120710/
193193
[RDF-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
194-
[Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.md
194+
[Turtle doc]: https://ruby-rdf.github.io/rdf-turtle/master/file/README.md
195195
[Turtle EBNF]: https://dvcs.w3.org/hg/rdf/file/default/rdf-turtle/turtle.bnf
196196
[Freebase Dumps]: https://developers.google.com/freebase/data

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.2.1

etc/doap.nt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
66
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
77
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
8-
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#homepage> <https://ruby-rdf.github.com/rdf-turtle> .
8+
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#homepage> <https://ruby-rdf.github.io/rdf-turtle> .
99
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#shortdesc> "Turtle reader/writer for RDF.rb."@en .
1010
<https://rubygems.org/gems/rdf-turtle> <http://purl.org/dc/terms/creator> <https://greggkellogg.net/foaf#me> .
1111
<https://rubygems.org/gems/rdf-turtle> <http://usefulinc.com/ns/doap#created> "2011-08-29"^^<http://www.w3.org/2001/XMLSchema#date> .

etc/doap.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<> a doap:Project, earl:TestSubject, earl:Software ;
1212
doap:name "Ruby RDF::Turtle" ;
13-
doap:homepage <https://ruby-rdf.github.com/rdf-turtle> ;
13+
doap:homepage <https://ruby-rdf.github.io/rdf-turtle> ;
1414
doap:license <https://unlicense.org/1.0/> ;
1515
doap:shortdesc "Turtle reader/writer for RDF.rb."@en ;
1616
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;

etc/earl-rdf-star.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<> a doap:Project, earl:TestSubject, earl:Software ;
1212
doap:name "Ruby RDF::Turtle" ;
13-
doap:homepage <https://ruby-rdf.github.com/rdf-turtle> ;
13+
doap:homepage <https://ruby-rdf.github.io/rdf-turtle> ;
1414
doap:license <https://unlicense.org/1.0/> ;
1515
doap:shortdesc "Turtle reader/writer for RDF.rb."@en ;
1616
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;

etc/earl.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<> a doap:Project, earl:TestSubject, earl:Software ;
1212
doap:name "Ruby RDF::Turtle" ;
13-
doap:homepage <https://ruby-rdf.github.com/rdf-turtle> ;
13+
doap:homepage <https://ruby-rdf.github.io/rdf-turtle> ;
1414
doap:license <https://unlicense.org/1.0/> ;
1515
doap:shortdesc "Turtle reader/writer for Ruby."@en ;
1616
doap:description "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite."@en ;

lib/rdf/turtle.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module RDF
1515
# end
1616
# end
1717
#
18-
# @see https://rubydoc.info/github/ruby-rdf/rdf/master/frames
18+
# @see https://ruby-rdf.github.io/rdf/master/frames
1919
# @see https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html
2020
#
2121
# @author [Gregg Kellogg](https://greggkellogg.net/)

lib/rdf/turtle/format.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module RDF::Turtle
1818
class Format < RDF::Format
1919
content_type 'text/turtle',
2020
extension: :ttl,
21+
uri: 'http://www.w3.org/ns/formats/Turtle',
2122
aliases: %w(
2223
text/rdf+turtle
2324
application/turtle;q=0.2

0 commit comments

Comments
 (0)