actionmailer-balancer 1.1.0 → 1.1.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
2
  SHA256:
3
- metadata.gz: 5655b959f60f512058a81f8f062c3166e1d5d3675bb1aa37216c10b0a63bc6c4
4
- data.tar.gz: '069ec3b6fd1670c01ebacf413c702faaff2e25196cc7e58292f6fd0980615362'
3
+ metadata.gz: 5da8981f6541a8cb199d0328d5520675a691fb144c88055b684eba64e17d1196
4
+ data.tar.gz: 8ee35a8f53370911e2ee71e71152937cb69e30f7738452bb31974323f30a41fd
5
5
  SHA512:
6
- metadata.gz: 8f8a159b175485deefa39efbf887c8aa6bbd9ceb22ee30a99ea8e95d713c71a15fd0325cc650e0ed46d88794b370a16c589a5fa5d2a564faca2ff435211c6191
7
- data.tar.gz: 443957595bf798fc30446b051801cf90fcf73d55d7efa6322048678c8ce98c21d86847880e19eb3e109aace9e6610da58a50f3d3c5fd942cb6eb1ec2b99dcf61
6
+ metadata.gz: 34b7dfcda5e5a359c035980d911bce76aeea0fa93f3a2d0bd7cb886bacd270b0f757036daca7d0d91992962ae93144dd05d0847c4b458990b5e602a9d0957093
7
+ data.tar.gz: e0e011eef81e0ce9c9a7dd5ffee16303a45fa569028bf7328e07dbcfd0bfa97b36c53f401699bce397ab0f2429bb9fdee9751b834659ef2376043a060070de2b
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.DS_Store
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [1.1.1] - 2024-12-09
2
+ - Fix crash when no settings are provided for a delivery method
3
+
4
+ ```ruby
5
+ config.action_mailer.balancer_settings = {
6
+ delivery_methods: [
7
+ {
8
+ method: :mailtrap,
9
+ weight: 1
10
+ }
11
+ ]
12
+ }
13
+ ```
14
+
15
+ *Alex Ghiculescu*
16
+
1
17
  ## [1.1.0] - 2024-08-19
2
18
 
3
19
  - Dropped Ruby 2.7 support
