A platform for community discussion. Free, open, simple.
DEV: Update syntax_tree to 6.0.1 (#20466)
Jarek Radoszf63d18d6ca20
diff --git a/Gemfile.lock b/Gemfile.lockindex 1cef84812e5..3a8036b5754 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -477,7 +477,7 @@ GEMsprockets (>= 3.0.0)sshkey (2.0.0)stackprof (0.2.23)- syntax_tree (6.0.0)+ syntax_tree (6.0.1)prettier_print (>= 1.2.0)syntax_tree-disable_ternary (1.0.0)test-prof (1.2.0)diff --git a/lib/email/receiver.rb b/lib/email/receiver.rbindex 2dcf33f8475..73d468e4ac3 100644--- a/lib/email/receiver.rb+++ b/lib/email/receiver.rb@@ -1510,7 +1510,8 @@ module Emaildef self.elided_html(elided)html = +"\n\n" << "<details class='elided'>" << "\n"- html << "<summary title='#{I18n.t("emails.incoming.show_trimmed_content")}'>···</summary>" << "\n\n"+ html << "<summary title='#{I18n.t("emails.incoming.show_trimmed_content")}'>···</summary>" <<+ "\n\n"html << elided << "\n\n"html << "</details>" << "\n"htmldiff --git a/lib/topic_query.rb b/lib/topic_query.rbindex b01bbca0cfb..7c364e53d6a 100644--- a/lib/topic_query.rb+++ b/lib/topic_query.rb@@ -455,7 +455,8 @@ class TopicQueryif options[:preload_posters]user_ids = []topics.each do |ft|- user_ids << ft.user_id << ft.last_post_user_id << ft.featured_user_ids << ft.allowed_user_ids+ user_ids << ft.user_id << ft.last_post_user_id << ft.featured_user_ids <<+ ft.allowed_user_idsenduser_lookup = UserLookup.new(user_ids)diff --git a/script/import_scripts/phpbb3/importers/poll_importer.rb b/script/import_scripts/phpbb3/importers/poll_importer.rbindex df4696201c3..5f86247bb4a 100644--- a/script/import_scripts/phpbb3/importers/poll_importer.rb+++ b/script/import_scripts/phpbb3/importers/poll_importer.rb@@ -74,7 +74,8 @@ module ImportScripts::PhpBB3arguments << "close=#{poll_data.close_time.iso8601}" if poll_data.close_timeif poll_data.max_options > 1- arguments << "type=multiple" << "max=#{[poll_data.max_options, poll_data.options.count].min}"+ arguments << "type=multiple" <<+ "max=#{[poll_data.max_options, poll_data.options.count].min}"elsearguments << "type=regular"end