rspec_n 1.4.0 → 1.5.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 +4 -4
- data/.github/workflows/check_pull_request.yml +54 -0
- data/.rubocop.yml +11 -1
- data/CHANGELOG.md +9 -3
- data/Gemfile +4 -0
- data/LICENSE.md +6 -6
- data/README.md +33 -22
- data/Rakefile +2 -2
- data/bin/console +3 -4
- data/exe/rspec_n +11 -10
- data/lib/rspec_n/helpers/arguments_helper.rb +26 -0
- data/lib/rspec_n/version.rb +1 -1
- data/rspec_n.gemspec +2 -5
- metadata +6 -19
- data/.travis.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d531fc0cb07d13bf1700f6809c0566cc72dfe887af684b5493821a1d60e0956
|
4
|
+
data.tar.gz: 6bfe142183b285877bb067b1049bcc02139050d69ea123352904db52b34cfce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab882b6d984ef3565d26c4d72357802a6daf058374c175e10b267f1bfcfb825e50f4ddcbda66d96dbebadeeecee7d4ac2f4c89d53276b217804436adbc300ef6
|
7
|
+
data.tar.gz: 681e5b4f42152b285174535231ef0d07054fefa57c9fcbabdc1e23ad466ebcf3d8e84dd5829afd8b91db733636fd9d6e50b5d4986d99493b17122a6406a8092b
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# This workflow will download prebuilt Ruby versions, install dependencies and run checks against Pull Requests.
|
2
|
+
|
3
|
+
name: Check Pull Request
|
4
|
+
on:
|
5
|
+
pull_request:
|
6
|
+
branches: [ master ]
|
7
|
+
env:
|
8
|
+
# The pull request can have less than, or equal to, this number of rubocop issues and pass.
|
9
|
+
RUBOCOP_ISSUE_THRESHOLD: 5
|
10
|
+
jobs:
|
11
|
+
rspec:
|
12
|
+
name: Run RSpec
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version: ['2.7', '3.0', '3.1']
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- name: Set up Ruby
|
20
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
21
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby-version }}
|
25
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
26
|
+
- name: Execute rspec command
|
27
|
+
run: bundle exec rspec
|
28
|
+
rubocop:
|
29
|
+
name: Run Rubocop
|
30
|
+
runs-on: ubuntu-latest
|
31
|
+
strategy:
|
32
|
+
matrix:
|
33
|
+
ruby-version: ['2.7']
|
34
|
+
steps:
|
35
|
+
- uses: actions/checkout@v2
|
36
|
+
- name: Set up Ruby
|
37
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
38
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
39
|
+
uses: ruby/setup-ruby@v1
|
40
|
+
with:
|
41
|
+
ruby-version: ${{ matrix.ruby-version }}
|
42
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
43
|
+
- name: Execute rubo command
|
44
|
+
run: bundle exec rubo
|
45
|
+
- name: Evaluate rubo threshold
|
46
|
+
run: |
|
47
|
+
count=$(cat rubocop/total-violations-count.txt)
|
48
|
+
if [[ "$count" -gt $RUBOCOP_ISSUE_THRESHOLD ]]; then
|
49
|
+
echo "Failure: Found $count RuboCop issue(s). It must have $RUBOCOP_ISSUE_THRESHOLD or less. \
|
50
|
+
Run 'rubo' and resolve the issues listed in rubocop/style-issues.html"
|
51
|
+
exit 1
|
52
|
+
else
|
53
|
+
echo "Success: Found $count RuboCop issue(s), which is less than the limit of $RUBOCOP_ISSUE_THRESHOLD"
|
54
|
+
fi
|
data/.rubocop.yml
CHANGED
@@ -1,8 +1,18 @@
|
|
1
|
+
# DO NOT MODIFY THIS FILE unless you want to deviate from the rubocop_plus ruleset.
|
2
|
+
|
3
|
+
# This file defines the settings used by rubocop when it runs. You would normally add your customizations directly to this
|
4
|
+
# file, but this file has been pre configured to read settings out of the rubocop_plus gem instead.
|
5
|
+
|
6
|
+
# Tell rubocop to load its settings from the rubocop_plus gem.
|
7
|
+
|
1
8
|
inherit_gem:
|
2
9
|
rubocop_plus: config/rubocop.yml
|
3
10
|
|
11
|
+
# Place custom settings below this comment. All customizations will OVERRIDE rubocop_plus rules. rubocop_plus & rubocop
|
12
|
+
# do not attempt to merge these settings with their defaults. Long term changes should be ported to the rubocop_plus gem.
|
13
|
+
|
4
14
|
AllCops:
|
5
|
-
TargetRubyVersion: 2.
|
15
|
+
TargetRubyVersion: 2.7
|
6
16
|
|
7
17
|
Style/Documentation:
|
8
18
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
Issues are tracked at https://github.com/roberts1000/
|
3
|
+
Issues are tracked at https://github.com/roberts1000/rspec_n/issues. Issues marked as **(Internal)** only affect development.
|
4
|
+
|
5
|
+
## 1.5.0 (Aug 28, 2022)
|
6
|
+
|
7
|
+
1. [#87](../../issues/87): Add GitHub action workflow to check pull requests. **(Internal)**
|
8
|
+
1. [#93](../../issues/93): Make Ruby 2.7.0 the min supported Ruby.
|
9
|
+
1. [#97](../../issues/97): Add Ruby 3.1 support.
|
4
10
|
|
5
11
|
## 1.4.0 (May 16, 2021)
|
6
12
|
|
7
13
|
1. [#64](../../issues/64): Use `pry` `~> 0.14.0`. **(Internal)**
|
8
14
|
1. [#66](../../issues/66): Update ruby & bundler versions in `.travis.yml`. **(Internal)**
|
9
|
-
1. [#68](../../issues/68): Make Ruby 2.6 the minimum supported version.
|
15
|
+
1. [#68](../../issues/68): Make Ruby 2.6.0 the minimum supported version.
|
10
16
|
1. [#73](../../issues/73): Use `rake` `~> 13.0`. **(Internal)**
|
11
17
|
1. [#78](../../issues/78): Require `Pathname`.
|
12
18
|
1. [#83](../../issues/83): Use `rubocop_plus` `~> 2.0`. **(Internal)**
|
@@ -22,7 +28,7 @@ Issues are tracked at https://github.com/roberts1000/rubocop_plus/issues. Change
|
|
22
28
|
1. [#36](../../issues/36): Add instructions for installing `rspec_n` in project Gemfiles.
|
23
29
|
1. [#38](../../issues/38): Stop `--order rand` from being added to the final command when a custom order is specified.
|
24
30
|
1. [#41](../../issues/41): Remove locking to a specify version of Ruby in development. **(Internal)**
|
25
|
-
1. [#43](../../issues/43): Use pry 0.12.x for development. **(Internal)**
|
31
|
+
1. [#43](../../issues/43): Use `pry` `0.12.x` for development. **(Internal)**
|
26
32
|
|
27
33
|
## 1.2.1 (Mar 06, 2019)
|
28
34
|
|
data/Gemfile
CHANGED
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2021 roberts1000
|
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
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
14
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# rspec_n
|
2
2
|
|
3
|
-
rspec_n is a Ruby gem that makes it easy to run a project's RSpec test suite N times. You can customize the command that is used to start RSpec, or let rspec_n guess the best command (based on the files in your project). rspec_n is useful for finding repeatability issues in
|
3
|
+
rspec_n is a Ruby gem that makes it easy to run a project's RSpec test suite N times. You can customize the command that is used to start RSpec, or let rspec_n guess the best command (based on the files in your project). rspec_n is useful for finding repeatability issues in RSpec test suites.
|
4
4
|
|
5
5
|

|
6
6
|
|
7
|
-
##
|
7
|
+
## Versioning Strategy
|
8
8
|
|
9
|
-
Releases are versioned using [
|
9
|
+
Releases are versioned using [SemVer 2.0.0](https://semver.org/spec/v2.0.0.html) with the following caveats:
|
10
10
|
|
11
|
-
Ruby versions that reach EOL
|
11
|
+
1. Support for Ruby versions, that reach EOL, can be removed in a major **or** minor release.
|
12
12
|
|
13
13
|
## Supported Ruby Versions
|
14
14
|
|
15
|
-
Ruby 2.
|
15
|
+
Ruby 2.7, 3.0 and 3.1.
|
16
16
|
|
17
17
|
## Installation
|
18
18
|
|
@@ -20,7 +20,7 @@ Install by executing:
|
|
20
20
|
|
21
21
|
$ gem install rspec_n
|
22
22
|
|
23
|
-
The gem will install an executable called `rspec_n`.
|
23
|
+
The gem will install an executable called `rspec_n`.
|
24
24
|
|
25
25
|
Add the following to your project's `.gitignore` to exclude the output generated by rspec_n from your project's repo:
|
26
26
|
|
@@ -28,7 +28,7 @@ Add the following to your project's `.gitignore` to exclude the output generated
|
|
28
28
|
|
29
29
|
#### Usage in a Gemfile
|
30
30
|
|
31
|
-
If you
|
31
|
+
If you add rspec_n to your Gemfile, use the `require: false` option so rspec_n isn't loaded into your app. rspec_n doesn't provide any runtime benefit to apps and requiring it will add unnecessary code to your project. Also, rspec_n is designed as a standalone commandline tool and isn't tested for compatibility inside other apps.
|
32
32
|
|
33
33
|
```ruby
|
34
34
|
gem 'rspec_n', require: false
|
@@ -40,23 +40,38 @@ The simplest way to run rspec_n is to give it a positive integer which tells it
|
|
40
40
|
|
41
41
|
$ rspec_n 5
|
42
42
|
|
43
|
-
As
|
43
|
+
As iterations complete, summary output is sent to the screen and detailed output is written to files (in the project's root).
|
44
44
|
|
45
|
-
|
45
|
+
To target specific specs, provide one or more paths. You can do anything you would normally do when giving paths to RSpec:
|
46
46
|
|
47
47
|
$ rspec_n 5 spec/path/to/something_spec.rb
|
48
48
|
$ rspec_n 5 spec/path/to/folder spec/path/to/some/other/file_spec.rb
|
49
49
|
$ rspec_n 5 spec/path/to/folder
|
50
50
|
$ rspec_n 5 spec/path/to/something_spec.rb:5
|
51
51
|
|
52
|
-
By default, `--order rand` is sent to RSpec to force it to run specs in random order. You can use a `defined` order if you don't want randomness:
|
52
|
+
By default, `--order rand` is always sent to RSpec to force it to run specs in random order. You can use a `defined` order if you don't want randomness:
|
53
53
|
|
54
54
|
$ rspec_n 5 --order defined
|
55
55
|
|
56
|
-
Or, let the configuration
|
56
|
+
Or, let the RSpec configuration in the project determine the order:
|
57
57
|
|
58
58
|
$ rspec_n 5 --order project
|
59
59
|
|
60
|
+
#### Config file
|
61
|
+
|
62
|
+
You can create a `.rspec_n` file in your project's root and add command line options to it. They'll be used if `rspec_n` is run without options. Options are any arguments that start with `-` or `--`. For example, `rspec_n 10` or `rspec_n 10 spec/some_spec.rb` will make rspec_n consider `.rspec_n`, but `rspec_n 10 -c "rm -rf /tmp/* && bundle exec rspec"` won't.
|
63
|
+
|
64
|
+
Example file format:
|
65
|
+
|
66
|
+
```
|
67
|
+
--no-file
|
68
|
+
-s
|
69
|
+
--order defined
|
70
|
+
-c "rm -rf tmp && bundle exec rspec"
|
71
|
+
```
|
72
|
+
|
73
|
+
The config file can be multi line or single line.
|
74
|
+
|
60
75
|
#### Automatic Command Selection
|
61
76
|
|
62
77
|
rspec_n inspects files in your project so it can pick the best way to start RSpec. If it can't make an educated guess, it will use `bundle exec rspec` as the base command and add any extra information you've entered on the command line (like the order or paths). The following is a list of project types that rspec_n can identify and the associated commands it will try to execute:
|
@@ -64,21 +79,21 @@ rspec_n inspects files in your project so it can pick the best way to start RSpe
|
|
64
79
|
1. Ruby on Rails Applications: `DISABLE_DATABASE_ENVIRONMENT_CHECK=1 RAILS_ENV=test bundle exec rake db:drop db:create db:migrate && bundle exec rspec`.
|
65
80
|
2. Everything else: `bundle exec rspec`.
|
66
81
|
|
67
|
-
#### Use Custom Command to Start RSpec
|
82
|
+
#### Use a Custom Command to Start RSpec
|
68
83
|
|
69
84
|
Use the `-c` option if you want to specify your own command. The following example deletes the `tmp` folder before starting RSpec:
|
70
85
|
|
71
86
|
$ rspec_n 5 -c 'rm -rf tmp && bundle exec rspec'
|
72
87
|
|
73
|
-
There are couple points to consider:
|
88
|
+
There are a couple points to consider:
|
74
89
|
|
75
90
|
1. Wrap your entire command in a single or double quoted string.
|
76
|
-
1. Use
|
77
|
-
1. rspec_n was created to help discover flaky test suites so it adds `--order rand` to your custom command
|
91
|
+
1. Use `&&` to create compound commands.
|
92
|
+
1. Avoid trying to change test order within a custom command. rspec_n was created to help discover flaky test suites so it adds `--order rand` to your custom command. Use the `--order defined` or `--order project` options to the control the order.
|
78
93
|
|
79
94
|
#### Control File Output
|
80
95
|
|
81
|
-
rspec_n writes output for each iteration
|
96
|
+
rspec_n writes output for each iteration to files with the iteration number (`rspec_n_iteration.1`, `rspec_n_iteration.2`, etc...). If you want to disable this, add the `--no-file` option to the command.
|
82
97
|
|
83
98
|
$ rspec_n 5 --no-file
|
84
99
|
|
@@ -110,11 +125,11 @@ That's it!
|
|
110
125
|
|
111
126
|
Run the automated test suite with:
|
112
127
|
|
113
|
-
$
|
128
|
+
$ rspec
|
114
129
|
|
115
130
|
### Start a Console
|
116
131
|
|
117
|
-
Choose one of the following to start a
|
132
|
+
Choose one of the following to start a console with the gem loaded:
|
118
133
|
|
119
134
|
```bash
|
120
135
|
$ bin/console # for Pry
|
@@ -129,7 +144,3 @@ Contributions are welcome. Please us the following process when submitting work:
|
|
129
144
|
1. Fork the project.
|
130
145
|
1. Create a branch. The name of the branch should start with the issue number that the branch will address.
|
131
146
|
1. Submit the PR. In the PR comment (in the UI), add `Closes #xyz` or `Supports #xyz` where `xyz` is the issue number that the PR addresses. The title of the PR (in the UI) should start with `[PR for #xyz] `.
|
132
|
-
|
133
|
-
## License
|
134
|
-
|
135
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -6,8 +6,7 @@ require "rspec_n"
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
|
-
|
10
|
-
Pry.start
|
9
|
+
# Run 'rake console' to start a pry console.
|
11
10
|
|
12
|
-
|
13
|
-
|
11
|
+
require "irb"
|
12
|
+
IRB.start(__FILE__)
|
data/exe/rspec_n
CHANGED
@@ -18,17 +18,18 @@ require "cri"
|
|
18
18
|
require "fileutils"
|
19
19
|
require "rspec_n/version"
|
20
20
|
require "rspec_n/constants"
|
21
|
+
require "rspec_n/helpers/arguments_helper"
|
21
22
|
require "rspec_n/errors/bad_option"
|
22
23
|
|
23
24
|
# rubocop:disable Metrics/BlockLength
|
24
25
|
command = Cri::Command.define do
|
25
26
|
usage 'rspec_n [iterations] [options]'
|
26
27
|
description "rspec_n is an executable installed by the rspec_n Ruby gem. It provides a " \
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
"way to re-run an RSpec test suite 'N' times, which is useful when determining " \
|
29
|
+
"if a test suite is consistent.\n\n" \
|
30
|
+
"STATUS CODES\n\n" \
|
31
|
+
"0 - rspec_n ran successfully \u00A0\n" \
|
32
|
+
"1 - problem with the commandline options \u00A0"
|
32
33
|
|
33
34
|
flag :h, :help, 'show help' do |_value, cmd|
|
34
35
|
puts cmd.help
|
@@ -36,17 +37,17 @@ command = Cri::Command.define do
|
|
36
37
|
end
|
37
38
|
|
38
39
|
command_description = "By default, rspec_n will guess the best command to run RSpec; " \
|
39
|
-
|
40
|
-
|
40
|
+
"override it by setting a custom command; wrap the entire command in single or double quotes; " \
|
41
|
+
"join multiple commands with '&&'"
|
41
42
|
option :c, :command, command_description, argument: :required
|
42
43
|
|
43
44
|
flag nil, "no-file", "Do not write iteration output to files"
|
44
45
|
|
45
46
|
flag nil, "timestamp", "Write iteration output to a timestamped directory, which can " \
|
46
|
-
|
47
|
+
"prevent accidental loss. NOTE: It is up to the user to periodically clean up files."
|
47
48
|
|
48
49
|
command_description = "Write iteration output to files in the provided directory " \
|
49
|
-
|
50
|
+
"rather than the current working directory. Can be used along with the timestamp flag."
|
50
51
|
option :d, :dir, command_description, argument: :required
|
51
52
|
|
52
53
|
flag :s, "stop-fast", "Stop when an iteration reports a failure."
|
@@ -71,7 +72,7 @@ end
|
|
71
72
|
# rubocop:enable Metrics/BlockLength
|
72
73
|
|
73
74
|
begin
|
74
|
-
command.run(
|
75
|
+
command.run(ArgumentsHelper.arguments)
|
75
76
|
exit 0
|
76
77
|
rescue RspecN::BadOption => e
|
77
78
|
warn e.message.colorize(:red)
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'shellwords'
|
2
|
+
|
3
|
+
class ArgumentsHelper
|
4
|
+
class << self
|
5
|
+
def arguments
|
6
|
+
if File.exist?(".rspec_n") && no_options_in_arguments?
|
7
|
+
options = read_options_from_file
|
8
|
+
if options.any?
|
9
|
+
print "Reading options from `.rspec_n` file\n"
|
10
|
+
return ARGV + options
|
11
|
+
end
|
12
|
+
end
|
13
|
+
ARGV
|
14
|
+
end
|
15
|
+
|
16
|
+
# Read arguments from the config file only if no arguments are provided by user
|
17
|
+
def no_options_in_arguments?
|
18
|
+
ARGV.grep(/^-/).empty? # Match args that start with - (or --). Those are the options.
|
19
|
+
end
|
20
|
+
|
21
|
+
# Options can be listed on a single line in the config file, or listed on separate lines.
|
22
|
+
def read_options_from_file
|
23
|
+
Shellwords.shellwords File.read(".rspec_n").to_s.gsub(/\n|\r\n/, " ")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/rspec_n/version.rb
CHANGED
data/rspec_n.gemspec
CHANGED
@@ -2,7 +2,6 @@ lib = File.expand_path("lib", __dir__)
|
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
require "rspec_n/version"
|
4
4
|
|
5
|
-
# rubocop:disable Metrics/BlockLength
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "rspec_n"
|
8
7
|
spec.version = RspecN::VERSION
|
@@ -22,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
22
21
|
spec.metadata["changelog_uri"] = "https://github.com/roberts1000/rspec_n/blob/master/CHANGELOG.md"
|
23
22
|
else
|
24
23
|
raise "RubyGems 2.0 or newer is required to protect against " \
|
25
|
-
|
24
|
+
"public gem pushes."
|
26
25
|
end
|
27
26
|
|
28
27
|
# Specify which files should be added to the gem when it is released.
|
@@ -33,15 +32,13 @@ Gem::Specification.new do |spec|
|
|
33
32
|
spec.bindir = "exe"
|
34
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
34
|
spec.require_paths = ["lib"]
|
36
|
-
spec.required_ruby_version = '>= 2.
|
35
|
+
spec.required_ruby_version = '>= 2.7.0'
|
37
36
|
|
38
37
|
spec.add_development_dependency "bundler", "~> 2.0"
|
39
38
|
spec.add_development_dependency "pry", "~> 0.14.0"
|
40
39
|
spec.add_development_dependency "rake", "~> 13.0"
|
41
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
42
|
-
spec.add_development_dependency "rubocop_plus", "~> 2.0"
|
43
41
|
|
44
42
|
spec.add_dependency "colorize", "~> 0.8.0"
|
45
43
|
spec.add_dependency "cri", "~> 2.15.3"
|
46
44
|
end
|
47
|
-
# rubocop:enable Metrics/BlockLength
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- roberts1000
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop_plus
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: colorize
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,10 +102,10 @@ executables:
|
|
116
102
|
extensions: []
|
117
103
|
extra_rdoc_files: []
|
118
104
|
files:
|
105
|
+
- ".github/workflows/check_pull_request.yml"
|
119
106
|
- ".gitignore"
|
120
107
|
- ".rspec"
|
121
108
|
- ".rubocop.yml"
|
122
|
-
- ".travis.yml"
|
123
109
|
- CHANGELOG.md
|
124
110
|
- Gemfile
|
125
111
|
- LICENSE.md
|
@@ -133,6 +119,7 @@ files:
|
|
133
119
|
- lib/rspec_n/errors/bad_option.rb
|
134
120
|
- lib/rspec_n/formatters/file_formatter.rb
|
135
121
|
- lib/rspec_n/formatters/table_formatter.rb
|
122
|
+
- lib/rspec_n/helpers/arguments_helper.rb
|
136
123
|
- lib/rspec_n/helpers/core_ext/array.rb
|
137
124
|
- lib/rspec_n/helpers/core_ext/string.rb
|
138
125
|
- lib/rspec_n/helpers/time_helpers.rb
|
@@ -156,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
143
|
requirements:
|
157
144
|
- - ">="
|
158
145
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.
|
146
|
+
version: 2.7.0
|
160
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
148
|
requirements:
|
162
149
|
- - ">="
|
163
150
|
- !ruby/object:Gem::Version
|
164
151
|
version: '0'
|
165
152
|
requirements: []
|
166
|
-
rubygems_version: 3.
|
153
|
+
rubygems_version: 3.3.20
|
167
154
|
signing_key:
|
168
155
|
specification_version: 4
|
169
156
|
summary: A ruby gem that runs RSpec N times.
|
data/.travis.yml
DELETED