-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2.1 | ||
3.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = '[email protected]' | ||
|
@@ -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 | ||
|