<commit_before># Cap-EC2

[![Code Climate](https://codeclimate.com/github/forward3d/cap-ec2.png)](https://codeclimate.com/github/forward3d/cap-ec2)

Cap-EC2 is used to generate Capistrano namespaces and tasks from Amazon EC2 instance tags,
dynamically building the list of servers to be deployed to.

## Notes

Cap-EC2 is only compatible with Capistrano 3.x or later; if you want the Capistrano 2.x version,
use [Capify-EC2](https://github.com/forward/capify-ec2). Note that the configuration file (`config/ec2.yml`)
is not compatible between versions either.

This documentation assumes familiarity with Capistrano 3.x.

A number of features that are in Capify-EC2 are not yet available in Cap-EC2, due to the
architectural changes in Capistrano 3.x. The following features are missing (this is not
an exhaustive list!):<commit_msg>add version badge to README<commit_after># Cap-EC2

[![Gem Version](https://badge.fury.io/rb/cap-ec2.svg)](http://badge.fury.io/rb/cap-ec2) [![Code Climate](https://codeclimate.com/github/forward3d/cap-ec2.png)](https://codeclimate.com/github/forward3d/cap-ec2)

Cap-EC2 is used to generate Capistrano namespaces and tasks from Amazon EC2 instance tags,
dynamically building the list of servers to be deployed to.

## Notes

Cap-EC2 is only compatible with Capistrano 3.x or later; if you want the Capistrano 2.x version,
use [Capify-EC2](https://github.com/forward/capify-ec2). Note that the configuration file (`config/ec2.yml`)
is not compatible between versions either.

This documentation assumes familiarity with Capistrano 3.x.

A number of features that are in Capify-EC2 are not yet available in Cap-EC2, due to the
architectural changes in Capistrano 3.x. The following features are missing (this is not
an exhaustive list!):
{'fraction_non_alphanumeric': 0.09615384615384616, 'fraction_numerical': 0.020361990950226245, 'mean_word_length': 4.7435064935064934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '2416788', 'n_tokens_mistral': 562, 'n_tokens_neox': 539, 'n_words': 203}