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. |
||
|---|---|---|
| .. | ||
| api/openid_connect | ||
| assets/javascripts | ||
| diaspora | ||
| 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 | ||