data/Gemfile CHANGED
@@ -4,11 +4,9 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- group :development do
8
- gem 'mail'
9
- gem 'rake', '~> 13.0'
10
- gem 'rspec', '~> 3.0'
11
- gem 'rubocop', '~> 1.21'
12
- gem 'rubocop-rake', require: false
13
- gem 'rubocop-rspec', require: false
14
- end
7
+ gem 'mail'
8
+ gem 'rake', '~> 13.0'
9
+ gem 'rspec', '~> 3.0'
10
+ gem 'rubocop', '~> 1.21'
11
+ gem 'rubocop-rake'
12
+ gem 'rubocop-rspec'
data/Gemfile.lock CHANGED
@@ -1,25 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- actionmailer-balancer (1.1.0)
4
+ actionmailer-balancer (1.1.1)
5
5
  actionmailer (> 4.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (7.1.3.4)
11
- actionpack (= 7.1.3.4)
12
- actionview (= 7.1.3.4)
13
- activejob (= 7.1.3.4)
14
- activesupport (= 7.1.3.4)
10
+ actionmailer (7.1.4.1)
11
+ actionpack (= 7.1.4.1)
12
+ actionview (= 7.1.4.1)
13
+ activejob (= 7.1.4.1)
14
+ activesupport (= 7.1.4.1)
15
15
  mail (~> 2.5, >= 2.5.4)
16
16
  net-imap
17
17
  net-pop
18
18
  net-smtp
19
19
  rails-dom-testing (~> 2.2)
20
- actionpack (7.1.3.4)
21
- actionview (= 7.1.3.4)
22
- activesupport (= 7.1.3.4)
20
+ actionpack (7.1.4.1)
21
+ actionview (= 7.1.4.1)
22
+ activesupport (= 7.1.4.1)
23
23
  nokogiri (>= 1.8.5)
24
24
  racc
25
25
  rack (>= 2.2.4)
@@ -27,16 +27,16 @@ GEM
27
27
  rack-test (>= 0.6.3)
28
28
  rails-dom-testing (~> 2.2)
29
29
  rails-html-sanitizer (~> 1.6)
30
- actionview (7.1.3.4)
31
- activesupport (= 7.1.3.4)
30
+ actionview (7.1.4.1)
31
+ activesupport (= 7.1.4.1)
32
32
  builder (~> 3.1)
33
33
  erubi (~> 1.11)
34
34
  rails-dom-testing (~> 2.2)
35
35
  rails-html-sanitizer (~> 1.6)
36
- activejob (7.1.3.4)
37
- activesupport (= 7.1.3.4)
36
+ activejob (7.1.4.1)
37
+ activesupport (= 7.1.4.1)
38
38
  globalid (>= 0.3.6)
39
- activesupport (7.1.3.4)
39
+ activesupport (7.1.4.1)
40
40
  base64
41
41
  bigdecimal
42
42
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -59,11 +59,11 @@ GEM
59
59
  erubi (1.13.0)
60
60
  globalid (1.2.1)
61
61
  activesupport (>= 6.1)
62
- i18n (1.14.5)
62
+ i18n (1.14.6)
63
63
  concurrent-ruby (~> 1.0)
64
64
  json (2.7.2)
65
65
  language_server-protocol (3.17.0.3)
66
- loofah (2.22.0)
66
+ loofah (2.23.1)
67
67
  crass (~> 1.0.2)
68
68
  nokogiri (>= 1.12.0)
69
69
  mail (2.8.1)
@@ -72,7 +72,7 @@ GEM
72
72
  net-pop
73
73
  net-smtp
74
74
  mini_mime (1.1.5)
75
- mini_portile2 (2.8.7)
75
+ mini_portile2 (2.8.8)
76
76
  minitest (5.25.1)
77
77
  mutex_m (0.2.0)
78
78
  net-imap (0.4.14)
@@ -84,17 +84,17 @@ GEM
84
84
  timeout
85
85
  net-smtp (0.5.0)
86
86
  net-protocol
87
- nokogiri (1.16.7)
87
+ nokogiri (1.16.8)
88
88
  mini_portile2 (~> 2.8.2)
89
89
  racc (~> 1.4)
90
- nokogiri (1.16.7-x86_64-darwin)
90
+ nokogiri (1.16.8-x86_64-darwin)
91
91
  racc (~> 1.4)
92
92
  parallel (1.26.2)
93
93
  parser (3.3.4.2)
94
94
  ast (~> 2.4.1)
95
95
  racc
96
96
  racc (1.8.1)
97
- rack (3.1.7)
97
+ rack (3.1.8)
98
98
  rack-session (2.0.0)
99
99
  rack (>= 3.0.0)
100
100
  rack-test (2.1.0)
@@ -103,14 +103,13 @@ GEM
103
103
  activesupport (>= 5.0.0)
104
104
  minitest
105
105
  nokogiri (>= 1.6)
106
- rails-html-sanitizer (1.6.0)
106
+ rails-html-sanitizer (1.6.1)
107
107
  loofah (~> 2.21)
108
- nokogiri (~> 1.14)
108
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
109
109
  rainbow (3.1.1)
110
110
  rake (13.2.1)
111
111
  regexp_parser (2.9.2)
112
- rexml (3.3.5)
113
- strscan
112
+ rexml (3.3.9)
114
113
  rspec (3.13.0)
115
114
  rspec-core (~> 3.13.0)
116
115
  rspec-expectations (~> 3.13.0)
@@ -142,7 +141,6 @@ GEM
142
141
  rubocop-rspec (3.0.4)
143
142
  rubocop (~> 1.61)
144
143
  ruby-progressbar (1.13.0)
145
- strscan (3.1.0)
146
144
  timeout (0.4.1)
147
145
  tzinfo (2.0.6)
148
146
  concurrent-ruby (~> 1.0)
@@ -13,7 +13,7 @@ module ActionMailer
13
13
  delivery_method = choose_delivery_method
14
14
  message.delivery_method(
15
15
  ::ActionMailer::Base.delivery_methods[delivery_method[:method]],
16
- delivery_method[:settings]
16
+ delivery_method[:settings] || {}
17
17
  )
18
18
  message.deliver!
19
19
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActionMailer
4
4
  module Balancer
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer-balancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Railsware Products Studio, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-20 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer