jquery-lazy-images 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/action_view/helpers/image_tag_helper.rb +2 -2
- data/lib/jquery-lazy-images/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 983df60baa1f83d445f83ff1a0d1165fd4de6651
|
4
|
+
data.tar.gz: feca11f0ded82002ee1ff88e50bb703a69f13fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c728922323c1c5f70b918c8d00fbf8097aff1fcf82e0d787d9ad2b4931e369e8c60ec01c4d20c7856ffe9c6b85593ad30a3d9b101b89db8839c80b2a79489b5d
|
7
|
+
data.tar.gz: 2111ab9834493213e64f9e712bf1b82f3323f335e337b12a34ffd45dbb95a8b049a1552699bbae71dbf03f9b5962d385140b01e960b8b8b88309c8a0857bdeb6
|
@@ -7,7 +7,7 @@ module ActionView
|
|
7
7
|
orig_options = options.dup
|
8
8
|
|
9
9
|
options[:data] ||= {}
|
10
|
-
options[:data] =
|
10
|
+
options[:data][:original] = path_to_image(source)
|
11
11
|
options[:class] ||= ""
|
12
12
|
options[:class] << " lazy"
|
13
13
|
|
@@ -19,4 +19,4 @@ module ActionView
|
|
19
19
|
alias_method_chain :image_tag, :laziness
|
20
20
|
end
|
21
21
|
end
|
22
|
-
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-lazy-images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Singlebrook Technology
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.0.
|
155
|
+
rubygems_version: 2.0.14
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Load all images in your Rails app lazily (i.e. only when they are visible).
|