Releases: main-branch/rspec-path_matchers
Releases · main-branch/rspec-path_matchers
v0.2.2
v0.2.1
v0.2.0
0.2.0 (2025-06-30)
⚠ BREAKING CHANGES
- dsl: The format of failure messages has been completely redesigned.
be_dir
,be_file
, andbe_symlink
are introduced as the preferred top-level matchers for clarity. - You must use
#containing
to to set expectations on dir content instead of a block
Features
- Add the be_dir matcher (b16bf00)
- Change how expectations are nested for have_dir and be_dir (e61d8fd)
- dsl: Introduce be_* matchers for a clearer and more robust API (0c76e85)
Other Changes
v0.1.1
v0.1.0
0.1.0 (2025-06-25)
⚠ BREAKING CHANGES
- update lowest version of Ruby supported from 3.1.x to 3.2.x
- rename the gem from rspec-file_systems to rspec-path_matchers
Features
- Add custom description for each matcher (a305d05)
- Add nested matchers for the have_directory matcher (d0fc5bf)
- Add options to the have_symlink matcher to test the symlink target and target type (6228db4)
- Add support for negative (aka not_to) matches in have_file, have_dir, and have_symlink (69bdc59)
- Add the 'target_exist?' option to the have_symlink matcher (a47c900)
- Allow no_file, no_dir, and no_symlink matchers in the have_dir block (43b0c67)
- Implement the have_dir exact option (9a405ce)
- Initial versions of the have_file, have_dir and have_symlink matchers (51a9e2e)
- Initial versions of the have_file, have_dir and have_symlink matchers (31e6228)
- Rename the gem from rspec-file_systems to rspec-path_matchers (6c36917)
- Update lowest version of Ruby supported from 3.1.x to 3.2.x (7206fa8)
Bug Fixes
- Correct rubocop offenses in the design doc (9906b5d)
- Fix the description of the json and yaml matchers when given 'true' (fd84705)
Other Changes
- Add tests for the have_dir exact: option (01e8708)
- Call the block passed to the HaveDirectory matcher
specification_block
(2cd2587) - Do not run yard:audit or yard:coverage as part of the CI build (c8f3471)
- Implement continuous delivery (818567d)
- Reset gem version for CD pipeline (640bf30)
- Reset gem version for CD pipeline (ade971a)