Skip to content

Releases: levinmr/rspec-snapshot

2.0.3

02 Apr 13:45
Compare
Choose a tag to compare

Bugfix for issue: #45

2.0.2

03 Jan 21:03
Compare
Choose a tag to compare

features:

  • Refactors to move file operations and serializer initialization into separate classes which are then injected into the matcher.
  • Add more class/method docs
  • Update rubocop and fix lint issues

chores:

  • bump ruby version to 3.2
  • replace travis CI with github actions workflow
  • enable dependabot

2.0.1

15 Oct 20:17
Compare
Choose a tag to compare

Features:

  • Fixes a bug when using the matcher as an argument matcher which would print the entire matcher object when the match failed.

Chores:

  • Updates dev dependency versions
  • Adds unit tests for all classes
  • Adds ruby 3 to CI ruby versions

v2.0.0

21 Jun 18:29
Compare
Choose a tag to compare

features:

  • regenerate all snapshots when UPDATE_SNAPSHOTS env var is set
  • use awesome_print for human readable snapshots by default
  • allow a custom serializer to be configured globally or per matcher
  • handle matching method arguments with snapshots

chores:

  • remove unnecessary dependencies, and update remaining versions
  • add rubocop linter and simplecov code coverage
  • add ruby-version file and set version to 2.7.3
  • update gem required ruby version >= 2.5.0
  • update travis to use ruby 2.5 - 2.7 and current bundler
  • update README to new repo path and reformat for readability
  • remove bin/setup, document spec/lint commands
  • update code per rubocop violations, add specs to cover all features

v0.1.0

05 Sep 03:26
Compare
Choose a tag to compare

First release.