diaspora/lib
Dennis Schubert 35da56109f
Create a dup string from the return value of .truncate.
Due to a bug in Rails, .truncate returns a frozen string if the string actually changed, but not if there are no changes. This leads to inconsistent behaviour, and broken tests.

This was fixed upstream, see https://github.com/rails/rails/pull/36109, but the fix did not make it into 5.2.x, so we have to work around for the time being.
2020-02-11 23:53:14 +01:00
..
api/openid_connect
assets/javascripts
diaspora Create a dup string from the return value of .truncate. 2020-02-11 23:53:14 +01:00
schemas
stream
tasks
account_deleter.rb
bookmarklet_renderer.rb
configuration_methods.rb
connection_tester.rb
diaspora.rb
direction_detector.rb
email_inviter.rb
error_page_renderer.rb
evil_query.rb
i18n_interpolation_fallbacks.rb
node_info.rb
photo_exporter.rb
publisher.rb
pubsubhubbub.rb
share_visibility_converter.rb
sidekiq_middlewares.rb
stream.rb