Closed pat closed 7 years ago
Thank you!
No worries, thanks for merging :)
Specs on 2.4 fail due to RedCloth not supporting immutable strings.
Will be fixed in the next version; sorry for not releasing sooner.
Support for immutable strings has been merged in RedCloth, so that's one step toward making the specs succeed on 2.4: https://github.com/jgarber/redcloth/pull/38
These changes ensure that all string literals can be frozen (as per the optional feature in MRI 2.3 and onwards).
I would recommend adding the following to your .travis.yml file to ensure regressions aren't introduced:
This will add the flag when the tests are run on MRI 2.4 or newer (while the feature was introduced in 2.3, it doesn't seem to work reliably until 2.4). Note that to get the test suite passing in that situation, you'll need the latest
test-unit
release (3.2.5), because that's now also frozen-string-literal compatible.