rails_email_preview 2.0.2 → 2.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95c79b3a9b96da7424efff16a76e79fb8a1ef655
|
4
|
+
data.tar.gz: a6effda07e1c14a4dc22a983311b7127565e99a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da18fdc01a498523012f835affd40902cd929c5d2c53da91b2f00e1e75f51934ba657e314a3df2f529fd942179e8cf4ca5f1c7bcd00d277b4c0dc18037995d66
|
7
|
+
data.tar.gz: 49804955465d3083d9482d3457fa757ca512b0b23016765442b406a577c547783751927bc887a0fc114d37e8fdd196dc36c5d993f39869d41b3cb07517051ec0
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ REP comes with two themes: a simple standalone theme, and a theme that uses [Boo
|
|
17
17
|
Add [![Gem Version][gem-badge]][gem] to Gemfile:
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
gem 'rails_email_preview', '~> 2.0.
|
20
|
+
gem 'rails_email_preview', '~> 2.0.3'
|
21
21
|
```
|
22
22
|
|
23
23
|
Add an initializer and the routes:
|
@@ -61,14 +61,16 @@ module RailsEmailPreview
|
|
61
61
|
}
|
62
62
|
p[:snippet][:label] = default_snippet.label unless snippet.label.present?
|
63
63
|
end
|
64
|
-
send :"edit_#{cms_admin_site_snippet_route}
|
64
|
+
send :"edit_#{cms_admin_site_snippet_route}_url",
|
65
|
+
p.merge(only_path: true)
|
65
66
|
else
|
66
67
|
p[:snippet] = {
|
67
68
|
label: snippet.label,
|
68
69
|
identifier: snippet.identifier,
|
69
70
|
category_ids: [site.categories.find_by_label('email').try(:id)]
|
70
71
|
}
|
71
|
-
send :"new_#{cms_admin_site_snippet_route}
|
72
|
+
send :"new_#{cms_admin_site_snippet_route}_url",
|
73
|
+
p.merge(only_path: true)
|
72
74
|
end
|
73
75
|
<<-HTML.strip.html_safe
|
74
76
|
<table class='rep-edit-link'><tr><td>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_email_preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Mazovetskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
192
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.6.
|
193
|
+
rubygems_version: 2.6.11
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Preview emails in browser (rails engine)
|