minitest-keyword 1.0.0 → 1.0.2

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: 4aed7685063ddba46ffee74bf622edbd0f6a7146fedfe45cc13e59e4a6d986c4
4
- data.tar.gz: 726bd9ed6d71b31f0620f673ef857a4ffbc1590c827ed52c849f0f78b9d49ee0
3
+ metadata.gz: 70d8098146612cfca7688027b68ad119cec7304cf2d57e4a53917d1c6768de4b
4
+ data.tar.gz: e42b3dc2b49e40ce56fd354cba7bf00de356c9204e9e4bdf1819db86ad47a9d3
5
5
  SHA512:
6
- metadata.gz: 0a5bfb013c016b9ff7eb4c6bb54437a684dfeecfe421baac9db19ff6f0fb62c2c2234dcdca5d8c41c579fb5881022622c4bf27b48e859a6000a6262f844eaf5a
7
- data.tar.gz: 437e24403249041deaae6cb2c631b74107e66b0ace75dbfd97647c7a168d40bf0a7de6ad8843015062878b91e7d19cf3d8e60fff6211121f97e6d012c1202c89
6
+ metadata.gz: bfbf23bf6c7e1d70c39b67280c48eb5384133af034f6da161a4fd1e7dc6a8bf9cf1661d73eee722779cad1a755e743f1490c01d1a51584340697a87dcca7719e
7
+ data.tar.gz: 96ee9c50998942a3b4f9f3c7f2dca57b9373efe73d13899866c8e1ba3eb6f68e3e3f954b34bd4125dca89dace6edf4e42df6d7e93b47eaba3cae68270586e913
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
7
+ - package-ecosystem: "github-actions"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "daily"
@@ -0,0 +1,22 @@
1
+ name: Dependabot auto-merge
2
+ on: pull_request
3
+
4
+ permissions:
5
+ contents: write
6
+ pull-requests: write
7
+
8
+ jobs:
9
+ dependabot:
10
+ runs-on: ubuntu-latest
11
+ if: ${{ github.actor == 'dependabot[bot]' }}
12
+ steps:
13
+ - name: Dependabot metadata
14
+ id: metadata
15
+ uses: dependabot/fetch-metadata@v1.6.0
16
+ with:
17
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
18
+ - name: Enable auto-merge for Dependabot PRs
19
+ run: gh pr merge --auto --merge "$PR_URL"
20
+ env:
21
+ PR_URL: ${{github.event.pull_request.html_url}}
22
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -0,0 +1,23 @@
1
+ name: Main
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ ci:
9
+ name: CI
10
+ runs-on: ubuntu-latest
11
+ env:
12
+ CI: true
13
+ steps:
14
+ - uses: actions/checkout@master
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: '3.2'
18
+ bundler-cache: true
19
+ - name: Lint and test
20
+ run: |
21
+ bundle exec rake stree:check
22
+ bundle exec rubocop --parallel
23
+ bundle exec rake test
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/.rubocop.yml CHANGED
@@ -1,6 +1,47 @@
1
+ inherit_gem:
2
+ syntax_tree: config/rubocop.yml
3
+
1
4
  AllCops:
2
5
  DisplayCopNames: true
3
6
  DisplayStyleGuide: true
4
- TargetRubyVersion: 2.6
7
+ NewCops: enable
8
+ SuggestExtensions: false
9
+ TargetRubyVersion: 2.7
5
10
  Exclude:
6
- - 'vendor/**/*'
11
+ - '{tmp,vendor,yard}/**/*'
12
+
13
+ Gemspec/DevelopmentDependencies:
14
+ Enabled: false
15
+
16
+ Gemspec/RequiredRubyVersion:
17
+ Enabled: false
18
+
19
+ Metrics/BlockLength:
20
+ Enabled: false
21
+
22
+ Metrics/MethodLength:
23
+ Enabled: false
24
+
25
+ Layout/LineLength:
26
+ Max: 80
27
+
28
+ Lint/AmbiguousBlockAssociation:
29
+ Enabled: false
30
+
31
+ Naming/RescuedExceptionsVariableName:
32
+ Enabled: false
33
+
34
+ Style/Documentation:
35
+ Enabled: false
36
+
37
+ Style/FormatString:
38
+ EnforcedStyle: percent
39
+
40
+ Style/FormatStringToken:
41
+ Enabled: false
42
+
43
+ Style/PerlBackrefs:
44
+ Enabled: false
45
+
46
+ Style/SlicingWithRange:
47
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -6,9 +6,25 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.2] - 2024-01-23
10
+
11
+ ### Changed
12
+
13
+ - Support keyword arguments for `assert_respond_to` and `refute_respond_to`.
14
+
15
+ ## [1.0.1] - 2021-11-17
16
+
17
+ ### Changed
18
+
19
+ - Require MFA for releasing.
20
+
9
21
  ## [1.0.0] - 2019-01-06
22
+
10
23
  ### Changed
11
- - The name of the underlying parameter changed for `assert_in_epsilon` from `a` and `b` to `exp` and `act`. As such in order to normalize, those were aliased to `expected` and `actual` as well.
12
24
 
13
- [Unreleased]: https://github.com/CultureHQ/client/compare/v1.0.0...HEAD
14
- [1.0.0]: https://github.com/CultureHQ/client/compare/v0.0.2...v1.0.0
25
+ - The name of the underlying parameter changed for `assert_in_epsilon` from `a` and `b` to `exp` and `act`. As such, in order to normalize, those were aliased to `expected` and `actual` as well.
26
+
27
+ [unreleased]: https://github.com/kddnewton/minitest-keyword/compare/v1.0.2...HEAD
28
+ [1.0.2]: https://github.com/kddnewton/minitest-keyword/compare/v1.0.1...v1.0.2
29
+ [1.0.1]: https://github.com/kddnewton/minitest-keyword/compare/v1.0.0...v1.0.1
30
+ [1.0.0]: https://github.com/kddnewton/minitest-keyword/compare/846f1f...v1.0.0
@@ -0,0 +1,76 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kddnewton@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- source 'https://rubygems.org'
3
+ source "https://rubygems.org"
4
4
 
5
5
  gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,61 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ minitest-keyword (1.0.2)
5
+ minitest (~> 5.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ docile (1.4.0)
12
+ json (2.7.1)
13
+ language_server-protocol (3.17.0.3)
14
+ minitest (5.21.1)
15
+ parallel (1.24.0)
16
+ parser (3.3.0.3)
17
+ ast (~> 2.4.1)
18
+ racc
19
+ prettier_print (1.2.1)
20
+ racc (1.7.3)
21
+ rainbow (3.1.1)
22
+ rake (13.1.0)
23
+ regexp_parser (2.9.0)
24
+ rexml (3.2.6)
25
+ rubocop (1.59.0)
26
+ json (~> 2.3)
27
+ language_server-protocol (>= 3.17.0)
28
+ parallel (~> 1.10)
29
+ parser (>= 3.2.2.4)
30
+ rainbow (>= 2.2.2, < 4.0)
31
+ regexp_parser (>= 1.8, < 3.0)
32
+ rexml (>= 3.2.5, < 4.0)
33
+ rubocop-ast (>= 1.30.0, < 2.0)
34
+ ruby-progressbar (~> 1.7)
35
+ unicode-display_width (>= 2.4.0, < 3.0)
36
+ rubocop-ast (1.30.0)
37
+ parser (>= 3.2.1.0)
38
+ ruby-progressbar (1.13.0)
39
+ simplecov (0.22.0)
40
+ docile (~> 1.1)
41
+ simplecov-html (~> 0.11)
42
+ simplecov_json_formatter (~> 0.1)
43
+ simplecov-html (0.12.3)
44
+ simplecov_json_formatter (0.1.4)
45
+ syntax_tree (6.2.0)
46
+ prettier_print (>= 1.2.0)
47
+ unicode-display_width (2.5.0)
48
+
49
+ PLATFORMS
50
+ ruby
51
+
52
+ DEPENDENCIES
53
+ bundler (~> 2.0)
54
+ minitest-keyword!
55
+ rake (~> 13.0)
56
+ rubocop (~> 1.12)
57
+ simplecov (~> 0.17)
58
+ syntax_tree
59
+
60
+ BUNDLED WITH
61
+ 2.4.1
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 Kevin Deisz
3
+ Copyright (c) 2017-present Kevin Newton
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,7 +1,7 @@
1
1
  # Minitest::Keyword
2
2
 
3
- [![Build Status](https://travis-ci.org/kddeisz/minitest-keyword.svg?branch=master)](https://travis-ci.org/kddeisz/minitest-keyword)
4
- [![Gem](https://img.shields.io/gem/v/minitest-keyword.svg)](https://rubygems.org/gems/minitest-keyword)
3
+ [![Build Status](https://github.com/kddnewton/minitest-keyword/workflows/Main/badge.svg)](https://github.com/kddnewton/minitest-keyword/actions)
4
+ [![Gem Version](https://img.shields.io/gem/v/minitest-keyword.svg)](https://rubygems.org/gems/minitest-keyword)
5
5
 
6
6
  A small gem for allowing you to use Minitest assertions with keyword arguments. No longer worry about remembering the order of arguments!
7
7
 
@@ -10,7 +10,7 @@ A small gem for allowing you to use Minitest assertions with keyword arguments.
10
10
  Add this line to your application's Gemfile:
11
11
 
12
12
  ```ruby
13
- gem 'minitest-keyword'
13
+ gem "minitest-keyword"
14
14
  ```
15
15
 
16
16
  And then execute:
@@ -23,16 +23,16 @@ Or install it yourself as:
23
23
 
24
24
  ## Usage
25
25
 
26
- Add `require 'minitest/keyword'` to your `test_helper.rb` script. In your tests you will now be able to change your assertions from:
26
+ Add `require "minitest/keyword"` to your `test_helper.rb` script. In your tests you will now be able to change your assertions from:
27
27
 
28
28
  ```ruby
29
- assert_equal 'foo', foo.inspect
29
+ assert_equal "foo", foo.inspect
30
30
  ```
31
31
 
32
32
  to:
33
33
 
34
34
  ```ruby
35
- assert_equal expected: 'foo', actual: foo.inspect
35
+ assert_equal expected: "foo", actual: foo.inspect
36
36
  ```
37
37
 
38
38
  All of the standard Minitest assertions can now be used with keyword arguments. Note that this gem is still backwards-compatible with Minitest itself, so your existing tests won't break.
@@ -88,7 +88,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
88
88
 
89
89
  ## Contributing
90
90
 
91
- Bug reports and pull requests are welcome on GitHub at https://github.com/kddeisz/minitest-keyword.
91
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/minitest-keyword.
92
92
 
93
93
  ## License
94
94
 
data/Rakefile CHANGED
@@ -1,12 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+ require "syntax_tree/rake_tasks"
5
6
 
6
7
  Rake::TestTask.new(:test) do |t|
7
- t.libs << 'test'
8
- t.libs << 'lib'
9
- t.test_files = FileList['test/**/*_test.rb']
8
+ t.libs << "test"
9
+ t.libs << "lib"
10
+ t.test_files = FileList["test/**/*_test.rb"]
10
11
  end
11
12
 
12
13
  task default: :test
14
+
15
+ configure = ->(task) do
16
+ task.source_files =
17
+ FileList[%w[Gemfile Rakefile *.gemspec lib/**/*.rb test/**/*.rb]]
18
+ end
19
+
20
+ SyntaxTree::Rake::CheckTask.new(&configure)
21
+ SyntaxTree::Rake::WriteTask.new(&configure)
data/bin/console CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require 'bundler/setup'
5
- require 'minitest/keyword'
4
+ require "bundler/setup"
5
+ require "minitest/keyword"
6
6
 
7
- require 'irb'
7
+ require "irb"
8
8
  IRB.start(__FILE__)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Minitest
4
4
  module Keyword
5
- VERSION = '1.0.0'
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'minitest'
4
- require 'minitest/keyword/version'
3
+ require "minitest"
4
+ require "minitest/keyword/version"
5
5
 
6
6
  module Minitest
7
7
  # The module containing overridden assertion methods that will be prepended
@@ -24,8 +24,10 @@ module Minitest
24
24
  # keyword arguments
25
25
  class OverloadedArgumentError < ArgumentError
26
26
  def initialize(method_name, argument_name)
27
- super('Cannot specify keyword argument and pass regular argument to ' \
28
- "#{method_name} for argument #{argument_name}")
27
+ super(
28
+ "Cannot specify keyword argument and pass regular argument to " \
29
+ "#{method_name} for argument #{argument_name}"
30
+ )
29
31
  end
30
32
  end
31
33
 
@@ -33,44 +35,59 @@ module Minitest
33
35
  # regular argument or a keyword argument
34
36
  class MissingRequiredArgumentError < ArgumentError
35
37
  def initialize(method_name, argument_name)
36
- super("You must specify a value for the #{argument_name} argument " \
37
- "for the #{method_name} assertion")
38
+ super(
39
+ "You must specify a value for the #{argument_name} argument " \
40
+ "for the #{method_name} assertion"
41
+ )
38
42
  end
39
43
  end
40
44
 
41
- Assertions.instance_methods.grep(/assert|refute/).each do |method_name|
42
- parameters = Assertions.instance_method(method_name).parameters
43
- next if parameters.empty?
45
+ Assertions
46
+ .instance_methods
47
+ .grep(/assert|refute/)
48
+ .each do |method_name|
49
+ parameters = Assertions.instance_method(method_name).parameters
50
+ next if parameters.empty?
44
51
 
45
- # rubocop:disable Metrics/MethodLength
46
- define_method(method_name) do |*args, **kwargs, &block|
47
- passed_params = []
52
+ define_method(method_name) do |*args, **kwargs, &block|
53
+ passed_args = []
54
+ passed_kwargs = {}
48
55
 
49
- parameters.each.with_index do |(type, arg_name), index|
50
- if args.length > index &&
51
- (kwargs.key?(arg_name) || kwargs.key?(ALIASES[arg_name]))
52
- raise OverloadedArgumentError.new(method_name, arg_name)
53
- end
56
+ parameters.each.with_index do |(type, arg_name), index|
57
+ if args.length > index &&
58
+ (kwargs.key?(arg_name) || kwargs.key?(ALIASES[arg_name]))
59
+ raise OverloadedArgumentError.new(method_name, arg_name)
60
+ end
54
61
 
55
- if type == :req && args.length <= index &&
56
- !kwargs.key?(arg_name) && !kwargs.key?(ALIASES[arg_name])
57
- raise MissingRequiredArgumentError.new(method_name, arg_name)
58
- end
62
+ if type == :req && args.length <= index && !kwargs.key?(arg_name) &&
63
+ !kwargs.key?(ALIASES[arg_name])
64
+ raise MissingRequiredArgumentError.new(method_name, arg_name)
65
+ end
59
66
 
60
- if type == :rest && args.any?
61
- passed_params += args[index..-1]
62
- elsif type == :rest
63
- passed_params += (kwargs[arg_name] || kwargs[ALIASES[arg_name]])
64
- else
65
- passed_params <<
66
- (args[index] || kwargs[arg_name] || kwargs[ALIASES[arg_name]])
67
+ case type
68
+ when :rest
69
+ passed_args +=
70
+ if args.any?
71
+ args[index..-1]
72
+ else
73
+ kwargs[arg_name] || kwargs[ALIASES[arg_name]]
74
+ end
75
+ when :key
76
+ passed_kwargs[arg_name] = (
77
+ kwargs[arg_name] || kwargs[ALIASES[arg_name]]
78
+ )
79
+ when :req, :opt
80
+ passed_args << (
81
+ args[index] || kwargs[arg_name] || kwargs[ALIASES[arg_name]]
82
+ )
83
+ else
84
+ raise "Unknown parameter type #{type}"
85
+ end
67
86
  end
68
- end
69
87
 
70
- super(*passed_params, &block)
88
+ super(*passed_args, **passed_kwargs, &block)
89
+ end
71
90
  end
72
- end
73
- # rubocop:enable Metrics/MethodLength
74
91
  end
75
92
 
76
93
  # Hook into the Minitest::Test class and prepend the Keyword module
@@ -1,30 +1,40 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'minitest/keyword/version'
3
+ require_relative "lib/minitest/keyword/version"
4
+
5
+ version = Minitest::Keyword::VERSION
6
+ repository = "https://github.com/kddnewton/minitest-keyword"
6
7
 
7
8
  Gem::Specification.new do |spec|
8
- spec.name = 'minitest-keyword'
9
- spec.version = Minitest::Keyword::VERSION
10
- spec.authors = ['Kevin Deisz']
11
- spec.email = ['kevin.deisz@gmail.com']
12
-
13
- spec.summary = 'Use Minitest assertions with keyword arguments'
14
- spec.homepage = 'https://github.com/kddeisz/minitest-keyword'
15
- spec.license = 'MIT'
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
- f.match(%r{^(test|spec|features)/})
19
- end
20
- spec.bindir = 'exe'
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- spec.require_paths = ['lib']
23
-
24
- spec.add_dependency 'minitest', '~> 5.0'
25
-
26
- spec.add_development_dependency 'bundler', '~> 2.0'
27
- spec.add_development_dependency 'rake', '~> 12.3'
28
- spec.add_development_dependency 'rubocop', '~> 0.62'
29
- spec.add_development_dependency 'simplecov', '~> 0.15'
9
+ spec.name = "minitest-keyword"
10
+ spec.version = version
11
+ spec.authors = ["Kevin Newton"]
12
+ spec.email = ["kddnewton@gmail.com"]
13
+
14
+ spec.summary = "Use Minitest assertions with keyword arguments"
15
+ spec.homepage = repository
16
+ spec.license = "MIT"
17
+
18
+ spec.metadata = {
19
+ "bug_tracker_uri" => "#{repository}/issues",
20
+ "changelog_uri" => "#{repository}/blob/v#{version}/CHANGELOG.md",
21
+ "source_code_uri" => repository,
22
+ "rubygems_mfa_required" => "true"
23
+ }
24
+
25
+ spec.files =
26
+ `git ls-files -z`.split("\x0")
27
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
28
+
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_dependency "minitest", "~> 5.0"
34
+
35
+ spec.add_development_dependency "bundler", "~> 2.0"
36
+ spec.add_development_dependency "rake", "~> 13.0"
37
+ spec.add_development_dependency "rubocop", "~> 1.12"
38
+ spec.add_development_dependency "simplecov", "~> 0.17"
39
+ spec.add_development_dependency "syntax_tree"
30
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-keyword
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Kevin Deisz
8
- autorequire:
7
+ - Kevin Newton
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-06 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -44,54 +44,72 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.3'
47
+ version: '13.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
- version: '12.3'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.62'
61
+ version: '1.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.62'
68
+ version: '1.12'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.15'
75
+ version: '0.17'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.15'
83
- description:
82
+ version: '0.17'
83
+ - !ruby/object:Gem::Dependency
84
+ name: syntax_tree
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description:
84
98
  email:
85
- - kevin.deisz@gmail.com
99
+ - kddnewton@gmail.com
86
100
  executables: []
87
101
  extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
104
+ - ".github/dependabot.yml"
105
+ - ".github/workflows/auto-merge.yml"
106
+ - ".github/workflows/main.yml"
90
107
  - ".gitignore"
91
108
  - ".rubocop.yml"
92
- - ".travis.yml"
93
109
  - CHANGELOG.md
110
+ - CODE_OF_CONDUCT.md
94
111
  - Gemfile
112
+ - Gemfile.lock
95
113
  - LICENSE
96
114
  - README.md
97
115
  - Rakefile
@@ -100,11 +118,15 @@ files:
100
118
  - lib/minitest/keyword.rb
101
119
  - lib/minitest/keyword/version.rb
102
120
  - minitest-keyword.gemspec
103
- homepage: https://github.com/kddeisz/minitest-keyword
121
+ homepage: https://github.com/kddnewton/minitest-keyword
104
122
  licenses:
105
123
  - MIT
106
- metadata: {}
107
- post_install_message:
124
+ metadata:
125
+ bug_tracker_uri: https://github.com/kddnewton/minitest-keyword/issues
126
+ changelog_uri: https://github.com/kddnewton/minitest-keyword/blob/v1.0.2/CHANGELOG.md
127
+ source_code_uri: https://github.com/kddnewton/minitest-keyword
128
+ rubygems_mfa_required: 'true'
129
+ post_install_message:
108
130
  rdoc_options: []
109
131
  require_paths:
110
132
  - lib
@@ -119,8 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
141
  - !ruby/object:Gem::Version
120
142
  version: '0'
121
143
  requirements: []
122
- rubygems_version: 3.0.1
123
- signing_key:
144
+ rubygems_version: 3.4.1
145
+ signing_key:
124
146
  specification_version: 4
125
147
  summary: Use Minitest assertions with keyword arguments
126
148
  test_files: []
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- language: ruby
2
- rvm: 2.6.0
3
- branches:
4
- only: master
5
- before_install:
6
- - gem install bundler
7
- script:
8
- - bundle exec rake
9
- - bundle exec rubocop
10
- cache: bundler