minitest-utils 0.4.3 → 0.4.7

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: 267ece23ae1afe6656a53cda6f1e6189117783adbc00f03895ef9bf980e3c3e6
4
- data.tar.gz: d3f83f775ef8e41fe37e741fed9345dbbb5293296df3f53ee1dae86dda4f2afe
3
+ metadata.gz: 84ff17b12d3ecf5983fca906bad050c72704c79b28e80f0a4af12da0045be9f8
4
+ data.tar.gz: 47eb2b47469a7f12247fdb502f482258d137f910f13863aec78ead8511963a03
5
5
  SHA512:
6
- metadata.gz: '056369533babe9e76f55ac7d44a3ee2cadc113c45a8ce85f014430de3709283b536123ffff49593f281c5dbfb208e852fb31939f92c4f1cecefd510b72c83895'
7
- data.tar.gz: 62d7ed04fd0496d7afa1d0c05de60efc0629c840c19d7606cd5a029e8e25a032f44566b359bb0d3c7842060098b090ea177c03cb37ba896ffcd32a25f4f1e152
6
+ metadata.gz: 664cf1128e552426b8c9d6089358886d10b7d1ea47896e7c5476fb131de836583bb4ee7c184e8439a6e8c8b67648b54fb0975733ae582d6583ddff864aa34abf
7
+ data.tar.gz: 62db581b15916c22304fee4801aec9bba0cd89cc466e3422dc654b30b7c28a2663b22b517fe06ed8087fba8ee09fd06382200fcd54f3fb3c63b8febd61f09514
@@ -0,0 +1,3 @@
1
+ ---
2
+ github: [fnando]
3
+ custom: ["https://www.paypal.me/nandovieira/🍕"]
data/.rubocop.yml ADDED
@@ -0,0 +1,20 @@
1
+ ---
2
+ inherit_gem:
3
+ rubocop-fnando: .rubocop.yml
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 2.7
7
+
8
+ Metrics/LineLength:
9
+ Exclude:
10
+ - test/**/*
11
+
12
+ Metrics/AbcSize:
13
+ Enabled: false
14
+
15
+ Style/GlobalVars:
16
+ Exclude:
17
+ - test/minitest/utils/let_test.rb
18
+
19
+ Metrics:
20
+ Enabled: false
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- source 'https://rubygems.org'
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
2
4
 
3
5
  # Specify your gem's dependencies in minitest-utils.gemspec
4
6
  gemspec
data/Rakefile CHANGED
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rake/testtask"
5
+ require "rubocop/rake_task"
3
6
 
4
7
  Rake::TestTask.new(:test) do |t|
5
8
  t.libs << "test"
@@ -8,4 +11,6 @@ Rake::TestTask.new(:test) do |t|
8
11
  t.warning = false
9
12
  end
10
13
 
11
- task :default => :test
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
5
  require "minitest/utils"
data/bin/rake CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
  #
3
5
  # This file was generated by Bundler.
4
6
  #
@@ -6,11 +8,11 @@
6
8
  # this file is here to facilitate running it.
7
9
  #
8
10
 
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
12
14
 
13
- require 'rubygems'
14
- require 'bundler/setup'
15
+ require "rubygems"
16
+ require "bundler/setup"
15
17
 
16
- load Gem.bin_path('rake', 'rake')
18
+ load Gem.bin_path("rake", "rake")
@@ -1,9 +1,14 @@
1
+ # frozen_string_literal: true
2
+
1
3
  gem "selenium-webdriver"
2
4
  gem "chromedriver-helper"
3
5
 
4
6
  Capybara.register_driver :chrome do |app|
5
- Capybara::Selenium::Driver.new app, browser: :chrome,
6
- options: Selenium::WebDriver::Chrome::Options.new(args: %w[headless disable-gpu])
7
+ options = Selenium::WebDriver::Chrome::Options.new(
8
+ args: %w[headless disable-gpu]
9
+ )
10
+
11
+ Capybara::Selenium::Driver.new app, browser: :chrome, options: options
7
12
  end
8
13
 
9
14
  Capybara.javascript_driver = :chrome
@@ -1,10 +1,15 @@
1
+ # frozen_string_literal: true
2
+
1
3
  gem "launchy"
2
4
 
3
5
  module Minitest
4
6
  class Test
5
7
  teardown do
6
8
  next unless Capybara.current_driver == Capybara.javascript_driver
7
- save_and_open_screenshot if failures.any?
9
+
10
+ return unless failures.any?
11
+
12
+ save_and_open_screenshot # rubocop:disable Lint/Debugger
8
13
  end
9
14
  end
10
15
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  module Assertions
@@ -17,7 +19,7 @@ module Minitest
17
19
  include ::Minitest::Utils::Assertions
18
20
 
19
21
  def self.test(name, &block)
20
- test_name = "test_#{name.gsub(/\s+/,'_')}".to_sym
22
+ test_name = "test_#{name.gsub(/\s+/, '_')}".to_sym
21
23
  defined = method_defined? test_name
22
24
 
23
25
  raise "#{test_name} is already defined in #{self}" if defined
@@ -56,11 +58,22 @@ module Minitest
56
58
  end
57
59
 
58
60
  def self.let(name, &block)
59
- target = instance_method(name) rescue nil
61
+ target = begin
62
+ instance_method(name)
63
+ rescue StandardError
64
+ nil
65
+ end
66
+
60
67
  message = "Cannot define let(:#{name});"
61
68
 
62
- raise ArgumentError, "#{message} method cannot begin with 'test'." if name.to_s.start_with?("test")
63
- raise ArgumentError, "#{message} method already defined by #{target.owner}." if target
69
+ if name.to_s.start_with?("test")
70
+ raise ArgumentError, "#{message} method cannot begin with 'test'."
71
+ end
72
+
73
+ if target
74
+ raise ArgumentError,
75
+ "#{message} method already defined by #{target.owner}."
76
+ end
64
77
 
65
78
  define_method(name) do
66
79
  @_memoized ||= {}
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "capybara/rails"
2
4
 
3
5
  module ActionDispatch
@@ -18,13 +20,17 @@ module ActionDispatch
18
20
  next if failures.any?
19
21
  next unless raise_on_javascript_errors
20
22
 
21
- errors = page.driver.browser.manage.logs.get(:browser).select {|log| log.level == "SEVERE" }
23
+ errors = page.driver.browser.manage.logs.get(:browser).select do |log|
24
+ log.level == "SEVERE"
25
+ end
26
+
22
27
  next unless errors.any?
23
28
 
24
29
  messages = errors
25
- .map(&:message)
26
- .map {|message| message[/(\d+:\d+ .*?)$/, 1] }
27
- .join("\n")
30
+ .map(&:message)
31
+ .map {|message| message[/(\d+:\d+ .*?)$/, 1] }
32
+ .join("\n")
33
+
28
34
  raise "JavaScript Errors\n#{messages}"
29
35
  end
30
36
  end
@@ -1,9 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  module Locale
4
6
  class << self
5
- attr_accessor :setup
6
- attr_accessor :teardown
7
+ attr_accessor :setup, :teardown
7
8
  end
8
9
 
9
10
  self.setup = proc do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  module UrlHelpers
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails/railtie"
2
4
 
3
5
  module Minitest
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  class Reporter < Minitest::StatisticsReporter
@@ -6,14 +8,14 @@ module Minitest
6
8
  "E" => :red,
7
9
  "F" => :red,
8
10
  "S" => :yellow
9
- }
11
+ }.freeze
10
12
 
11
13
  COLOR = {
12
14
  red: 31,
13
15
  green: 32,
14
16
  yellow: 33,
15
17
  blue: 34
16
- }
18
+ }.freeze
17
19
 
18
20
  def initialize(*)
19
21
  super
@@ -45,29 +47,38 @@ module Minitest
45
47
  color = :red if failing_results.any?
46
48
 
47
49
  if failing_results.any? || skipped_results.any?
48
- failing_results.each.with_index(1) {|result, index| display_failing(result, index) }
49
- skipped_results.each.with_index(failing_results.size + 1) {|result, index| display_skipped(result, index) }
50
+ failing_results.each.with_index(1) do |result, index|
51
+ display_failing(result, index)
52
+ end
53
+
54
+ skipped_results
55
+ .each
56
+ .with_index(failing_results.size + 1) do |result, index|
57
+ display_skipped(result, index)
58
+ end
50
59
  end
51
60
 
52
61
  io.print "\n\n"
53
62
  io.puts statistics
54
63
  io.puts color(summary, color)
55
64
 
