<commit_before># Knife::AwsBase     {<img src="https://travis-ci.org/brettcave/knife-aws-base.svg?branch=master" />}[https://travis-ci.org/brettcave/knife-aws-base]

TODO: description

## Installation

Add this line to your application's Gemfile:

    gem 'knife-aws-base'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install knife-aws-base

## Usage

TODO: usage

## Contributing

1. Fork it ( http://github.com/brettcave/knife-aws-base/fork )
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>fixed syntax and some usage examples.<commit_after># Knife::AwsBase     [![travis ci status](https://travis-ci.org/brettcave/knife-aws-base.svg?branch=master)](https://travis-ci.org/brettcave/knife-aws-base)

Library for common properties used by knife aws plugins (e.g. knife-ec2, knife-s3, knife-elb and knife-cfn)

## Installation

Add this line to your application's Gemfile:

    gem 'knife-aws-base'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install knife-aws-base

## Usage

Create a base module for your plugin that includes AwsBase:

    require 'chef/knife'
    require 'chef/knife/aws_base'

    class Chef
      class Knife
        module ServiceBase

          def self.included(includer)
            includer.class_eval do
              include AwsBase

              def connection
                @connection ||= begin
                  connection = Fog::AWS::ServiceBase.new()
                end
              end
            end
          end
        end
      end
    end

Create classes

    require 'chef/knife'
    require 'chef/knife/service_base'

    class Chef
      class Knife
        class ServiceCreate < Chef::Knife::ServiceBase
        end
      end
    end



## Contributing

1. Fork it ( http://github.com/brettcave/knife-aws-base/fork )
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
{'fraction_non_alphanumeric': 0.1042611060743427, 'fraction_numerical': 0.005439709882139619, 'mean_word_length': 2.600326264274062, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '1389211', 'n_tokens_mistral': 724, 'n_tokens_neox': 693, 'n_words': 210}