sendable_rails 0.5.0 → 0.6.0

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: d9e9e521042a8bf3db008f622668562847b2ba2c
4
- data.tar.gz: 0cc6c5805c2481df347ae0ba19e4d5ff62cb8a31
3
+ metadata.gz: 811684228c959959144118102ccd3c9e6f2b8c47
4
+ data.tar.gz: 411be93c2407c7c2ba18721252a27c48d205bfb0
5
5
  SHA512:
6
- metadata.gz: 359a6138c45b2b09389cc8fa60838fa4158ac36da381b09e6b172fe7ee1e57f27dec7dbf73744220e4fc012c2e22762ef43e4bf0cf765973a4c72952baa0a6dc
7
- data.tar.gz: d6ea909e2967eb27f41d77b43c7052bedbdf1508ef0ed62b0d53c9675f960a7dd5d3f8df8feacb158f299bc9935e60d06b5b9359cabb21c8d977bf14a5dcf076
6
+ metadata.gz: cd261755de48e6104a1d4be596f42310bb631ca1e457b1d5d3f7b1bad9e6c9c8b8091aa33e23923ce3217d75737c2d7625ff10b15a8ac6556944db378d0d89f4
7
+ data.tar.gz: a4f9709537c55434bb63a2cdece31b92fc0ed393e72a8942b697ea21c424d7f207ffdea3d44d91cd3d3a9304ca613c0d56e53b32513b2965f1c378321142b593
data/README.md CHANGED
@@ -47,7 +47,7 @@ The only changes required in your existing `mail` method are:
47
47
 
48
48
  - Replace `mail` with `sendable_mail`
49
49
  - Pass a `template` key that you can get from your Sendable project dashboard
50
- - Instance variables will be available in your templates as `mustache` attributes
50
+ - Instance variables will be passed to your email template
51
51
 
52
52
  Everything else will work as expected. Here is a before and after comparison:
53
53
 
@@ -11,7 +11,7 @@ module SendableRails
11
11
  end
12
12
  end
13
13
 
14
- Sendable.client.email(params.merge(default_params).merge(data: data))
14
+ Sendable.client.email(default_params.merge(params).merge(data: data))
15
15
  end
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module SendableRails
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendable_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umair Siddique
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-29 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sendable
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.6.10
96
+ rubygems_version: 2.6.13
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Sendable delivery method for ActionMailer.