56
- if failing_results.any?
57
- io.puts "\nFailed Tests:\n"
58
- failing_results.each {|result| display_replay_command(result) }
59
- io.puts "\n\n"
60
- end
61
- end
65
+ return unless failing_results.any?
62
66
 
63
- private
67
+ io.puts "\nFailed Tests:\n"
68
+ failing_results.each {|result| display_replay_command(result) }
69
+ io.puts "\n\n"
70
+ end
64
71
 
65
- def statistics
66
- "Finished in %.6fs, %.4f runs/s, %.4f assertions/s." %
67
- [total_time, count / total_time, assertions / total_time]
72
+ private def statistics
73
+ format(
74
+ "Finished in %.6fs, %.4f runs/s, %.4f assertions/s.",
75
+ total_time,
76
+ count / total_time,
77
+ assertions / total_time
78
+ )
68
79
  end
69
80
 
70
- def summary # :nodoc:
81
+ private def summary # :nodoc:
71
82
  [
72
83
  pluralize("run", count),
73
84
  pluralize("assertion", assertions),
@@ -77,90 +88,95 @@ module Minitest
77
88
  ].join(", ")
78
89
  end
79
90
 
80
- def indent(text)
91
+ private def indent(text)
81
92
  text.gsub(/^/, " ")
82
93
  end
83
94
 
84
- def display_failing(result, index)
95
+ private def display_failing(result, index)
85
96
  backtrace = backtrace(result.failure.backtrace)
86
97
  message = result.failure.message
87
98
  message = message.lines.tap(&:pop).join.chomp if result.error?
88
99
 
89
- str = "\n\n"
90
- str << color("%4d) %s" % [index, result_name(result.name)])
91
- str << "\n" << color(indent(message), :red)
92
- str << "\n" << color(backtrace, :blue)
93
- io.print str
100
+ output = ["\n\n"]
101
+ output << color(format("%4d) %s", index, result_name(result.name)))
102
+ output << "\n" << color(indent(message), :red)
103
+ output << "\n" << color(backtrace, :blue)
104
+ io.print output.join
94
105
  end
95
106
 
96
- def display_skipped(result, index)
107
+ private def display_skipped(result, index)
97
108
  location = location(result.failure.location)
98
- str = "\n\n"
99
- str << color("%4d) %s [SKIPPED]" % [index, result_name(result.name)], :yellow)
100
- str << "\n" << indent(color(location, :yellow))
101
- io.print str
109
+ output = ["\n\n"]
110
+ output << color(
111
+ format("%4d) %s [SKIPPED]", index, result_name(result.name)), :yellow
112
+ )
113
+ output << "\n" << indent(color(location, :yellow))
114
+ io.print output.join
102
115
  end
103
116
 
104
- def display_replay_command(result)
117
+ private def display_replay_command(result)
105
118
  location, line = find_test_file(result)
106
119
  return if location.empty?
107
120
 
