actionmailer-balancer 1.0.0 → 1.1.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
  SHA256:
3
- metadata.gz: 6da0980fa3a7f0a48467cd26ae1aa5a49338dd76e615f7e3b700d317759101d0
4
- data.tar.gz: 541c9afcf9e521eb11e524c4964a4dccda4e072ca242d60cba1f6b2aa63db40b
3
+ metadata.gz: 5655b959f60f512058a81f8f062c3166e1d5d3675bb1aa37216c10b0a63bc6c4
4
+ data.tar.gz: '069ec3b6fd1670c01ebacf413c702faaff2e25196cc7e58292f6fd0980615362'
5
5
  SHA512:
6
- metadata.gz: ec87916c317e2195e64b5511baa888dcbdd375cdad9deeea8aa5065287b664da5ddded34cb71bc2029a51294b1dc11be4ce0ea84e16acde8159f356214e246cc
7
- data.tar.gz: '0879b7fd0f5ec6ab73dcea65957add188a68b725a23828a7f25bfd16f476a2603a9bd527536c6d188d086ca61431717158132c3394162f70ef4a5c2f707c7d1b'
6
+ metadata.gz: 8f8a159b175485deefa39efbf887c8aa6bbd9ceb22ee30a99ea8e95d713c71a15fd0325cc650e0ed46d88794b370a16c589a5fa5d2a564faca2ff435211c6191
7
+ data.tar.gz: 443957595bf798fc30446b051801cf90fcf73d55d7efa6322048678c8ce98c21d86847880e19eb3e109aace9e6610da58a50f3d3c5fd942cb6eb1ec2b99dcf61
data/.gitignore CHANGED
@@ -9,3 +9,9 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ .ruby-gemset
14
+ .ruby-version
15
+
16
+ .vscode
17
+ .idea
data/.rubocop.yml CHANGED
@@ -1,7 +1,9 @@
1
- require: rubocop-rspec
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
2
4
 
3
5
  AllCops:
4
- TargetRubyVersion: 2.7
6
+ TargetRubyVersion: 3.0
5
7
  NewCops: enable
6
8
 
7
9
  Layout/LineLength:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [1.1.0] - 2024-08-19
2
+
3
+ - Dropped Ruby 2.7 support
4
+ - Updated dependencies
5
+
1
6
  ## [1.0.0] - 2022-10-07
2
7
 
3
8
  - Initial release
data/Gemfile CHANGED
@@ -4,8 +4,11 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem 'mail'
8
- gem 'rake', '~> 13.0'
9
- gem 'rspec', '~> 3.0'
10
- gem 'rubocop', '~> 1.21'
11
- gem 'rubocop-rspec', require: false
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
data/Gemfile.lock CHANGED
@@ -1,121 +1,152 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- actionmailer-balancer (1.0.0)
4
+ actionmailer-balancer (1.1.0)
5
5
  actionmailer (> 4.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (7.0.4)
11
- actionpack (= 7.0.4)
12
- actionview (= 7.0.4)
13
- activejob (= 7.0.4)
14
- activesupport (= 7.0.4)
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)
15
15
  mail (~> 2.5, >= 2.5.4)
16
16
  net-imap
17
17
  net-pop
18
18
  net-smtp
19
- rails-dom-testing (~> 2.0)
20
- actionpack (7.0.4)
21
- actionview (= 7.0.4)
22
- activesupport (= 7.0.4)
23
- rack (~> 2.0, >= 2.2.0)
19
+ rails-dom-testing (~> 2.2)
20
+ actionpack (7.1.3.4)
21
+ actionview (= 7.1.3.4)
22
+ activesupport (= 7.1.3.4)
23
+ nokogiri (>= 1.8.5)
24
+ racc
25
+ rack (>= 2.2.4)
26
+ rack-session (>= 1.0.1)
24
27
  rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
27
- actionview (7.0.4)
28
- activesupport (= 7.0.4)
28
+ rails-dom-testing (~> 2.2)
29
+ rails-html-sanitizer (~> 1.6)
30
+ actionview (7.1.3.4)
31
+ activesupport (= 7.1.3.4)
29
32
  builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
33
- activejob (7.0.4)
34
- activesupport (= 7.0.4)
33
+ erubi (~> 1.11)
34
+ rails-dom-testing (~> 2.2)
35
+ rails-html-sanitizer (~> 1.6)
36
+ activejob (7.1.3.4)
37
+ activesupport (= 7.1.3.4)
35
38
  globalid (>= 0.3.6)
36
- activesupport (7.0.4)
39
+ activesupport (7.1.3.4)
40
+ base64
41
+ bigdecimal
37
42
  concurrent-ruby (~> 1.0, >= 1.0.2)
43
+ connection_pool (>= 2.2.5)
44
+ drb
38
45
  i18n (>= 1.6, < 2)
39
46
  minitest (>= 5.1)
47
+ mutex_m
40
48
  tzinfo (~> 2.0)
41
49
  ast (2.4.2)
