<commit_before># Gravatar Image Tag

[![Build Status](https://travis-ci.org/johnotander/ember-cli-gravatar.svg?branch=master)](https://travis-ci.org/johnotander/ember-cli-gravatar)

An [ember-cli](http://ember-cli.com) addon for a gravatar image component.

## Installation

You need to install the addon, then run the ember cli blueprint:

```
$ npm install --save ember-cli-gravatar
$ ember g ember-cli-gravatar
```

## Usage

```hbs
{{gravatar-image email='<EMAIL>' alt='<NAME> gravatar' size="250"}}
```

### Content Security Policy

With the latest versions of the Ember CLI, you will have to whitelist gravatar.com with the following
in your `config/environment.js`:

```javascript
module.exports = function(environment) {
  // ...
  var ENV = {
    // ...
    contentSecurityPolicy: {
      'default-src': "'none'",
      'script-src': "'self'",
      'font-src': "'self'",
      'connect-src': "'self'",
      'img-src': "'self' https://www.gravatar.com",
      'style-src': "'self'",
      'media-src': "'self'"
    },
    // ...
  }
  // ...
```

## License

MIT

## 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

Crafted with <3 by [<NAME>](http://johnotander.com).<commit_msg>Add missing curly bracket in CSP example code block.<commit_after># Gravatar Image Tag

[![Build Status](https://travis-ci.org/johnotander/ember-cli-gravatar.svg?branch=master)](https://travis-ci.org/johnotander/ember-cli-gravatar)

An [ember-cli](http://ember-cli.<EMAIL>) addon for a gravatar image component.

## Installation

You need to install the addon, then run the ember cli blueprint:

```
$ npm install --save ember-cli-gravatar
$ ember g ember-cli-gravatar
```

## Usage

```hbs
{{gravatar-image email='<EMAIL>' alt='<NAME> gravatar' size="250"}}
```

### Content Security Policy

With the latest versions of the Ember CLI, you will have to whitelist gravatar.com with the following
in your `config/environment.js`:

```javascript
module.exports = function(environment) {
  // ...
  var ENV = {
    // ...
    contentSecurityPolicy: {
      'default-src': "'none'",
      'script-src': "'self'",
      'font-src': "'self'",
      'connect-src': "'self'",
      'img-src': "'self' https://www.gravatar.com",
      'style-src': "'self'",
      'media-src': "'self'"
    },
    // ...
  }
  // ...
};
```

## License

MIT

## 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

Crafted with <3 by [<NAME>](http://johnotander.com).
{'fraction_non_alphanumeric': 0.1767857142857143, 'fraction_numerical': 0.0064285714285714285, 'mean_word_length': 3.3697347893915754, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 10, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '1707141', 'n_tokens_mistral': 969, 'n_tokens_neox': 942, 'n_words': 265}