<commit_before># ActiveConsultant

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'active_consultant'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install active_consultant

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Updated the Readme file for the gem<commit_after># ActiveConsultant

This gem consolidates the interface of your service objects. This gem
has been extracted from a Rails application. The name is active
consultants cause consultants generally specialize in one task, just
your single responsible service objects.

### Build Status

[![Build Status](https://travis-ci.org/payrollhero/active_consultant.png)](https://travis-ci.org/payrollhero/active_consultant)

## Installation

Add this line to your application's Gemfile:

    gem 'active_consultant'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install active_consultant

## Usage

```ruby
  class DummyConsultant < ActiveConsultant::Base
    attribute :foo, String
    validates :foo, :presence => true

    def run
      puts "Performing the task"
    end

    def run!
      raise "Foo needs to be equal to bar" unless foo == "bar"
      puts "Performing the task!"
    end
  end

  dummy = DummyConsultant.new(:foo => "bar")

  # work and work! are the interfaces to be used for performing the task
  # DummyConsultant#work! is the harsher variant of DummyConsultant#work
  dummy.work # Performing the task
  dummy.work! # Performing the task!
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## License
Copyright (c) 2013 <NAME>

MIT License

For further information about the license, look into License.txt
{'fraction_non_alphanumeric': 0.0823199251637044, 'fraction_numerical': 0.006548175865294668, 'mean_word_length': 3.8613636363636363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6825427', 'n_tokens_mistral': 655, 'n_tokens_neox': 624, 'n_words': 263}