Skip to content

Commit

Permalink
Finish 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jul 23, 2023
2 parents c43339f + 730ecbe commit 99817cd
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 19 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,10 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby:
- 2.6
- 2.7
- 3.0
- 3.1
- ruby-head
- jruby
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby]
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
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@v3
- 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
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ source "https://rubygems.org"
gemspec

gem 'rack-rdf', git: "https://github.com/ruby-rdf/rack-rdf", branch: "develop"
gem "rdf", git: "https://github.com/ruby-rdf/rdf", branch: "develop"
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", branch: "develop"
gem "rdf", git: "https://github.com/ruby-rdf/rdf", branch: "develop"
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", branch: "develop"

group :development do
gem "byebug", platforms: :mri
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ operation and details of the content negotiation.

## Documentation

* [Sinatra::RDF](https://www.rubydoc.info/github/ruby-rdf/sinatra-rdf/master)
* [Sinatra::RDF](https://ruby-rdf.github.io/sinatra-rdf/master)

## Dependencies

* [Sinatra](https://rubygems.org/gems/sinatra) (~> 2.1)
* [Sinatra](https://rubygems.org/gems/sinatra) (~> 3.0)
* [Rack::RDF](https://rubygems.org/gems/rack-rdf) (~> 3.2)

## Installation
Expand Down Expand Up @@ -160,7 +160,7 @@ information, see <https://unlicense.org/> or the accompanying UNLICENSE file.

[Sinatra]: https://www.sinatrarb.com/
[Rack]: https://rack.github.com/
[RDF.rb]: https://ruby-rdf.github.com/rdf/
[RDF.rb]: https://ruby-rdf.github.io/rdf/
[Rack::RDF]: https://rubygems.org/gems/rack-rdf/
[Linked Data]: https://linkeddata.org/
[conneg]: https://en.wikipedia.org/wiki/Content_negotiation
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.2.1
17 changes: 12 additions & 5 deletions sinatra-rdf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ Gem::Specification.new do |gem|
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')

gem.name = 'sinatra-rdf'
gem.homepage = 'https://ruby-rdf.github.com/sinatra-rdf'
gem.homepage = 'https://github.com/ruby-rdf/sinatra-rdf'
gem.license = 'Unlicense'
gem.summary = 'Linked Data content negotiation for Sinatra applications.'
gem.description = 'Sinatra extension for Linked Data content negotiation.'
gem.metadata = {
"documentation_uri" => "https://ruby-rdf.github.io/sinatra-rdf",
"bug_tracker_uri" => "https://github.com/ruby-rdf/sinatra-rdf/issues",
"homepage_uri" => "https://github.com/ruby-rdf/sinatra-rdf",
"mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
"source_code_uri" => "https://github.com/ruby-rdf/sinatra-rdf",
}

gem.authors = ['Arto Bendiken', 'Gregg Kellogg']
gem.email = '[email protected]'
Expand All @@ -22,11 +29,11 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = '>= 2.6'
gem.requirements = []
gem.add_runtime_dependency 'rack-rdf', '~> 3.2'
gem.add_runtime_dependency 'sinatra', '~> 2.1'
gem.add_runtime_dependency 'rack-rdf', '~> 3.2', '>= 3.2.3'
gem.add_runtime_dependency 'sinatra', '~> 3.0', '>= 3.0.5'

gem.add_development_dependency 'yard' , '~> 0.9'
gem.add_development_dependency 'rspec', '~> 3.10'
gem.add_development_dependency 'rack-test', '~> 1.1'
gem.add_development_dependency 'rspec', '~> 3.12'
gem.add_development_dependency 'rack-test', '~> 2.1'
gem.post_install_message = nil
end

0 comments on commit 99817cd

Please sign in to comment.