minitest-assert_errors 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dd6934b7b881c8ceb902778b35428cc3b6f1206b
4
- data.tar.gz: 735139536526e6d2edfed4811392a93e701cd8ae
2
+ SHA256:
3
+ metadata.gz: 6355a5b201c8366d4e50cb49bc2d0bcecb04c2d96a749aca6aee80e976fc72a6
4
+ data.tar.gz: ec6c735f3305802d2602e6778ed4202514cd0f9f55f53622939acd2f2577f400
5
5
  SHA512:
6
- metadata.gz: 16db2c540f82d238b7cb725ee866da51325412ff7a8d49367d99d4d4d68f550c65343a1552f950a48c8ec40f045a073aa08ba8089f1d69d973be9252a153fa30
7
- data.tar.gz: 5d46a5cc75071995c2f7451c45955113069cd7830132378c50dd4867c936bfd1c8cc9a2ac7d541e501d73f437228f1a87a9816c3e3806b2c8091046149592401
6
+ metadata.gz: c3955f31f044e3c2336b0c36405aefa007613b2eac05497f71334d6ffb502987229dc75a3745e4ff88d90c27a6dacb6d5b0c7cae138450e114d32919bd0fad07
7
+ data.tar.gz: fc06a67df5a3a0db798f7fb0b4354e79df41c74d2bf59aa36f77fb4e10a1b2ed8d2f58c91257ee3c47b34912574519886b5b972747a67b49cac08a54d48f53bc
@@ -0,0 +1,27 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ pull_request:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ name: Ruby ${{ matrix.ruby }}
14
+ strategy:
15
+ matrix:
16
+ ruby:
17
+ - '3.3.3'
18
+
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - name: Run the default task
27
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /rubocop/
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: single_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2015-11-26
4
+
5
+ - Initial release
6
+
7
+ ## [0.2.0] - 2024-09-18
8
+
9
+ - Update to Ruby v3.xx support
10
+ - Some code cleanup
data/CODE_OF_CONDUCT.md CHANGED
@@ -1,24 +1,30 @@
1
1
  # Contributor Code of Conduct
2
2
 
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute
4
- through reporting issues, posting feature requests, updating documentation, submitting pull requests
5
- or patches, and other activities.
3
+ As contributors and maintainers of this project, we pledge to respect all
4
+ people who contribute through reporting issues, posting feature requests,
5
+ updating documentation, submitting pull requests or patches, and other
6
+ activities.
6
7
 
7
- We are committed to making participation in this project a harassment-free experience for everyone,
8
- regardless of level of experience, gender, gender identity and expression, sexual orientation,
9
- disability, personal appearance, body size, race, ethnicity, age, or religion.
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion or political beliefs.
10
12
 
11
- Examples of unacceptable behavior by participants include the use of sexual language or imagery,
12
- derogatory comments or personal attacks, trolling, public or private harassment, insults, or other
13
- unprofessional conduct.
13
+ Examples of unacceptable behavior by participants include the use of sexual
14
+ language or imagery, derogatory comments or personal attacks, trolling, public
15
+ or private harassment, insults, or other unprofessional conduct.
14
16
 
15
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits,
16
- code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.
17
- Project maintainers who do not follow the Code of Conduct may be removed from the project team.
17
+ Project maintainers have the right and responsibility to remove, edit, or
18
+ reject comments, commits,code, wiki edits, issues, and other contributions
19
+ that are not aligned to this Code of Conduct.
18
20
 
19
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an
20
- issue or contacting one or more of the project maintainers.
21
+ Project maintainers who do not follow the Code of Conduct may be removed from
22
+ the project team.
21
23
 
22
- This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org),
23
- version 1.0.0, available at
24
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
25
+ reported by opening an issue or contacting one or more of the project
26
+ maintainers.
27
+
28
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org),
29
+ version 1.0.0, available at
24
30
  [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in minitest-assert_errors.gemspec
data/README.md CHANGED
@@ -1,25 +1,25 @@
1
1
  # Minitest::AssertErrors
2
2
 
3
- Adds Minitest assertions to test for errors raised or not raised by Minitest itself. Most **useful
4
- when testing other Minitest assertions** or as a shortcut to other tests.
3
+ Adds Minitest assertions to test for errors raised or not raised by Minitest
4
+ itself. Most **useful when testing other Minitest assertions** or as a
5
+ shortcut to other tests.
5
6
 
6
- **NOTE!!**
7
+ ## Added Methods
7
8
 
8
9
  Currently adds the following methods:
9
10
 
10
11
  ### Minitest::Assertions
11
12
 
12
- * **`:assert_have_error(expected_msg, klass = Minitest::Assertion, &blk)`**
13
+ - **`assert_have_error()`** - also aliased as **`assert_error_raised()`**
13
14
 
14
- * **`:assert_no_error(&blk)`** also aliased as **`:refute_error()`**
15
+ - **`assert_no_error()`** - also aliased as **`:refute_error()`**
15
16
 
16
- ### Minitest::Expectations
17
+ ### Minitest::Expectations - for use with Minitest::Spec
17
18
 
18
- * **actual.`must_have_error(expected_msg)`**
19
+ - **actual.`must_have_error(expected_msg)`**
19
20
 
20
- * **actual.`wont_have_error`**
21
+ - **actual.`wont_have_error`**
21
22
 
22
- <br>
23
23
  ---
24
24
 
25
25
  ## Installation
@@ -32,162 +32,165 @@ gem 'minitest-assert_errors'
32
32
 
33
33
  And then execute:
34
34
 
35
- $ bundle
35
+ ```bash
36
+ bundle
37
+ ```
36
38
 
37
39
  Or install it yourself as:
38
40
 
39
- $ gem install minitest-assert_errors
41
+ ```bash
42
+ gem install minitest-assert_errors
43
+ ```
40
44
 
41
45
  ## Usage
42
46
 
43
- Add the gem to your **Gemfile** or **.gemspec** file and then load the gem in your
47
+ Add the gem to your _Gemfile_ or _.gemspec_ file and then load the gem in your
44
48
  `(test|spec)_helper.rb` file as follows:
45
49
 
46
50
  ```ruby
47
51
  # <snip...>
48
-
52
+
49
53
  require 'minitest/autorun'
50
-
54
+
51
55
  require 'minitest/assert_errors'
52
-
56
+
53
57
  # <snip...>
54
58
  ```
55
59
 
56
- Adding the above to your `spec_helper.rb` file automatically adds the key helper methods to the
57
- `Minitest::Assertions` to test for Minitest errors raised or not raised within your tests.
60
+ Adding the above to your `spec_helper.rb` file automatically adds the key
61
+ helper methods to the `Minitest::Assertions` to test for Minitest errors
62
+ raised or not raised within your tests.
58
63
 
59
- <br>
64
+ ---
65
+
66
+ ## Examples
60
67
 
61
68
  ### `assert_have_error(expected_msg, klass = Minitest::Assertion, &blk)`
62
- &nbsp; -- also aliased as: `assert_error_raised()`
69
+
70
+ &nbsp; -- also aliased as: **`assert_error_raised()`**
63
71
 
64
72
  Assertion method to test for an error raised by Minitest
65
73
 
66
74
  ```ruby
67
- assert_have_error('error message') { assert(false, 'error message') }
68
-
75
+ assert_have_error('error message') { assert(false, 'error message') }
76
+
69
77
  # or
70
-
71
- proc {
72
- assert(false, 'error message')
78
+
79
+ proc {
80
+ assert(false, 'error message')
73
81
  }.must_have_error('error message')
74
-
75
- ```
76
82
 
77
- Produces a longer error message, combining the given error message with the default error message,
78
- when something is wrong.
83
+ ```
84
+
85
+ Produces a longer error message, combining the given error message with
86
+ the default error message, when something is wrong.
79
87
 
80
88
  **NOTE!** The expected error message can be a `String` or `Regexp`.
81
89
 
82
- ```ruby
90
+ ```ruby
83
91
  assert_have_error(/error message.+Actual:\s+\"b\"/m) do
84
92
  assert_equal('a','b', 'error message')
85
93
  end
86
-
94
+
87
95
  # or
88
-
89
- proc {
90
- assert_equal('a','b', 'error message')
96
+
97
+ proc {
98
+ assert_equal('a','b', 'error message')
91
99
  }.must_have_error(/error message.+Actual:\s+\"b\"/m)
92
100
  ```
93
101
 
94
- <br>
102
+ ---
95
103
 
96
104
  ### `assert_no_error(&blk)`
97
- &nbsp; -- also aliased as: `refute_error()` or `refute_error_raised()` or `assert_no_error_raised()`
98
105
 
99
-
106
+ &nbsp; -- also aliased as: **`refute_error()`** or **`refute_error_raised()`** or
107
+ **`assert_no_error_raised()`**
108
+
100
109
  Assertion method to test for no error being raised by Minitest test.
101
110
 
102
111
  ```ruby
103
112
  assert_no_error() { assert(true, 'error message') }
104
-
113
+
105
114
  # or
106
-
115
+
107
116
  proc { assert(true) }.wont_have_error
108
117
  ```
109
-
110
- Produces a longer error message, combining the given error message with the default error message,
111
- when something is wrong.
118
+
119
+ Produces a longer error message, combining the given error message with the
120
+ default error message, when something is wrong.
112
121
 
113
122
  **NOTE!** The expected error message can be a `String` or `Regexp`.
114
-
123
+
115
124
  ```ruby
116
125
  assert_no_error { assert_equal('a', :a, 'error message') }
117
-
126
+
118
127
  #=> "error message.\nExpected: \"a\"\n Actual: :a"
119
128
 
120
- proc {
121
- assert_equal('a', :a, 'error message')
129
+ proc {
130
+ assert_equal('a', :a, 'error message')
122
131
  }.wont_have_error
123
-
132
+
124
133
  #=> "error message.\nExpected: \"a\"\n Actual: :a"
125
134
  ```
126
135
 
127
- <br>
128
- ---
129
-
130
136
  ## Dependencies
131
137
 
132
138
  This Gem depends upon the following:
133
139
 
134
- ### Runtime:
135
-
136
- * minitest
140
+ ### Runtime
137
141
 
138
- ### Development & Tests:
142
+ - minitest
139
143
 
140
- * bundler (~> 1.10)
141
- * rake (~> 10.0)
142
- * minitest-rg
144
+ ### Development & Tests
143
145
 
144
- * simplecov [optional]
145
- * rubocop [optional]
146
-
147
- <br>
146
+ - bundler (~> 1.10)
147
+ - rake (~> 10.0)
148
+ - minitest-rg
148
149
 
150
+ - simplecov [optional]
151
+ - rubocop [optional]
149
152
 
153
+ ---
150
154
 
151
155
  ## Contributing
152
156
 
153
- Bug reports and pull requests are welcome on [GitHub](https://github.com/kematzy/minitest-have_tag).
157
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/kematzy/minitest-assert_errors).
154
158
 
155
- This project is intended to be a safe, welcoming space for collaboration, and contributors are
156
- expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
157
-
158
- <br>
159
+ This project is intended to be a safe, welcoming space for collaboration,
160
+ and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org)
161
+ code of conduct.
159
162
 
163
+ ---
160
164
 
161
165
  ## Note on Patches/Pull Requests
162
-
163
- * Fork the project.
164
- * Make your feature addition or bug fix in a separate branch.
165
- * Add spec tests for it. This is important so I don't break it in a future version unintentionally.
166
- * Commit, do not mess with Rakefile, version, or history.
167
- * (if you want to have your own version, that is fine but bump version in a commit by itself
168
- I can ignore when I pull)
169
- * Send me a pull request. Bonus points for topic branches.
170
166
 
167
+ - Fork the project.
168
+ - Make your feature addition or bug fix in a separate branch.
169
+ - Add spec tests for it. This is important so I don't break it in a future
170
+ version unintentionally.
171
+ - Commit, do not mess with Rakefile, version, or history.
172
+ - (if you want to have your own version, that is fine but bump version
173
+ in a commit by itself I can ignore when I pull)
174
+ - Send me a pull request. Bonus points for topic branches.
171
175
 
172
- <br>
176
+ ---
173
177
 
174
178
  ## Development
175
179
 
176
- After checking out the repo, run `bundle install` to install dependencies. Then, run
177
- `bundle exec rake spec` to run the tests.
178
-
179
- To install this gem onto your local machine, run `bundle exec rake install`.
180
+ After checking out the repo, run `bundle install` to install dependencies.
181
+ Then, run `bundle exec rake spec` to run the tests.
180
182
 
