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 f49ad44 + 96907a2 commit 836b6ff
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 21 deletions.
14 changes: 4 additions & 10 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: ['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 All @@ -38,7 +32,7 @@ jobs:
- name: Run tests
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.2
if: "matrix.ruby == '3.0'"
uses: coverallsapp/github-action@v2
if: "matrix.ruby == '3.2'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
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: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ gem "rdf", github: "ruby-rdf/rdf", branch: "develop"
gem "rdf-spec", github: "ruby-rdf/rdf-spec", branch: "develop"
gem 'rdf-isomorphic', github: "ruby-rdf/rdf-isomorphic", branch: "develop"
gem "rdf-turtle", github: "ruby-rdf/rdf-turtle", branch: "develop"
gem "ebnf", github: "dryruby/ebnf", branch: "develop"
gem "sxp", github: "dryruby/sxp", branch: "develop"

group :test do
gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov', '~> 0.22', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# RDF::HamsterRepo
An RDF repository implementation using an in-memory Hamster Hash.

[![Gem Version](https://badge.fury.io/rb/rdf-hamster-repo.png)](https://badge.fury.io/rb/rdf-hamster-repo)
[![Gem Version](https://badge.fury.io/rb/rdf-hamster-repo.svg)](https://badge.fury.io/rb/rdf-hamster-repo)
[![Build Status](https://github.com/ruby-rdf/rdf-hamster-repo/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-hamster-repo/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-hamster-repo/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-hamster-repo?branch=develop)
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
Expand All @@ -14,12 +14,12 @@ An in-memory implementation of RDF::Repository using an efficient, immutable, an

require 'rdf/hamster_repo'
require 'rdf/nquads'
repo = RDF::HamsterRepo.load("https://ruby-rdf.github.com/rdf/etc/doap.nq")
repo = RDF::HamsterRepo.load("https://ruby-rdf.github.io/rdf/etc/doap.nq")

## Dependencies

* [Ruby](https://ruby-lang.org/) (>= 2.6)
* [RDF.rb][] (~> 3.2)
* [Ruby](https://ruby-lang.org/) (>= 3.0)
* [RDF.rb][] (~> 3.3)
* [Hamster][] (~> 3.0)

## Mailing List
Expand Down Expand Up @@ -55,7 +55,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
This is free and unencumbered public domain software. For more information,
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.

[RDF.rb]: https://ruby-rdf.github.com/
[RDF.rb]: https://ruby-rdf.github.io/
[YARD]: https://yardoc.org/
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: https://unlicense.org/#unlicensing-contributions
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.1
3.3.0
15 changes: 11 additions & 4 deletions rdf-hamster-repo.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 = 'An RDF repository implementation using an in-memory Hamster Hash.'
gem.description = %(An in-memory implementation of RDF::Repository using an efficient, immutable, and thread-safe Hash.)
gem.metadata = {
"documentation_uri" => "https://ruby-rdf.github.io/rdf-hamster-repo",
"bug_tracker_uri" => "https://github.com/ruby-rdf/rdf-hamster-repo/issues",
"homepage_uri" => "https://github.com/ruby-rdf/rdf-hamster-repo",
"mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
"source_code_uri" => "https://github.com/ruby-rdf/rdf-hamster-repo",
}

gem.authors = ['Gregg Kellogg']
gem.email = 'public-rdf-ruby@w3.org'
Expand All @@ -18,12 +25,12 @@ Gem::Specification.new do |gem|
gem.files = %w(AUTHORS README.md UNLICENSE VERSION etc/doap.ttl) + Dir.glob('lib/**/*.rb')
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.1'
gem.add_runtime_dependency 'rdf', '~> 3.3'
gem.add_runtime_dependency 'hamster', '~> 3.0'
gem.add_development_dependency 'rdf-spec', '~> 3.2'
gem.add_development_dependency 'rspec', '~> 3.10'
gem.add_development_dependency 'rdf-spec', '~> 3.3'
gem.add_development_dependency 'rspec', '~> 3.12'
gem.add_development_dependency 'yard', '~> 0.9'

gem.post_install_message = nil
Expand Down

0 comments on commit 836b6ff

Please sign in to comment.