From 17b82311968db35a45ab7650959be272062a872d Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 20 Jun 2024 23:09:33 -0300 Subject: [PATCH] Update docs --- Gemfile.lock | 6 +++--- README.md | 6 +++--- bsdcontrol.rb.gemspec | 2 +- test/unprivileged/readme_examples_test.rb | 5 +++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 85386eb..36e91a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/README.md b/README.md index 917839b..8ea460d 100644 --- a/README.md +++ b/README.md @@ -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/)
-See [LICENSE](./LICENSE). +See [LICENSE](./LICENSE) diff --git a/bsdcontrol.rb.gemspec b/bsdcontrol.rb.gemspec index 208261f..729f287 100644 --- a/bsdcontrol.rb.gemspec +++ b/bsdcontrol.rb.gemspec @@ -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 diff --git a/test/unprivileged/readme_examples_test.rb b/test/unprivileged/readme_examples_test.rb index d416442..78a036e 100644 --- a/test/unprivileged/readme_examples_test.rb +++ b/test/unprivileged/readme_examples_test.rb @@ -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