42
- builder (3.2.4)
43
- concurrent-ruby (1.1.10)
50
+ base64 (0.2.0)
51
+ bigdecimal (3.1.8)
52
+ builder (3.3.0)
53
+ concurrent-ruby (1.3.4)
54
+ connection_pool (2.4.1)
44
55
  crass (1.0.6)
45
- diff-lcs (1.5.0)
46
- erubi (1.11.0)
47
- globalid (1.0.0)
48
- activesupport (>= 5.0)
49
- i18n (1.12.0)
56
+ date (3.3.4)
57
+ diff-lcs (1.5.1)
58
+ drb (2.2.1)
59
+ erubi (1.13.0)
60
+ globalid (1.2.1)
61
+ activesupport (>= 6.1)
62
+ i18n (1.14.5)
50
63
  concurrent-ruby (~> 1.0)
51
- json (2.6.2)
52
- loofah (2.19.0)
64
+ json (2.7.2)
65
+ language_server-protocol (3.17.0.3)
66
+ loofah (2.22.0)
53
67
  crass (~> 1.0.2)
54
- nokogiri (>= 1.5.9)
55
- mail (2.7.1)
68
+ nokogiri (>= 1.12.0)
69
+ mail (2.8.1)
56
70
  mini_mime (>= 0.1.1)
57
- mini_mime (1.1.2)
58
- mini_portile2 (2.8.0)
59
- minitest (5.16.3)
60
- net-imap (0.3.1)
71
+ net-imap
72
+ net-pop
73
+ net-smtp
74
+ mini_mime (1.1.5)
75
+ mini_portile2 (2.8.7)
76
+ minitest (5.25.1)
77
+ mutex_m (0.2.0)
78
+ net-imap (0.4.14)
79
+ date
61
80
  net-protocol
62
81
  net-pop (0.1.2)
63
82
  net-protocol
64
- net-protocol (0.1.3)
83
+ net-protocol (0.2.2)
65
84
  timeout
66
- net-smtp (0.3.2)
85
+ net-smtp (0.5.0)
67
86
  net-protocol
68
- nokogiri (1.13.8)
69
- mini_portile2 (~> 2.8.0)
87
+ nokogiri (1.16.7)
88
+ mini_portile2 (~> 2.8.2)
89
+ racc (~> 1.4)
90
+ nokogiri (1.16.7-x86_64-darwin)
70
91
  racc (~> 1.4)
71
- parallel (1.22.1)
72
- parser (3.1.2.1)
92
+ parallel (1.26.2)
93
+ parser (3.3.4.2)
73
94
  ast (~> 2.4.1)
74
- racc (1.6.0)
75
- rack (2.2.4)
76
- rack-test (2.0.2)
95
+ racc
96
+ racc (1.8.1)
97
+ rack (3.1.7)
98
+ rack-session (2.0.0)
99
+ rack (>= 3.0.0)
100
+ rack-test (2.1.0)
77
101
  rack (>= 1.3)
78
- rails-dom-testing (2.0.3)
79
- activesupport (>= 4.2.0)
102
+ rails-dom-testing (2.2.0)
103
+ activesupport (>= 5.0.0)
104
+ minitest
80
105
  nokogiri (>= 1.6)
81
- rails-html-sanitizer (1.4.3)
82
- loofah (~> 2.3)
106
+ rails-html-sanitizer (1.6.0)
107
+ loofah (~> 2.21)
108
+ nokogiri (~> 1.14)
83
109
  rainbow (3.1.1)
84
- rake (13.0.6)
85
- regexp_parser (2.6.0)
86
- rexml (3.2.5)
87
- rspec (3.11.0)
88
- rspec-core (~> 3.11.0)
89
- rspec-expectations (~> 3.11.0)
90
- rspec-mocks (~> 3.11.0)
91
- rspec-core (3.11.0)
92
- rspec-support (~> 3.11.0)
93
- rspec-expectations (3.11.1)
110
+ rake (13.2.1)
111
+ regexp_parser (2.9.2)
112
+ rexml (3.3.5)
113
+ strscan
114
+ rspec (3.13.0)
115
+ rspec-core (~> 3.13.0)
116
+ rspec-expectations (~> 3.13.0)
117
+ rspec-mocks (~> 3.13.0)
118
+ rspec-core (3.13.0)
119
+ rspec-support (~> 3.13.0)
120
+ rspec-expectations (3.13.1)
94
121
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.11.0)
96
- rspec-mocks (3.11.1)
122
+ rspec-support (~> 3.13.0)
123
+ rspec-mocks (3.13.1)
97
124
  diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.11.0)
99
- rspec-support (3.11.1)
100
- rubocop (1.36.0)
125
+ rspec-support (~> 3.13.0)
126
+ rspec-support (3.13.1)
127
+ rubocop (1.65.1)
101
128
  json (~> 2.3)
129
+ language_server-protocol (>= 3.17.0)
102
130
  parallel (~> 1.10)
103
- parser (>= 3.1.2.1)
131
+ parser (>= 3.3.0.2)
104
132
  rainbow (>= 2.2.2, < 4.0)
