jquery-lazy-images 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module ActionView
14
14
  output << content_tag('noscript', image_tag_without_laziness(source, orig_options))
15
15
  end
16
16
 
17
+ alias_method :eager_image_tag, :image_tag
17
18
  alias_method_chain :image_tag, :laziness
18
19
 
19
20
  end
@@ -1,3 +1,3 @@
1
1
  module JqueryLazyImages
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-lazy-images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-15 00:00:00.000000000 Z
12
+ date: 2012-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -142,7 +142,10 @@ files:
142
142
  - Rakefile
143
143
  homepage: https://github.com/singlebrook/jquery-lazy-images
144
144
  licenses: []
145
- post_install_message:
145
+ post_install_message: ! "If you use image_tag in your email templates, please change
146
+ it to\n eager_image_tag. If you don't, your email messages WILL LOOK WRONG!\n
147
+ \ This DANGEROUS command might make those changes for you:\n sed -i 's/\\bimage_tag\\b/eager_image_tag/g'
148
+ app/views/*_mailer/*\n "
146
149
  rdoc_options: []
147
150
  require_paths:
148
151
  - lib