File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 ruby :
3030 - 2.6
3131 - 2.7
32- - 3.0
32+ - " 3.0"
3333 - 3.1
3434 - ruby-head
3535 - jruby
Original file line number Diff line number Diff line change 1+ name : Build & deploy documentation
2+ on :
3+ push :
4+ branches :
5+ - master
6+ workflow_dispatch :
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ name : Update gh-pages with docs
11+ steps :
12+ - name : Clone repository
13+ uses : actions/checkout@v2
14+ - name : Set up Ruby
15+ uses : ruby/setup-ruby@v1
16+ with :
17+ ruby-version : " 3.1"
18+ - name : Install required gem dependencies
19+ run : gem install yard --no-document
20+ - name : Build YARD Ruby Documentation
21+ run : yardoc
22+ - name : Deploy
23+ uses : peaceiris/actions-gh-pages@v3
24+ with :
25+ github_token : ${{ secrets.GITHUB_TOKEN }}
26+ publish_dir : ./doc/yard
27+ publish_branch : gh-pages
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ task :clean do
2424end
2525
2626file "etc/doap.nt" do
27- sh "rdf serialize https://ruby-rdf.github.com /rdf/etc/doap.ttl --output etc/doap.nt"
27+ sh "rdf serialize https://ruby-rdf.github.io /rdf/etc/doap.ttl --output etc/doap.nt"
2828end
2929
3030FOAF_SUBJECTS = {
Original file line number Diff line number Diff line change 1212 before ( :each ) { WebMock . disable_net_connect! }
1313 after ( :each ) { WebMock . allow_net_connect! }
1414
15- let ( :uri ) { "http ://ruby-rdf.github.com /rdf/etc/doap.nt" }
15+ let ( :uri ) { "https ://ruby-rdf.github.io /rdf/etc/doap.nt" }
1616
1717 let ( :opened ) { double ( "opened" ) }
1818 before ( :each ) do
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Gem::Specification.new do |gem|
1010 gem . license = 'Unlicense'
1111 gem . summary = 'RSpec extensions for RDF.rb.'
1212 gem . description = 'RDF.rb extension that provides RSpec matchers and shared examples for RDF objects.'
13+ gem . metadata = {
14+ "documentation_uri" => "https://ruby-rdf.github.io/rdf-spec" ,
15+ "bug_tracker_uri" => "https://github.com/ruby-rdf/rdf-spec/issues" ,
16+ "homepage_uri" => "https://github.com/ruby-rdf/rdf-spec" ,
17+ "mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/" ,
18+ "source_code_uri" => "https://github.com/ruby-rdf/rdf-spec" ,
19+ }
1320
1421 gem . authors = [ 'Arto Bendiken' , 'Ben Lavender' , 'Gregg Kellogg' ]
1522 gem . email = 'public-rdf-ruby@w3.org'
You can’t perform that action at this time.
0 commit comments