README.md in letter_avatar-0.1.9 vs README.md in letter_avatar-0.1.10
- old
+ new
@@ -1,10 +1,10 @@
# LetterAvatar
-Gem for creating letter avatar from user's name.
+Gem for creating letter avatar from user's name (or any other strong / character).
-Code extracted from discourse source (thanks guys!) - I needed this functionality in three projects, so here's the gem! :-)
+Code extracted from [discourse](https://www.discourse.org/) source (thanks guys!) - I needed this functionality in three projects, so here's the gem! :-)
[![Code Climate](https://codeclimate.com/github/ksz2k/letter_avatar/badges/gpa.svg)](https://codeclimate.com/github/ksz2k/letter_avatar)
## Examples
@@ -80,11 +80,16 @@
* and in your view:
```ruby
letter_avatar_for('ksz2k', 200)
+ => "public/system/letter_avatars/2/K/87_178_230/200.png"
+ # or
+ letter_avatar_url('ksz2k', 200)
+ => "/system/letter_avatars/2/K/87_178_230/200.png"
# or even
letter_avatar_tag('ksz2k', 200, class: 'av')
+ => "<img class=\"av\" alt=\"ksz2k\" src=\"/system/letter_avatars/2/K/87_178_230/200.png\" />"
```
### Way to support non [a-z0-9] charsets
```rb