File tree Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 22
22
ruby :
23
23
- 2.6
24
24
- 2.7
25
- - 3.0
25
+ - " 3.0"
26
26
- 3.1
27
27
- ruby-head
28
28
- 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 @@ -60,7 +60,7 @@ puts data.to_json_c14n
60
60
```
61
61
62
62
## Documentation
63
- Full documentation available on [ RubyDoc] ( http ://rubydoc.info/gems /json-canonicalization/file/README.md)
63
+ Full documentation available on [ RubyDoc] ( https ://dryruby.github.io /json-canonicalization/file/README.md)
64
64
65
65
### Principal Classes
66
66
* {JSON::Canonicalization}
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ Gem::Specification.new do |gem|
10
10
gem . license = 'Unlicense'
11
11
gem . summary = "JSON Canonicalization for Ruby."
12
12
gem . description = "JSON::Canonicalization generates canonical JSON output from Ruby objects."
13
+ gem . metadata = {
14
+ "documentation_uri" => "https://dryruby.github.io/json-canonicalization" ,
15
+ "bug_tracker_uri" => "https://github.com/dryruby/json-canonicalization/issues" ,
16
+ "homepage_uri" => "https://github.com/dryruby/json-canonicalization" ,
17
+ "source_code_uri" => "https://github.com/dryruby/json-canonicalization" ,
18
+ }
13
19
14
20
gem . authors = [ 'Gregg Kellogg' ]
15
21
You can’t perform that action at this time.
0 commit comments