retina_image_tag 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module RetinaImageTag
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -3,7 +3,8 @@ module RetinaImageTag
3
3
 
4
4
 
5
5
  def retina_image( pixel_ratio )
6
- image_tag(@file_dirname+"/"+@file_name+"@#{pixel_ratio}x"+@file_ext, @options)
6
+ @retina_image_path = image_path(@file_name+"@#{pixel_ratio}x"+@file_ext)
7
+ image_tag(@retina_image_path, @options)
7
8
  end
8
9
 
9
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retina_image_tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: