Releases: nebulab/erb-formatter
Releases · nebulab/erb-formatter
v0.3.0
v0.2.2
v0.2.1
v0.2.0
Fixed
- Don't use positional arguments (better support for Ruby 2.6)
- Using
StringScanner#charpos
instead ofStringScanner#pos
avoids losing content when multibyte chars are involved - Fix formatting long text, will respect the given max width if the available width for text is more than 40 cols
Added
- Add a debug flag that will flood with extra output
Other
- Added some fixture-based tests
- Fix the repo URL in the readme
Full Changelog: v0.1.1...v0.2.0
v0.1.1
Fixed
Using frozen literal strings caused issues in some edge cases in which the formatter tried to mutate frozen strings.
Full Changelog: v0.1.0...v0.1.1