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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff7bad5e30f57fcac87c768a4abef8cb814ff949
4
- data.tar.gz: d922876bb2d462c7a97ce80765d815fa3cd153e4
3
+ metadata.gz: b75501f0c66b13f36bf356679b99466b07a5746f
4
+ data.tar.gz: b7127e6f4ab3c401141da48df72b9a515ca9e6e4
5
5
  SHA512:
6
- metadata.gz: 2eac3fe091df97b2cd765604ff362faf2561e784640bc1f8f5e4cf366489496ac99397a6183c301e03819938da6fe0c82595fe8f8555167727f637f85ff2c84b
7
- data.tar.gz: 9d83d3713f1af0b0bccb0f53d669b8642028dd6dd640e63d417bc32b37b96422ceb17fd26fdc7947827475c95d686be8f535c111fdc422f756a0cc48bf1aeabd
6
+ metadata.gz: 70620ca219c68a556c81c47668710061ef62ec5baae3eebf7eea03edd9389edca47ee97917a5a6e5b958838723fd0ca386b86f6c7b01262018b5eeaa0edde7fa
7
+ data.tar.gz: b8ef771ecb69326baa676438fd97bff5e1bf6f19e70aaa84e4653abf7c8860effbffdaa9ee143b915d997ff05c7584fd0eb86a18e14a37c6fa3dabc3a829ac69
@@ -1,3 +1,3 @@
1
1
  module TwitterImageTag
2
- VERSION = "1.9"
2
+ VERSION = "1.9.1"
3
3
  end
@@ -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
- image_tag("https://twitter.com/#{username}/profile_image?size=#{size}")
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: '1.9'
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: