Sha256: e92b705ffbb3bbb31d34ca4e559d348d146afdc8698e137dbfe2293ca491adc8

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# Attractor ![build status](https://travis-ci.org/julianrubisch/attractor.svg?branch=master)

![image](https://user-images.githubusercontent.com/4352208/64156443-1573a600-ce35-11e9-9422-265012e93a91.png)

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/attractor`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'attractor'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install attractor

## Usage

To create a HTML report in `attractor_output/index.html`, try
    
    $ attractor report

If you'd like to specify a directory, use the file prefix option:

    $ attractor report --file_prefix app/models

Or shorter:

    $ attractor report -p app/models

## CLI Commands and Options

Print a simple output to console:

    $ attractor calc
    $   --file_prefix|-p app/models

Generate a full report

    $ attractor report 
    $   --file_prefix|-p app/models

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. 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](https://rubygems.org).

## Contributing

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attractor-0.1.2 README.md