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

View file

@ -57,7 +57,7 @@ BSD::Control
## Documentation
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
@ -75,7 +75,7 @@ bsdcontrol.rb can be installed via rubygems.org:
## License
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/).
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/)
<br>
See [LICENSE](./LICENSE).
See [LICENSE](./LICENSE)

View file

@ -22,6 +22,6 @@ Gem::Specification.new do |gem|
gem.description = gem.summary
gem.add_development_dependency 'rake-compiler', '~> 1.2'
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'
end

View file

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