letter_avatar 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/letter_avatar/avatar_helper.rb +1 -1
- data/lib/letter_avatar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 984eff6bf1e6e42f1db74a60e11b8d1c688522ea
|
4
|
+
data.tar.gz: f80701625862439e08ba66780067a1f686b22243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf17bd75599a279496d13b56830bfa2c4fb22ebbf2d79fd9e6992ce2c7b6355d1177d71aeef2ddfe5471775318ad1ebae60391869b9b6a95be9f79a4e17335ed
|
7
|
+
data.tar.gz: 1f527d51bd5b001e4564b189a6c1ddc706c3eba8b6076611c8653fb6a2f5b28755e32c278d3ca5fe2bb6daacbad556b5d3b1c9ceb310f51da03192fc2a9f0b4c
|
data/CHANGELOG.md
CHANGED
@@ -14,7 +14,7 @@ module LetterAvatar
|
|
14
14
|
|
15
15
|
def letter_avatar_tag(name, size = 64, options = {})
|
16
16
|
if defined?(ActionView::Helpers::AssetTagHelper)
|
17
|
-
|
17
|
+
extend ActionView::Helpers::AssetTagHelper
|
18
18
|
image_tag(letter_avatar_url(name, size), options.merge(alt: name))
|
19
19
|
else
|
20
20
|
"<img alt=\"#{name}\" class\"#{options.fetch(:class)}\" src=\"#{letter_avatar_url(name, size)}\" />"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letter_avatar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Discourse Developers
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description: Gem for creating letter avatar from user's name
|
17
17
|
email:
|