html_to 1.1.2 → 1.1.3

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
  SHA256:
3
- metadata.gz: c9080c727397bbccad429a3664f96041b84d0d175ceacee85d9724d414b67eb6
4
- data.tar.gz: 14040b78505b0bb0dbf26830eff84c0529af19b8590e0b212095a762e03f03eb
3
+ metadata.gz: 4ceac4dec6528406e6321819377493c1b18f9cebbadd3455fd307b4babfe3e2f
4
+ data.tar.gz: 97890c3c9aaceb21cb39a8cdedf111a67e9302cff993583335e7ade6ae373081
5
5
  SHA512:
6
- metadata.gz: 1c4ace1e86a047b8cfe223ef507acae37f6e5a6a65107c253178d15fcb42bb3d7d50b194accb7fc91abee5f10b227346a4913282a193a023ffb03980acf657da
7
- data.tar.gz: 750b479a0825302c6a8a6955d20b5ed15a1aa956e9fb19dc21f235bbc18b2b941355cdeb6058cee10787d1a62642357524f4a9ebc5f405f79545dd0e0af48d92
6
+ metadata.gz: a63d7c78827ff4e2d9de2fb3aca915e9af25789e682986ccbebfa71f4918443cdf7b76af881a39fb802ccf3cb1c30e70ab0451fdf5cd1fd0f047ae4168571060
7
+ data.tar.gz: 1458eb7e8ca497b7c7ac9317de7149d4fd80d8b736be49c211b58eb4caf29b6cec2f5289b1dae185b9a86b0ac3121914dab54e847e9b5261b62b9e1ed1c99520
@@ -1,4 +1,4 @@
1
1
  module HtmlTo
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  public_constant :VERSION
4
4
  end
data/lib/html_to.rb CHANGED
@@ -104,7 +104,7 @@ module HtmlTo
104
104
  base.instance_eval do
105
105
  alias_method :create_meta_image!, :html_to_create_meta_image! unless method_defined? :create_meta_images!
106
106
  end
107
- base.after_commit :html_to_create_meta_image!, unless: :html_to_skip_meta_image_generate
107
+ base.after_save_commit :html_to_create_meta_image!, unless: :html_to_skip_meta_image_generate
108
108
  end
109
109
 
110
110
  def html_to_create_meta_image!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chekryzhov Viktor