twitter_image_tag 1.9 → 1.9.1
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/version.rb +1 -1
- data/lib/twitter_image_tag.rb +1 -3
- data/twitter_image_tag-1.9.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b75501f0c66b13f36bf356679b99466b07a5746f
|
4
|
+
data.tar.gz: b7127e6f4ab3c401141da48df72b9a515ca9e6e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70620ca219c68a556c81c47668710061ef62ec5baae3eebf7eea03edd9389edca47ee97917a5a6e5b958838723fd0ca386b86f6c7b01262018b5eeaa0edde7fa
|
7
|
+
data.tar.gz: b8ef771ecb69326baa676438fd97bff5e1bf6f19e70aaa84e4653abf7c8860effbffdaa9ee143b915d997ff05c7584fd0eb86a18e14a37c6fa3dabc3a829ac69
|
data/lib/twitter_image_tag.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
require "twitter_image_tag/version"
|
2
2
|
|
3
|
-
require 'action_view'
|
4
3
|
module TwitterImageTag
|
5
|
-
include ActionView::Helpers::AssetTagHelper
|
6
4
|
def self.show_me(username, size)
|
7
|
-
|
5
|
+
'<img src="https://twitter.com/#{username}/profile_image?size=#{size}" alt="twitter avatar" />'.html_safe
|
8
6
|
end
|
9
7
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_image_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Waites
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- lib/twitter_image_tag.rb
|
57
57
|
- lib/twitter_image_tag/version.rb
|
58
58
|
- twitter_image_tag-1.8.5.gem
|
59
|
+
- twitter_image_tag-1.9.gem
|
59
60
|
- twitter_image_tag.gemspec
|
60
61
|
homepage: http://JesseWaites.com
|
61
62
|
licenses:
|