rspec-pending_for 0.1.16 → 0.1.17
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +37 -0
- data/CODE_OF_CONDUCT.md +24 -22
- data/CONTRIBUTING.md +131 -0
- data/{LICENSE → LICENSE.txt} +1 -1
- data/README.md +315 -99
- data/SECURITY.md +21 -0
- data/lib/rspec/pending_for/build.rb +32 -30
- data/lib/rspec/pending_for/rspec.rb +3 -2
- data/lib/rspec/pending_for/version.rb +6 -1
- data/lib/rspec/pending_for.rb +10 -7
- data/lib/rspec-pending_for.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +91 -38
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0982af839d9c0438fa761f61588888967ed704b0df0a68c8946e78f05b475c6d'
|
4
|
+
data.tar.gz: f997eaf5f97a6f3148bcf8ed4da565ca48ed41f4e5182fbaff842416bc890c6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4206663d48651c7351de5ec24ed59c96af25cc55f9d39496bd97c0253107a8b141d6b764b0d6a7744a5788b84c597331d230865cbfe0f50c0c6a043716f73a36
|
7
|
+
data.tar.gz: fcb82059fa14d4f11eaf6872bee45aac02e76745345e5188a9e6b7d287f38b555edb8259a4dcabf34a8572f037e4c1e3237d8789c8ad8b31a1e430a95daa9d15
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
4
|
+
|
5
|
+
All notable changes to this project will be documented in this file.
|
6
|
+
|
7
|
+
The format is based on [Keep a Changelog][📗keep-changelog],
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
9
|
+
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
10
|
+
Please file a bug if you notice a violation of semantic versioning.
|
11
|
+
|
12
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
13
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
14
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
15
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
16
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
17
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
18
|
+
|
19
|
+
## [Unreleased]
|
20
|
+
### Added
|
21
|
+
### Changed
|
22
|
+
### Fixed
|
23
|
+
### Removed
|
24
|
+
|
25
|
+
## [0.1.7] - 2025-02-24 ([tag][1.0.0t])
|
26
|
+
- COVERAGE: 98.44% -- 63/64 lines in 6 files
|
27
|
+
- BRANCH COVERAGE: 94.44% -- 17/18 branches in 6 files
|
28
|
+
- 63.64% documented
|
29
|
+
### Added
|
30
|
+
- Specs for `skip_for`
|
31
|
+
### Fixed
|
32
|
+
- Compatibility with truffleruby (maybe? not able to run it in CI yet)
|
33
|
+
- Fixed compatibility with Ruby < 2
|
34
|
+
|
35
|
+
[Unreleased]: https://github.com/pboling/rspec-pending_for/compare/v0.1.7...HEAD
|
36
|
+
[0.1.7]: https://github.com/pboling/rspec-pending_for/compare/v0.1.16...v0.1.7
|
37
|
+
[0.1.7t]: https://github.com/pboling/rspec-pending_for/tags/v0.1.6
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -7,8 +7,8 @@ We as members, contributors, and leaders pledge to make participation in our
|
|
7
7
|
community a harassment-free experience for everyone, regardless of age, body
|
8
8
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
9
|
identity and expression, level of experience, education, socio-economic status,
|
10
|
-
nationality, personal appearance, race, religion, or sexual
|
11
|
-
and orientation.
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
12
12
|
|
13
13
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
14
|
diverse, inclusive, and healthy community.
|
@@ -23,17 +23,17 @@ community include:
|
|
23
23
|
* Giving and gracefully accepting constructive feedback
|
24
24
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
25
|
and learning from the experience
|
26
|
-
* Focusing on what is best not just for us as individuals, but for the
|
27
|
-
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
28
28
|
|
29
29
|
Examples of unacceptable behavior include:
|
30
30
|
|
31
|
-
* The use of sexualized language or imagery, and sexual attention or
|
32
|
-
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
33
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
34
|
* Public or private harassment
|
35
|
-
* Publishing others' private information, such as a physical or email
|
36
|
-
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
37
37
|
* Other conduct which could reasonably be considered inappropriate in a
|
38
38
|
professional setting
|
39
39
|
|
@@ -53,7 +53,7 @@ decisions when appropriate.
|
|
53
53
|
|
54
54
|
This Code of Conduct applies within all community spaces, and also applies when
|
55
55
|
an individual is officially representing the community in public spaces.
|
56
|
-
Examples of representing our community include using an official
|
56
|
+
Examples of representing our community include using an official email address,
|
57
57
|
posting via an official social media account, or acting as an appointed
|
58
58
|
representative at an online or offline event.
|
59
59
|
|
@@ -61,7 +61,7 @@ representative at an online or offline event.
|
|
61
61
|
|
62
62
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
63
|
reported to the community leaders responsible for enforcement at
|
64
|
-
[
|
64
|
+
[![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
|
65
65
|
All complaints will be reviewed and investigated promptly and fairly.
|
66
66
|
|
67
67
|
All community leaders are obligated to respect the privacy and security of the
|
@@ -83,15 +83,15 @@ behavior was inappropriate. A public apology may be requested.
|
|
83
83
|
|
84
84
|
### 2. Warning
|
85
85
|
|
86
|
-
**Community Impact**: A violation through a single incident or series
|
87
|
-
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
88
88
|
|
89
89
|
**Consequence**: A warning with consequences for continued behavior. No
|
90
90
|
interaction with the people involved, including unsolicited interaction with
|
91
91
|
those enforcing the Code of Conduct, for a specified period of time. This
|
92
92
|
includes avoiding interactions in community spaces as well as external channels
|
93
|
-
like social media. Violating these terms may lead to a temporary or
|
94
|
-
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
95
95
|
|
96
96
|
### 3. Temporary Ban
|
97
97
|
|
@@ -107,27 +107,29 @@ Violating these terms may lead to a permanent ban.
|
|
107
107
|
### 4. Permanent Ban
|
108
108
|
|
109
109
|
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
-
standards, including sustained inappropriate behavior,
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
111
|
individual, or aggression toward or disparagement of classes of individuals.
|
112
112
|
|
113
|
-
**Consequence**: A permanent ban from any sort of public interaction within
|
114
|
-
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
115
115
|
|
116
116
|
## Attribution
|
117
117
|
|
118
118
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
-
version 2.
|
120
|
-
[https://www.contributor-covenant.org/version/2/
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
121
121
|
|
122
122
|
Community Impact Guidelines were inspired by
|
123
123
|
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
124
124
|
|
125
125
|
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
|
127
|
-
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
128
128
|
|
129
129
|
[homepage]: https://www.contributor-covenant.org
|
130
|
-
[v2.
|
130
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
131
131
|
[Mozilla CoC]: https://github.com/mozilla/diversity
|
132
132
|
[FAQ]: https://www.contributor-covenant.org/faq
|
133
133
|
[translations]: https://www.contributor-covenant.org/translations
|
134
|
+
[🚂bdfl-contact]: http://www.railsbling.com/contact
|
135
|
+
[🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
Bug reports and pull requests are welcome on GitHub at [https://gitlab.com/pboling/rspec-pending_for][🚎src-main]
|
4
|
+
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
+
the [code of conduct][🤝conduct].
|
6
|
+
|
7
|
+
To submit a patch, please fork the project and create a patch with tests.
|
8
|
+
Once you're happy with it send a pull request.
|
9
|
+
|
10
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
11
|
+
|
12
|
+
## You can help!
|
13
|
+
|
14
|
+
Simply follow these instructions:
|
15
|
+
|
16
|
+
1. Fork the repository
|
17
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
18
|
+
3. Make some fixes.
|
19
|
+
4. Commit your changes (`git commit -am 'Added some feature'`)
|
20
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
21
|
+
6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
22
|
+
7. Create new Pull Request.
|
23
|
+
|
24
|
+
## Appraisals
|
25
|
+
|
26
|
+
From time to time the appraisal gemfiles in `gemfiles/` will need to be updated.
|
27
|
+
They are created and updated with the commands:
|
28
|
+
|
29
|
+
NOTE: We run on a [fork][🚎appraisal-fork] of Appraisal.
|
30
|
+
|
31
|
+
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
|
32
|
+
|
33
|
+
```shell
|
34
|
+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
|
35
|
+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
36
|
+
```
|
37
|
+
|
38
|
+
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
39
|
+
|
40
|
+
## The Reek List
|
41
|
+
|
42
|
+
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
43
|
+
|
44
|
+
To refresh the `reek` list:
|
45
|
+
|
46
|
+
```bash
|
47
|
+
bundle exec reek > REEK
|
48
|
+
```
|
49
|
+
|
50
|
+
## Run Tests
|
51
|
+
|
52
|
+
To run all tests
|
53
|
+
|
54
|
+
```bash
|
55
|
+
bundle exec rake test
|
56
|
+
```
|
57
|
+
|
58
|
+
## Lint It
|
59
|
+
|
60
|
+
Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
|
61
|
+
|
62
|
+
```bash
|
63
|
+
bundle exec rake
|
64
|
+
```
|
65
|
+
|
66
|
+
Or just run the linter.
|
67
|
+
|
68
|
+
```bash
|
69
|
+
bundle exec rake rubocop_gradual:autocorrect
|
70
|
+
```
|
71
|
+
|
72
|
+
## Contributors
|
73
|
+
|
74
|
+
Your picture could be here!
|
75
|
+
|
76
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
77
|
+
|
78
|
+
Made with [contributors-img][🖐contrib-rocks].
|
79
|
+
|
80
|
+
Also see GitLab Contributors: [https://gitlab.com/pboling/rspec-pending_for/-/graphs/main][🚎contributors-gl]
|
81
|
+
|
82
|
+
## For Maintainers
|
83
|
+
|
84
|
+
### One-time, Per-maintainer, Setup
|
85
|
+
|
86
|
+
**IMPORTANT**: Your public key for signing gems will need to be picked up by the line in the
|
87
|
+
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there),
|
88
|
+
in order to sign the new release.
|
89
|
+
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
90
|
+
|
91
|
+
### To release a new version:
|
92
|
+
|
93
|
+
1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
|
94
|
+
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
95
|
+
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
96
|
+
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
97
|
+
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
|
98
|
+
- NOTE: Remember to [check the build][🧪build]!
|
99
|
+
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
100
|
+
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
101
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure you will release the latest trunk code
|
102
|
+
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
103
|
+
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
104
|
+
- If the echo above has no output, then it didn't work.
|
105
|
+
- Note that you'll need the `zsh/datetime` module, if running `zsh`.
|
106
|
+
- In `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
107
|
+
10. Run `bundle exec rake build`
|
108
|
+
11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr] and [2][🔒️rubygems-guides-pr])
|
109
|
+
to create SHA-256 and SHA-512 checksums
|
110
|
+
- Checksums will be committed automatically by the script, but not pushed
|
111
|
+
12. Run `bundle exec rake release` which will create a git tag for the version,
|
112
|
+
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
113
|
+
|
114
|
+
[🚎src-main]: https://gitlab.com/pboling/rspec-pending_for
|
115
|
+
[🧪build]: https://github.com/pboling/rspec-pending_for/actions
|
116
|
+
[🤝conduct]: https://gitlab.com/pboling/rspec-pending_for/-/blob/main/CODE_OF_CONDUCT.md
|
117
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
118
|
+
[🖐contributors]: https://github.com/pboling/rspec-pending_for/graphs/contributors
|
119
|
+
[🚎contributors-gl]: https://gitlab.com/pboling/rspec-pending_for/-/graphs/main
|
120
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=pboling/rspec-pending_for
|
121
|
+
[💎rubygems]: https://rubygems.org
|
122
|
+
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
123
|
+
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
124
|
+
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
125
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
126
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
127
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
128
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
129
|
+
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
|
130
|
+
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
|
131
|
+
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
data/{LICENSE → LICENSE.txt}
RENAMED
data/README.md
CHANGED
@@ -1,175 +1,391 @@
|
|
1
1
|
# Rspec::PendingFor
|
2
2
|
|
3
|
+
[![Version][👽versioni]][👽version]
|
4
|
+
[![License: MIT][📄license-img]][📄license-ref]
|
5
|
+
[![Downloads Rank][👽dl-ranki]][👽dl-rank]
|
6
|
+
[![Open Source Helpers][👽oss-helpi]][👽oss-help]
|
7
|
+
[![Depfu][🔑depfui♻️]][🔑depfu]
|
8
|
+
[![CodeCov Test Coverage][🔑codecovi♻️]][🔑codecov]
|
9
|
+
[![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls]
|
10
|
+
[![CodeClimate Test Coverage][🔑cc-covi♻️]][🔑cc-cov]
|
11
|
+
[![Maintainability][🔑cc-mnti♻️]][🔑cc-mnt]
|
12
|
+
[![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf]
|
13
|
+
[![CI Current][🚎11-c-wfi]][🚎11-c-wf]
|
14
|
+
[![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf]
|
15
|
+
[![CI JRuby][🚎10-j-wfi]][🚎10-j-wf]
|
16
|
+
[![CI Supported][🚎6-s-wfi]][🚎6-s-wf]
|
17
|
+
[![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf]
|
18
|
+
[![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf]
|
19
|
+
[![CI Ancient][🚎1-an-wfi]][🚎1-an-wf]
|
20
|
+
[![CI Hoary][🚎8-ho-wfi]][🚎8-ho-wf]
|
21
|
+
[![CI Fusty][🚎12-fu-wfi]][🚎12-fu-wf]
|
22
|
+
[![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
|
23
|
+
[![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
[![Liberapay Patrons][⛳liberapay-img]][⛳liberapay]
|
28
|
+
[![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
|
29
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme]
|
30
|
+
[![Polar Shield][🖇polar-img]][🖇polar]
|
31
|
+
[![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
32
|
+
[![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
33
|
+
|
3
34
|
Easiest to just show you:
|
4
35
|
|
5
36
|
```ruby
|
6
|
-
it(
|
7
|
-
pending_for(:engine =>
|
8
|
-
pending_for(:engine =>
|
9
|
-
pending_for(:engine =>
|
10
|
-
pending_for(:engine =>
|
11
|
-
|
37
|
+
it("blah is blah") do
|
38
|
+
pending_for(:engine => "rbx")
|
39
|
+
pending_for(:engine => "truffleruby")
|
40
|
+
pending_for(:engine => "ruby", :versions => "2.1.5")
|
41
|
+
pending_for(:engine => "jruby", :versions => "2.2.2", :reason => "due to a bug in Ruby")
|
42
|
+
pending_for(:engine => "ruby", :versions => "2.0.0", :reason => "because I don't have the time")
|
43
|
+
expect("blah").to(eq("blah"))
|
12
44
|
end
|
13
45
|
```
|
14
46
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
|
22
|
-
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
47
|
+
I expect the current release of this gem to be compatible with Ruby 1.8.7+,
|
48
|
+
but it is only tested on CI against Ruby 1.9.3+,
|
49
|
+
due to the inherent limitations of GitHub Actions.
|
50
|
+
|
51
|
+
## Info you can shake a stick at
|
52
|
+
|
53
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
54
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
55
|
+
| Works with JRuby | [![JRuby 9.1 Compat][💎jruby-9.1i]][🚎10-j-wf] [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎10-j-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎10-j-wf] [![JRuby 9.4 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
56
|
+
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎9-t-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎9-t-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf] |
|
57
|
+
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
|
58
|
+
| Works with MRI Ruby 2 | [![Ruby 2.0 Compat][💎ruby-2.0i]][🚎8-ho-wf] [![Ruby 2.1 Compat][💎ruby-2.1i]][🚎8-ho-wf] [![Ruby 2.2 Compat][💎ruby-2.2i]][🚎8-ho-wf] [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
|
59
|
+
| Works with MRI Ruby 1 | [![Ruby 1.9 Compat][💎ruby-1.9i]][🚎12-fu-wf] |
|
60
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
61
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
|
62
|
+
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] |
|
63
|
+
| Expert 1:1 Support | [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] `or` [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
64
|
+
| Enterprise Support | [![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]<br/>💡Subscribe for support guarantees covering _all_ FLOSS dependencies!<br/>💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]!<br/>💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers! |
|
65
|
+
| Comrade BDFL 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
66
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] |
|
32
67
|
|
33
68
|
## Installation
|
34
69
|
|
35
|
-
|
36
|
-
|
37
|
-
```ruby
|
38
|
-
gem 'rspec-pending_for'
|
39
|
-
```
|
70
|
+
Install the gem and add to the application's Gemfile by executing:
|
40
71
|
|
41
|
-
|
72
|
+
$ bundle add rspec-pending_for
|
42
73
|
|
43
|
-
|
44
|
-
|
45
|
-
Or install it yourself as:
|
74
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
46
75
|
|
47
76
|
$ gem install rspec-pending_for
|
48
77
|
|
49
78
|
## Usage
|
50
79
|
|
51
|
-
The gem
|
80
|
+
The gem autoconfigures itself for use in your Rspec suite. Just add this line to yous `spec_helper.rb`:
|
52
81
|
|
53
82
|
```ruby
|
54
|
-
require
|
83
|
+
require "rspec/pending_for"
|
55
84
|
```
|
56
85
|
|
57
86
|
To mark a spec pending for a specific ruby engine, and/or versions:
|
58
87
|
|
59
88
|
```ruby
|
60
|
-
it(
|
61
|
-
pending_for(:engine =>
|
62
|
-
expect(
|
89
|
+
it("blah is blah") do
|
90
|
+
pending_for(:engine => "ruby", :versions => "2.1.5")
|
91
|
+
expect("blah").to(eq("blah"))
|
63
92
|
end
|
64
93
|
```
|
65
94
|
|
66
95
|
To skip a spec for a specific ruby engine, and/or versions:
|
67
96
|
|
68
97
|
```ruby
|
69
|
-
it(
|
70
|
-
skip_for(:engine =>
|
71
|
-
expect(
|
98
|
+
it("blah is blah") do
|
99
|
+
skip_for(:engine => "ruby", :versions => "2.1.5")
|
100
|
+
expect("blah").to(eq("blah"))
|
72
101
|
end
|
73
102
|
```
|
74
103
|
|
75
104
|
To mark a spec pending for all versions of a given engine:
|
76
105
|
|
77
106
|
```ruby
|
78
|
-
it(
|
79
|
-
pending_for(:engine =>
|
80
|
-
expect(
|
107
|
+
it("blah is blah") do
|
108
|
+
pending_for(:engine => "jruby")
|
109
|
+
expect("blah").to(eq("blah"))
|
81
110
|
end
|
82
111
|
```
|
83
112
|
|
84
113
|
To mark a spec pending for a custom reason (overriding the default message):
|
85
114
|
|
86
115
|
```ruby
|
87
|
-
it(
|
88
|
-
pending_for(:engine =>
|
89
|
-
expect(
|
116
|
+
it("blah is blah") do
|
117
|
+
pending_for(:engine => "jruby", :reason => "This does not work on JRuby")
|
118
|
+
expect("blah").to(eq("blah"))
|
90
119
|
end
|
91
120
|
```
|
92
121
|
|
93
122
|
To mark a spec pending or skipped for multiple engines and versions, just what you would expect:
|
94
123
|
|
95
124
|
```ruby
|
96
|
-
it(
|
97
|
-
skip_for(:engine =>
|
98
|
-
pending_for(:engine =>
|
99
|
-
pending_for(:engine =>
|
100
|
-
expect(
|
125
|
+
it("blah is blah") do
|
126
|
+
skip_for(:engine => "jruby", :reason => "This does not work on JRuby so skipping for now") # All JRuby versions will be skipped
|
127
|
+
pending_for(:engine => "rbx", :reason => "This does not work on Rubinius so pending for now") # All rbx versions will be pending
|
128
|
+
pending_for(:engine => "ruby", :versions => %w(1.9.3 2.0.0 2.1.0)) # uses the default message
|
129
|
+
expect("blah").to(eq("blah"))
|
101
130
|
end
|
102
131
|
```
|
103
132
|
|
133
|
+
## 🔐 Security
|
104
134
|
|
105
|
-
|
135
|
+
See [SECURITY.md][🔐security].
|
106
136
|
|
107
|
-
|
137
|
+
## 🤝 Contributing
|
108
138
|
|
109
|
-
|
139
|
+
If you need some ideas of where to help, you could work on adding more code coverage,
|
140
|
+
or if it is already 💯 (see [below](#code-coverage)) then check [issues][🤝issues], or [PRs][🤝pulls],
|
141
|
+
or use the gem and think about how it could be better.
|
110
142
|
|
143
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
111
144
|
|
112
|
-
|
145
|
+
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
113
146
|
|
114
|
-
|
147
|
+
### Code Coverage
|
115
148
|
|
116
|
-
|
149
|
+
[![Coverage Graph][🔑codecov-g♻️]][🔑codecov]
|
117
150
|
|
118
|
-
|
151
|
+
### 🪇 Code of Conduct
|
119
152
|
|
120
|
-
|
153
|
+
Everyone interacting in this project's codebases, issue trackers,
|
154
|
+
chat rooms and mailing lists is expected to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
|
121
155
|
|
122
|
-
|
123
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
124
|
-
3. Commit your changes (`git commit -am 'Added some feature'`)
|
125
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
126
|
-
5. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
127
|
-
6. Create new Pull Request
|
156
|
+
## 🌈 Contributors
|
128
157
|
|
129
|
-
|
158
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
130
159
|
|
131
|
-
|
160
|
+
Made with [contributors-img][🖐contrib-rocks].
|
132
161
|
|
133
|
-
|
162
|
+
Also see GitLab Contributors: [https://gitlab.com/pboling/rspec-pending_for/-/graphs/main][🚎contributors-gl]
|
134
163
|
|
135
|
-
##
|
164
|
+
## ⭐️ Star History
|
136
165
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
166
|
+
<a href="https://star-history.com/#pboling/rspec-pending_for&Date">
|
167
|
+
<picture>
|
168
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=pboling/rspec-pending_for&type=Date&theme=dark" />
|
169
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=pboling/rspec-pending_for&type=Date" />
|
170
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=pboling/rspec-pending_for&type=Date" />
|
171
|
+
</picture>
|
172
|
+
</a>
|
143
173
|
|
144
|
-
|
145
|
-
dependency on this gem using the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
174
|
+
## 📌 Versioning
|
146
175
|
|
147
|
-
|
176
|
+
This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
|
177
|
+
Violations of this scheme should be reported as bugs.
|
178
|
+
Specifically, if a minor or patch version is released that breaks backward compatibility,
|
179
|
+
a new version should be immediately released that restores compatibility.
|
180
|
+
Breaking changes to the public API will only be introduced with new major versions.
|
181
|
+
|
182
|
+
### 📌 Is "Platform Support" part of the public API?
|
148
183
|
|
149
|
-
|
184
|
+
Yes. But I'm obligated to include notes...
|
150
185
|
|
151
|
-
|
186
|
+
SemVer should, but doesn't explicitly, say that dropping support for specific Platforms
|
187
|
+
is a *breaking change* to an API.
|
188
|
+
It is obvious to many, but not all, and since the spec is silent, the bike shedding is endless.
|
152
189
|
|
153
|
-
|
190
|
+
> dropping support for a platform is both obviously and objectively a breaking change
|
154
191
|
|
155
|
-
|
192
|
+
- Jordan Harband (@ljharb) [in SemVer issue 716][📌semver-breaking]
|
156
193
|
|
157
|
-
|
194
|
+
To get a better understanding of how SemVer is intended to work over a project's lifetime,
|
195
|
+
read this article from the creator of SemVer:
|
158
196
|
|
159
|
-
|
160
|
-
|
197
|
+
- ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
|
198
|
+
|
199
|
+
As a result of this policy, and the interpretive lens used by the maintainer,
|
200
|
+
you can (and should) specify a dependency on these libraries using
|
201
|
+
the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
202
|
+
|
203
|
+
For example:
|
204
|
+
|
205
|
+
```ruby
|
206
|
+
spec.add_dependency("rspec-pending_for", "~> 0.1")
|
207
|
+
```
|
161
208
|
|
162
|
-
[
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
[license]:
|
168
|
-
[
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
209
|
+
See [CHANGELOG.md][📌changelog] for list of releases.
|
210
|
+
|
211
|
+
## 📄 License
|
212
|
+
|
213
|
+
The gem is available as open source under the terms of
|
214
|
+
the [MIT License][📄license] [![License: MIT][📄license-img]][📄license-ref].
|
215
|
+
See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
|
216
|
+
|
217
|
+
### © Copyright
|
218
|
+
|
219
|
+
<p>
|
220
|
+
Copyright (c) 2015 - 2018, 2020 - 2022, 2025 Peter H. Boling,
|
221
|
+
<a href="https://railsbling.com">
|
222
|
+
RailsBling.com
|
223
|
+
<picture>
|
224
|
+
<img alt="Rails Bling" height="20" src="https://railsbling.com/images/logos/RailsBling-TrainLogo.svg" />
|
225
|
+
</picture>
|
226
|
+
</a>
|
227
|
+
</p>
|
228
|
+
|
229
|
+
## 🤑 One more thing
|
230
|
+
|
231
|
+
You made it to the bottom of the page,
|
232
|
+
so perhaps you'll indulge me for another 20 seconds.
|
233
|
+
I maintain many dozens of gems, including this one,
|
234
|
+
because I want Ruby to be a great place for people to solve problems, big and small.
|
235
|
+
Please consider supporting my efforts via the giant yellow link below,
|
236
|
+
or one of the others at the head of this README.
|
237
|
+
|
238
|
+
[![Buy me a latte][🖇buyme-img]][🖇buyme]
|
239
|
+
|
240
|
+
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
241
|
+
[⛳️gem-namespace]: https://github.com/pboling/rspec-pending_for/blob/main/lib/rspec-pending_for.rb
|
242
|
+
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Rspec::PendingFor-brightgreen.svg?style=flat&logo=ruby&logoColor=white
|
243
|
+
[⛳️gem-name]: https://rubygems.org/gems/rspec-pending_for
|
244
|
+
[⛳️name-img]: https://img.shields.io/badge/name-rspec--pending__for-brightgreen.svg?style=flat&logo=rubygems&logoColor=red
|
245
|
+
[🚂bdfl-blog]: http://www.railsbling.com/tags/rspec-pending_for
|
246
|
+
[🚂bdfl-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
|
247
|
+
[🚂bdfl-contact]: http://www.railsbling.com/contact
|
248
|
+
[🚂bdfl-contact-img]: https://img.shields.io/badge/Contact-BDFL-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
249
|
+
[💖🖇linkedin]: http://www.linkedin.com/in/peterboling
|
250
|
+
[💖🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-LinkedIn-0B66C2?style=flat&logo=newjapanprowrestling
|
251
|
+
[💖✌️wellfound]: https://angel.co/u/peter-boling
|
252
|
+
[💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
|
253
|
+
[💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
254
|
+
[💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
|
255
|
+
[💖🐘ruby-mast]: https://ruby.social/@galtzo
|
256
|
+
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=flat&logo=mastodon&label=Ruby%20%40galtzo
|
257
|
+
[💖🦋bluesky]: https://galtzo.bsky.social
|
258
|
+
[💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.bsky.social-0285FF?style=flat&logo=bluesky&logoColor=white
|
259
|
+
[💖🌳linktree]: https://linktr.ee/galtzo
|
260
|
+
[💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
|
261
|
+
[💖💁🏼♂️devto]: https://dev.to/galtzo
|
262
|
+
[💖💁🏼♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
|
263
|
+
[💖💁🏼♂️aboutme]: https://about.me/peter.boling
|
264
|
+
[💖💁🏼♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
|
265
|
+
[👨🏼🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
|
266
|
+
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
267
|
+
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
268
|
+
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
269
|
+
[🏙️entsup-tidelift]: https://tidelift.com/subscription
|
270
|
+
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
271
|
+
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
272
|
+
[💁🏼♂️peterboling]: http://www.peterboling.com
|
273
|
+
[🚂railsbling]: http://www.railsbling.com
|
274
|
+
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
275
|
+
[📜src-gl]: https://gitlab.com/pboling/rspec-pending_for/
|
276
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
|
277
|
+
[📜src-gh]: https://github.com/pboling/rspec-pending_for
|
278
|
+
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
279
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/RubyDoc-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
280
|
+
[📜wiki]: https://gitlab.com/pboling/rspec-pending_for/-/wikis/home
|
281
|
+
[📜wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=Wiki&logoColor=white
|
282
|
+
[👽dl-rank]: https://rubygems.org/gems/rspec-pending_for
|
283
|
+
[👽dl-ranki]: https://img.shields.io/gem/rd/rspec-pending_for.svg
|
284
|
+
[👽oss-help]: https://www.codetriage.com/pboling/rspec-pending_for
|
285
|
+
[👽oss-helpi]: https://www.codetriage.com/pboling/rspec-pending_for/badges/users.svg
|
286
|
+
[👽version]: https://rubygems.org/gems/rspec-pending_for
|
287
|
+
[👽versioni]: https://img.shields.io/gem/v/rspec-pending_for.svg
|
288
|
+
[🔑cc-mnt]: https://codeclimate.com/github/pboling/rspec-pending_for/maintainability
|
289
|
+
[🔑cc-mnti♻️]: https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/maintainability
|
290
|
+
[🔑cc-cov]: https://codeclimate.com/github/pboling/rspec-pending_for/test_coverage
|
291
|
+
[🔑cc-covi♻️]: https://api.codeclimate.com/v1/badges/266bc0935f185153cce4/test_coverage
|
292
|
+
[🔑codecov]: https://codecov.io/gh/pboling/rspec-pending_for
|
293
|
+
[🔑codecovi♻️]: https://codecov.io/gh/pboling/rspec-pending_for/branch/main/graph/badge.svg?token=cc6UdZCpAL
|
294
|
+
[🔑coveralls]: https://coveralls.io/github/pboling/rspec-pending_for?branch=main
|
295
|
+
[🔑coveralls-img]: https://coveralls.io/repos/github/pboling/rspec-pending_for/badge.svg?branch=main
|
296
|
+
[🔑depfu]: https://depfu.com/github/pboling/rspec-pending_for
|
297
|
+
[🔑depfui♻️]: https://badges.depfu.com/badges/79867e590f063376f40b031a1447c215/count.svg
|
298
|
+
[🖐codeQL]: https://github.com/pboling/rspec-pending_for/security/code-scanning
|
299
|
+
[🖐codeQL-img]: https://github.com/pboling/rspec-pending_for/actions/workflows/codeql-analysis.yml/badge.svg
|
300
|
+
[🚎1-an-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/ancient.yml
|
301
|
+
[🚎1-an-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/ancient.yml/badge.svg
|
302
|
+
[🚎2-cov-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/coverage.yml
|
303
|
+
[🚎2-cov-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/coverage.yml/badge.svg
|
304
|
+
[🚎3-hd-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/heads.yml
|
305
|
+
[🚎3-hd-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/heads.yml/badge.svg
|
306
|
+
[🚎4-lg-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/legacy.yml
|
307
|
+
[🚎4-lg-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/legacy.yml/badge.svg
|
308
|
+
[🚎5-st-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/style.yml
|
309
|
+
[🚎5-st-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/style.yml/badge.svg
|
310
|
+
[🚎6-s-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/supported.yml
|
311
|
+
[🚎6-s-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/supported.yml/badge.svg
|
312
|
+
[🚎7-us-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/unsupported.yml
|
313
|
+
[🚎7-us-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/unsupported.yml/badge.svg
|
314
|
+
[🚎8-ho-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/hoary.yml
|
315
|
+
[🚎8-ho-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/hoary.yml/badge.svg
|
316
|
+
[🚎9-t-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/truffle.yml
|
317
|
+
[🚎9-t-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/truffle.yml/badge.svg
|
318
|
+
[🚎10-j-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/jruby.yml
|
319
|
+
[🚎10-j-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/jruby.yml/badge.svg
|
320
|
+
[🚎11-c-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/current.yml
|
321
|
+
[🚎11-c-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/current.yml/badge.svg
|
322
|
+
[🚎12-fu-wf]: https://github.com/pboling/rspec-pending_for/actions/workflows/fusty.yml
|
323
|
+
[🚎12-fu-wfi]: https://github.com/pboling/rspec-pending_for/actions/workflows/fusty.yml/badge.svg
|
324
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
|
325
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
326
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
327
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
328
|
+
[🖇polar-img]: https://polar.sh/embed/seeks-funding-shield.svg?org=pboling
|
329
|
+
[🖇polar]: https://polar.sh/pboling
|
330
|
+
[🖇kofi-img]: https://img.shields.io/badge/buy_me_coffee-donate-yellow.svg
|
331
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
332
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
333
|
+
[🖇patreon]: https://patreon.com/galtzo
|
334
|
+
[💎ruby-1.9i]: https://img.shields.io/badge/Ruby-1.9-412BD3?style=for-the-badge&logo=ruby&logoColor=white
|
335
|
+
[💎ruby-2.0i]: https://img.shields.io/badge/Ruby-2.0-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
336
|
+
[💎ruby-2.1i]: https://img.shields.io/badge/Ruby-2.1-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
337
|
+
[💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
338
|
+
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
339
|
+
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
340
|
+
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
341
|
+
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
342
|
+
[💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
343
|
+
[💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
344
|
+
[💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
345
|
+
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
346
|
+
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
347
|
+
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
348
|
+
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
349
|
+
[💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
350
|
+
[💎truby-23.0i]: https://img.shields.io/badge/Truffle_Ruby-23.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
351
|
+
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
352
|
+
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
353
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
354
|
+
[💎jruby-9.1i]: https://img.shields.io/badge/JRuby-9.1-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
355
|
+
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
356
|
+
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
357
|
+
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
358
|
+
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
359
|
+
[🤝issues]: https://github.com/pboling/rspec-pending_for/issues
|
360
|
+
[🤝pulls]: https://github.com/pboling/rspec-pending_for/pulls
|
361
|
+
[🤝contributing]: CONTRIBUTING.md
|
362
|
+
[🔑codecov-g♻️]: https://codecov.io/gh/pboling/rspec-pending_for/graphs/tree.svg?token=cc6UdZCpAL
|
363
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
364
|
+
[🖐contributors]: https://github.com/pboling/rspec-pending_for/graphs/contributors
|
365
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=pboling/rspec-pending_for
|
366
|
+
[🚎contributors-gl]: https://gitlab.com/pboling/rspec-pending_for/-/graphs/main
|
367
|
+
[🪇conduct]: CODE_OF_CONDUCT.md
|
368
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-4baaaa.svg
|
369
|
+
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
370
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
371
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
372
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
373
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
374
|
+
[📌changelog]: CHANGELOG.md
|
375
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
376
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
377
|
+
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
378
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.064-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
379
|
+
[🔐security]: SECURITY.md
|
380
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat
|
381
|
+
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
382
|
+
[📄license]: LICENSE.txt
|
383
|
+
[📄license-ref]: https://opensource.org/licenses/MIT
|
384
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-green.svg
|
385
|
+
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
386
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-brightgreen.svg?style=flat
|
387
|
+
[🚎yard-current]: http://rubydoc.info/gems/rspec-pending_for
|
388
|
+
[🚎yard-head]: https://rubydoc.info/github/pboling/rspec-pending_for/main
|
389
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
390
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
391
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/Buy--Me--A--Coffee-✓-brightgreen.svg?style=flat
|
data/SECURITY.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported Versions
|
4
|
+
|
5
|
+
| Version | Supported |
|
6
|
+
|------------|-----------|
|
7
|
+
| 0.1.latest | ✅ |
|
8
|
+
|
9
|
+
## Security contact information
|
10
|
+
|
11
|
+
To report a security vulnerability, please use the
|
12
|
+
[Tidelift security contact](https://tidelift.com/security).
|
13
|
+
Tidelift will coordinate the fix and disclosure.
|
14
|
+
|
15
|
+
## Additional Support
|
16
|
+
|
17
|
+
If you are interested in support for versions older than the latest release,
|
18
|
+
please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
|
19
|
+
or find other sponsorship links in the [README].
|
20
|
+
|
21
|
+
[README]: README.md
|
@@ -5,35 +5,37 @@ module Rspec
|
|
5
5
|
# SRP: Describe the RubyEngine and/or RubyVersion(s) that will be pended or skipped and with what message
|
6
6
|
class Build
|
7
7
|
#
|
8
|
-
# | RUBY_ENGINE
|
9
|
-
#
|
10
|
-
# | "unknown"
|
11
|
-
# | "ruby"
|
12
|
-
# | "ree"
|
13
|
-
# | "jruby"
|
14
|
-
# | "macruby"
|
15
|
-
# | "rbx"
|
16
|
-
# | "maglev"
|
17
|
-
# | "ironruby"
|
18
|
-
# | "cardinal"
|
8
|
+
# | RUBY_ENGINE | Implementation |
|
9
|
+
# |:--------------:|:------------------------:|
|
10
|
+
# | "unknown" | MRI < 1.9 (probably) |
|
11
|
+
# | "ruby" | MRI >= 1.9 |
|
12
|
+
# | "ree" | Ruby Enterprise Edition |
|
13
|
+
# | "jruby" | JRuby |
|
14
|
+
# | "macruby" | MacRuby |
|
15
|
+
# | "rbx" | Rubinius |
|
16
|
+
# | "maglev" | MagLev |
|
17
|
+
# | "ironruby" | IronRuby |
|
18
|
+
# | "cardinal" | Cardinal |
|
19
|
+
# | "truffletuby" | Truffle Ruby |
|
19
20
|
#
|
20
21
|
|
21
22
|
# Keys are the
|
22
23
|
INTERPRETER_MATRIX = {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
"unknown" => "MRI < 1.9 (probably)",
|
25
|
+
"ruby" => "MRI >= 1.9",
|
26
|
+
"ree" => "Ruby Enterprise Edition",
|
27
|
+
"jruby" => "JRuby",
|
28
|
+
"macruby" => "MacRuby",
|
29
|
+
"rbx" => "Rubinius",
|
30
|
+
"maglev" => "MagLev",
|
31
|
+
"ironruby" => "IronRuby",
|
32
|
+
"cardinal" => "Cardinal",
|
33
|
+
"truffletuby" => "Truffle Ruby",
|
32
34
|
}.freeze
|
33
|
-
BROKEN_STRING =
|
34
|
-
BUG_STRING =
|
35
|
-
VERSIONS_STRING =
|
36
|
-
ISSUES_LINK =
|
35
|
+
BROKEN_STRING = "Behavior is broken"
|
36
|
+
BUG_STRING = "due to a bug in the Ruby engine"
|
37
|
+
VERSIONS_STRING = "in Ruby versions"
|
38
|
+
ISSUES_LINK = "https://github.com/pboling/rspec-pending_for/issues"
|
37
39
|
RELEVANT_VERSIONS_PROC = lambda { |rv| "#{BROKEN_STRING} #{VERSIONS_STRING} #{rv} #{BUG_STRING}" }
|
38
40
|
|
39
41
|
attr_reader :message, :relevant_versions, :relevant_engine, :reason
|
@@ -45,10 +47,10 @@ module Rspec
|
|
45
47
|
warn_about_unrecognized_engine
|
46
48
|
# If engine is nil, then any matching versions should be pended
|
47
49
|
@message = if @relevant_engine.nil?
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
50
|
+
no_engine_specified
|
51
|
+
elsif RubyEngine.is?(@relevant_engine)
|
52
|
+
engine_specified_and_relevant
|
53
|
+
end
|
52
54
|
end
|
53
55
|
|
54
56
|
def current_matches_specified?
|
@@ -60,10 +62,10 @@ module Rspec
|
|
60
62
|
def warn_about_unrecognized_engine
|
61
63
|
return false if relevant_engine.nil? || !INTERPRETER_MATRIX[relevant_engine].nil?
|
62
64
|
|
63
|
-
warn
|
65
|
+
warn(%[
|
64
66
|
Engine specified (#{relevant_engine}) is not known to rspec-pending_for.
|
65
67
|
If it is a real RUBY_ENGINE, please report as a bug to #{ISSUES_LINK}
|
66
|
-
]
|
68
|
+
])
|
67
69
|
end
|
68
70
|
|
69
71
|
def no_engine_specified
|
data/lib/rspec/pending_for.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require
|
5
|
-
require
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
# External Libraries
|
4
|
+
require "ruby_version"
|
5
|
+
require "ruby_engine"
|
6
|
+
|
7
|
+
# This gem
|
8
|
+
require_relative "pending_for/version"
|
9
|
+
require_relative "pending_for/engine_or_versions_required"
|
10
|
+
require_relative "pending_for/build"
|
11
|
+
require_relative "pending_for/rspec"
|
9
12
|
|
10
13
|
module Rspec
|
11
14
|
# Use with Rspec by including in your example groups, just like any other Rspec helpers:
|
@@ -42,7 +45,7 @@ module Rspec
|
|
42
45
|
private
|
43
46
|
|
44
47
|
def modify_example_with(message, options)
|
45
|
-
raise(EngineOrVersionsRequired,
|
48
|
+
raise(EngineOrVersionsRequired, "#{message}_for") unless options[:engine] || options[:versions]
|
46
49
|
|
47
50
|
build = Build.new(options)
|
48
51
|
send(message, build.message) if build.current_matches_specified?
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative "rspec/pending_for"
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,49 +1,70 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-pending_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
bindir: bin
|
9
|
+
cert_chain:
|
10
|
+
- |
|
11
|
+
-----BEGIN CERTIFICATE-----
|
12
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
13
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
14
|
+
A2NvbTAeFw0yNDA5MjAwODU4NDJaFw0yNTA5MjAwODU4NDJaMEMxFTATBgNVBAMM
|
15
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
16
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAjrxsKObI
|
17
|
+
rFQjBpzvVfqnT6JlF8/pkpgEEjFh7ex3zIerfuHzZvSrx+sRDGxQ8koWWG0Wjx8s
|
18
|
+
wkBZ5dIqvl0g3sWP5asa28u/09opxkQTC1Ao77iYxcBcwoCe/Dpf1m4Q/m6oH0kL
|
19
|
+
2AZVNJQL3UkqAcLS0tsj/s/jAKnVlsaZZE5gQiIIi8HtkvSsajtx+Cq2AxDvcWvV
|
20
|
+
/CliD+pmzYkTjvjwGm8yeyFGGGgrisJMryiZdZlkTwrQSjCzudIKbLeuG8Se4JTD
|
21
|
+
TAcT+rPubr27v1jwmtIjtiot3rf4nof7LHLb122a/0VR7cC7xPLnXw0Cq1BShvoq
|
22
|
+
/GKRdSwMNinTOGkFTK1gKnjN+3iD4zyXU3XO3CXoTr+Ju8fXPN1x4tpOMgbv8dme
|
23
|
+
WbcQMOH9ZjmA5w0bSVRL1c3NhRRpUzrKTNXBEvqOyWjUnintxWKj+cRXx+z+dUgI
|
24
|
+
dL3kj68fcsiTgl75In3C485pnCMmq1eLuVoiy3jkLNOn2lHeLt9ZK63LAgMBAAGj
|
25
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRhfc+2UaVYd74p
|
26
|
+
yJ1JclGiUYN8+jAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
27
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
28
|
+
ggGBAA4fLU2+mQ++jBhVM2IeyvQdw1nm+0thkH4Ldv8ZOBm5ZxCPGIMoYliDDzg4
|
29
|
+
4JDFxZR1wR4sdrz/K5tWtEkN23SKzopwbNb1NIQRSLQ7nOoc+4bkuz9xwKinmIvF
|
30
|
+
D+5qsl2S27WLKFreMDtGoh0CREIMBUxU4rGTh0gtzmweGR+fnOShg4Jo0kxrjU5h
|
31
|
+
uYk/uVE+bn/jOEGs43GvKXZLyshpBrZjQ+ArbvxDht5t35zbSxerbUxUPZUbXUCW
|
32
|
+
tTyh38a9UYjAAHvnh6Y4Fi9wd4/pGNsektrzB3z/zlVj4YF2TMLX9XfNJWEGRGpO
|
33
|
+
sSkLYdtEX1WQAmuZtActVW2cL3HdQaRbiv7VbfpA0eSk0ZdZHvBCl516ZZu10uX6
|
34
|
+
82W1mg6fuezdpeBOiXwrEbZSt/oGiF4V511F6nd55p0okwHc/6nS10F/3aKJ4gwC
|
35
|
+
I5o+DRfXQHqKucx1ldFHvI2rE/kSCWqGTHN2eyu1sqCPeOoIMxrltJhaejKPkxqj
|
36
|
+
zaF9Og==
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
39
|
dependencies:
|
13
40
|
- !ruby/object:Gem::Dependency
|
14
41
|
name: rspec-core
|
15
42
|
requirement: !ruby/object:Gem::Requirement
|
16
43
|
requirements:
|
17
|
-
- - "
|
44
|
+
- - "~>"
|
18
45
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
46
|
+
version: '3.0'
|
20
47
|
type: :runtime
|
21
48
|
prerelease: false
|
22
49
|
version_requirements: !ruby/object:Gem::Requirement
|
23
50
|
requirements:
|
24
|
-
- - "
|
51
|
+
- - "~>"
|
25
52
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
53
|
+
version: '3.0'
|
27
54
|
- !ruby/object:Gem::Dependency
|
28
55
|
name: ruby_engine
|
29
56
|
requirement: !ruby/object:Gem::Requirement
|
30
57
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1'
|
34
|
-
- - "<"
|
58
|
+
- - "~>"
|
35
59
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
60
|
+
version: '2.0'
|
37
61
|
type: :runtime
|
38
62
|
prerelease: false
|
39
63
|
version_requirements: !ruby/object:Gem::Requirement
|
40
64
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '1'
|
44
|
-
- - "<"
|
65
|
+
- - "~>"
|
45
66
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
67
|
+
version: '2.0'
|
47
68
|
- !ruby/object:Gem::Dependency
|
48
69
|
name: ruby_version
|
49
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,57 +80,84 @@ dependencies:
|
|
59
80
|
- !ruby/object:Gem::Version
|
60
81
|
version: '1.0'
|
61
82
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
83
|
+
name: minitest
|
63
84
|
requirement: !ruby/object:Gem::Requirement
|
64
85
|
requirements:
|
65
|
-
- - "
|
86
|
+
- - "~>"
|
66
87
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
88
|
+
version: '5.3'
|
68
89
|
type: :development
|
69
90
|
prerelease: false
|
70
91
|
version_requirements: !ruby/object:Gem::Requirement
|
71
92
|
requirements:
|
72
|
-
- - "
|
93
|
+
- - "~>"
|
73
94
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
95
|
+
version: '5.3'
|
75
96
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
97
|
+
name: rspec
|
77
98
|
requirement: !ruby/object:Gem::Requirement
|
78
99
|
requirements:
|
79
100
|
- - "~>"
|
80
101
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
102
|
+
version: '3.13'
|
82
103
|
type: :development
|
83
104
|
prerelease: false
|
84
105
|
version_requirements: !ruby/object:Gem::Requirement
|
85
106
|
requirements:
|
86
107
|
- - "~>"
|
87
108
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
109
|
+
version: '3.13'
|
89
110
|
- !ruby/object:Gem::Dependency
|
90
|
-
name: rspec
|
111
|
+
name: rspec-block_is_expected
|
91
112
|
requirement: !ruby/object:Gem::Requirement
|
92
113
|
requirements:
|
93
114
|
- - "~>"
|
94
115
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
116
|
+
version: '1.0'
|
96
117
|
type: :development
|
97
118
|
prerelease: false
|
98
119
|
version_requirements: !ruby/object:Gem::Requirement
|
99
120
|
requirements:
|
100
121
|
- - "~>"
|
101
122
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
103
|
-
|
123
|
+
version: '1.0'
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: rake
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '10'
|
131
|
+
type: :runtime
|
132
|
+
prerelease: false
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '10'
|
138
|
+
description: 'Mark specs pending or skipped for specific Ruby engine (e.g. MRI or
|
139
|
+
JRuby) / version combinations
|
140
|
+
|
141
|
+
'
|
104
142
|
email:
|
105
143
|
- peter.boling@gmail.com
|
106
144
|
executables: []
|
107
145
|
extensions: []
|
108
|
-
extra_rdoc_files:
|
146
|
+
extra_rdoc_files:
|
147
|
+
- CHANGELOG.md
|
148
|
+
- CODE_OF_CONDUCT.md
|
149
|
+
- CONTRIBUTING.md
|
150
|
+
- LICENSE.txt
|
151
|
+
- README.md
|
152
|
+
- SECURITY.md
|
109
153
|
files:
|
154
|
+
- CHANGELOG.md
|
110
155
|
- CODE_OF_CONDUCT.md
|
111
|
-
-
|
156
|
+
- CONTRIBUTING.md
|
157
|
+
- LICENSE.txt
|
112
158
|
- README.md
|
159
|
+
- SECURITY.md
|
160
|
+
- lib/rspec-pending_for.rb
|
113
161
|
- lib/rspec/pending_for.rb
|
114
162
|
- lib/rspec/pending_for/build.rb
|
115
163
|
- lib/rspec/pending_for/engine_or_versions_required.rb
|
@@ -119,24 +167,29 @@ homepage: https://github.com/pboling/rspec-pending_for
|
|
119
167
|
licenses:
|
120
168
|
- MIT
|
121
169
|
metadata: {}
|
122
|
-
post_install_message:
|
123
170
|
rdoc_options:
|
124
|
-
- "--
|
171
|
+
- "--title"
|
172
|
+
- rspec-pending_for - Mark specs pending or skipped for specific Ruby engine (e.g.
|
173
|
+
MRI or JRuby) / version combinations
|
174
|
+
- "--main"
|
175
|
+
- README.md
|
176
|
+
- "--line-numbers"
|
177
|
+
- "--inline-source"
|
178
|
+
- "--quiet"
|
125
179
|
require_paths:
|
126
180
|
- lib
|
127
181
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
182
|
requirements:
|
129
183
|
- - ">="
|
130
184
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
185
|
+
version: 1.8.7
|
132
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
187
|
requirements:
|
134
188
|
- - ">="
|
135
189
|
- !ruby/object:Gem::Version
|
136
190
|
version: '0'
|
137
191
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
139
|
-
signing_key:
|
192
|
+
rubygems_version: 3.6.4
|
140
193
|
specification_version: 4
|
141
194
|
summary: Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby)
|
142
195
|
/ version combinations
|
metadata.gz.sig
ADDED
Binary file
|