rspec-stubbed_env 1.0.2 → 1.0.4
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 +44 -11
- data/CONTRIBUTING.md +31 -35
- data/README.md +200 -140
- data/lib/rspec/stubbed_env/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +77 -15
- 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: 152880a118a34c47d52e9bbe29a92b0667a29b23172e12d16f69a2c3e0d6dbb9
|
4
|
+
data.tar.gz: d18620969e9f328d7b771f4d8e6481c4b113ee88d2244f1e93f2dda42d79dee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5886fc86d963a5037ebcf8d54c0f01e9a570763c52b767eae02746e81ac00e0cd78c5cddf052462c75f7ac76164699477384ea460c0a2926da816611a3dcb79
|
7
|
+
data.tar.gz: 3ad54968abbd42a4d626dfeca1eb497d5e46a5f268fbe93454e141b4c021b05281748ffde628af438d85545981e688bceaef6c5f4b7658bbea783f301cb33cff
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -7,10 +7,37 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
7
7
|
## [Unreleased]
|
8
8
|
### Added
|
9
9
|
### Changed
|
10
|
-
###
|
10
|
+
### Deprecated
|
11
11
|
### Removed
|
12
|
+
### Fixed
|
13
|
+
### Security
|
14
|
+
|
15
|
+
## [1.0.4] - 2025-08-04
|
16
|
+
- TAG: [v1.0.4][1.0.4t]
|
17
|
+
- COVERAGE: 100.00% -- 73/73 lines in 5 files
|
18
|
+
- BRANCH COVERAGE: 100.00% -- 10/10 branches in 5 files
|
19
|
+
- 85.71% documented
|
20
|
+
### Added
|
21
|
+
- Discord notifications for CI, issues, pulls, etc
|
22
|
+
### Changed
|
23
|
+
- Ownership transfer from pboling to galtzo-floss
|
24
|
+
- gemspec metadata (homepage, funding, etc)
|
25
|
+
|
26
|
+
## [1.0.3] - 2025-07-28
|
27
|
+
- TAG: [v1.0.3][1.0.3t]
|
28
|
+
- COVERAGE: 100.00% -- 73/73 lines in 5 files
|
29
|
+
- BRANCH COVERAGE: 100.00% -- 10/10 branches in 5 files
|
30
|
+
- 85.71% documented
|
31
|
+
### Added
|
32
|
+
- More documentation
|
33
|
+
- Tracking maintainability and coverage with QLTY.sh
|
34
|
+
- Documentation site
|
35
|
+
- https://rspec-stubbed-env.galtzo.com
|
36
|
+
### Changed
|
37
|
+
- gemspec metadata
|
12
38
|
|
13
|
-
## [1.0.2] - 2025-05-06
|
39
|
+
## [1.0.2] - 2025-05-06
|
40
|
+
- TAG: [v1.0.2][1.0.2t]
|
14
41
|
- COVERAGE: 100.00% -- 73/73 lines in 5 files
|
15
42
|
- BRANCH COVERAGE: 100.00% -- 10/10 branches in 5 files
|
16
43
|
- 85.71% documented
|
@@ -31,7 +58,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
31
58
|
- Upgraded Code of Conduct based on Contributor Covenant v2.1
|
32
59
|
- New pattern for loading version.rb in gemspec allows (real) 100% code coverage
|
33
60
|
|
34
|
-
## [1.0.1] - 2023-04-01
|
61
|
+
## [1.0.1] - 2023-04-01
|
62
|
+
- TAG: [v1.0.1][1.0.1t]
|
35
63
|
### Added
|
36
64
|
- support for values_at (@darhazer)
|
37
65
|
- support for symbol keys (@hosamaly)
|
@@ -48,7 +76,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
48
76
|
### Fixed
|
49
77
|
- README Badges (CI status)
|
50
78
|
|
51
|
-
## [1.0.0] - 2018-10-06
|
79
|
+
## [1.0.0] - 2018-10-06
|
80
|
+
- TAG: [v1.0.0][1.0.0t]
|
52
81
|
### Added
|
53
82
|
- negated matchers
|
54
83
|
- rubocop config
|
@@ -57,10 +86,14 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
57
86
|
[@darhazer]: https://github.com/darhazer
|
58
87
|
[@hosamaly]: https://github.com/hosamaly
|
59
88
|
|
60
|
-
[Unreleased]: https://gitlab.com/
|
61
|
-
[1.0.
|
62
|
-
[1.0.
|
63
|
-
[1.0.
|
64
|
-
[1.0.
|
65
|
-
[1.0.
|
66
|
-
[1.0.
|
89
|
+
[Unreleased]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/v1.0.4...main
|
90
|
+
[1.0.4]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/v1.0.3...v1.0.4
|
91
|
+
[1.0.4t]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tags/v1.0.4
|
92
|
+
[1.0.3]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/v1.0.2...v1.0.3
|
93
|
+
[1.0.3t]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tags/v1.0.3
|
94
|
+
[1.0.2]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/v1.0.1...v1.0.2
|
95
|
+
[1.0.2t]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tags/v1.0.2
|
96
|
+
[1.0.1]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/v1.0.0...v1.0.1
|
97
|
+
[1.0.1t]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tags/v1.0.1
|
98
|
+
[1.0.0]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/compare/a3055964517c159bf214712940982034b75264be...v1.0.0
|
99
|
+
[1.0.0t]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tags/v1.0.0
|
data/CONTRIBUTING.md
CHANGED
@@ -1,38 +1,36 @@
|
|
1
1
|
# Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on
|
4
|
-
|
3
|
+
Bug reports and pull requests are welcome on GitHub, CodeBerg, or [GitLab][🚎src-main].
|
4
|
+
This project should be a safe, welcoming space for collaboration, so contributors agree to adhere to
|
5
5
|
the [code of conduct][🤝conduct].
|
6
6
|
|
7
|
-
To submit a patch, please fork the project
|
8
|
-
Once you're happy with it send a pull request.
|
7
|
+
To submit a patch, please fork the project, create a patch with tests, and send a pull request.
|
9
8
|
|
10
|
-
|
9
|
+
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog].
|
11
10
|
|
12
|
-
##
|
11
|
+
## Help out!
|
13
12
|
|
14
|
-
|
13
|
+
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
14
|
+
|
15
|
+
Follow these instructions:
|
15
16
|
|
16
17
|
1. Fork the repository
|
17
|
-
2. Create
|
18
|
+
2. Create a feature branch (`git checkout -b my-new-feature`)
|
18
19
|
3. Make some fixes.
|
19
|
-
4. Commit
|
20
|
+
4. Commit changes (`git commit -am 'Added some feature'`)
|
20
21
|
5. Push to the branch (`git push origin my-new-feature`)
|
21
22
|
6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
22
23
|
7. Create new Pull Request.
|
23
24
|
|
24
25
|
## Appraisals
|
25
26
|
|
26
|
-
From time to time the
|
27
|
+
From time to time the Appraisal2 gemfiles in `gemfiles/` will need to be updated.
|
27
28
|
They are created and updated with the commands:
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
|
32
|
-
|
33
|
-
```shell
|
30
|
+
```console
|
34
31
|
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
|
35
32
|
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
33
|
+
bundle exec rake rubocop_gradual:autocorrect
|
36
34
|
```
|
37
35
|
|
38
36
|
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
@@ -43,7 +41,7 @@ Take a look at the `reek` list which is the file called `REEK` and find somethin
|
|
43
41
|
|
44
42
|
To refresh the `reek` list:
|
45
43
|
|
46
|
-
```
|
44
|
+
```console
|
47
45
|
bundle exec reek > REEK
|
48
46
|
```
|
49
47
|
|
@@ -51,7 +49,7 @@ bundle exec reek > REEK
|
|
51
49
|
|
52
50
|
To run all tests
|
53
51
|
|
54
|
-
```
|
52
|
+
```console
|
55
53
|
bundle exec rake test
|
56
54
|
```
|
57
55
|
|
@@ -59,13 +57,13 @@ bundle exec rake test
|
|
59
57
|
|
60
58
|
Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
|
61
59
|
|
62
|
-
```
|
60
|
+
```console
|
63
61
|
bundle exec rake
|
64
62
|
```
|
65
63
|
|
66
64
|
Or just run the linter.
|
67
65
|
|
68
|
-
```
|
66
|
+
```console
|
69
67
|
bundle exec rake rubocop_gradual:autocorrect
|
70
68
|
```
|
71
69
|
|
@@ -77,7 +75,7 @@ Your picture could be here!
|
|
77
75
|
|
78
76
|
Made with [contributors-img][🖐contrib-rocks].
|
79
77
|
|
80
|
-
Also see GitLab Contributors: [https://gitlab.com/
|
78
|
+
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/graphs/main][🚎contributors-gl]
|
81
79
|
|
82
80
|
## For Maintainers
|
83
81
|
|
@@ -93,44 +91,42 @@ NOTE: To build without signing the gem you must set `SKIP_GEM_SIGNING` to some v
|
|
93
91
|
|
94
92
|
### To release a new version:
|
95
93
|
|
96
|
-
1. Run `bin/setup && bin/rake` as a
|
94
|
+
1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
|
97
95
|
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
98
96
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
99
97
|
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
100
|
-
5. Run `git push` to trigger the final CI pipeline before release,
|
101
|
-
- NOTE: Remember to [check the build][🧪build]
|
98
|
+
5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
|
99
|
+
- NOTE: Remember to [check the build][🧪build].
|
102
100
|
6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
103
101
|
7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
104
|
-
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure
|
102
|
+
8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
|
105
103
|
9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
106
104
|
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
107
105
|
- If the echo above has no output, then it didn't work.
|
108
|
-
- Note
|
106
|
+
- Note: `zsh/datetime` module is needed, if running `zsh`.
|
109
107
|
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
110
108
|
10. Run `bundle exec rake build`
|
111
109
|
11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
112
110
|
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
113
111
|
[gem][💎stone_checksums].
|
114
|
-
-
|
112
|
+
- The script automatically commits but does not push the checksums
|
115
113
|
12. Run `bundle exec rake release` which will create a git tag for the version,
|
116
114
|
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
117
115
|
|
118
|
-
[🚎src-main]: https://gitlab.com/
|
119
|
-
[🧪build]: https://github.com/
|
120
|
-
[🤝conduct]: https://gitlab.com/
|
116
|
+
[🚎src-main]: https://gitlab.com/galtzo-floss/rspec-stubbed_env
|
117
|
+
[🧪build]: https://github.com/galtzo-floss/rspec-stubbed_env/actions
|
118
|
+
[🤝conduct]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/blob/main/CODE_OF_CONDUCT.md
|
121
119
|
[🖐contrib-rocks]: https://contrib.rocks
|
122
|
-
[🖐contributors]: https://github.com/
|
123
|
-
[🚎contributors-gl]: https://gitlab.com/
|
124
|
-
[🖐contributors-img]: https://contrib.rocks/image?repo=
|
120
|
+
[🖐contributors]: https://github.com/galtzo-floss/rspec-stubbed_env/graphs/contributors
|
121
|
+
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/graphs/main
|
122
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/rspec-stubbed_env
|
125
123
|
[💎rubygems]: https://rubygems.org
|
126
124
|
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
127
125
|
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
128
126
|
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
129
|
-
[💎stone_checksums]: https://github.com/
|
127
|
+
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
130
128
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
131
129
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
132
130
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
133
131
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
134
|
-
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
|
135
|
-
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
|
136
132
|
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
data/README.md
CHANGED
@@ -1,36 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
[
|
4
|
-
[
|
5
|
-
[
|
6
|
-
[
|
7
|
-
[
|
8
|
-
[
|
9
|
-
[
|
10
|
-
[
|
11
|
-
|
12
|
-
|
13
|
-
|
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 Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
|
21
|
-
[![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
1
|
+
[![Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0][🖼️galtzo-i]][🖼️logos] [![rspec Logo by Ninefold, a Macquarie Telecom company, CC BY-NC-SA 4.0][🖼️rspec-i]][🖼️rspec] [![ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5][🖼️ruby-lang-i]][🖼️ruby-lang] [![rspec-stubbed_env Logo by Aboling0, CC BY-SA 4.0][🖼️rspec-stubbed_env-i]][🖼️rspec-stubbed_env]
|
2
|
+
|
3
|
+
[🖼️galtzo-i]: https://logos.galtzo.com/assets/images/galtzo-floss/avatar-192px.svg
|
4
|
+
[🖼️logos]: https://github.com/galtzo-floss
|
5
|
+
[🖼️rspec-i]: https://logos.galtzo.com/assets/images/rspec/avatar-192px.svg
|
6
|
+
[🖼️rspec]: https://github.com/rspec
|
7
|
+
[🖼️ruby-lang-i]: https://logos.galtzo.com/assets/images/ruby-lang/avatar-192px.svg
|
8
|
+
[🖼️ruby-lang]: https://github.com/ruby-lang
|
9
|
+
[🖼️rspec-stubbed_env-i]: https://logos.galtzo.com/assets/images/galtzo-floss/rspec-stubbed_env/avatar-192px.svg
|
10
|
+
[🖼️rspec-stubbed_env]: https://github.com/galtzo-floss/rspec-stubbed_env
|
11
|
+
|
12
|
+
# 🫥 RSpec::StubbedEnv
|
13
|
+
|
14
|
+
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![Depfu][🔑depfui♻️]][🔑depfu] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![CodeCov Test Coverage][🔑codecovi♻️]][🔑codecov] [![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
22
15
|
|
23
16
|
---
|
24
17
|
|
25
|
-
[![Liberapay
|
26
|
-
[![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
|
27
|
-
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme]
|
28
|
-
[![Donate on Polar][🖇polar-img]][🖇polar]
|
29
|
-
[![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
30
|
-
[![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
18
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
31
19
|
|
32
|
-
|
33
|
-
|
20
|
+
## 🌻 Synopsis
|
21
|
+
|
22
|
+
An `ENV` stubbing / hiding library for sophisticated RSpec test suites.
|
23
|
+
|
24
|
+
* ENV stubbing and hiding via shared contexts for more powerful tests
|
25
|
+
* ENV hiding via `hide_env("FOO")` was added in v1.0.2
|
26
|
+
* No need to add `dotenv` just for the spec suite
|
34
27
|
|
35
28
|
```ruby
|
36
29
|
describe "my stubbed test" do
|
@@ -63,19 +56,56 @@ end
|
|
63
56
|
|
64
57
|
This gem has no runtime dependencies.
|
65
58
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
|
74
|
-
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
## 💡 Info you can shake a stick at
|
60
|
+
|
61
|
+
### Federated DVCS
|
62
|
+
|
63
|
+
<details>
|
64
|
+
<summary>Find this repo on other forges</summary>
|
65
|
+
|
66
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
|
67
|
+
|--------------------------------------------------------|-------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
|
68
|
+
| 🧪 [galtzo-floss/rspec-stubbed_env on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜wiki] | 🏀 Tiny Matrix | ➖ |
|
69
|
+
| 🧊 [galtzo-floss/rspec-stubbed_env on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
|
70
|
+
| 🐙 [galtzo-floss/rspec-stubbed_env on GitHub][📜src-gh] | A Dirty Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | ➖ | 💯 Full Matrix | [💚][gh-discussions] |
|
71
|
+
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
|
72
|
+
|
73
|
+
</details>
|
74
|
+
|
75
|
+
[gh-discussions]: https://github.com/galtzo-floss/rspec-stubbed_env/discussions
|
76
|
+
|
77
|
+
### Enterprise Support
|
78
|
+
|
79
|
+
<details>
|
80
|
+
<summary>Need enterprise-level guarantees?</summary>
|
81
|
+
|
82
|
+
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
83
|
+
|
84
|
+
- 💡Subscribe for support guarantees covering _all_ FLOSS dependencies
|
85
|
+
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
86
|
+
- 💡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
|
87
|
+
|
88
|
+
Alternatively:
|
89
|
+
|
90
|
+
- [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
91
|
+
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
92
|
+
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
93
|
+
|
94
|
+
</details>
|
95
|
+
|
96
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
97
|
+
|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
98
|
+
| 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-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
99
|
+
| 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] |
|
100
|
+
| 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] |
|
101
|
+
| Works with MRI Ruby 2 | [![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] |
|
102
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
103
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog] [![Wiki][📜wiki-img]][📜wiki] |
|
104
|
+
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
105
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] |
|
106
|
+
| Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
107
|
+
| 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] |
|
108
|
+
| `...` 💖 | [![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] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
79
109
|
|
80
110
|
## ✨ Installation
|
81
111
|
|
@@ -89,19 +119,22 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
89
119
|
|
90
120
|
### 🔒 Secure Installation
|
91
121
|
|
92
|
-
|
122
|
+
<details>
|
123
|
+
<summary>For Medium or High Security Installations</summary>
|
124
|
+
|
125
|
+
`rspec-stubbed_env` is cryptographically signed, and has verifiable [SHA-256 and SHA-512][💎SHA_checksums] checksums by
|
93
126
|
[stone_checksums][💎stone_checksums]. Be sure the gem you install hasn’t been tampered with
|
94
127
|
by following the instructions below.
|
95
128
|
|
96
129
|
Add my public key (if you haven’t already, expires 2045-04-29) as a trusted certificate:
|
97
130
|
|
98
|
-
```
|
99
|
-
gem cert --add <(curl -Ls https://raw.github.com/
|
131
|
+
```console
|
132
|
+
gem cert --add <(curl -Ls https://raw.github.com/galtzo-floss/certs/main/pboling.pem)
|
100
133
|
```
|
101
134
|
|
102
135
|
You only need to do that once. Then proceed to install with:
|
103
136
|
|
104
|
-
```
|
137
|
+
```console
|
105
138
|
gem install rspec-stubbed_env -P HighSecurity
|
106
139
|
```
|
107
140
|
|
@@ -109,7 +142,7 @@ The `HighSecurity` trust profile will verify signed gems, and not allow the inst
|
|
109
142
|
|
110
143
|
If you want to up your security game full-time:
|
111
144
|
|
112
|
-
```
|
145
|
+
```console
|
113
146
|
bundle config set --global trust-policy MediumSecurity
|
114
147
|
```
|
115
148
|
|
@@ -117,6 +150,8 @@ bundle config set --global trust-policy MediumSecurity
|
|
117
150
|
|
118
151
|
NOTE: Be prepared to track down certs for signed gems and add them the same way you added mine.
|
119
152
|
|
153
|
+
</details>
|
154
|
+
|
120
155
|
## 🔧 Basic Usage
|
121
156
|
|
122
157
|
You must configure RSpec to use the `:expect` syntax, or some compatible alternative.
|
@@ -255,7 +290,7 @@ end
|
|
255
290
|
|
256
291
|
We migrated from `master` to `main` as the default branch. If this affected your local checkout:
|
257
292
|
|
258
|
-
```
|
293
|
+
```console
|
259
294
|
git branch -m master main
|
260
295
|
git fetch origin
|
261
296
|
git branch -u origin/main main
|
@@ -273,8 +308,7 @@ See [SECURITY.md][🔐security].
|
|
273
308
|
## 🤝 Contributing
|
274
309
|
|
275
310
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
276
|
-
or if it is already 💯 (see [below](#code-coverage)) check
|
277
|
-
or check [issues][🤝issues], or [PRs][🤝pulls],
|
311
|
+
or if it is already 💯 (see [below](#code-coverage)) check [issues][🤝gh-issues], or [PRs][🤝gh-pulls],
|
278
312
|
or use the gem and think about how it could be better.
|
279
313
|
|
280
314
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
@@ -285,6 +319,8 @@ See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
285
319
|
|
286
320
|
[![Coverage Graph][🔑codecov-g♻️]][🔑codecov]
|
287
321
|
|
322
|
+
[![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls]
|
323
|
+
|
288
324
|
### 🪇 Code of Conduct
|
289
325
|
|
290
326
|
Everyone interacting in this project's codebases, issue trackers,
|
@@ -296,15 +332,15 @@ chat rooms and mailing lists is expected to follow the [![Contributor Covenant 2
|
|
296
332
|
|
297
333
|
Made with [contributors-img][🖐contrib-rocks].
|
298
334
|
|
299
|
-
Also see GitLab Contributors: [https://gitlab.com/
|
335
|
+
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/graphs/main][🚎contributors-gl]
|
300
336
|
|
301
337
|
## ⭐️ Star History
|
302
338
|
|
303
|
-
<a href="https://star-history.com/#
|
339
|
+
<a href="https://star-history.com/#galtzo-floss/rspec-stubbed_env&Date">
|
304
340
|
<picture>
|
305
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=
|
306
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=
|
307
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=
|
341
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date&theme=dark" />
|
342
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date" />
|
343
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date" />
|
308
344
|
</picture>
|
309
345
|
</a>
|
310
346
|
|
@@ -353,29 +389,52 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
|
|
353
389
|
|
354
390
|
### © Copyright
|
355
391
|
|
356
|
-
<
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
</
|
392
|
+
<ul>
|
393
|
+
<li>
|
394
|
+
Copyright (c) 2018-2020, 2024-2025 Peter H. Boling, of
|
395
|
+
<a href="https://discord.gg/3qme4XHNKN">
|
396
|
+
Galtzo.com
|
397
|
+
<picture>
|
398
|
+
<img src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px-blank.svg" alt="Galtzo.com Logo (Wordless) by Aboling0, CC BY-SA 4.0" width="24">
|
399
|
+
</picture>
|
400
|
+
</a>, and rspec-stubbed_env contributors
|
401
|
+
</li>
|
402
|
+
</ul>
|
365
403
|
|
366
404
|
## 🤑 One more thing
|
367
405
|
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
or one of the others at the head of this README.
|
406
|
+
Having arrived at the bottom of the page, please endure a final supplication.
|
407
|
+
The primary maintainer of this gem, Peter Boling, wants
|
408
|
+
Ruby to be a great place for people to solve problems, big and small.
|
409
|
+
Please consider supporting his efforts via the giant yellow link below,
|
410
|
+
or one of smaller ones, depending on button size preference.
|
374
411
|
|
375
412
|
[![Buy me a latte][🖇buyme-img]][🖇buyme]
|
376
413
|
|
414
|
+
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
415
|
+
|
416
|
+
P.S. If you need help️, or want to say thanks, 👇 Join the Discord.
|
417
|
+
|
418
|
+
[![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
419
|
+
|
420
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay
|
421
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
422
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
423
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
424
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
425
|
+
[🖇polar]: https://polar.sh/pboling
|
426
|
+
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
427
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
428
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
429
|
+
[🖇patreon]: https://patreon.com/galtzo
|
430
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
431
|
+
[🖇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
|
432
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
433
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
434
|
+
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
435
|
+
|
377
436
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
378
|
-
[⛳️gem-namespace]: https://github.com/
|
437
|
+
[⛳️gem-namespace]: https://github.com/galtzo-floss/rspec-stubbed_env
|
379
438
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-RSpec%3A%3AStubbedEnv-brightgreen.svg?style=flat&logo=ruby&logoColor=white
|
380
439
|
[⛳️gem-name]: https://rubygems.org/gems/rspec-stubbed_env
|
381
440
|
[⛳️name-img]: https://img.shields.io/badge/name-rspec--stubbed__env-brightgreen.svg?style=flat&logo=rubygems&logoColor=red
|
@@ -413,68 +472,59 @@ or one of the others at the head of this README.
|
|
413
472
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
414
473
|
[🚂railsbling]: http://www.railsbling.com
|
415
474
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
416
|
-
[📜src-gl]: https://gitlab.com/
|
475
|
+
[📜src-gl]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/
|
417
476
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
418
|
-
[📜src-cb]: https://codeberg.org/
|
477
|
+
[📜src-cb]: https://codeberg.org/galtzo-floss/rspec-stubbed_env
|
419
478
|
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
|
420
|
-
[📜src-gh]: https://github.com/
|
479
|
+
[📜src-gh]: https://github.com/galtzo-floss/rspec-stubbed_env
|
421
480
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
422
|
-
[📜docs-head-rd-img]: https://img.shields.io/badge/
|
423
|
-
[📜wiki]: https://gitlab.com/
|
481
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
482
|
+
[📜wiki]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/wikis/home
|
424
483
|
[📜wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=Wiki&logoColor=white
|
425
484
|
[👽dl-rank]: https://rubygems.org/gems/rspec-stubbed_env
|
426
485
|
[👽dl-ranki]: https://img.shields.io/gem/rd/rspec-stubbed_env.svg
|
427
|
-
[👽oss-help]: https://www.codetriage.com/
|
428
|
-
[👽oss-helpi]: https://www.codetriage.com/
|
486
|
+
[👽oss-help]: https://www.codetriage.com/galtzo-floss/rspec-stubbed_env
|
487
|
+
[👽oss-helpi]: https://www.codetriage.com/galtzo-floss/rspec-stubbed_env/badges/users.svg
|
429
488
|
[👽version]: https://rubygems.org/gems/rspec-stubbed_env
|
430
489
|
[👽versioni]: https://img.shields.io/gem/v/rspec-stubbed_env.svg
|
431
|
-
[🔑
|
432
|
-
[🔑
|
433
|
-
[🔑
|
434
|
-
[🔑
|
435
|
-
[🔑codecov]: https://codecov.io/gh/
|
436
|
-
[🔑codecovi♻️]: https://codecov.io/gh/
|
437
|
-
[🔑coveralls]: https://coveralls.io/github/
|
438
|
-
[🔑coveralls-img]: https://coveralls.io/repos/github/
|
439
|
-
[🔑depfu]: https://depfu.com/github/
|
490
|
+
[🔑qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env
|
491
|
+
[🔑qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env/maintainability.svg
|
492
|
+
[🔑qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env/metrics/code?sort=coverageRating
|
493
|
+
[🔑qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env/coverage.svg
|
494
|
+
[🔑codecov]: https://codecov.io/gh/galtzo-floss/rspec-stubbed_env
|
495
|
+
[🔑codecovi♻️]: https://codecov.io/gh/galtzo-floss/rspec-stubbed_env/graph/badge.svg?token=hRnUCPqxMu
|
496
|
+
[🔑coveralls]: https://coveralls.io/github/galtzo-floss/rspec-stubbed_env?branch=main
|
497
|
+
[🔑coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/rspec-stubbed_env/badge.svg?branch=main
|
498
|
+
[🔑depfu]: https://depfu.com/github/galtzo-floss/rspec-stubbed_env?project_id=5884
|
440
499
|
[🔑depfui♻️]: https://badges.depfu.com/badges/a48948dd503f23a440f2c17910563f43/count.svg
|
441
|
-
[🖐codeQL]: https://github.com/
|
442
|
-
[🖐codeQL-img]: https://github.com/
|
443
|
-
[🚎1-an-wf]: https://github.com/
|
444
|
-
[🚎1-an-wfi]: https://github.com/
|
445
|
-
[🚎2-cov-wf]: https://github.com/
|
446
|
-
[🚎2-cov-wfi]: https://github.com/
|
447
|
-
[🚎3-hd-wf]: https://github.com/
|
448
|
-
[🚎3-hd-wfi]: https://github.com/
|
449
|
-
[🚎4-lg-wf]: https://github.com/
|
450
|
-
[🚎4-lg-wfi]: https://github.com/
|
451
|
-
[🚎5-st-wf]: https://github.com/
|
452
|
-
[🚎5-st-wfi]: https://github.com/
|
453
|
-
[🚎6-s-wf]: https://github.com/
|
454
|
-
[🚎6-s-wfi]: https://github.com/
|
455
|
-
[🚎7-us-wf]: https://github.com/
|
456
|
-
[🚎7-us-wfi]: https://github.com/
|
457
|
-
[🚎8-ho-wf]: https://github.com/
|
458
|
-
[🚎8-ho-wfi]: https://github.com/
|
459
|
-
[🚎9-t-wf]: https://github.com/
|
460
|
-
[🚎9-t-wfi]: https://github.com/
|
461
|
-
[🚎10-j-wf]: https://github.com/
|
462
|
-
[🚎10-j-wfi]: https://github.com/
|
463
|
-
[🚎11-c-wf]: https://github.com/
|
464
|
-
[🚎11-c-wfi]: https://github.com/
|
465
|
-
[
|
466
|
-
[
|
467
|
-
[
|
468
|
-
[
|
469
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-yellow.svg
|
470
|
-
[🖇polar]: https://polar.sh/pboling
|
471
|
-
[🖇kofi-img]: https://img.shields.io/badge/a_more_different_coffee-✓-yellow.svg
|
472
|
-
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
473
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
|
474
|
-
[🖇patreon]: https://patreon.com/galtzo
|
475
|
-
[🖇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
|
476
|
-
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
477
|
-
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-yellow.svg?style=flat
|
500
|
+
[🖐codeQL]: https://github.com/galtzo-floss/rspec-stubbed_env/security/code-scanning
|
501
|
+
[🖐codeQL-img]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/codeql-analysis.yml/badge.svg
|
502
|
+
[🚎1-an-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/ancient.yml
|
503
|
+
[🚎1-an-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/ancient.yml/badge.svg
|
504
|
+
[🚎2-cov-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/coverage.yml
|
505
|
+
[🚎2-cov-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/coverage.yml/badge.svg
|
506
|
+
[🚎3-hd-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/heads.yml
|
507
|
+
[🚎3-hd-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/heads.yml/badge.svg
|
508
|
+
[🚎4-lg-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/legacy.yml
|
509
|
+
[🚎4-lg-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/legacy.yml/badge.svg
|
510
|
+
[🚎5-st-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/style.yml
|
511
|
+
[🚎5-st-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/style.yml/badge.svg
|
512
|
+
[🚎6-s-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/supported.yml
|
513
|
+
[🚎6-s-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/supported.yml/badge.svg
|
514
|
+
[🚎7-us-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/unsupported.yml
|
515
|
+
[🚎7-us-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/unsupported.yml/badge.svg
|
516
|
+
[🚎8-ho-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/hoary.yml
|
517
|
+
[🚎8-ho-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/hoary.yml/badge.svg
|
518
|
+
[🚎9-t-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/truffle.yml
|
519
|
+
[🚎9-t-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/truffle.yml/badge.svg
|
520
|
+
[🚎10-j-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/jruby.yml
|
521
|
+
[🚎10-j-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/jruby.yml/badge.svg
|
522
|
+
[🚎11-c-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/current.yml
|
523
|
+
[🚎11-c-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/current.yml/badge.svg
|
524
|
+
[🚎13-🔒️-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/deps_locked.yml
|
525
|
+
[🚎13-🔒️-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/deps_locked.yml/badge.svg
|
526
|
+
[🚎14-🔓️-wf]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/deps_unlocked.yml
|
527
|
+
[🚎14-🔓️-wfi]: https://github.com/galtzo-floss/rspec-stubbed_env/actions/workflows/deps_unlocked.yml/badge.svg
|
478
528
|
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
479
529
|
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
480
530
|
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
@@ -497,37 +547,47 @@ or one of the others at the head of this README.
|
|
497
547
|
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
498
548
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
499
549
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
500
|
-
[🤝issues]: https://github.com/
|
501
|
-
[🤝pulls]: https://github.com/
|
550
|
+
[🤝gh-issues]: https://github.com/galtzo-floss/rspec-stubbed_env/issues
|
551
|
+
[🤝gh-pulls]: https://github.com/galtzo-floss/rspec-stubbed_env/pulls
|
552
|
+
[🤝gh-issues]: https://github.com/galtzo-floss/rspec-stubbed_env/issues
|
553
|
+
[🤝gh-pulls]: https://github.com/galtzo-floss/rspec-stubbed_env/pulls
|
554
|
+
[🤝gl-issues]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/issues
|
555
|
+
[🤝gl-pulls]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/merge_requests
|
556
|
+
[🤝cb-issues]: https://codeberg.org/galtzo-floss/rspec-stubbed_env/issues
|
557
|
+
[🤝cb-pulls]: https://codeberg.org/galtzo-floss/rspec-stubbed_env/pulls
|
558
|
+
[🤝cb-donate]: https://donate.codeberg.org/
|
502
559
|
[🤝contributing]: CONTRIBUTING.md
|
503
|
-
[🔑codecov-g♻️]: https://codecov.io/gh/
|
560
|
+
[🔑codecov-g♻️]: https://codecov.io/gh/galtzo-floss/rspec-stubbed_env/graphs/tree.svg?token=hRnUCPqxMu
|
504
561
|
[🖐contrib-rocks]: https://contrib.rocks
|
505
|
-
[🖐contributors]: https://github.com/
|
506
|
-
[🖐contributors-img]: https://contrib.rocks/image?repo=
|
507
|
-
[🚎contributors-gl]: https://gitlab.com/
|
562
|
+
[🖐contributors]: https://github.com/galtzo-floss/rspec-stubbed_env/graphs/contributors
|
563
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/rspec-stubbed_env
|
564
|
+
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/graphs/main
|
508
565
|
[🪇conduct]: CODE_OF_CONDUCT.md
|
509
|
-
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-
|
566
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
|
510
567
|
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
511
568
|
[📌semver]: https://semver.org/spec/v2.0.0.html
|
512
|
-
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-
|
569
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
513
570
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
514
571
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
515
572
|
[📌changelog]: CHANGELOG.md
|
516
573
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
517
|
-
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-
|
574
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
|
518
575
|
[📌gitmoji]:https://gitmoji.dev
|
519
|
-
[📌gitmoji-img]:https://img.shields.io/badge/
|
576
|
+
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
|
520
577
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
521
578
|
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.073-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
522
579
|
[🔐security]: SECURITY.md
|
523
|
-
[🔐security-img]: https://img.shields.io/badge/security-policy-
|
580
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
524
581
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
525
582
|
[📄license]: LICENSE.txt
|
526
583
|
[📄license-ref]: https://opensource.org/licenses/MIT
|
527
|
-
[📄license-img]: https://img.shields.io/badge/License-MIT-
|
584
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
528
585
|
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
529
|
-
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-
|
586
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
530
587
|
[🚎yard-current]: http://rubydoc.info/gems/rspec-stubbed_env
|
531
|
-
[🚎yard-head]: https://
|
532
|
-
[💎stone_checksums]: https://github.com/
|
533
|
-
[💎SHA_checksums]: https://gitlab.com/
|
588
|
+
[🚎yard-head]: https://rspec-stubbed-env.galtzo.com
|
589
|
+
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
590
|
+
[💎SHA_checksums]: https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/tree/main/checksums
|
591
|
+
[💎rlts]: https://github.com/rubocop-lts/rubocop-lts
|
592
|
+
[💎rlts-img]: https://img.shields.io/badge/code_style_%26_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
|
593
|
+
[💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-stubbed_env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Liam Bennett
|
8
7
|
- Peter Boling
|
8
|
+
- Liam Bennett
|
9
9
|
bindir: exe
|
10
10
|
cert_chain:
|
11
11
|
- |
|
@@ -36,8 +36,36 @@ cert_chain:
|
|
36
36
|
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
37
37
|
L9nRqA==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2025-05
|
39
|
+
date: 2025-08-05 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: stone_checksums
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: appraisal2
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rspec
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +94,20 @@ dependencies:
|
|
66
94
|
- - "~>"
|
67
95
|
- !ruby/object:Gem::Version
|
68
96
|
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec_junit_formatter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.6'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.6'
|
69
111
|
- !ruby/object:Gem::Dependency
|
70
112
|
name: rake
|
71
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,10 +127,16 @@ description: |
|
|
85
127
|
stub_env('REDIS_URL' => 'redis://localhost:6379/')
|
86
128
|
hide_env('SESSION_SECRET')
|
87
129
|
email:
|
88
|
-
-
|
130
|
+
- floss@galtzo.com
|
89
131
|
executables: []
|
90
132
|
extensions: []
|
91
|
-
extra_rdoc_files:
|
133
|
+
extra_rdoc_files:
|
134
|
+
- CHANGELOG.md
|
135
|
+
- CODE_OF_CONDUCT.md
|
136
|
+
- CONTRIBUTING.md
|
137
|
+
- LICENSE.txt
|
138
|
+
- README.md
|
139
|
+
- SECURITY.md
|
92
140
|
files:
|
93
141
|
- CHANGELOG.md
|
94
142
|
- CODE_OF_CONDUCT.md
|
@@ -101,19 +149,33 @@ files:
|
|
101
149
|
- lib/rspec/stubbed_env/hide_helpers.rb
|
102
150
|
- lib/rspec/stubbed_env/stub_helpers.rb
|
103
151
|
- lib/rspec/stubbed_env/version.rb
|
104
|
-
homepage: https://github.com/
|
152
|
+
homepage: https://github.com/galtzo-floss/rspec-stubbed_env
|
105
153
|
licenses:
|
106
154
|
- MIT
|
107
155
|
metadata:
|
108
|
-
homepage_uri: https://
|
109
|
-
source_code_uri: https://github.com/
|
110
|
-
changelog_uri: https://github.com/
|
111
|
-
bug_tracker_uri: https://github.com/
|
112
|
-
documentation_uri: https://www.rubydoc.info/gems/rspec-stubbed_env/1.0.
|
113
|
-
funding_uri: https://
|
114
|
-
wiki_uri: https://github.com/
|
156
|
+
homepage_uri: https://rspec-stubbed-env.galtzo.com/
|
157
|
+
source_code_uri: https://github.com/galtzo-floss/rspec-stubbed_env/tree/v1.0.4
|
158
|
+
changelog_uri: https://github.com/galtzo-floss/rspec-stubbed_env/blob/v1.0.4/CHANGELOG.md
|
159
|
+
bug_tracker_uri: https://github.com/galtzo-floss/rspec-stubbed_env/issues
|
160
|
+
documentation_uri: https://www.rubydoc.info/gems/rspec-stubbed_env/1.0.4
|
161
|
+
funding_uri: https://github.com/sponsors/pboling
|
162
|
+
wiki_uri: https://github.com/galtzo-floss/rspec-stubbed_env/wiki
|
163
|
+
news_uri: https://www.railsbling.com/tags/rspec-stubbed_env
|
164
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
115
165
|
rubygems_mfa_required: 'true'
|
116
|
-
rdoc_options:
|
166
|
+
rdoc_options:
|
167
|
+
- "--title"
|
168
|
+
- rspec-stubbed_env - Unobtrusively stub ENV keys and values during testing
|
169
|
+
- "--main"
|
170
|
+
- CHANGELOG.md
|
171
|
+
- CODE_OF_CONDUCT.md
|
172
|
+
- CONTRIBUTING.md
|
173
|
+
- LICENSE.txt
|
174
|
+
- README.md
|
175
|
+
- SECURITY.md
|
176
|
+
- "--line-numbers"
|
177
|
+
- "--inline-source"
|
178
|
+
- "--quiet"
|
117
179
|
require_paths:
|
118
180
|
- lib
|
119
181
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -127,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
189
|
- !ruby/object:Gem::Version
|
128
190
|
version: '0'
|
129
191
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.7.1
|
131
193
|
specification_version: 4
|
132
194
|
summary: Unobtrusively stub ENV keys and values during testing
|
133
195
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|