Baltix

Dependency detector, and spec generator and reader for projects based on the Ruby.

Status

GitHub GitHub tag Open Source? Yes! MIT license Ruby Github Action Codacy Badge Codacy Badge PRs Welcome

Installation

Add this line to your application's Gemfile:

gem 'baltix', github: "majioa/baltix"

And then execute:

$ bundle install

Usage

From a Command Line

When you are creating a spec for the space from a scratch sample call may be as follows:

$ sudo /usr/bin/setup.rb -o $(echo $(pwd)|sed "s|.*/||").spec  --maintainer-name="Pavel Skrylev" --maintainer-email="[email protected]" -g/home/majioa/available-list.yaml spec --debug-io=- --verbose=debug --ignore-path-tokens=templates,example,examples,sample,samples,spec,test,features,fixtures,doc,docs,contrib,demo,acceptance,conformance,myapp,website,benchmarks,benchmark,gemfiles,misc,steep  2>/dev/null; sudo chown majioa:majioa . -R

When you are updating the spec do something like:

$ sudo /usr/bin/setup.rb -s $(find -name "*.spec~") -o _.spec  --maintainer-name="Pavel Skrylev" --maintainer-email="[email protected]" -g/home/majioa/available-list.yaml spec --debug-io=- --verbose=debug --ignore-path-tokens=templates,example,examples,sample,samples,spec,test,features,fixtures,doc,docs,contrib,demo,acceptance,conformance,myapp,website,benchmarks,benchmark,gemfiles,misc,steep  2>/dev/null; sudo chown majioa:majioa . -R

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Test

To run tests written in Cucumber's Gherkin just run:

$ cucumber

or you are able to run them with rake as a default task:

$ bundle exec rake

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/majioa/baltix.