appraisal2 3.0.4 → 3.0.5

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: 657fa1768676719d9a8441f09b221912257be8dccf42b3a118ec73ef6f875a58
4
- data.tar.gz: 856abbb177d9eb34a844d7c73bc57e34a82724df7f2ff402637d2be9bd3600b1
3
+ metadata.gz: 41e1c49f3289b00343d40bd52113acd06d835489990d21da9757923f6b9f416c
4
+ data.tar.gz: 0b5d97ac9d843f838764d3914b1ad0ff28864cb530614f8002025e03ad9bfce8
5
5
  SHA512:
6
- metadata.gz: 221e7aa5366ab1fdce598217adf2d5f4ff3e71f3c600fce0f35c632ae2974bd81b6b9d7a726ddc64b0e5d787d72a879e9e40248d444f88fd3aa45b1fd96f85db
7
- data.tar.gz: c39aa79557bb57fc08769f3b0fd67967ba3c173e68d8783e61554ee2203da5c88174c9f7c39020ab850bafa23986980019d9c1fb437d4f202038628e70a0ef41
6
+ metadata.gz: b7b0ca0169406f8ee4004b3b8e25ccbbae5ae5f7f692d26344794f0b8d8bb5edd6974205823db2bec3adf1280ab5199d2f3d29965c4f51faea8ffb7d3dc55a9b
7
+ data.tar.gz: 7496d18c934299dde6bfb261f98cbda0ed1fe66d817f03aed00e2940eb35aa5b657a23d388cd5366535b6270e14fa7286d30ea6a71f7f18b1d9e4ad319da5e46
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -19,6 +19,22 @@ Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
19
19
 
20
20
  ### Security
21
21
 
22
+ ## [3.0.5] - 2026-02-14
23
+
24
+ - TAG: [v3.0.5][3.0.5t]
25
+ - COVERAGE: 89.67% -- 703/784 lines in 27 files
26
+ - BRANCH COVERAGE: 82.99% -- 122/147 branches in 27 files
27
+ - 43.03% documented
28
+
29
+ ### Added
30
+
31
+ - Documentation of `BUNDLE_PATH` for caching gems
32
+
33
+ ### Fixed
34
+
35
+ - Restore support for `BUNDLE_PATH` environment variable which regressed in `v3.0.3`
36
+ - `BUNDLE_PATH` is explicitly preserved to support CI environments that rely on it for gem caching.
37
+
22
38
  ## [3.0.4] - 2026-02-10
23
39
 
24
40
  - TAG: [v3.0.4][3.0.4t]
@@ -155,7 +171,9 @@ Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
155
171
  - code coverage tracked with Coveralls, QLTY.sh, and the kettle-soup-cover gem
156
172
  - other minor fixes and improvements
157
173
 
158
- [Unreleased]: https://github.com/appraisal-rb/appraisal2/compare/v3.0.4...HEAD
174
+ [Unreleased]: https://github.com/appraisal-rb/appraisal2/compare/v3.0.5...HEAD
175
+ [3.0.5]: https://github.com/appraisal-rb/appraisal2/compare/v3.0.4...v3.0.5
176
+ [3.0.5t]: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.0.5
159
177
  [3.0.4]: https://github.com/appraisal-rb/appraisal2/compare/v3.0.3...v3.0.4
160
178
  [3.0.4t]: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.0.4
161
179
  [3.0.3]: https://github.com/appraisal-rb/appraisal2/compare/v3.0.2...v3.0.3
data/README.md CHANGED
@@ -41,11 +41,14 @@ and [Joe Ferris](https://github.com/jferris), the original author!
41
41
  Appraisal2 adds:
42
42
 
43
43
  - support for `eval_gemfile`
44
+ - support for caching gems across appraisals in CI workflows by setting `BUNDLE_PATH` in env
44
45
  - support for [ORE](https://github.com/contriboss/ore-light) as an alternative gem manager (faster than bundler!)
45
46
  - For easy setup in **Gitea** [Actions](https://docs.gitea.com/usage/actions/overview), **Forgejo** [Actions](https://forgejo.org/docs/next/admin/actions/), **Codeberg** [Actions](https://docs.codeberg.org/ci/actions/), or **GitHub** [Actions](https://github.com/marketplace/actions/setup-ruby-with-rv-and-ore) check out [appraisal-rb/setup-ruby-flash](https://github.com/appraisal-rb/setup-ruby-flash)
46
47
  - support for Ruby 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 (all removed, or planned-to-be, in thoughtbot's `appraisal`)
47
48
  - NOTE: The [setup-ruby GH Action](https://github.com/ruby/setup-ruby) only ships support for Ruby 2.3+, so older Rubies are no longer tested in CI. Compatibility is assumed thanks to [![Enforced Code Style Linter][💎rlts-img]][💎rlts] enforcing the syntax for the oldest supported Ruby, which is Ruby v1.8. File a bug if you find something broken.
48
49
  - Support for JRuby 9.4+
50
+ - Support for Truffle Ruby 22.3+
51
+ - Support for MRI Ruby 4+
49
52
  - updated and improved documentation
50
53
  - many other fixes and improvements. See [CHANGELOG](CHANGELOG.md) for details.
51
54
 
@@ -15,12 +15,18 @@ module Appraisal
15
15
  end
16
16
 
17
17
  def run
18
+ # Capture BUNDLE_PATH from the current environment before with_original_env scrubs it
19
+ bundle_path = ENV["BUNDLE_PATH"]
18
20
  run_env = test_environment.merge(env)
19
21
 
20
22
  if @skip_bundle_exec
21
23
  execute(run_env)
22
24
  else
25
+ # This will wipe out BUNDLE_* variables
23
26
  Bundler.with_original_env do
27
+ # Restore BUNDLE_PATH if it was set
28
+ # BUNDLE_PATH is often used for caching between appraisals
29
+ ENV["BUNDLE_PATH"] = bundle_path if bundle_path
24
30
  ensure_bundler_is_available
25
31
  execute(run_env)
26
32
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Appraisal
4
4
  module Version
5
- VERSION = "3.0.4"
5
+ VERSION = "3.0.5"
6
6
  end
7
7
  VERSION = Version::VERSION # Traditional constant location
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appraisal2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -400,10 +400,10 @@ licenses:
400
400
  - MIT
401
401
  metadata:
402
402
  homepage_uri: https://appraisal2.galtzo.com/
403
- source_code_uri: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.0.4
404
- changelog_uri: https://gitlab.com/appraisal-rb/appraisal2/-/blob/v3.0.4/CHANGELOG.md
403
+ source_code_uri: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.0.5
404
+ changelog_uri: https://gitlab.com/appraisal-rb/appraisal2/-/blob/v3.0.5/CHANGELOG.md
405
405
  bug_tracker_uri: https://gitlab.com/appraisal-rb/appraisal2/-/issues
406
- documentation_uri: https://www.rubydoc.info/gems/appraisal2/3.0.4
406
+ documentation_uri: https://www.rubydoc.info/gems/appraisal2/3.0.5
407
407
  wiki_uri: https://gitlab.com/appraisal-rb/appraisal2/-/wiki
408
408
  funding_uri: https://github.com/sponsors/pboling
409
409
  news_uri: https://www.railsbling.com/tags/appraisal2
metadata.gz.sig CHANGED
Binary file