rspec-stubbed_env 1.0.11 โ†’ 1.0.13

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: 80bfe3557a4ba5c8113bf4bd5af9e5839ad6822ddefa150fb7ef27745822cd4f
4
- data.tar.gz: 1c4687817ef8f7b4fba38a93d392d286738ce114408af717bd5c31735d5e79f3
3
+ metadata.gz: c27f00bdeface583489df8de1b23121ccf5e628954aac0846f7a445bccc400a2
4
+ data.tar.gz: cc3cfe937db8c1ac9913f434d00cf81e490450afb47709a9ae65b67f27b23afe
5
5
  SHA512:
6
- metadata.gz: 7c60048112e1cc6ef7c7c5f998a5b6a14b4612a873cdb07264fdb0256f21857bc6eeb1afc4e7c5101c11a419eb2da11ef710aa4fbe16af62467c3a5773c56158
7
- data.tar.gz: be4d9fa56e82487da543e38af060e0d9d91eae2197f5626c8a78c91778402ac7ac13f65f83f6e258f5da861773aa081ea3893e9cc42a6f9d8657e8480b63dbab
6
+ metadata.gz: 14bd80b4f0ace062b362b057412aa59cde655c825fca54c2366ba30da5901a6db13e80b0e2b300c63dfa2b06435844f9a1de4877be984508c8bd4616b874e1e2
7
+ data.tar.gz: dc42f24b1691d2c76ae322d8cd678f07bfef214333b6f528b13052a9276e36092e3738f88a687789396a42b5084303662badc2cfaaa1330695213ea89bd1eb1c
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,59 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.13] - 2026-08-12
34
+
35
+ - TAG: [v1.0.13][1.0.13t]
36
+ - COVERAGE: 100.00% -- 94/94 lines in 5 files
37
+ - BRANCH COVERAGE: 100.00% -- 19/19 branches in 5 files
38
+ - 100.00% documented
39
+
40
+ ### Changed
41
+
42
+ - kettle-jem-template-20260801-001 - Generated README gem dashboard links now
43
+ use ClickGems instead of BestGems.
44
+
45
+ - Prepare project for kettle-jem templates: updated 19 project files across dependencies (19).
46
+
47
+ - Apply kettle-jem templates: updated 9 project files across code and tests (2), configuration (1), dependencies (2), documentation (1), other (3).
48
+
49
+ - Prepare project for kettle-jem templates: updated 4 project files across dependencies (4).
50
+
51
+ - Apply kettle-jem templates: updated 1 project file across code and tests (1).
52
+
53
+ ### Fixed
54
+
55
+ - kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
56
+ managed configuration block bindings structurally, preventing mixed block
57
+ parameter names from producing invalid configuration after a merge.
58
+ - kettle-jem-template-20260801-003 - Generated project metadata and
59
+ documentation now normalize configured underscore hostnames to valid
60
+ hyphenated hostnames.
61
+ - kettle-jem-template-20260801-004 - Generated organization README logos now
62
+ use GitHub's stable organization avatar endpoint instead of assuming a
63
+ matching Galtzo-hosted asset exists.
64
+
65
+ - kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
66
+ preserving comments and trailing commas during template updates.
67
+
68
+ ## [1.0.12] - 2026-07-31
69
+
70
+ - TAG: [v1.0.12][1.0.12t]
71
+ - COVERAGE: 100.00% -- 95/95 lines in 5 files
72
+ - BRANCH COVERAGE: 100.00% -- 19/19 branches in 5 files
73
+ - 100.00% documented
74
+
75
+ ### Added
76
+
77
+ ### Fixed
78
+
79
+ - kettle-jem-template-20260729-003 - Old-Ruby gems below the VersionGem runtime
80
+ floor now get managed minimal `version.rb` files and anonymous-loader version
81
+ specs without adding `version_gem`.
82
+ - kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
83
+ relative to the gemspec directory, so packaged template assets are included
84
+ even when the gemspec is loaded from another working directory.
85
+
33
86
  ## [1.0.11] - 2026-07-28