105
- regexp_parser (>= 1.8, < 3.0)
133
+ regexp_parser (>= 2.4, < 3.0)
106
134
  rexml (>= 3.2.5, < 4.0)
107
- rubocop-ast (>= 1.20.1, < 2.0)
135
+ rubocop-ast (>= 1.31.1, < 2.0)
108
136
  ruby-progressbar (~> 1.7)
109
- unicode-display_width (>= 1.4.0, < 3.0)
110
- rubocop-ast (1.21.0)
111
- parser (>= 3.1.1.0)
112
- rubocop-rspec (2.13.2)
113
- rubocop (~> 1.33)
114
- ruby-progressbar (1.11.0)
115
- timeout (0.3.0)
116
- tzinfo (2.0.5)
137
+ unicode-display_width (>= 2.4.0, < 3.0)
138
+ rubocop-ast (1.32.0)
139
+ parser (>= 3.3.1.0)
140
+ rubocop-rake (0.6.0)
141
+ rubocop (~> 1.0)
142
+ rubocop-rspec (3.0.4)
143
+ rubocop (~> 1.61)
144
+ ruby-progressbar (1.13.0)
145
+ strscan (3.1.0)
146
+ timeout (0.4.1)
147
+ tzinfo (2.0.6)
117
148
  concurrent-ruby (~> 1.0)
118
- unicode-display_width (2.3.0)
149
+ unicode-display_width (2.5.0)
119
150
 
120
151
  PLATFORMS
121
152
  ruby
@@ -127,7 +158,8 @@ DEPENDENCIES
127
158
  rake (~> 13.0)
128
159
  rspec (~> 3.0)
129
160
  rubocop (~> 1.21)
161
+ rubocop-rake
130
162
  rubocop-rspec
131
163
 
132
164
  BUNDLED WITH
133
- 2.2.15
165
+ 2.4.12
data/README.md CHANGED
@@ -6,7 +6,7 @@ Applications:
6
6
 
7
7
  - gradually migrate to a new mail provider (first 1% of mail, then 5%, and so on)
8
8
  - ...or to a new configuration (SMTP to Email API)
9
- - spread load between multiple providers to stay under limit
9
+ - spread load between multiple providers
10
10
 
11
11
  Works with any valid ActionMailer delivery methods, either built-in or added from a library like [mailtrap](https://github.com/railsware/mailtrap-ruby#actionmailer).
12
12
 
@@ -14,14 +14,14 @@ Gem::Specification.new do |spec|
14
14
  'Distributes emails across multiple delivery methods in the given proportion.'
15
15
  spec.homepage = 'https://github.com/railsware/actionmailer-balancer'
16
16
  spec.license = 'MIT'
17
- spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
17
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
18
18
 
19
19
  spec.metadata['homepage_uri'] = spec.homepage
20
20
  spec.metadata['source_code_uri'] = 'https://github.com/railsware/actionmailer-balancer'
21
21
  spec.metadata['changelog_uri'] = 'https://github.com/railsware/actionmailer-balancer/blob/main/CHANGELOG.md'
22
22
  spec.metadata['rubygems_mfa_required'] = 'true'
23
23
 
24
- spec.add_runtime_dependency 'actionmailer', '> 4.0', '< 8.0'
24
+ spec.add_dependency 'actionmailer', '> 4.0', '< 8.0'
25
25
 
26
26
  # Specify which files should be added to the gem when it is released.
27
27
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActionMailer
4
4
  module Balancer
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
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.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Railsware Products Studio, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-07 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -41,7 +41,6 @@ files:
41
41
  - ".gitignore"
42
42
  - ".rspec"
43
43
  - ".rubocop.yml"
44
- - ".ruby-version"
45
44
  - CHANGELOG.md
46
45
  - CODE_OF_CONDUCT.md
47
46
  - Gemfile
@@ -62,7 +61,7 @@ metadata:
62
61
  source_code_uri: https://github.com/railsware/actionmailer-balancer
63
62
  changelog_uri: https://github.com/railsware/actionmailer-balancer/blob/main/CHANGELOG.md
64
63
  rubygems_mfa_required: 'true'
65
- post_install_message:
64
+ post_install_message:
66
65
  rdoc_options: []
67
66
  require_paths:
68
67
  - lib
@@ -70,15 +69,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
69
  requirements:
71
70
  - - ">="
72
71
  - !ruby/object:Gem::Version
73
- version: 2.7.0
72
+ version: 3.0.0
74
73
  required_rubygems_version: !ruby/object:Gem::Requirement
75
74
  requirements:
76
75
  - - ">="
77
76
  - !ruby/object:Gem::Version
78
77
  version: '0'
79
78
  requirements: []
80
- rubygems_version: 3.1.6
81
- signing_key:
79
+ rubygems_version: 3.5.11
80
+ signing_key:
82
81
  specification_version: 4
83
82
  summary: ActionMailer balancer
84
83
  test_files: []
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.7.6