outbox-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -3
- data/lib/outbox/notifier.rb +2 -4
- data/lib/outbox/rails/version.rb +1 -1
- data/outbox-rails.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 49fb753a79755ac382ff2c4095eb81bb231c0a267c10ab3126b5fe8dd7cd6e02
|
4
|
+
data.tar.gz: 6c7632527c8e6124ee2c7b0520975e4875a781b739c99b80bf28650f1cd7d966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62f44c16a80fd267e06686faeb3a7748c4000df53415a9db8faff99b9267ba42b247f2cbe2cf738e12e76d4a93f82a1091ef767ef2cd7e9c8ca58ee14e1ed1a3
|
7
|
+
data.tar.gz: 04d0a61929d3528ddd604cc66cb40ef511da309fe36dece2193bb7af88f032a02c262b476ad520741942c5e704f8d97bb704368ff2b7c09cdbdc3f3652ea44a1
|
data/.travis.yml
CHANGED
data/lib/outbox/notifier.rb
CHANGED
@@ -104,10 +104,8 @@ module Outbox
|
|
104
104
|
end
|
105
105
|
|
106
106
|
def render_email(email, options, &block)
|
107
|
-
|
108
|
-
|
109
|
-
:body, :template_name, :template_path
|
110
|
-
)
|
107
|
+
email_options_keys = %i[content_type charset parts_order body template_name template_path]
|
108
|
+
email_options = options.select { |key, _| email_options_keys.include? key }
|
111
109
|
email_options.merge!(options.delete(:email)) if options[:email]
|
112
110
|
# ActionMailer will use the default i18n subject
|
113
111
|
# unless we explicitly set it on this options hash.
|
data/lib/outbox/rails/version.rb
CHANGED
data/outbox-rails.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_runtime_dependency 'outbox', '~> 0.2.0'
|
23
23
|
spec.add_runtime_dependency 'rails', ['>= 4.0', '< 6']
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
25
|
-
spec.add_development_dependency 'combustion', '~>
|
25
|
+
spec.add_development_dependency 'combustion', '~> 1.1'
|
26
26
|
spec.add_development_dependency 'rake', '~> 12.0.0'
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.5.0'
|
28
28
|
spec.add_development_dependency 'rspec-rails', '~> 3.5.2'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outbox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Browne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: outbox
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: '1.1'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: '1.1'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,8 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
|
220
|
-
rubygems_version: 2.4.5.2
|
219
|
+
rubygems_version: 3.0.1
|
221
220
|
signing_key:
|
222
221
|
specification_version: 4
|
223
222
|
summary: Rails Railtie for sending email, SMS, and push notifications using the Outbox
|