This document describes the relevant changes between releases of the simple-websocket-vcr project.
- new option
record: all
- Reverse substitution for cassettes that have ERB. Basically, if we are recording and these options are passed:
erb: {some_key: some_value}, reverse_substitution: true
, then when the framework is about to store thesome_value
into cassette (JSON or YAML), the<%= some_key =>
is stored instead of the value. So it allows to record the templates. - increasing the code coverage
- Now, there can be ERB in the cassettes (templating)
- YAML cassettes support
- version is aligned with the VCR module so that coverall could do its job properly (https://travis-ci.org/Jiri-Kremser/simple-websocket-vcr/jobs/118142774#L215)
- if client waits for msg a therad is spawned and it checks the recording for consecutive read operations and translate it to the events, if write operation is on the top of the stack, the thread waits for the client to perform the write
- making it more robust
- bug fixes
- Rubocop
- actually, making it work with unseen scenarios
- First release