rails_email_preview 0.2.23 → 0.2.24

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
  SHA1:
3
- metadata.gz: c931cf860483798ae783d2a8009543fa2c1d267a
4
- data.tar.gz: d24a6cedfdbd15dbdad7d36929f266c643abc0f7
3
+ metadata.gz: 723b3b7a4b1d1376acf3258b3ec572240ee6a1be
4
+ data.tar.gz: da7a7ab5422204565144db25a899436cc411d767
5
5
  SHA512:
6
- metadata.gz: 5ffb92ddf75f5b2e12ab1fda1edbcbc37ab952f2613b6202802390335629e9e9b548e05538da6617fe3f33325d5e867efe76558dc349a4561c5f6b027c1848d3
7
- data.tar.gz: 27229704b52d6d92a3f8dccbdc7bda3b0f742d49907c8ac047e77da2502cad344043f6de44c262a78ec2aa288d75d09be27dafff791053b87364649e734b4f1e
6
+ metadata.gz: 92cec71d380a0ae6e3733a312577fc2d8010fc95288a9e7fb0c0f3379053d1d6e58820a865298a43165761b68242df2da13031c713b68b225fafda27b5b8bdf1
7
+ data.tar.gz: b19cb93bfc3dc78d0ed07c6d6bee2cb30aec9fbefadf9777dc157c9bd768daa3d908551b3cfdbf3eb690aba622a90ea61b32929c084290ca9e56b82254646e8e
data/README.md CHANGED
@@ -16,7 +16,7 @@ REP can use your application styles, markup is compatible with [bootstrap 3][rep
16
16
  Add [![Gem Version][gem-badge]][gem] to Gemfile:
17
17
 
18
18
  ```ruby
19
- gem 'rails_email_preview', '~> 0.2.23'
19
+ gem 'rails_email_preview', '~> 0.2.24'
20
20
  ```
21
21
 
22
22
  Add an initializer and the routes:
@@ -1,3 +1,3 @@
1
1
  module RailsEmailPreview
2
- VERSION = '0.2.23'
2
+ VERSION = '0.2.24'
3
3
  end
@@ -28,8 +28,8 @@ module RailsEmailPreview
28
28
  # @example
29
29
  # view_hooks.add_render :list, :before, partial: 'shared/hello'
30
30
  def add_render(id, pos, *render_args)
31
- render_args = render_args.deep_dup
32
- render_opts = render_args.extract_options!
31
+ render_args = render_args.dup
32
+ render_opts = render_args.extract_options!.dup
33
33
  add id, pos do |locals = {}|
34
34
  render *render_args, render_opts.merge(
35
35
  locals: (render_opts[:locals] || {}).merge(locals))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_email_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.23
4
+ version: 0.2.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy