rspec-pending_for 0.1.15 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a76788abf9a2f19a44ecd077e9caa18e12333fcf8d3d1adf44e712c8e4c225dd
4
- data.tar.gz: 25815c5675690bf8c2fbd559f0145b3e4ba308d04ea7a3c94b4af05cb07b9e8b
3
+ metadata.gz: '0982af839d9c0438fa761f61588888967ed704b0df0a68c8946e78f05b475c6d'
4
+ data.tar.gz: f997eaf5f97a6f3148bcf8ed4da565ca48ed41f4e5182fbaff842416bc890c6d
5
5
  SHA512:
6
- metadata.gz: f33ad878f5c0128253e9331fdf59bf7e397d46dc3ec7a9f87c7997dc6cfae72f113968cfcba7945f57522d2b854665204c62723ad88f91e9a5cd22c546ac6f52
7
- data.tar.gz: 88c8e8b84499187c9fd29396fb367a79734522ed90c0a38c22b9e6cfbb0922288d8c9a89c1820622aba87a0ebd9e653a7b9c05f0233c2fcada56656aa9746a03
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
@@ -1,74 +1,135 @@
1
+
1
2
  # Contributor Covenant Code of Conduct
2
3
 
3
4
  ## Our Pledge
4
5
 
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, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
6
+ We as members, contributors, and leaders pledge to make participation in our
7
+ community a harassment-free experience for everyone, regardless of age, body
8
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
9
+ identity and expression, level of experience, education, socio-economic status,
10
+ nationality, personal appearance, race, caste, color, religion, or sexual
11
+ identity and orientation.
12
+
13
+ We pledge to act and interact in ways that contribute to an open, welcoming,
14
+ diverse, inclusive, and healthy community.
11
15
 
12
16
  ## Our Standards
13
17
 
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
18
+ Examples of behavior that contributes to a positive environment for our
19
+ community include:
16
20
 
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
21
+ * Demonstrating empathy and kindness toward other people
22
+ * Being respectful of differing opinions, viewpoints, and experiences
23
+ * Giving and gracefully accepting constructive feedback
24
+ * Accepting responsibility and apologizing to those affected by our mistakes,
25
+ and learning from the experience
26
+ * Focusing on what is best not just for us as individuals, but for the overall
27
+ community
22
28
 
23
- Examples of unacceptable behavior by participants include:
29
+ Examples of unacceptable behavior include:
24
30
 
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
31
+ * The use of sexualized language or imagery, and sexual attention or advances of
32
+ any kind
33
+ * Trolling, insulting or derogatory comments, and personal or political attacks
28
34
  * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
35
+ * Publishing others' private information, such as a physical or email address,
36
+ without their explicit permission
31
37
  * Other conduct which could reasonably be considered inappropriate in a
32
38
  professional setting
33
39
 
34
- ## Our Responsibilities
40
+ ## Enforcement Responsibilities
35
41
 
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.
42
+ Community leaders are responsible for clarifying and enforcing our standards of
43
+ acceptable behavior and will take appropriate and fair corrective action in
44
+ response to any behavior that they deem inappropriate, threatening, offensive,
45
+ or harmful.
39
46
 
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.
47
+ Community leaders have the right and responsibility to remove, edit, or reject
48
+ comments, commits, code, wiki edits, issues, and other contributions that are
49
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
50
+ decisions when appropriate.
45
51
 
46
52
  ## Scope
47
53
 
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
+ This Code of Conduct applies within all community spaces, and also applies when
55
+ an individual is officially representing the community in public spaces.
56
+ Examples of representing our community include using an official email address,
57
+ posting via an official social media account, or acting as an appointed
58
+ representative at an online or offline event.
54
59
 
55
60
  ## Enforcement
56
61
 
57
62
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at peter.boling@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
+ reported to the community leaders responsible for enforcement at
64
+ [![Contact BDFL][🚂bdfl-contact-img]][🚂bdfl-contact].
65
+ All complaints will be reviewed and investigated promptly and fairly.
66
+
67
+ All community leaders are obligated to respect the privacy and security of the
68
+ reporter of any incident.
69
+
70
+ ## Enforcement Guidelines
71
+
72
+ Community leaders will follow these Community Impact Guidelines in determining
73
+ the consequences for any action they deem in violation of this Code of Conduct:
74
+
75
+ ### 1. Correction
76
+
77
+ **Community Impact**: Use of inappropriate language or other behavior deemed
78
+ unprofessional or unwelcome in the community.
79
+
80
+ **Consequence**: A private, written warning from community leaders, providing
81
+ clarity around the nature of the violation and an explanation of why the
82
+ behavior was inappropriate. A public apology may be requested.
83
+
84
+ ### 2. Warning
63
85
 
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.
86
+ **Community Impact**: A violation through a single incident or series of
87
+ actions.
88
+
89
+ **Consequence**: A warning with consequences for continued behavior. No
90
+ interaction with the people involved, including unsolicited interaction with
91
+ those enforcing the Code of Conduct, for a specified period of time. This
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 permanent
94
+ ban.
95
+
96
+ ### 3. Temporary Ban
97
+
98
+ **Community Impact**: A serious violation of community standards, including
99
+ sustained inappropriate behavior.
100
+
101
+ **Consequence**: A temporary ban from any sort of interaction or public
102
+ communication with the community for a specified period of time. No public or
103
+ private interaction with the people involved, including unsolicited interaction
104
+ with those enforcing the Code of Conduct, is allowed during this period.
105
+ Violating these terms may lead to a permanent ban.
106
+
107
+ ### 4. Permanent Ban
108
+
109
+ **Community Impact**: Demonstrating a pattern of violation of community
110
+ standards, including sustained inappropriate behavior, harassment of an
111
+ individual, or aggression toward or disparagement of classes of individuals.
112
+
113
+ **Consequence**: A permanent ban from any sort of public interaction within the
114
+ community.
67
115
 
68
116
  ## Attribution
69
117
 
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
118
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119
+ version 2.1, available at
120
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
121
+
122
+ Community Impact Guidelines were inspired by
123
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124
+
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 at
127
+ [https://www.contributor-covenant.org/translations][translations].
72
128
 
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
129
+ [homepage]: https://www.contributor-covenant.org
130
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
131
+ [Mozilla CoC]: https://github.com/mozilla/diversity
132
+ [FAQ]: https://www.contributor-covenant.org/faq
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 - 2018 Peter H. Boling of RailsBling.com
1
+ Copyright (c) 2015 - 2018, 2020 - 2022, 2025 Peter H. Boling of RailsBling.com
2
2
 
3
3
  MIT License
4
4