rumble 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock ADDED
@@ -0,0 +1,272 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rumble (0.0.0)
5
+ liquid (= 5.5.0)
6
+ mail (= 2.8.1)
7
+ net-smtp (= 0.5.0)
8
+ net-smtp-proxy (= 2.0.0)
9
+ rainbow (= 3.1.1)
10
+ redcarpet (= 3.6.0)
11
+ slop (= 4.10.1)
12
+ uuidtools (= 2.2.0)
13
+
14
+ GEM
15
+ remote: https://rubygems.org/
16
+ specs:
17
+ actionpack (7.1.3.4)
18
+ actionview (= 7.1.3.4)
19
+ activesupport (= 7.1.3.4)
20
+ nokogiri (>= 1.8.5)
21
+ racc
22
+ rack (>= 2.2.4)
23
+ rack-session (>= 1.0.1)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6)
27
+ actionview (7.1.3.4)
28
+ activesupport (= 7.1.3.4)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.11)
31
+ rails-dom-testing (~> 2.2)
32
+ rails-html-sanitizer (~> 1.6)
33
+ activesupport (7.1.3.4)
34
+ base64
35
+ bigdecimal
36
+ concurrent-ruby (~> 1.0, >= 1.0.2)
37
+ connection_pool (>= 2.2.5)
38
+ drb
39
+ i18n (>= 1.6, < 2)
40
+ minitest (>= 5.1)
41
+ mutex_m
42
+ tzinfo (~> 2.0)
43
+ ast (2.4.2)
44
+ base64 (0.2.0)
45
+ bigdecimal (3.1.8)
46
+ builder (3.3.0)
47
+ concurrent-ruby (1.3.3)
48
+ connection_pool (2.4.1)
49
+ crass (1.0.6)
50
+ cucumber (9.2.0)
51
+ builder (~> 3.2)
52
+ cucumber-ci-environment (> 9, < 11)
53
+ cucumber-core (> 13, < 14)
54
+ cucumber-cucumber-expressions (~> 17.0)
55
+ cucumber-gherkin (> 24, < 28)
56
+ cucumber-html-formatter (> 20.3, < 22)
57
+ cucumber-messages (> 19, < 25)
58
+ diff-lcs (~> 1.5)
59
+ mini_mime (~> 1.1)
60
+ multi_test (~> 1.1)
61
+ sys-uname (~> 1.2)
62
+ cucumber-ci-environment (10.0.1)
63
+ cucumber-core (13.0.2)
64
+ cucumber-gherkin (>= 27, < 28)
65
+ cucumber-messages (>= 20, < 23)
66
+ cucumber-tag-expressions (> 5, < 7)
67
+ cucumber-cucumber-expressions (17.1.0)
68
+ bigdecimal
69
+ cucumber-gherkin (27.0.0)
70
+ cucumber-messages (>= 19.1.4, < 23)
71
+ cucumber-html-formatter (21.4.0)
72
+ cucumber-messages (> 19, < 25)
73
+ cucumber-messages (22.0.0)
74
+ cucumber-tag-expressions (6.1.0)
75
+ date (3.3.4)
76
+ diff-lcs (1.5.1)
77
+ docile (1.4.0)
78
+ drb (2.2.1)
79
+ erubi (1.13.0)
80
+ ffi (1.17.0-aarch64-linux-gnu)
81
+ ffi (1.17.0-aarch64-linux-musl)
82
+ ffi (1.17.0-arm-linux-gnu)
83
+ ffi (1.17.0-arm-linux-musl)
84
+ ffi (1.17.0-arm64-darwin)
85
+ ffi (1.17.0-x64-mingw-ucrt)
86
+ ffi (1.17.0-x86-linux-gnu)
87
+ ffi (1.17.0-x86-linux-musl)
88
+ ffi (1.17.0-x86_64-darwin)
89
+ ffi (1.17.0-x86_64-linux-gnu)
90
+ ffi (1.17.0-x86_64-linux-musl)
91
+ i18n (1.14.5)
92
+ concurrent-ruby (~> 1.0)
93
+ io-console (0.7.2)
94
+ irb (1.13.2)
95
+ rdoc (>= 4.0.0)
96
+ reline (>= 0.4.2)
97
+ json (2.7.2)
98
+ language_server-protocol (3.17.0.3)
99
+ liquid (5.5.0)
100
+ loofah (2.22.0)
101
+ crass (~> 1.0.2)
102
+ nokogiri (>= 1.12.0)
103
+ mail (2.8.1)
104
+ mini_mime (>= 0.1.1)
105
+ net-imap
106
+ net-pop
107
+ net-smtp
108
+ mini_mime (1.1.5)
109
+ minitest (5.24.0)
110
+ multi_test (1.1.0)
111
+ mutex_m (0.2.0)
112
+ net-imap (0.4.14)
113
+ date
114
+ net-protocol
115
+ net-pop (0.1.2)
116
+ net-protocol
117
+ net-protocol (0.2.2)
118
+ timeout
119
+ net-smtp (0.5.0)
120
+ net-protocol
121
+ net-smtp-proxy (2.0.0)
122
+ proxifier (~> 1.0)
123
+ nokogiri (1.16.6-aarch64-linux)
124
+ racc (~> 1.4)
125
+ nokogiri (1.16.6-arm-linux)
126
+ racc (~> 1.4)
127
+ nokogiri (1.16.6-arm64-darwin)
128
+ racc (~> 1.4)
129
+ nokogiri (1.16.6-x64-mingw-ucrt)
130
+ racc (~> 1.4)
131
+ nokogiri (1.16.6-x86-linux)
132
+ racc (~> 1.4)
133
+ nokogiri (1.16.6-x86_64-darwin)
134
+ racc (~> 1.4)
135
+ nokogiri (1.16.6-x86_64-linux)
136
+ racc (~> 1.4)
137
+ parallel (1.25.1)
138
+ parser (3.3.3.0)
139
+ ast (~> 2.4.1)
140
+ racc
141
+ proxifier (1.0.3)
142
+ psych (5.1.2)
143
+ stringio
144
+ racc (1.8.0)
145
+ rack (3.1.4)
146
+ rack-session (2.0.0)
147
+ rack (>= 3.0.0)
148
+ rack-test (2.1.0)
149
+ rack (>= 1.3)
150
+ rackup (2.1.0)
151
+ rack (>= 3)
152
+ webrick (~> 1.8)
153
+ rails-dom-testing (2.2.0)
154
+ activesupport (>= 5.0.0)
155
+ minitest
156
+ nokogiri (>= 1.6)
157
+ rails-html-sanitizer (1.6.0)
158
+ loofah (~> 2.21)
159
+ nokogiri (~> 1.14)
160
+ railties (7.1.3.4)
161
+ actionpack (= 7.1.3.4)
162
+ activesupport (= 7.1.3.4)
163
+ irb
164
+ rackup (>= 1.0.0)
165
+ rake (>= 12.2)
166
+ thor (~> 1.0, >= 1.2.2)
167
+ zeitwerk (~> 2.6)
168
+ rainbow (3.1.1)
169
+ rake (13.2.1)
170
+ rdoc (6.7.0)
171
+ psych (>= 4.0.0)
172
+ redcarpet (3.6.0)
173
+ regexp_parser (2.9.2)
174
+ reline (0.5.9)
175
+ io-console (~> 0.5)
176
+ rexml (3.3.0)
177
+ strscan
178
+ rspec-core (3.13.0)
179
+ rspec-support (~> 3.13.0)
180
+ rspec-expectations (3.13.1)
181
+ diff-lcs (>= 1.2.0, < 2.0)
182
+ rspec-support (~> 3.13.0)
183
+ rspec-mocks (3.13.1)
184
+ diff-lcs (>= 1.2.0, < 2.0)
185
+ rspec-support (~> 3.13.0)
186
+ rspec-rails (6.1.3)
187
+ actionpack (>= 6.1)
188
+ activesupport (>= 6.1)
189
+ railties (>= 6.1)
190
+ rspec-core (~> 3.13)
191
+ rspec-expectations (~> 3.13)
192
+ rspec-mocks (~> 3.13)
193
+ rspec-support (~> 3.13)
194
+ rspec-support (3.13.1)
195
+ rubocop (1.64.1)
196
+ json (~> 2.3)
197
+ language_server-protocol (>= 3.17.0)
198
+ parallel (~> 1.10)
199
+ parser (>= 3.3.0.2)
200
+ rainbow (>= 2.2.2, < 4.0)
201
+ regexp_parser (>= 1.8, < 3.0)
202
+ rexml (>= 3.2.5, < 4.0)
203
+ rubocop-ast (>= 1.31.1, < 2.0)
204
+ ruby-progressbar (~> 1.7)
205
+ unicode-display_width (>= 2.4.0, < 3.0)
206
+ rubocop-ast (1.31.3)
207
+ parser (>= 3.3.1.0)
208
+ rubocop-performance (1.21.1)
209
+ rubocop (>= 1.48.1, < 2.0)
210
+ rubocop-ast (>= 1.31.1, < 2.0)
211
+ rubocop-rake (0.6.0)
212
+ rubocop (~> 1.0)
213
+ rubocop-rspec (3.0.1)
214
+ rubocop (~> 1.61)
215
+ ruby-progressbar (1.13.0)
216
+ simplecov (0.22.0)
217
+ docile (~> 1.1)
218
+ simplecov-html (~> 0.11)
219
+ simplecov_json_formatter (~> 0.1)
220
+ simplecov-cobertura (2.1.0)
221
+ rexml
222
+ simplecov (~> 0.19)
223
+ simplecov-html (0.12.3)
224
+ simplecov_json_formatter (0.1.4)
225
+ slop (4.10.1)
226
+ stringio (3.1.1)
227
+ strscan (3.1.0)
228
+ sys-uname (1.3.0)
229
+ ffi (~> 1.1)
230
+ thor (1.3.1)
231
+ timeout (0.4.1)
232
+ tzinfo (2.0.6)
233
+ concurrent-ruby (~> 1.0)
234
+ unicode-display_width (2.5.0)
235
+ uuidtools (2.2.0)
236
+ webrick (1.8.1)
237
+ yard (0.9.36)
238
+ zeitwerk (2.6.16)
239
+
240
+ PLATFORMS
241
+ aarch64-linux
242
+ aarch64-linux-gnu
243
+ aarch64-linux-musl
244
+ arm-linux
245
+ arm-linux-gnu
246
+ arm-linux-musl
247
+ arm64-darwin
248
+ x64-mingw-ucrt
249
+ x86-linux
250
+ x86-linux-gnu
251
+ x86-linux-musl
252
+ x86_64-darwin
253
+ x86_64-linux
254
+ x86_64-linux-gnu
255
+ x86_64-linux-musl
256
+
257
+ DEPENDENCIES
258
+ cucumber (= 9.2.0)
259
+ minitest (= 5.24.0)
260
+ rake (= 13.2.1)
261
+ rspec-rails (= 6.1.3)
262
+ rubocop (= 1.64.1)
263
+ rubocop-performance (= 1.21.1)
264
+ rubocop-rake (= 0.6.0)
265
+ rubocop-rspec (= 3.0.1)
266
+ rumble!
267
+ simplecov (= 0.22.0)
268
+ simplecov-cobertura (= 2.1.0)
269
+ yard (= 0.9.36)
270
+
271
+ BUNDLED WITH
272
+ 2.5.6
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2018-2022 Yegor Bugayenko
3
+ Copyright (c) 2018-2024 Yegor Bugayenko
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the 'Software'), to deal
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <img src="/logo.svg" width="64px" height="64px"/>
1
+ # Command Line Mass-Email Sender
2
2
 