34
87
 
35
88
  - TAG: [v1.0.11][1.0.11t]
@@ -123,18 +176,12 @@ Please file a bug if you notice a violation of semantic versioning.
123
176
 
124
177
  ### Changed
125
178
 
126
- - kettle-jem-template-20260716-001 - Shim gemspec manifests now include
127
- `LICENSE.md` instead of nonexistent `LICENSE.txt`.
128
179
  - kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
129
180
  repository-only files by default to reduce downstream distro packaging churn.
130
- - kettle-jem-template-20260720-001 - Generated READMEs can now render
131
- template-managed corporate sponsor logos from project or family config.
132
181
  - kettle-jem-template-20260720-002 - Generated development Gemfiles now use the
133
182
  released `tree_sitter_language_pack` gem 1.13.3 or newer by default.
134
183
  - kettle-jem-template-20260720-003 - Generated StructuredMerge Git diff driver
135
184
  config now uses the installed `smorg-rb` Ruby driver name.
136
- - kettle-jem-template-20260720-004 - Generated multi-engine workflow files now
137
- omit JRuby and TruffleRuby jobs when project config declares MRI-only engines.
138
185
  - kettle-jem-template-20260720-005 - Generated README Support & Community rows
139
186
  now include a RubyForum help badge.
140
187
  - kettle-jem-template-20260725-001 - Generated JRuby and TruffleRuby workflow
@@ -282,7 +329,11 @@ Please file a bug if you notice a violation of semantic versioning.
282
329
  [@darhazer]: https://github.com/darhazer
283
330
  [@hosamaly]: https://github.com/hosamaly
284
331
 
285
- [Unreleased]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.11...HEAD
332
+ [Unreleased]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.13...HEAD
333
+ [1.0.13]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.12...v1.0.13
334
+ [1.0.13t]: https://github.com/galtzo-floss/rspec-stubbed_env/releases/tag/v1.0.13
335
+ [1.0.12]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.11...v1.0.12
336
+ [1.0.12t]: https://github.com/galtzo-floss/rspec-stubbed_env/releases/tag/v1.0.12
286
337
  [1.0.11]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.10...v1.0.11
287
338
  [1.0.11t]: https://github.com/galtzo-floss/rspec-stubbed_env/releases/tag/v1.0.11
288
339
  [1.0.10]: https://github.com/galtzo-floss/rspec-stubbed_env/compare/v1.0.9...v1.0.10
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- <a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="14%" align="right"/></a>
1
+ <a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by GitHub" src="https://github.com/galtzo-floss.png?size=192" width="14%" align="right"/></a>
2
2
 
3
3
  # ๐Ÿซฅ RSpec::StubbedEnv
4
4
 
