Update docs

This commit is contained in:
0x1eef 2024-06-20 23:09:33 -03:00
parent 6ef5e4caac
commit 17b8231196
4 changed files with 10 additions and 9 deletions

View file

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
bsdcontrol.rb (0.2.0) bsdcontrol.rb (0.2.1)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
@ -51,7 +51,7 @@ GEM
standard-performance (1.3.1) standard-performance (1.3.1)
lint_roller (~> 1.1) lint_roller (~> 1.1)
rubocop-performance (~> 1.20.2) rubocop-performance (~> 1.20.2)
test-cmd.rb (0.9.3) test-cmd.rb (0.12.0)
test-unit (3.6.2) test-unit (3.6.2)
power_assert power_assert
unicode-display_width (2.5.0) unicode-display_width (2.5.0)
@ -64,7 +64,7 @@ DEPENDENCIES
bsdcontrol.rb! bsdcontrol.rb!
rake-compiler (~> 1.2) rake-compiler (~> 1.2)
standard (~> 1.35) standard (~> 1.35)
test-cmd.rb (~> 0.8) test-cmd.rb (~> 0.12)
test-unit (~> 3.6) test-unit (~> 3.6)
BUNDLED WITH BUNDLED WITH

View file

@ -57,7 +57,7 @@ BSD::Control
## Documentation ## Documentation
A complete API reference is available at A complete API reference is available at
[0x1eef.github.io/x/bsdcontrol.rb](https://0x1eef.github.io/x/bsdcontrol.rb). [0x1eef.github.io/x/bsdcontrol.rb](https://0x1eef.github.io/x/bsdcontrol.rb)
## Install ## Install
@ -75,7 +75,7 @@ bsdcontrol.rb can be installed via rubygems.org:
## License ## License
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/). [BSD Zero Clause](https://choosealicense.com/licenses/0bsd/)
<br> <br>
See [LICENSE](./LICENSE). See [LICENSE](./LICENSE)

View file

@ -22,6 +22,6 @@ Gem::Specification.new do |gem|
gem.description = gem.summary gem.description = gem.summary
gem.add_development_dependency 'rake-compiler', '~> 1.2' gem.add_development_dependency 'rake-compiler', '~> 1.2'
gem.add_development_dependency 'standard', '~> 1.35' gem.add_development_dependency 'standard', '~> 1.35'
gem.add_development_dependency 'test-cmd.rb', '~> 0.8' gem.add_development_dependency 'test-cmd.rb', '~> 0.12'
gem.add_development_dependency 'test-unit', '~> 3.6' gem.add_development_dependency 'test-unit', '~> 3.6'
end end

View file

@ -18,8 +18,9 @@ module BSD::Control
private private
def readme_example(name) def readme_example(path)
File.join(Dir.getwd, "share", "bsdcontrol.rb", "examples", name) dir = File.join(Dir.getwd, "share", "bsdcontrol.rb", "examples")
File.join(dir, path)
end end
end end
end end