3
3
  [![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
4
4
  [![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/rumble)](http://www.rultor.com/p/yegor256/rumble)
@@ -9,8 +9,6 @@
9
9
  [![Gem Version](https://badge.fury.io/rb/rumble.svg)](http://badge.fury.io/rb/rumble)
10
10
  [![Maintainability](https://api.codeclimate.com/v1/badges/a3fee65d42a9cf6397ea/maintainability)](https://codeclimate.com/github/yegor256/rumble/maintainability)
11
11
  [![Test Coverage](https://img.shields.io/codecov/c/github/yegor256/rumble.svg)](https://codecov.io/github/yegor256/rumble?branch=master)
12
-
13
- ![Lines of code](https://img.shields.io/tokei/lines/github/yegor256/rumble)
14
12
  [![Hits-of-Code](https://hitsofcode.com/github/yegor256/0rsk)](https://hitsofcode.com/view/github/yegor256/0rsk)
15
13
 
16
14
  This command line tool helps you send newsletters.
@@ -18,18 +16,18 @@ This command line tool helps you send newsletters.
18
16
  Install it first:
19
17
 
20
18
  ```bash
21
- $ gem install rumble
19
+ gem install rumble
22
20
  ```
23
21
 
24
22
  Run it locally and read its output:
25
23
 
26
24
  ```bash
27
- $ rumble --help
25
+ rumble --help
28
26
  ```
29
27
 
30
28
  Simple liquid letter looks like this:
31
29
 
32
- ```
30
+ ```liquid
33
31
  {{ first }},
34
32
 
35
33
  How are you?
@@ -41,18 +39,21 @@ Yegor
41
39
  The list of emails must contain three columns separated by a comma: first
42
40
  name, last name, and email.
43
41
 
44
- If you want to send via HTTP/SMTP proxy, use `--proxy=socks:<host>:<port>`.
42
+ You can't send via HTTP/SMTP proxy, unfortunately (you are welcome
43
+ to submit a pull request).
45
44
 
46
45
  ## How to contribute
47
46
 
48
- Read [these guidelines](https://www.yegor256.com/2014/04/15/github-guidelines.html).
47
+ Read
48
+ [these guidelines](https://www.yegor256.com/2014/04/15/github-guidelines.html).
49
49
  Make sure you build is green before you contribute
50
- your pull request. You will need to have [Ruby](https://www.ruby-lang.org/en/) 2.3+ and
50
+ your pull request. You will need to have
51
+ [Ruby](https://www.ruby-lang.org/en/) 2.3+ and
51
52
  [Bundler](https://bundler.io/) installed. Then:
52
53
 
53
- ```
54
- $ bundle update
55
- $ bundle exec rake
54
+ ```bash
55
+ bundle update
56
+ bundle exec rake
56
57
  ```
57
58
 
58
59
  If it's clean and you don't see any error messages, submit your pull request.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -33,7 +33,7 @@ def version
33
33
  Gem::Specification.load(Dir['*.gemspec'].first).version
34
34
  end
35
35
 
36
- task default: %i[clean test features rubocop copyright]
36
+ task default: %i[clean test features rubocop yard copyright]
37
37
 
38
38
  require 'rake/testtask'
39
39
  desc 'Run all unit tests'
@@ -44,13 +44,10 @@ Rake::TestTask.new(:test) do |test|
44
44
  test.verbose = false
45
45
  end
46
46
 
47
- require 'rdoc/task'
48
- desc 'Build RDoc documentation'
49
- Rake::RDocTask.new do |rdoc|
50
- rdoc.rdoc_dir = 'rdoc'
51
- rdoc.title = "#{name} #{version}"
52
- rdoc.rdoc_files.include('README*')
53
- rdoc.rdoc_files.include('lib/**/*.rb')
47
+ require 'yard'
48
+ desc 'Build Yard documentation'
49
+ YARD::Rake::YardocTask.new do |t|
50
+ t.files = ['lib/**/*.rb']
54
51
  end
55
52
 
56
53
  require 'rubocop/rake_task'
data/bin/rumble CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # Copyright (c) 2018-2022 Yegor Bugayenko
2
+ # Copyright (c) 2018-2024 Yegor Bugayenko
3
3
  #
4
4
  # Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  # of this software and associated documentation files (the 'Software'), to deal
@@ -23,7 +23,6 @@ STDOUT.sync = true
23
23
 
24
24
  require 'slop'
25
25
  require 'mail'
26
- require 'net/smtp/proxy'
27
26
  require_relative '../lib/rumble'
28
27
  require_relative '../lib/rumble/version'
29
28
  require_relative '../lib/rumble/cli'
@@ -99,32 +98,16 @@ begin
99
98
  raise '--user is required' unless opts[:user]
100
99
  raise '--password is required' unless opts[:password]
101
100
  from = Mail::Address.new(opts[:from])
102
- if opts[:proxy]
103
- scheme, host, port = opts[:proxy].strip.split(':')
104
- delivery_method Net::SMTP::Proxy::DeliveryMethod, {
105
- domain: from.domain,
106
- address: opts[:host],
107
- port: opts[:port],
108
- proxy_address: "#{scheme}://#{host}",
109
- proxy_port: port.to_i,
110
- authentication: 'plain',
111
- openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE,
112
- enable_starttls_auto: true,
113
- enable_starttls: true,
114
- user_name: opts[:user],
115
- password: opts[:password]
116
- }
117
- else
118
- delivery_method :smtp, {
119
- domain: from.domain,
120
- address: opts[:host],
121
- port: opts[:port],
122
- user_name: opts[:user],
123
- password: opts[:password],
124
- enable_starttls: true,
125
- enable_starttls_auto: true
126
- }
127
- end
101
+ raise 'The --proxy option is not supporte' if opts[:proxy]
102
+ delivery_method :smtp, {
103
+ domain: from.domain,
104
+ address: opts[:host],
105
+ port: opts[:port],
106
+ user_name: opts[:user],
107
+ password: opts[:password],
108
+ enable_starttls: true,
109
+ enable_starttls_auto: true
110
+ }
128
111
  else
129
112
  raise "Delivery method #{opts[:method]} is not supported"
130
113
  end
data/cucumber.yml CHANGED
@@ -1,3 +1,23 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+ ---
1
21
  default: --format pretty
2
22
  travis: --format progress
3
23
  html_report: --format progress --format html --out=features_report.html
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -44,7 +44,7 @@ end
44
44
 
45
45
  Given(/^I have a "([^"]*)" file with content:$/) do |file, text|
46
46
  FileUtils.mkdir_p(File.dirname(file)) unless File.exist?(file)
47
- File.write(file, text.gsub(/\\xFF/, 0xFF.chr))
47
+ File.write(file, text.gsub('\\xFF', 0xFF.chr))
48
48
  end
49
49
 
50
50
  When(%r{^I run bin/rumble with "([^"]*)"$}) do |arg|
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/lib/rumble/cli.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -33,7 +33,7 @@ require_relative 'version'
33
33
 
34
34
  # Rumble main script.
35
35
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
36
- # Copyright:: Copyright (c) 2018-2022 Yegor Bugayenko
36
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
37
37
  # License:: MIT
38
38
  class Rumble::CLI
39
39
  # Make an instance.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -22,8 +22,8 @@
22
22
 
23
23
  # Rumble main module.
24
24
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
25
- # Copyright:: Copyright (c) 2018-2022 Yegor Bugayenko
25
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Rumble
28
- VERSION = '0.7.0'
28
+ VERSION = '0.8.0'
29
29
  end
data/lib/rumble.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -22,7 +22,7 @@
22
22
 
23
23
  # Rumble module.
24
24
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
25
- # Copyright:: Copyright (c) 2018-2022 Yegor Bugayenko
25
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Rumble
28
28
  # Nothing
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:base"
5
+ ]
6
+ }
data/rumble.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -40,20 +40,13 @@ Gem::Specification.new do |s|
40
40
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
41
41
  s.rdoc_options = ['--charset=UTF-8']
42
42
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
43
- s.add_runtime_dependency 'liquid', '5.3.0'
44
- s.add_runtime_dependency 'mail', '2.7.1'
43
+ s.add_runtime_dependency 'liquid', '5.5.0'
44
+ s.add_runtime_dependency 'mail', '2.8.1'
45
+ s.add_runtime_dependency 'net-smtp', '0.5.0'
45
46
  s.add_runtime_dependency 'net-smtp-proxy', '2.0.0'
46
47
  s.add_runtime_dependency 'rainbow', '3.1.1'
47
- s.add_runtime_dependency 'redcarpet', '3.5.1'
48
- s.add_runtime_dependency 'slop', '4.9.2'
48
+ s.add_runtime_dependency 'redcarpet', '3.6.0'
49
+ s.add_runtime_dependency 'slop', '4.10.1'
49
50
  s.add_runtime_dependency 'uuidtools', '2.2.0'
50
- s.add_development_dependency 'codecov', '0.6.0'
51
- s.add_development_dependency 'cucumber', '8.0.0'
52
- s.add_development_dependency 'minitest', '5.16.1'
53
- s.add_development_dependency 'rake', '13.0.6'
54
- s.add_development_dependency 'rdoc', '6.4.0'
55
- s.add_development_dependency 'rspec-rails', '5.1.2'
56
- s.add_development_dependency 'rubocop', '1.31.1'
57
- s.add_development_dependency 'rubocop-rspec', '2.11.1'
58
51
  s.metadata['rubygems_mfa_required'] = 'true'
59
52
  end
data/test/test__helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -24,10 +24,8 @@ $stdout.sync = true
24
24
 
25
25
  require 'simplecov'
26
26
  SimpleCov.start
27
- if ENV['CI'] == 'true'
28
- require 'codecov'
29
- SimpleCov.formatter = SimpleCov::Formatter::Codecov
30
- end
27
+
28
+ require 'simplecov-cobertura'
29
+ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
31
30
 
32
31
  require 'minitest/autorun'
33
- require_relative '../lib/rumble'
data/test/test_rumble.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2022 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,7 +28,7 @@ require_relative '../lib/rumble/cli'
28
28
 
29
29
  # Rumble main module test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2018-2022 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TestRumble < Minitest::Test
34
34
  def test_basic