5
- [![Version][๐Ÿ‘ฝversioni]][๐Ÿ‘ฝversion] [![GitHub tag (latest SemVer)][โ›ณ๏ธtag-img]][โ›ณ๏ธtag] [![License: MIT][๐Ÿ“„license-img]][๐Ÿ“„license] [![Downloads Rank][๐Ÿ‘ฝdl-ranki]][๐Ÿ‘ฝdl-rank] [![CodeCov Test Coverage][๐Ÿ€codecovi]][๐Ÿ€codecov] [![Coveralls Test Coverage][๐Ÿ€coveralls-img]][๐Ÿ€coveralls] [![QLTY Test Coverage][๐Ÿ€qlty-covi]][๐Ÿ€qlty-cov] [![QLTY Maintainability][๐Ÿ€qlty-mnti]][๐Ÿ€qlty-mnt] [![CI Heads][๐ŸšŽ3-hd-wfi]][๐ŸšŽ3-hd-wf] [![CI Runtime Dependencies @ HEAD][๐ŸšŽ12-crh-wfi]][๐ŸšŽ12-crh-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 Test Coverage][๐ŸšŽ2-cov-wfi]][๐ŸšŽ2-cov-wf] [![CI Style][๐ŸšŽ5-st-wfi]][๐ŸšŽ5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][๐ŸšŽ15-๐Ÿชช-wfi]][๐ŸšŽ15-๐Ÿชช-wf]
5
+ [![Version][๐Ÿ‘ฝversioni]][๐Ÿ‘ฝversion] [![Ruby Users Forum][โœ‰๏ธruby-forum-top-img]][โœ‰๏ธruby-forum] [![GitHub tag (latest SemVer)][โ›ณ๏ธtag-img]][โ›ณ๏ธtag] [![License: MIT][๐Ÿ“„license-img]][๐Ÿ“„license] [![Total downloads][๐Ÿ‘ฝdl-ranki]][๐Ÿ‘ฝdl-rank] [![CodeCov Test Coverage][๐Ÿ€codecovi]][๐Ÿ€codecov] [![Coveralls Test Coverage][๐Ÿ€coveralls-img]][๐Ÿ€coveralls] [![QLTY Test Coverage][๐Ÿ€qlty-covi]][๐Ÿ€qlty-cov] [![QLTY Maintainability][๐Ÿ€qlty-mnti]][๐Ÿ€qlty-mnt] [![CI Heads][๐ŸšŽ3-hd-wfi]][๐ŸšŽ3-hd-wf] [![CI Runtime Dependencies @ HEAD][๐ŸšŽ12-crh-wfi]][๐ŸšŽ12-crh-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 Test Coverage][๐ŸšŽ2-cov-wfi]][๐ŸšŽ2-cov-wf] [![CI Style][๐ŸšŽ5-st-wfi]][๐ŸšŽ5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][๐ŸšŽ15-๐Ÿชช-wfi]][๐ŸšŽ15-๐Ÿชช-wf]
6
6
 
7
- `if ci_badges.map(&:color).detect { it != "green"}` โ˜๏ธ [let me know][โœ‰๏ธdiscord-invite], as I may have missed the [discord notification][โœ‰๏ธdiscord-invite].
7
+ `if ci_badges.map(&:color).detect { it != "green"}` โ˜๏ธ [let me know on Discord][โœ‰๏ธdiscord-invite] or [RubyForum][โœ‰๏ธruby-forum], as I may have missed the notification.
8
8
 
9
9
  ---
10
10
 
@@ -86,7 +86,7 @@ due to the inherent limitations of GitHub Actions.
86
86
 
87
87
  ### Compatibility
88
88
 
89
- Compatible with MRI Ruby 1.8.7+, and concordant releases of JRuby, and TruffleRuby.
89
+ Compatible with MRI Ruby 1.8.7+, JRuby, and TruffleRuby.
90
90
  CI workflows and Appraisals are generated for MRI Ruby 2.4+.
91
91
  This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
92
92
  may be higher than the gem's runtime compatibility floor when legacy Rubies are
@@ -99,16 +99,16 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
99
99
  <details markdown="1">
100
100
  <summary>How kettle-dev manages complexity in tests</summary>
101
101
 
102
- | Gem | Source | Role | Daily download rank |
102
+ | Gem | Source | Role | Total downloads |
103
103
  |-----|--------|------|---------------------|
