tree_haver 4.0.3 → 4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16ff994e79a2627158244ff89554d062a5feacb3f3c6605545c8dfbf86dac3d0
4
- data.tar.gz: 66250d72daf7a7617ef9fa610a43253b84836658e6112b9bf276d3edc91ba4a3
3
+ metadata.gz: ccd582c370b8637334816c198f3db0a63bf88ad68bbdf2c801d3966547d0ec8a
4
+ data.tar.gz: 0e42adbd1e9502a8f9c8517b21688a65c4aa8f5320b49175bbf41c67a631c5a2
5
5
  SHA512:
6
- metadata.gz: 80b3aff0e492dbdc1fcfc23fce6ab05a514b6fdc75630e822267c93bf232d638550340813abac8f23f1602516b63a800093e82ae95a573160fcaf2fde089ea18
7
- data.tar.gz: 4a168f874d4e455e4db82e6786abeef2fc7c1b6007d3cc101fcce1aa0eea6b91c656a32cafb73da9fda1c7830e6397f6a7441ef7ffc4340f2e1254b183afda28
6
+ metadata.gz: 6ebd60f2b31c8ef09b5f3a12a3a77b58ca6a789b3d7b6d41ce8801aa7aa771cd8e02733206bee70cd41c0af78d213e4471f3cd5f28e3580db49ca37a08a31c00
7
+ data.tar.gz: 776084c8a3673c5ff1039ac1f384e6b6592b9e151a4e51d27b96002fc17e4e10107be85218365458ce9e0df283ae853d82d25c3a1b3c07ac60e3435c477485af
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,21 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [4.0.4] - 2026-01-09
34
+
35
+ - TAG: [v4.0.4][4.0.4t]
36
+ - COVERAGE: 95.27% -- 2033/2134 lines in 28 files
37
+ - BRANCH COVERAGE: 84.07% -- 802/954 branches in 28 files
38
+ - 95.49% documented
39
+
40
+ ### Fixed
41
+
42
+ - **RSpec Dependency Tags**: Fixed blocked backend tests not being excluded on JRuby
43
+ - When `TREE_HAVER_BACKEND=ffi` is set, MRI backend is blocked to prevent conflicts
44
+ - Previously, this skipped BOTH the availability check AND the exclusion
45
+ - Now blocked backends are excluded without checking availability
46
+ - Tests tagged with `:mri_backend` now properly skip on JRuby when FFI is selected
47
+
33
48
  ## [4.0.3] - 2026-01-08
34
49
 
35
50
  - TAG: [v4.0.3][4.0.3t]
@@ -1009,7 +1024,9 @@ Despite the major version bump to 3.0.0 (following semver due to the breaking `L
1009
1024
 
1010
1025
  - Initial release
1011
1026
 
1012
- [Unreleased]: https://github.com/kettle-rb/tree_haver/compare/v4.0.3...HEAD
1027
+ [Unreleased]: https://github.com/kettle-rb/tree_haver/compare/v4.0.4...HEAD
1028
+ [4.0.4]: https://github.com/kettle-rb/tree_haver/compare/v4.0.3...v4.0.4
1029
+ [4.0.4t]: https://github.com/kettle-rb/tree_haver/releases/tag/v4.0.4
1013
1030
  [4.0.3]: https://github.com/kettle-rb/tree_haver/compare/v4.0.2...v4.0.3
1014
1031
  [4.0.3t]: https://github.com/kettle-rb/tree_haver/releases/tag/v4.0.3
1015
1032
  [4.0.2]: https://github.com/kettle-rb/tree_haver/compare/v4.0.1...v4.0.2
@@ -1073,11 +1073,17 @@ RSpec.configure do |config|
1073
1073
 
1074
1074
  # Now configure exclusions, skipping availability checks for blocked backends
1075
1075
  backend_tags.each do |backend, tag|
1076
- next if blocked_backends.include?(backend)
1077
-
1078
1076
  # FFI is handled specially with before(:each) hook above
1079
1077
  next if backend == :ffi
1080
1078
 
1079
+ # If this backend is in blocked_backends, we exclude its tests WITHOUT checking
1080
+ # availability. This prevents loading a conflicting backend while still ensuring
1081
+ # tests for unavailable backends are skipped.
1082
+ if blocked_backends.include?(backend)
1083
+ config.filter_run_excluding(tag => true)
1084
+ next
1085
+ end
1086
+
1081
1087
  availability_method = backend_availability_methods[backend]
1082
1088
  config.filter_run_excluding(tag => true) unless deps.public_send(availability_method)
1083
1089
  end
@@ -10,7 +10,7 @@ module TreeHaver
10
10
  # Current version of the tree_haver gem
11
11
  #
12
12
  # @return [String] the version string
13
- VERSION = "4.0.3"
13
+ VERSION = "4.0.4"
14
14
  end
15
15
 
16
16
  # Traditional location for VERSION constant
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tree_haver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -298,10 +298,10 @@ licenses:
298
298
  - MIT
299
299
  metadata:
300
300
  homepage_uri: https://tree-haver.galtzo.com/
301
- source_code_uri: https://github.com/kettle-rb/tree_haver/tree/v4.0.3
302
- changelog_uri: https://github.com/kettle-rb/tree_haver/blob/v4.0.3/CHANGELOG.md
301
+ source_code_uri: https://github.com/kettle-rb/tree_haver/tree/v4.0.4
302
+ changelog_uri: https://github.com/kettle-rb/tree_haver/blob/v4.0.4/CHANGELOG.md
303
303
  bug_tracker_uri: https://github.com/kettle-rb/tree_haver/issues
304
- documentation_uri: https://www.rubydoc.info/gems/tree_haver/4.0.3
304
+ documentation_uri: https://www.rubydoc.info/gems/tree_haver/4.0.4
305
305
  funding_uri: https://github.com/sponsors/pboling
306
306
  wiki_uri: https://github.com/kettle-rb/tree_haver/wiki
307
307
  news_uri: https://www.railsbling.com/tags/tree_haver
metadata.gz.sig CHANGED
Binary file