BBK::Utils
[](https://rubygems.org/gems/bbk-utils)
[](https://rubygems.org/gems/bbk-utils/versions)
[](http://www.rubydoc.info/gems/bbk-utils)
[](https://lysander.rnds.pro/api/v1/badges/bbkutils_coverage.html)
[](https://lysander.rnds.pro/api/v1/badges/bbkutils_quality.html)
[](https://lysander.rnds.pro/api/v1/badges/bbkutils_outdated.html)
[](https://lysander.rnds.pro/api/v1/badges/bbkutils_vulnerable.html)
Common classes and helpers for BBK library stack.
Installation
Adding to a gem:
# my-cool-gem.gemspec
Gem::Specification.new do |spec|
# ...
spec.add_dependency "bbk-utils", "~> 1.0.0"
# ...
end
Or adding to your project:
# Gemfile
gem "bbk-utils", "~> 1.0.0"
Features
bbkdocs
Создать bin/bbkdocs:
#!/usr/bin/env ruby
require File.(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
require 'bbk/utils/cli'
BBK::Utils::Cli::Docs.new(ARGV).run
Добавить в Rakefile:
# Загружаем таски из BBK::Utils. В частности генерацию документации
BBK::Utils.load_tasks
Contributing
See the file CONTRIBUTING.md
License
See the file LICENSE