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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5d47ed2e12f0d6f3f445990ae1c7a91b1cb2c31a
4
- data.tar.gz: ff619f0020f765892a3b9b746bbb334faa28a6d6
2
+ SHA256:
3
+ metadata.gz: 49fb753a79755ac382ff2c4095eb81bb231c0a267c10ab3126b5fe8dd7cd6e02
4
+ data.tar.gz: 6c7632527c8e6124ee2c7b0520975e4875a781b739c99b80bf28650f1cd7d966
5
5
  SHA512:
6
- metadata.gz: cb4603db03b75639a21d463c54e9633c45eb8f58b30b737ef2b041e26416e2337ebd9dfba1e4ad0227d4ad293eb6d4eae2fec0dbd90c8e5a0a607b49b844062f
7
- data.tar.gz: a0ccc712a2ceac94304b251b37887af2059f7c9be26bfeaf7f8956bb6cc465126ff09b1f77cc4740e8776ec478dc007f9ffbfa10ff9f4d5de6f346eadb369ff4
6
+ metadata.gz: 62f44c16a80fd267e06686faeb3a7748c4000df53415a9db8faff99b9267ba42b247f2cbe2cf738e12e76d4a93f82a1091ef767ef2cd7e9c8ca58ee14e1ed1a3
7
+ data.tar.gz: 04d0a61929d3528ddd604cc66cb40ef511da309fe36dece2193bb7af88f032a02c262b476ad520741942c5e704f8d97bb704368ff2b7c09cdbdc3f3652ea44a1
@@ -2,9 +2,9 @@ sudo: false
2
2
  cache: bundler
3
3
  language: ruby
4
4
  rvm:
5
- - 2.2.6
6
- - 2.3.3
7
- - 2.4.1
5
+ - 2.2.6
6
+ - 2.3.3
7
+ - 2.4.1
8
8
  script:
9
9
  - bundle exec rubocop
10
10
  - bundle exec rspec
@@ -104,10 +104,8 @@ module Outbox
104
104
  end
105
105
 
106
106
  def render_email(email, options, &block)
107
- email_options = options.extract!(
108
- :content_type, :charset, :parts_order,
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.
@@ -1,5 +1,5 @@
1
1
  module Outbox
2
2
  module Rails
3
- VERSION = '0.5.0'.freeze
3
+ VERSION = '0.5.1'.freeze
4
4
  end
5
5
  end
@@ -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', '~> 0.6.0'
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.0
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: 2017-04-28 00:00:00.000000000 Z
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: 0.6.0
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: 0.6.0
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
- rubyforge_project:
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