locale_mailer 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57be5b4c627a447e8d9935037e27707b5b2a89d1
4
- data.tar.gz: 99fce849b21c60fc67fe11d3f9e158b752ce1598
3
+ metadata.gz: 93de38976a24d08d874bb8c41278d91ab6f5ca2b
4
+ data.tar.gz: 801970e8dde538f65161675145fd783997c2c917
5
5
  SHA512:
6
- metadata.gz: 9a1282fe342337e6b498fc1e97e79062948290a5a9420b82fbeec07c08cad0a96d5ca6c101dbabf1d78a01549ca0aa5c0d15d8b72c3165e162d70e4fd0c22aef
7
- data.tar.gz: 6105e6596406a66f6014f5823592bdf0d53582106345b27123538d78a68f82ec161ceff7e5fbb9c81bcd3e5c41c5ecae29716a018bb75525212c56a0e01f394a
6
+ metadata.gz: 2fda85a8880ed714b3ab2f6bd1649daa89b33eb67306d6c602de4064049acf4a556abc56c2c856ce9220c759303a9df02649804eedb87573eb8d05d82ced49c6
7
+ data.tar.gz: ef20856c7233f159a2d93114c8d23be773d8071e5e4e91854a1c92287c1cfd6bf79ed3561f213d8dd68ff3252bcb5608fb82f5ac1052608efc417862bf8bea64
@@ -80,11 +80,11 @@ module LocaleMailer
80
80
  end
81
81
  end
82
82
 
83
- def subject_from_locale options
83
+ def subject_from_locale options = {}
84
84
  view_context.t 'subject', action_i18n_options(options)
85
85
  end
86
86
 
87
- def body_from_locale options
87
+ def body_from_locale options = {}
88
88
  render inline: view_context.text('body', action_i18n_options(options)), layout: options[:layout] || _layout
89
89
  end
90
90
 
@@ -1,3 +1,3 @@
1
1
  module LocaleMailer
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locale_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - itkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer