Skip to content

Commit 6ba3203

Browse files
committed
Finish 0.3.1
2 parents 39e6064 + 1fe688d commit 6ba3203

File tree

5 files changed

+39
-5
lines changed

5 files changed

+39
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
ruby:
2323
- 2.6
2424
- 2.7
25-
- 3.0
25+
- "3.0"
26+
- 3.1
2627
- ruby-head
2728
- jruby
2829
steps:

.github/workflows/generate-docs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ puts data.to_json_c14n
6060
```
6161

6262
## Documentation
63-
Full documentation available on [RubyDoc](http://rubydoc.info/gems/json-canonicalization/file/README.md)
63+
Full documentation available on [GitHub](https://dryruby.github.io/json-canonicalization/)
6464

6565
### Principal Classes
6666
* {JSON::Canonicalization}
@@ -70,7 +70,7 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/json-canonica
7070
* [JSON](https://rubygems.org/gems/json) (>= 2.6)
7171

7272
## Author
73-
* [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>
73+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
7474

7575
## Contributing
7676
* Do your best to adhere to the existing coding conventions and idioms.
@@ -89,7 +89,7 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/json-canonica
8989
## License
9090

9191
This is free and unencumbered public domain software. For more information,
92-
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
92+
see <https://unlicense.org/> or the accompanying {file:LICENSE} file.
9393

9494
[YARD]: https://yardoc.org/
9595
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

json-canonicalization.gemspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Gem::Specification.new do |gem|
1010
gem.license = 'Unlicense'
1111
gem.summary = "JSON Canonicalization for Ruby."
1212
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+
}
1319

1420
gem.authors = ['Gregg Kellogg']
1521

0 commit comments

Comments
 (0)