retina_tag 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/retina_tag/engine.rb +1 -1
- data/lib/retina_tag/version.rb +1 -1
- metadata +3 -3
data/lib/retina_tag/engine.rb
CHANGED
@@ -8,7 +8,7 @@ module RetinaTag
|
|
8
8
|
def image_tag_with_retina(source,options={})
|
9
9
|
hidpi_asset_path = nil
|
10
10
|
begin
|
11
|
-
retina_els =
|
11
|
+
retina_els = source.split('.')
|
12
12
|
extension = retina_els.last
|
13
13
|
retina_els.slice!(-1)
|
14
14
|
retina_path = "#{retina_els.join('.')}@2x.#{extension}"
|
data/lib/retina_tag/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: retina_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
segments:
|
77
77
|
- 0
|
78
|
-
hash: -
|
78
|
+
hash: -368075296567928583
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
none: false
|
81
81
|
requirements:
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
segments:
|
86
86
|
- 0
|
87
|
-
hash: -
|
87
|
+
hash: -368075296567928583
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
90
|
rubygems_version: 1.8.24
|