Skip to content

Commit

Permalink
Finish 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Mar 14, 2022
2 parents fa31e4e + 328ad57 commit b29b33d
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build & deploy documentation
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update gh-pages with docs
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
- name: Install required gem dependencies
run: gem install yard --no-document
- name: Build YARD Ruby Documentation
run: yardoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/yard
publish_branch: gh-pages
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ In addition to the standard datatypes, the SPARQL dialect supports the following

## Documentation

* Full documentation available on [RubyDoc](https:/rubydoc.info/gems/sxp/file/README.md)
* Full documentation available on [RubyDoc](https://dryruby.github.io/sxp)

* {SXP}

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.2.2
2 changes: 1 addition & 1 deletion lib/sxp/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class RDF::Literal
# @return [String]
def to_sxp(**options)
case datatype
when RDF::XSD.boolean, RDF::XSD.integer, RDF::XSD.double, RDF::XSD.decimal, RDF::XSD.time
when RDF::XSD.boolean, RDF::XSD.integer, RDF::XSD.double, RDF::XSD.decimal
# Retain stated lexical form if possible
valid? ? to_s : object.to_sxp(**options)
else
Expand Down
7 changes: 7 additions & 0 deletions sxp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Gem::Specification.new do |gem|
gem.license = 'Unlicense'
gem.summary = 'A pure-Ruby implementation of a universal S-expression parser.'
gem.description = 'Universal S-expression parser with specific support for Common Lisp, Scheme, and RDF/SPARQL'
gem.metadata = {
"documentation_uri" => "https://dryruby.github.io/sxp",
"bug_tracker_uri" => "https://github.com/dryruby/sxp/issues",
"homepage_uri" => "https://github.com/dryruby/sxp",
"mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
"source_code_uri" => "https://github.com/dryruby/sxp",
}

gem.author = ['Arto Bendiken', 'Gregg Kellogg']
gem.email = ['[email protected]', '[email protected]']
Expand Down

0 comments on commit b29b33d

Please sign in to comment.