twitter_image_tag 1.9.3 → 1.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twitter_image_tag.rb +3 -1
- data/lib/twitter_image_tag/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85e7b2472597f97699aa32752005a54b0b1fe30d
|
4
|
+
data.tar.gz: 012c5cce5ada4ecfc0f009d38dad50495b711654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2be115f0087e26d8b7da5aa0249e7a95f9b31fb9db09dbdc32e497bdf300dfebf8af89673883fa1d010b49eaaf3cbfd7b657057c177d974c88f033bc5022a0d7
|
7
|
+
data.tar.gz: a00e8962610d3c5013ef976b0f695502bf329d8f4b7c1a031ab6aa6b2bfb5397d59ee1075c2dd80ec98becbdfd6eb7829564fdb3d214c6b5c5b1305c79b07a14
|
data/lib/twitter_image_tag.rb
CHANGED
@@ -2,6 +2,8 @@ require "twitter_image_tag/version"
|
|
2
2
|
|
3
3
|
module TwitterImageTag
|
4
4
|
def self.show_me(username, size)
|
5
|
-
|
5
|
+
"<img src='https://twitter.com/#{username}/profile_image?size=#{size}' alt='twitter avatar' />".html_safe
|
6
6
|
end
|
7
7
|
end
|
8
|
+
|
9
|
+
https://twitter.com/jessewaites/profile_image?size=mini
|