Skip to content

Commit

Permalink
* For documentation errors on .yamlld extension.
Browse files Browse the repository at this point in the history
* CI on Ruby 3.3.
* Reference release notes.
* Explicit dependency on getoptlong.
  • Loading branch information
gkellogg committed Dec 26, 2023
1 parent 433b6a0 commit c492900
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['3.0', 3.1, 3.2, ruby-head, jruby]
ruby: ['3.0', 3.1, 3.2, 3.3, ruby-head, jruby]
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -33,7 +33,7 @@ jobs:
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
if: "matrix.ruby == '3.2'"
if: "matrix.ruby == '3.3'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
wintests:
Expand All @@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
ruby:
- 3.1
- 3.2
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion lib/yaml_ld.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module YAML_LD
# require 'yaml_ld'
#
# @example Parsing RDF statements from a YAML-LD file
# JSON::LD::Reader.open("etc/foaf.YAML_LD") do |reader|
# JSON::LD::Reader.open("etc/foaf.yamlld") do |reader|
# reader.each_statement do |statement|
# puts statement.inspect
# end
Expand Down
10 changes: 5 additions & 5 deletions lib/yaml_ld/format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ module YAML_LD
# YAML-LD format specification.
#
# @example Obtaining an YAML-LD format class
# RDF::Format.for(:YAML_LD) #=> YAML_LD::Format
# RDF::Format.for("etc/foaf.YAML_LD")
# RDF::Format.for(:file_name => "etc/foaf.YAML_LD")
# RDF::Format.for(file_extension: "YAML_LD")
# RDF::Format.for(:yamlld) #=> YAML_LD::Format
# RDF::Format.for("etc/foaf.yamlld")
# RDF::Format.for(:file_name => "etc/foaf.yamlld")
# RDF::Format.for(file_extension: "yamlld")
# RDF::Format.for(:content_type => "application/ld+yaml")
#
# @example Obtaining serialization format MIME types
# RDF::Format.content_types #=> {"application/ld+yaml" => [YAML_LD::Format],
#
# @example Obtaining serialization format file extension mappings
# RDF::Format.file_extensions #=> {:YAML_LD => [YAML_LD::Format] }
# RDF::Format.file_extensions #=> {:yamlld => [YAML_LD::Format] }
#
# @see https://json-ld.github.io/yaml-ld/spec/
# @see https://json-ld.github.io/yaml/tests/
Expand Down
1 change: 1 addition & 0 deletions yaml-ld.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency 'psych', '>= 3.3' # Rails 6.0 cannot use psych 4.0
gem.add_runtime_dependency 'rdf', '~> 3.3'
gem.add_runtime_dependency 'rdf-xsd', '~> 3.3'
gem.add_development_dependency 'getoptlong', '~> 0.2'
gem.add_development_dependency 'rdf-isomorphic', '~> 3.3'
gem.add_development_dependency 'rdf-spec', '~> 3.3'
gem.add_development_dependency 'rdf-trig', '~> 3.3'
Expand Down

0 comments on commit c492900

Please sign in to comment.