108
- command = if defined?(Rails) && Rails.version >= "5.0.0"
109
- %[bin/rails test #{location}:#{line}]
110
- else
111
- bundle = "bundle exec " if defined?(Bundler)
112
- %[#{bundle}rake TEST=#{location} TESTOPTS="--name=#{result.name}"]
113
- end
121
+ command = build_test_command(location, line, result)
114
122
 
115
- str = "\n"
116
- str << color(command, :red)
123
+ output = ["\n"]
124
+ output << color(command, :red)
117
125
 
118
- io.print str
126
+ io.print output.join
119
127
  end
120
128
 
121
- def find_test_file(result)
129
+ private def find_test_file(result)
122
130
  location, line = if result.respond_to?(:source_location)
123
131
  result.source_location
124
132
  else
125
133
  result.method(result.name).source_location
126
134
  end
127
135
 
128
- location = location.gsub(%r[^.*?/((?:test|spec)/.*?)$], "\\1")
136
+ location = location.gsub(%r{^.*?/((?:test|spec)/.*?)$}, "\\1")
129
137
 
130
138
  [location, line]
131
139
  end
132
140
 
133
- def backtrace(backtrace)
134
- backtrace = filter_backtrace(backtrace).map {|line| location(line, true) }
141
+ private def backtrace(backtrace)
142
+ backtrace = filter_backtrace(backtrace).map do |line|
143
+ location(line, true)
144
+ end
145
+
135
146
  return if backtrace.empty?
147
+
136
148
  indent(backtrace.join("\n")).gsub(/^(\s+)/, "\\1# ")
137
149
  end
138
150
 
139
- def location(location, include_line_number = false)
151
+ private def location(location, include_line_number = false) # rubocop:disable Style/OptionalBooleanParameter
152
+ matches = location.match(/^(<.*?>)/)
153
+
154
+ return matches[1] if matches
155
+
140
156
  regex = include_line_number ? /^([^:]+:\d+)/ : /^([^:]+)/
141
157
  location = File.expand_path(location[regex, 1])
142
158
 
143
159
  return location unless location.start_with?(Dir.pwd)
144
160
 
145
- location.gsub(%r[^#{Regexp.escape(Dir.pwd)}/], "")
161
+ location.gsub(%r{^#{Regexp.escape(Dir.pwd)}/}, "")
146
162
  end
147
163
 
148
- def filter_backtrace(backtrace)
164
+ private def filter_backtrace(backtrace)
149
165
  Minitest.backtrace_filter.filter(backtrace)
150
166
  end
151
167
 
152
- def result_name(name)
168
+ private def result_name(name)
153
169
  name
154
170
  .gsub(/^test(_\d+)?_/, "")
155
- .gsub(/_/, " ")
171
+ .tr("_", " ")
156
172
  end
157
173
 
158
- def print_result_code(result_code)
174
+ private def print_result_code(result_code)
159
175
  result_code = color(result_code, COLOR_FOR_RESULT_CODE[result_code])
160
176
  io.print result_code
161
177
  end
162
178
 
163
- def color(string, color = :default)
179
+ private def color(string, color = :default)
164
180
  if color_enabled?
165
181
  color = COLOR.fetch(color, 0)
166
182
  "\e[#{color}m#{string}\e[0m"
@@ -169,11 +185,11 @@ module Minitest
169
185
  end
170
186
  end
171
187
 
172
- def color_enabled?
188
+ private def color_enabled?
173
189
  @color_enabled
174
190
  end
175
191
 
176
- def pluralize(word, count)
192
+ private def pluralize(word, count)
177
193
  case count
178
194
  when 0
179
195
  "no #{word}s"
@@ -183,6 +199,21 @@ module Minitest
183
199
  "#{count} #{word}s"
184
200
  end
185
201
  end
202
+
203
+ private def running_rails?
204
+ defined?(Rails) &&
205
+ Rails.respond_to?(:version) &&
206
+ Rails.version >= "5.0.0"
207
+ end
208
+
209
+ private def build_test_command(location, line, result)
210
+ if running_rails?
211
+ %[bin/rails test #{location}:#{line}]
212
+ else
213
+ bundle = "bundle exec " if defined?(Bundler)
214
+ %[#{bundle}rake TEST=#{location} TESTOPTS="--name=#{result.name}"]
215
+ end
216
+ end
186
217
  end
187
218
  end
188
219
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  DatabaseCleaner[:active_record].strategy = :truncation
2
4
 
3
5
  module Minitest
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Minitest
4
+ class Test
5
+ include FactoryBot::Syntax::Methods
6
+ end
7
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  class Test
3
5
  include FactoryGirl::Syntax::Methods
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "webmock/minitest"
2
4
 
3
5
  WebMock.disable_net_connect!
@@ -1,15 +1,16 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  class TestNotifierReporter < Minitest::StatisticsReporter
4
6
  def report
5
7
  super
6
8
 
7
- stats = TestNotifier::Stats.new(:minitest, {
8
- count: count,
9
- assertions: assertions,
10
- failures: failures,
11
- errors: errors
12
- })
9
+ stats = TestNotifier::Stats.new(:minitest,
10
+ count: count,
11
+ assertions: assertions,
12
+ failures: failures,
13
+ errors: errors)
13
14
 
14
15
  TestNotifier.notify(status: stats.status, message: stats.message)
15
16
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
- VERSION = "0.4.3".freeze
5
+ VERSION = "0.4.7"
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Minitest
2
4
  module Utils
3
5
  require "minitest"
@@ -7,18 +9,14 @@ module Minitest
7
9
  require "minitest/utils/test_notifier_reporter"
8
10
 
9
11
  load_lib = lambda do |path, &block|
10
- begin
11
- require path
12
- block.call if block
13
- true
14
- rescue LoadError
15
- false
16
- end
12
+ require path
13
+ block&.call
14
+ true
15
+ rescue LoadError
16
+ false
17
17
  end
18
18
 
19
- unless load_lib.call "mocha/minitest"
20
- load_lib.call "mocha/mini_test"
21
- end
19
+ load_lib.call "mocha/mini_test" unless load_lib.call "mocha/minitest"
22
20
 
23
21
  load_lib.call "capybara"
24
22
 
@@ -34,6 +32,10 @@ module Minitest
34
32
  require "minitest/utils/setup/factory_girl"
35
33
  end
36
34
 
35
+ load_lib.call "factory_bot" do
36
+ require "minitest/utils/setup/factory_bot"
37
+ end
38
+
37
39
  require "minitest/utils/railtie" if defined?(Rails)
38
40
  end
39
41
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "minitest/utils/reporter"
2
4
  require "minitest/utils/test_notifier_reporter"
3
5
 
@@ -6,6 +8,9 @@ module Minitest
6
8
  reporters = Minitest.reporter.reporters
7
9
  reporters.clear
8
10
  reporters << Minitest::Utils::Reporter.new(options[:io], options)
9
- reporters << Minitest::Utils::TestNotifierReporter.new(options[:io], options) if defined?(TestNotifier)
11
+
12
+ return unless defined?(TestNotifier)
13
+
14
+ reporters << TestNotifierReporter.new(options[:io], options)
10
15
  end
11
16
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "./lib/minitest/utils/version"
2
4
 
3
5
  Gem::Specification.new do |spec|
@@ -8,14 +10,19 @@ Gem::Specification.new do |spec|
8
10
  spec.summary = "Some utilities for your Minitest day-to-day usage."
9
11
  spec.description = spec.summary
10
12
  spec.homepage = "http://github.com/fnando/minitest-utils"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
11
14
 
12
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
+ spec.files = `git ls-files -z`
16
+ .split("\x0")
17
+ .reject {|f| f.match(%r{^(test|spec|features)/}) }
13
18
  spec.bindir = "exe"
14
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
15
20
  spec.require_paths = ["lib"]
16
21
 
17
22
  spec.add_dependency "minitest"
18
23
  spec.add_development_dependency "bundler"
19
- spec.add_development_dependency "rake"
20
24
  spec.add_development_dependency "pry-meta"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "rubocop"
27
+ spec.add_development_dependency "rubocop-fnando"
21
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-03 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry-meta
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +67,21 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: pry-meta
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-fnando
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
87
  - - ">="
@@ -73,7 +101,9 @@ executables: []
73
101
  extensions: []
74
102
  extra_rdoc_files: []
75
103
  files:
104
+ - ".github/FUNDING.yml"
76
105
  - ".gitignore"
106
+ - ".rubocop.yml"
77
107
  - Gemfile
78
108
  - LICENSE.txt
79
109
  - README.md
@@ -91,6 +121,7 @@ files:
91
121
  - lib/minitest/utils/railtie.rb
92
122
  - lib/minitest/utils/reporter.rb
93
123
  - lib/minitest/utils/setup/database_cleaner.rb
124
+ - lib/minitest/utils/setup/factory_bot.rb
94
125
  - lib/minitest/utils/setup/factory_girl.rb
95
126
  - lib/minitest/utils/setup/webmock.rb
96
127
  - lib/minitest/utils/test_notifier_reporter.rb
@@ -104,7 +135,7 @@ files:
104
135
  homepage: http://github.com/fnando/minitest-utils
105
136
  licenses: []
106
137
  metadata: {}
107
- post_install_message:
138
+ post_install_message:
108
139
  rdoc_options: []
109
140
  require_paths:
110
141
  - lib
@@ -112,16 +143,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
143
  requirements:
113
144
  - - ">="
114
145
  - !ruby/object:Gem::Version
115
- version: '0'
146
+ version: 2.7.0
116
147
  required_rubygems_version: !ruby/object:Gem::Requirement
117
148
  requirements:
118
149
  - - ">="
119
150
  - !ruby/object:Gem::Version
120
151
  version: '0'
121
152
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.7.6
124
- signing_key:
153
+ rubygems_version: 3.3.3
154
+ signing_key:
125
155
  specification_version: 4
126
156
  summary: Some utilities for your Minitest day-to-day usage.
127
157
  test_files: []