<commit_before>#grunt-rackspace

Grunt tasks for working with the Rackspace Cloud Api

###Installation

1.  Change directories to the root directory of your project.
2.  ``npm install grunt-rackspace``

###Usage

Add the following line to your grunt.js file
```javascript
grunt.loadNpmTasks('grunt-rackspace')
```

The ``rackspace`` task is now available, for example

```bash
grunt rackspace
```

There is also ``grunt rackspace --debug``
if you want to see debug output.

###Options

Options are placed in the ``grunt.initConfig`` section of your ``grunt.js`` file in the ``rackspace`` object.

Example:

```javascript
rackspace : {
  config : {
    authUser : "someCoolUser",
    authKey : "<KEY>"
  },
  upload : {
    remotedir : "container"
    testfiles : {
      filename : "test/*",
      remoteDir : "site"
    }
  }
}
```

####``config``

Required options:
* ``authUser``
This is a rackspace username
* ``authKey``
This is a rackspace Api key

Other options:
* ``authUrl``
Url of the rackspace cloud authentication service

####``upload``

``upload`` is a multitask that organizes files into named groups.  Example:

```javascript
...
upload {
  _options : {
    remotedir : "container"
    localdir : "files"
  },
  images : {
    filename : "images/*"
  },
  css : {
    filename : "css/*"
  },
  html : {
    filename : "*",
    localdir : "html"
  },
  disclaimer : {
    filename : "disclaimer.txt"
    remotedir : "misc"
  }
}
...
```

Required options:
* ``filename``

Other options:
* ``remotedir``
The location of the remote file: ``container/dir/subdir/subsubdir``, etc.
* ``localdir``
The location of the local file.  This path is removed from the remote file location.
 * For example, if you want a local file ``fun/index.html`` to show up remotely as just ``index.html``, set ``filename : "index.html"`` and ``localdir : "fun"``
* ``upload._options.remotedir``
top-level starting point (or container) for all remote files
* ``upload._options.localdir``
top-level version of ``localdir`` (affects all files)

__Filenames use the [minimatch](https://github.com/isaacs/minimatch) syntax for matching multiple files__<commit_msg>fix typo in readme<commit_after>#grunt-rackspace

Grunt tasks for working with the Rackspace Cloud Api

###Installation

1.  Change directories to the root directory of your project.
2.  ``npm install grunt-rackspace``

###Usage

Add the following line to your grunt.js file
```javascript
grunt.loadNpmTasks('grunt-rackspace')
```

The ``rackspace`` task is now available, for example

```bash
grunt rackspace
```

There is also ``grunt rackspace --debug``
if you want to see debug output.

###Options

Options are placed in the ``grunt.initConfig`` section of your ``grunt.js`` file in the ``rackspace`` object.

Example:

```javascript
rackspace : {
  config : {
    authUser : "someCoolUser",
    authKey : "<KEY>"
  },
  upload : {
    remotedir : "container"
    testfiles : {
      filename : "test/*",
      remotedir : "site"
    }
  }
}
```

####``config``

Required options:
* ``authUser``
This is a rackspace username
* ``authKey``
This is a rackspace Api key

Other options:
* ``authUrl``
Url of the rackspace cloud authentication service

####``upload``

``upload`` is a multitask that organizes files into named groups.  Example:

```javascript
...
upload {
  _options : {
    remotedir : "container"
    localdir : "files"
  },
  images : {
    filename : "images/*"
  },
  css : {
    filename : "css/*"
  },
  html : {
    filename : "*",
    localdir : "html"
  },
  disclaimer : {
    filename : "disclaimer.txt"
    remotedir : "misc"
  }
}
...
```

Required options:
* ``filename``

Other options:
* ``remotedir``
The location of the remote file: ``container/dir/subdir/subsubdir``, etc.
* ``localdir``
The location of the local file.  This path is removed from the remote file location.
 * For example, if you want a local file ``fun/index.html`` to show up remotely as just ``index.html``, set ``filename : "index.html"`` and ``localdir : "fun"``
* ``upload._options.remotedir``
top-level starting point (or container) for all remote files
* ``upload._options.localdir``
top-level version of ``localdir`` (affects all files)

__Filenames use the [minimatch](https://github.com/isaacs/minimatch) syntax for matching multiple files__
{'fraction_non_alphanumeric': 0.13490126469935657, 'fraction_numerical': 0.0008875083203905037, 'mean_word_length': 3.039426523297491, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4164343', 'n_tokens_mistral': 1521, 'n_tokens_neox': 1424, 'n_words': 464}