Skip to content

Releases: main-branch/rspec-path_matchers

v0.2.2

01 Jul 23:50
Compare
Choose a tag to compare

0.2.2 (2025-07-01)

Features

  • Ensure windows compatibility for Ruby MRI (c712b23)

Other Changes

  • Add a statement about the precise, easy-to-diagnose failure messages in the README summary (90e183e)

v0.2.1

01 Jul 20:34
Compare
Choose a tag to compare

0.2.1 (2025-07-01)

Bug Fixes

  • Make error messages consistent (3a5f730)
  • Update CI badge to point to the correct workflow (589a588)

Other Changes

  • Add doc link badge to README (7de600b)
  • Update README to include CHANGELOG badge (0a871ca)

v0.2.0

30 Jun 23:59
Compare
Choose a tag to compare

0.2.0 (2025-06-30)

⚠ BREAKING CHANGES

  • dsl: The format of failure messages has been completely redesigned. be_dir, be_file, and be_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

  • Refactor the Options classes to reduce duplicaate code (7e23190)
  • Update README to give an example toward the top of the doc (ece4afc)
  • Update README to give an example toward the top of the doc (5b0f196)

v0.1.1

25 Jun 17:19
Compare
Choose a tag to compare

0.1.1 (2025-06-25)

Bug Fixes

  • Rename the target_exist? option to target_exist (8c77c08)

Other Changes

  • Rename the project gemspec to match the gem name (ece0738)

v0.1.0

25 Jun 13:52
Compare
Choose a tag to compare

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)