diaspora/lib/diaspora
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
..
exporter Memory usage optimization for archive export 2017-09-26 04:07:18 +02:00
federated Start sending the blocking flag 2018-02-01 23:35:35 +01:00
federation Store edited_at for relayables in additional_data 2018-02-25 04:33:03 +01:00
fetcher Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
fields Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
markdownify Revert "Bump twitter-text" 2018-04-12 04:00:41 +02:00
camo.rb Ignore invalid URLs for camo 2018-11-04 03:06:21 +01:00
commentable.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
entity_finder.rb Add LinksController 2018-07-11 01:24:28 +02:00
exceptions.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
exporter.rb Memory usage optimization for archive export 2017-09-26 04:07:18 +02:00
federated.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
federation.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
fetcher.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
likeable.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
logging.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
markdownify.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
mentionable.rb Fix mention syntax backport for two immediately consecutive mentions 2018-04-12 01:44:44 +02:00
mentions_container.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
message_renderer.rb Create a dup string from the return value of .truncate. 2020-02-11 23:53:14 +01:00
relayable.rb Relay likes for comments 2017-09-28 23:04:35 +02:00
shareable.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
signature.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
taggable.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00