Skip to content

Releases: nebulab/erb-formatter

v0.3.0

11 Jan 17:15
v0.3.0
0ed1053
Compare
Choose a tag to compare

v0.2.2

23 Mar 15:29
v0.2.2
14b6b99
Compare
Choose a tag to compare

v0.2.1

19 Mar 17:27
v0.2.1
9a99dae
Compare
Choose a tag to compare

Fixe

  • A debug output was left without a check on the debug flag, no more

v0.2.0

19 Mar 17:19
v0.2.0
b24c9e9
Compare
Choose a tag to compare

Fixed

  • Don't use positional arguments (better support for Ruby 2.6)
  • Using StringScanner#charpos instead of StringScanner#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

15 Mar 13:09
v0.1.1
5cfa9c9
Compare
Choose a tag to compare

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

v0.1.0

15 Mar 10:36
v0.1.0
f284b00
Compare
Choose a tag to compare

Initial release, in which the gem is extracted from a local script.