104
- | [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Daily download rank for appraisal2](https://img.shields.io/gem/rd/appraisal2.svg?style=flat-square)](https://bestgems.org/gems/appraisal2) |
105
- | [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Daily download rank for appraisal2-rubocop](https://img.shields.io/gem/rd/appraisal2-rubocop.svg?style=flat-square)](https://bestgems.org/gems/appraisal2-rubocop) |
106
- | [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Daily download rank for kettle-dev](https://img.shields.io/gem/rd/kettle-dev.svg?style=flat-square)](https://bestgems.org/gems/kettle-dev) |
107
- | [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Daily download rank for kettle-jem](https://img.shields.io/gem/rd/kettle-jem.svg?style=flat-square)](https://bestgems.org/gems/kettle-jem) |
108
- | [kettle-soup-cover](https://bestgems.org/gems/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Daily download rank for kettle-soup-cover](https://img.shields.io/gem/rd/kettle-soup-cover.svg?style=flat-square)](https://bestgems.org/gems/kettle-soup-cover) |
109
- | [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Daily download rank for kettle-test](https://img.shields.io/gem/rd/kettle-test.svg?style=flat-square)](https://bestgems.org/gems/kettle-test) |
110
- | [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Daily download rank for rubocop-lts](https://img.shields.io/gem/rd/rubocop-lts.svg?style=flat-square)](https://bestgems.org/gems/rubocop-lts) |
111
- | [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Daily download rank for turbo_tests2](https://img.shields.io/gem/rd/turbo_tests2.svg?style=flat-square)](https://bestgems.org/gems/turbo_tests2) |
104
+ | [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Total downloads for appraisal2](https://img.shields.io/gem/dt/appraisal2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2) |
105
+ | [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Total downloads for appraisal2-rubocop](https://img.shields.io/gem/dt/appraisal2-rubocop.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
106
+ | [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Total downloads for kettle-dev](https://img.shields.io/gem/dt/kettle-dev.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
107
+ | [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Total downloads for kettle-jem](https://img.shields.io/gem/dt/kettle-jem.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
108
+ | [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Total downloads for kettle-soup-cover](https://img.shields.io/gem/dt/kettle-soup-cover.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
109
+ | [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Total downloads for kettle-test](https://img.shields.io/gem/dt/kettle-test.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-test) |
110
+ | [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Total downloads for rubocop-lts](https://img.shields.io/gem/dt/rubocop-lts.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
111
+ | [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Total downloads for turbo_tests2](https://img.shields.io/gem/dt/turbo_tests2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
112
112
 
113
113
  </details>
114
114
 
@@ -117,17 +117,14 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
117
117
  <details markdown="1">
118
118
  <summary>Find this repo on federated forges (Coming soon!)</summary>
119
119
 
120
- | Federated [DVCS][๐Ÿ’Žd-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
121
- |-------------------------------------------------|-----------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
122
- | ๐Ÿงช [galtzo-floss/rspec-stubbed_env on GitLab][๐Ÿ“œsrc-gl] | The Truth | [๐Ÿ’š][๐Ÿคgl-issues] | [๐Ÿ’š][๐Ÿคgl-pulls] | [๐Ÿ’š][๐Ÿ“œgl-wiki] | ๐Ÿญ Tiny Matrix | โž– |
123
- | ๐ŸงŠ [galtzo-floss/rspec-stubbed_env on CodeBerg][๐Ÿ“œsrc-cb] | An Ethical Mirror ([Donate][๐Ÿคcb-donate]) | [๐Ÿ’š][๐Ÿคcb-issues] | [๐Ÿ’š][๐Ÿคcb-pulls] | โž– | โญ•๏ธ No Matrix | โž– |
124
- | ๐Ÿ™ [galtzo-floss/rspec-stubbed_env on GitHub][๐Ÿ“œsrc-gh] | Another Mirror | [๐Ÿ’š][๐Ÿคgh-issues] | [๐Ÿ’š][๐Ÿคgh-pulls] | [๐Ÿ’š][๐Ÿ“œgh-wiki] | ๐Ÿ’ฏ Full Matrix | [๐Ÿ’š][gh-discussions] |
125
- | ๐ŸŽฎ๏ธ [Discord Server][โœ‰๏ธdiscord-invite] | [![Live Chat on Discord][โœ‰๏ธdiscord-invite-img-ftb]][โœ‰๏ธdiscord-invite] | [Let's][โœ‰๏ธdiscord-invite] | [talk][โœ‰๏ธdiscord-invite] | [about][โœ‰๏ธdiscord-invite] | [this][โœ‰๏ธdiscord-invite] | [library!][โœ‰๏ธdiscord-invite] |
120
+ | Federated [DVCS][๐Ÿ’Žd-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
121
+ |-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
122
+ | ๐Ÿงช [galtzo-floss/rspec-stubbed_env on GitLab][๐Ÿ“œsrc-gl] | The Truth | [๐Ÿ’š][๐Ÿคgl-issues] | [๐Ÿ’š][๐Ÿคgl-pulls] | [๐Ÿ’š][๐Ÿ“œgl-wiki] | ๐Ÿญ Tiny Matrix |
123
+ | ๐ŸงŠ [galtzo-floss/rspec-stubbed_env on CodeBerg][๐Ÿ“œsrc-cb] | An Ethical Mirror ([Donate][๐Ÿคcb-donate]) | [๐Ÿ’š][๐Ÿคcb-issues] | [๐Ÿ’š][๐Ÿคcb-pulls] | โž– | โญ•๏ธ No Matrix |
124
+ | ๐Ÿ™ [galtzo-floss/rspec-stubbed_env on GitHub][๐Ÿ“œsrc-gh] | Another Mirror | [๐Ÿ’š][๐Ÿคgh-issues] | [๐Ÿ’š][๐Ÿคgh-pulls] | [๐Ÿ’š][๐Ÿ“œgh-wiki] | ๐Ÿ’ฏ Full Matrix |
126
125
 
127
126
  </details>
128
127
 
129
- [gh-discussions]: https://github.com/galtzo-floss/rspec-stubbed_env/discussions
130
-
131
128
  ### Enterprise Support [![Tidelift](https://tidelift.com/badges/package/rubygems/rspec-stubbed_env)](https://tidelift.com/subscription/pkg/rubygems-rspec-stubbed_env?utm_source=rubygems-rspec-stubbed_env&utm_medium=referral&utm_campaign=readme)
132
129
 
133
130
  Available as part of the Tidelift Subscription.
@@ -145,6 +142,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
145
142
 
146
143
  Alternatively:
147
144
 
145
+ - [![Ruby Users Forum][โœ‰๏ธruby-forum-img]][โœ‰๏ธruby-forum]
148
146
  - [![Live Chat on Discord][โœ‰๏ธdiscord-invite-img-ftb]][โœ‰๏ธdiscord-invite]
149
147
  - [![Get help from me on Upwork][๐Ÿ‘จ๐Ÿผโ€๐Ÿซexpsup-upwork-img]][๐Ÿ‘จ๐Ÿผโ€๐Ÿซexpsup-upwork]
150
148
  - [![Get help from me on Codementor][๐Ÿ‘จ๐Ÿผโ€๐Ÿซexpsup-codementor-img]][๐Ÿ‘จ๐Ÿผโ€๐Ÿซexpsup-codementor]
@@ -167,6 +165,11 @@ gem install rspec-stubbed_env
167
165
 
168
166
  ## โš™๏ธ Configuration
169
167
 
168
+ Configure RSpec to use the `:expect` syntax, then require
169
+ `rspec/stubbed_env` from the spec helper. The gem has no global ENV list: each
170
+ example declares the keys it stubs or hides, so restoration remains scoped to
171
+ that example.
172
+
170
173
  ## ๐Ÿ”ง Basic Usage
171
174
 
172
175
  You must configure RSpec to use the `:expect` syntax, or some compatible alternative.
@@ -390,8 +393,7 @@ See [SECURITY.md][๐Ÿ”security].
390
393
  ## ๐Ÿค Contributing
391
394
 
392
395
  If you need some ideas of where to help, you could work on adding more code coverage,
393
- or if it is already ๐Ÿ’ฏ (see [below](#code-coverage)) check [issues][๐Ÿคgh-issues] or [PRs][๐Ÿคgh-pulls],
394
- or use the gem and think about how it could be better.
396
+ check [issues][๐Ÿคgh-issues] or [PRs][๐Ÿคgh-pulls], or use the gem and think about how it could be better.
395
397
 
396
398
  We [![Keep A Changelog][๐Ÿ“—keep-changelog-img]][๐Ÿ“—keep-changelog] so if you make changes, remember to update it.
397
399
 
@@ -427,19 +429,6 @@ Made with [contributors-img][๐Ÿ–contrib-rocks].
427
429
 
428
430
  Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/rspec-stubbed_env/-/graphs/main][๐ŸšŽcontributors-gl]
429
431
 
430
- <details markdown="1">
431
- <summary>โญ๏ธ Star History</summary>
432
-
433
- <a href="https://star-history.com/galtzo-floss/rspec-stubbed_env&Date">
434
- <picture>
435
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date&theme=dark" />
436
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date" />
437
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/rspec-stubbed_env&type=Date" />
438
- </picture>
439
- </a>
440
-
441
- </details>
442
-
443
432
  ## ๐Ÿ“Œ Versioning
444
433
 
445
434
  This library follows [![Semantic Versioning 2.0.0][๐Ÿ“Œsemver-img]][๐Ÿ“Œsemver] for its public API where practical.
@@ -492,11 +481,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
492
481
  so if you value the work I am doing, I need your support.
493
482
  Please consider sponsoring me or the project.
494
483
 
495
- To join the community or get help ๐Ÿ‘‡๏ธ Join the Discord.
484
+ To join the community or get help, use the RubyForum or Discord.
496
485
 
486
+ [![Ruby Users Forum][โœ‰๏ธruby-forum-img]][โœ‰๏ธruby-forum]
497
487
  [![Live Chat on Discord][โœ‰๏ธdiscord-invite-img-ftb]][โœ‰๏ธdiscord-invite]
498
488
 
499
- To say "thanks!" โ˜๏ธ Join the Discord or ๐Ÿ‘‡๏ธ send money.
489
+ To say "thanks!" โ˜๏ธ Join the community or ๐Ÿ‘‡๏ธ send money.
500
490
 
501
491
  [![Sponsor galtzo-floss/rspec-stubbed_env on Open Source Collective][๐Ÿ–‡osc-all-bottom-img]][๐Ÿ–‡osc] ๐Ÿ’Œ [![Sponsor me on GitHub Sponsors][๐Ÿ–‡sponsor-bottom-img]][๐Ÿ–‡sponsor] ๐Ÿ’Œ [![Sponsor me on Liberapay][โ›ณliberapay-bottom-img]][โ›ณliberapay] ๐Ÿ’Œ [![Donate on PayPal][๐Ÿ–‡paypal-bottom-img]][๐Ÿ–‡paypal]
502
492
 
@@ -537,13 +527,14 @@ Thanks for RTFM. โ˜บ๏ธ
537
527
  [โœ‰๏ธdiscord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
538
528
  [โœ‰๏ธruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
539
529
  [โœ‰๏ธruby-friends]: https://app.daily.dev/squads/rubyfriends
540
- [โœ‰๏ธruby-forum-img]: https://img.shields.io/badge/RubyForum-Help-CC342D?style=for-the-badge&logo=ruby&logoColor=white
541
- [โœ‰๏ธruby-forum]: https://www.rubyforum.org/c/help/8
530
+ [โœ‰๏ธruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
531
+ [โœ‰๏ธruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
532
+ [โœ‰๏ธruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
542
533
 
543
534
  [โœ‡bundle-group-pattern]: https://gist.github.com/pboling/4564780
544
535
  [โ›ณ๏ธgem-namespace]: https://github.com/galtzo-floss/rspec-stubbed_env
545
536
  [โ›ณ๏ธnamespace-img]: https://img.shields.io/badge/namespace-RSpec::StubbedEnv-3C2D2D.svg?style=square&logo=ruby&logoColor=white
546
- [โ›ณ๏ธgem-name]: https://bestgems.org/gems/rspec-stubbed_env
537
+ [โ›ณ๏ธgem-name]: https://clickgems.clickhouse.com/dashboard/rspec-stubbed_env
547
538
  [โ›ณ๏ธname-img]: https://img.shields.io/badge/name-rspec--stubbed__env-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
548
539
  [โ›ณ๏ธtag-img]: https://img.shields.io/github/tag/galtzo-floss/rspec-stubbed_env.svg
549
540
  [โ›ณ๏ธtag]: https://github.com/galtzo-floss/rspec-stubbed_env/releases
@@ -592,9 +583,9 @@ Thanks for RTFM. โ˜บ๏ธ
592
583
  [๐Ÿ“œgh-wiki]: https://github.com/galtzo-floss/rspec-stubbed_env/wiki
593
584
  [๐Ÿ“œgl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
594
585
  [๐Ÿ“œgh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
595
- [๐Ÿ‘ฝdl-rank]: https://bestgems.org/gems/rspec-stubbed_env
596
- [๐Ÿ‘ฝdl-ranki]: https://img.shields.io/gem/rd/rspec-stubbed_env.svg
597
- [๐Ÿ‘ฝversion]: https://bestgems.org/gems/rspec-stubbed_env
586
+ [๐Ÿ‘ฝdl-rank]: https://clickgems.clickhouse.com/dashboard/rspec-stubbed_env
587
+ [๐Ÿ‘ฝdl-ranki]: https://img.shields.io/gem/dt/rspec-stubbed_env.svg
588
+ [๐Ÿ‘ฝversion]: https://clickgems.clickhouse.com/dashboard/rspec-stubbed_env
598
589
  [๐Ÿ‘ฝversioni]: https://img.shields.io/gem/v/rspec-stubbed_env.svg
599
590
  [๐Ÿ€qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env
600
591
  [๐Ÿ€qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/rspec-stubbed_env/maintainability.svg
@@ -700,7 +691,7 @@ Thanks for RTFM. โ˜บ๏ธ
700
691
  [๐Ÿ“Œgitmoji]: https://gitmoji.dev
701
692
  [๐Ÿ“Œgitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
702
693
  [๐Ÿงฎkloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
703
- [๐Ÿงฎkloc-img]: https://img.shields.io/badge/KLOC-0.095-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
694
+ [๐Ÿงฎkloc-img]: https://img.shields.io/badge/KLOC-0.094-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
704
695
  [๐Ÿ”security]: https://github.com/galtzo-floss/rspec-stubbed_env/blob/main/SECURITY.md
705
696
  [๐Ÿ”security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
706
697
  [๐Ÿ“„copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -5,7 +5,7 @@ module RSpec
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "1.0.11"
8
+ VERSION = "1.0.13"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -1,12 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # This Gem
4
- require_relative "stubbed_env/version"
5
4
 
6
- require "rspec/stubbed_env/version"
7
5
  require "rspec/stubbed_env/hide_helpers"
8
6
  require "rspec/stubbed_env/stub_helpers"
9
7
  require "rspec/stubbed_env/config"
8
+ require_relative "stubbed_env/version"
10
9
 
11
10
  #
12
11
  # ENV stubbing is opt-in, via a shared context, rather than global
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-stubbed_env
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -44,20 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.3'
47
+ version: '3.0'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 2.3.7
50
+ version: 3.0.6
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '2.3'
57
+ version: '3.0'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 2.3.7
60
+ version: 3.0.6
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: bundler-audit
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ dependencies:
135
135
  version: '3.2'
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 3.2.0
138
+ version: 3.2.2
139
139
  type: :development
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
@@ -145,7 +145,7 @@ dependencies:
145
145
  version: '3.2'
146
146
  - - ">="
147
147
  - !ruby/object:Gem::Version
148
- version: 3.2.0
148
+ version: 3.2.2
149
149
  - !ruby/object:Gem::Dependency
150
150
  name: kettle-test
151
151
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ dependencies:
155
155
  version: '2.0'
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: 2.0.16
158
+ version: 2.0.19
159
159
  type: :development
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ dependencies:
165
165
  version: '2.0'
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
- version: 2.0.16
168
+ version: 2.0.19
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: turbo_tests2
171
171
  requirement: !ruby/object:Gem::Requirement
@@ -175,7 +175,7 @@ dependencies:
175
175
  version: '3.2'
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
- version: 3.2.3
178
+ version: 3.2.5
179
179
  type: :development
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
@@ -185,7 +185,7 @@ dependencies:
185
185
  version: '3.2'
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
- version: 3.2.3
188
+ version: 3.2.5
189
189
  - !ruby/object:Gem::Dependency
190
190
  name: ruby-progressbar
191
191
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +209,7 @@ dependencies:
209
209
  version: '1.0'
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: 1.0.7
212
+ version: 1.0.8
213
213
  type: :development
214
214
  prerelease: false
215
215
  version_requirements: !ruby/object:Gem::Requirement
@@ -219,7 +219,7 @@ dependencies:
219
219
  version: '1.0'
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 1.0.7
222
+ version: 1.0.8
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: gitmoji-regex
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -229,7 +229,7 @@ dependencies:
229
229
  version: '2.0'
230
230
  - - ">="
231
231
  - !ruby/object:Gem::Version
232
- version: 2.0.8
232
+ version: 2.0.11
233
233
  type: :development
234
234
  prerelease: false
235
235
  version_requirements: !ruby/object:Gem::Requirement
@@ -239,7 +239,7 @@ dependencies:
239
239
  version: '2.0'
240
240
  - - ">="
241
241
  - !ruby/object:Gem::Version
242
- version: 2.0.8
242
+ version: 2.0.11
243
243
  - !ruby/object:Gem::Dependency
244
244
  name: rspec
245
245
  requirement: !ruby/object:Gem::Requirement
@@ -304,14 +304,15 @@ licenses:
304
304
  - MIT
305
305
  metadata:
306
306
  homepage_uri: https://rspec-stubbed-env.galtzo.com/
307
- source_code_uri: https://github.com/galtzo-floss/rspec-stubbed_env/tree/v1.0.11
308
- changelog_uri: https://github.com/galtzo-floss/rspec-stubbed_env/blob/v1.0.11/CHANGELOG.md
307
+ source_code_uri: https://github.com/galtzo-floss/rspec-stubbed_env/tree/v1.0.13
308
+ changelog_uri: https://github.com/galtzo-floss/rspec-stubbed_env/blob/v1.0.13/CHANGELOG.md
309
309
  bug_tracker_uri: https://github.com/galtzo-floss/rspec-stubbed_env/issues
310
- documentation_uri: https://www.rubydoc.info/gems/rspec-stubbed_env/1.0.11
310
+ documentation_uri: https://www.rubydoc.info/gems/rspec-stubbed_env/1.0.13
311
311
  funding_uri: https://github.com/sponsors/pboling
312
312
  wiki_uri: https://github.com/galtzo-floss/rspec-stubbed_env/wiki
313
313
  news_uri: https://www.railsbling.com/tags/rspec-stubbed_env
314
314
  discord_uri: https://discord.gg/3qme4XHNKN
315
+ mailing_list_uri: https://www.rubyforum.org/tag/galtzo-floss
315
316
  rubygems_mfa_required: 'true'
316
317
  rdoc_options:
317
318
  - "--title"
metadata.gz.sig CHANGED
Binary file