181
- To release a new version, update the version number in `version.rb`, and then run
182
- `bundle exec rake release`, which will create a git tag for the version, push git commits and tags,
183
- and push the `.gem` file to [rubygems.org](https://rubygems.org).
183
+ To install this gem onto your local machine, run `bundle exec rake install`.
184
184
 
185
- <br>
185
+ To release a new version, update the version number in `version.rb`, and
186
+ then run `bundle exec rake release`, which will create a git tag for the
187
+ version, push git commits and tags, and push the `.gem` file to
188
+ [rubygems.org](https://rubygems.org).
186
189
 
190
+ ---
187
191
 
188
192
  ## Copyright
189
193
 
190
194
  Copyright (c) 2015 Kematzy
191
195
 
192
196
  Released under the MIT License. See LICENSE for further details.
193
-
data/Rakefile CHANGED
@@ -1,3 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ OSX = RUBY_PLATFORM.match(/darwin/)
4
+
1
5
  require 'bundler/gem_tasks'
2
6
  require 'rake/testtask'
3
7
 
@@ -7,17 +11,22 @@ Rake::TestTask.new(:spec) do |t|
7
11
  t.test_files = FileList['spec/**/*_spec.rb']
8
12
  end
9
13
 
10
- task :default => :spec
14
+ task default: :spec
11
15
 
12
16
  desc 'Run specs with coverage'
13
17
  task :coverage do
14
18
  ENV['COVERAGE'] = '1'
15
19
  Rake::Task['spec'].invoke
16
- # `open coverage/index.html` # if OSX
20
+ `open coverage/index.html` if OSX
17
21
  end
18
22
 
19
23
  desc 'Run Rubocop report'
20
24
  task :rubocop do
21
- `rubocop -f html -o ./Rubocop-report.html lib/`
22
- # `open Rubocop-report.html` # if OSX
25
+ res = `which rubocop`
26
+ if res != ''
27
+ `rubocop -f html -o ./rubocop/report.html lib/`
28
+ `open rubocop/report.html` if OSX
29
+ else
30
+ puts "\nERROR: 'rubocop' gem is not installed or available. Please install with 'gem install rubocop'."
31
+ end
23
32
  end
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "minitest/assert_errors"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -1,8 +1,7 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Minitest
3
-
4
4
  module AssertErrors
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
-
8
7
  end
@@ -1,32 +1,33 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'minitest'
2
4
  require 'minitest/assert_errors/version'
3
5
 
4
6
  # reopening to add additional functionality
5
7
  module Minitest::Assertions
6
-
7
8
  # Assertion method to test for an error raised by Minitest
8
- #
9
+ #
9
10
  # assert_have_error('error message') { assert(false, 'error message') }
10
- #
11
+ #
11
12
  # proc { assert(false, 'error message') }.must_have_error('error message')
12
- #
13
- #
14
- # Produces an extensive error message, combining the given error message with the default error
15
- # message, when something is wrong.
16
- #
13
+ #
14
+ #
15
+ # Produces an extensive error message, combining the given error message with the default error
16
+ # message, when something is wrong.
17
+ #
17
18
  # <b>NOTE!</b> The expected error message can be a +String+ or +Regexp+.
18
- #
19
+ #
19
20
  # assert_have_error(/error message.+Actual:\s+\"b\"/m) do
20
21
  # assert_equal('a','b', 'error message')
21
22
  # end
22
- #
23
+ #
23
24
  # # or
24
- #
25
- # proc {
26
- # assert_equal('a','b', 'error message')
25
+ #
26
+ # proc {
27
+ # assert_equal('a','b', 'error message')
27
28
  # }.must_have_error(/error message.+Actual:\s+\"b\"/m)
28
- #
29
- #
29
+ #
30
+ #
30
31
  def assert_have_error(expected_msg, klass = Minitest::Assertion, &blk)
31
32
  e = assert_raises(klass) do
32
33
  yield(blk) if block_given?
@@ -34,39 +35,37 @@ module Minitest::Assertions
34
35
  assert_match(expected_msg, e.message) if expected_msg.is_a?(Regexp)
35
36
  assert_equal(expected_msg, e.message) if expected_msg.is_a?(String)
36
37
  end
37
- alias_method :assert_error_raised, :assert_have_error
38
+ alias assert_error_raised assert_have_error
38
39
  # backwards compat. DO NOT USE!
39
- alias_method :assert_returns_error, :assert_have_error
40
-
41
-
40
+ alias assert_returns_error assert_have_error
41
+
42
42
  # Assertion method to test for no error being raised by Minitest
43
- #
43
+ #
44
44
  # assert_no_error() { assert(true, 'error message') }
45
- #
45
+ #
46
46
  # proc { assert(true) }.wont_have_error
47
- #
48
- # Produces an extensive error message, combining the given error message with the default error
49
- # message, when something is wrong.
50
- #
47
+ #
48
+ # Produces an extensive error message, combining the given error message with the default error
49
+ # message, when something is wrong.
50
+ #
51
51
  # <b>NOTE!</b> The expected error message can be a +String+ or +Regexp+.
52
- #
52
+ #
53
53
  # assert_no_error { assert_equal('a', :a, 'error message') }
54
54
  # #=> "error message.\nExpected: \"a\"\n Actual: :a"
55
- #
56
- # proc {
57
- # assert_equal('a', :a, 'error message')
55
+ #
56
+ # proc {
57
+ # assert_equal('a', :a, 'error message')
58
58
  # }.wont_have_error
59
59
  # #=> "error message.\nExpected: \"a\"\n Actual: :a"
60
- #
60
+ #
61
61
  def assert_no_error(&blk)
62
- e = assert_silent do
62
+ assert_silent do
63
63
  yield(blk) if block_given?
64
64
  end
65
65
  end
66
- alias_method :refute_error, :assert_no_error
67
- alias_method :refute_error_raised, :assert_no_error
68
- alias_method :assert_no_error_raised, :assert_no_error
69
-
66
+ alias refute_error assert_no_error
67
+ alias refute_error_raised assert_no_error
68
+ alias assert_no_error_raised assert_no_error
70
69
  end
71
70
 
72
71
  # add support for Spec syntax
@@ -1,6 +1,8 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
4
6
  require 'minitest/assert_errors/version'
5
7
 
6
8
  Gem::Specification.new do |spec|
@@ -9,10 +11,12 @@ Gem::Specification.new do |spec|
9
11
  spec.authors = ['Kematzy']
10
12
  spec.email = ['kematzy@gmail.com']
11
13
 
12
- spec.summary = %q{Adds Minitest assertions to test for errors raised or not raised by Minitest itself}
13
- spec.description = %q{Adds Minitest assertions to test for errors raised or not raised by Minitest itself. Most useful when testing other Minitest assertions.}
14
+ spec.summary = 'Adds Minitest assertions to test for errors raised or not raised by Minitest itself'
15
+ spec.description = 'Adds Minitest assertions to test for errors raised or not \
16
+ raised by Minitest itself. Most useful when testing other Minitest assertions.'
14
17
  spec.homepage = 'https://github.com/kematzy/minitest-assert_errors'
15
18
  spec.license = 'MIT'
19
+ spec.required_ruby_version = '>= 3.0.0'
16
20
 
17
21
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
22
  # delete this section to allow pushing this gem to any host.
@@ -28,14 +32,12 @@ Gem::Specification.new do |spec|
28
32
  spec.require_paths = ['lib']
29
33
 
30
34
  spec.add_runtime_dependency 'minitest'
31
-
32
35
 
33
- spec.add_development_dependency 'bundler', '~> 1.10'
34
- spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'bundler', '>= 2.5'
37
+ spec.add_development_dependency 'rake', '>= 10.0'
35
38
  # spec.add_development_dependency 'minitest'
36
39
  spec.add_development_dependency 'minitest-rg'
37
40
 
38
- spec.add_development_dependency 'simplecov'
39
41
  spec.add_development_dependency 'rubocop'
40
-
42
+ spec.add_development_dependency 'simplecov'
41
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-assert_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kematzy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -28,28 +28,28 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.10'
33
+ version: '2.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.10'
40
+ version: '2.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: simplecov
70
+ name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rubocop
84
+ name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -94,21 +94,26 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: Adds Minitest assertions to test for errors raised or not raised by Minitest
98
- itself. Most useful when testing other Minitest assertions.
97
+ description: |-
98
+ Adds Minitest assertions to test for errors raised or not \
99
+ raised by Minitest itself. Most useful when testing other Minitest assertions.
99
100
  email:
100
101
  - kematzy@gmail.com
101
102
  executables: []
102
103
  extensions: []
103
104
  extra_rdoc_files: []
104
105
  files:
106
+ - ".github/workflows/main.yml"
105
107
  - ".gitignore"
106
- - ".travis.yml"
108
+ - ".rubocop.yml"
109
+ - CHANGELOG.md
107
110
  - CODE_OF_CONDUCT.md
108
111
  - Gemfile
109
112
  - LICENSE.txt
110
113
  - README.md
111
114
  - Rakefile
115
+ - bin/console
116
+ - bin/setup
112
117
  - lib/minitest/assert_errors.rb
113
118
  - lib/minitest/assert_errors/version.rb
114
119
  - minitest-assert_errors.gemspec
@@ -116,7 +121,7 @@ homepage: https://github.com/kematzy/minitest-assert_errors
116
121
  licenses:
117
122
  - MIT
118
123
  metadata: {}
119
- post_install_message:
124
+ post_install_message:
120
125
  rdoc_options: []
121
126
  require_paths:
122
127
  - lib
@@ -124,16 +129,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
129
  requirements:
125
130
  - - ">="
126
131
  - !ruby/object:Gem::Version
127
- version: '0'
132
+ version: 3.0.0
128
133
  required_rubygems_version: !ruby/object:Gem::Requirement
129
134
  requirements:
130
135
  - - ">="
131
136
  - !ruby/object:Gem::Version
132
137
  version: '0'
133
138
  requirements: []
134
- rubyforge_project:
135
- rubygems_version: 2.4.5
136
- signing_key:
139
+ rubygems_version: 3.5.11
140
+ signing_key:
137
141
  specification_version: 4
138
142
  summary: Adds Minitest assertions to test for errors raised or not raised by Minitest
139
143
  itself
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.2
4
- before_install: gem install bundler -v 1.10.3