rails_email_preview 0.2.30 → 0.2.31

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: 1746242744eec2086d11bc448ff7ad9cb11ec946
4
- data.tar.gz: 0379058db2efb95e694b2653776f2c802fff1991
3
+ metadata.gz: 90e5262b6ef9d3bf7b55df8ca3bb46004103bd9b
4
+ data.tar.gz: 1d96c1d2a68c9602040875d45557d50d55d03d00
5
5
  SHA512:
6
- metadata.gz: 0991fa4d74a494cf9400fd2bb262d290d213eb954727d3e2b597e397ab66a8e8f8f0e8474efdcbcf0d9252fb2bac708a9e1f547348b9da40ffd99a30fa084ef0
7
- data.tar.gz: 538ef834dab62b450bb7e669378394554553df407f66914ce98ce3473ab7c63febc8d2f1fd9e8455d3e343d43106776fecc6e5151ec4033dcbfd94bdc7e4c6e3
6
+ metadata.gz: 188be5c4b3ce2c18818b83766abcd008b28704f66aefc8c45861f8f8b81dfcbc16efcbb0f9167655d52c2666e8c110719e33f9fd9004c6223229402731c1501b
7
+ data.tar.gz: 8f8c7888f0c9681d02f0f65b4df9d113e6da8203ee8c969d487d7f212770f2c05747d0e363d3420b9ea1eaa38f30d152878aab91e941d20d6cf3c5b0d488d0bf
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.30'
19
+ gem 'rails_email_preview', '~> 0.2.31'
20
20
  ```
21
21
 
22
22
  Add an initializer and the routes:
@@ -9,7 +9,7 @@ module RailsEmailPreview
9
9
  # ModerationMailer#approve -> "moderation_mailer-approve"
10
10
  def cms_email_id
11
11
  mailer = respond_to?(:controller) ? controller : self
12
- "#{mailer.class.name.underscore}-#{action_name}"
12
+ "#{mailer.class.name.underscore.gsub('/', '__')}-#{action_name}"
13
13
  end
14
14
 
15
15
  # @param [Hash] interpolation subject interpolation values
@@ -1,3 +1,3 @@
1
1
  module RailsEmailPreview
2
- VERSION = '0.2.30'
2
+ VERSION = '0.2.31'
3
3
  end
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.30
4
+ version: 0.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy