]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/export/pdf/issues_pdf_help...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 02:20:44 +0000 (02:20 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 02:20:44 +0000 (02:20 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18983 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf/issues_pdf_helper.rb

index b23954e2edf8957325e7b3ba42581e7528756be5..15c0b43ccb5f593a12c2c6e67405a5f1e605c32d 100644 (file)
@@ -118,12 +118,14 @@ module Redmine
 
           # Set resize image scale
           pdf.set_image_scale(1.6)
-          text = textilizable(issue, :description,
-            :only_path => false,
-            :edit_section_links => false,
-            :headings => false,
-            :inline_attachments => false
-          )
+          text =
+            textilizable(
+              issue, :description,
+              :only_path => false,
+              :edit_section_links => false,
+              :headings => false,
+              :inline_attachments => false
+            )
           pdf.RDMwriteFormattedCell(35+155, 5, '', '', text, issue.attachments, "LRB")
 
           custom_field_values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?}
@@ -195,7 +197,8 @@ module Redmine
               pdf.ln
               unless changeset.comments.blank?
                 pdf.SetFontStyle('',8)
-                pdf.RDMwriteHTMLCell(190,5,'','',
+                pdf.RDMwriteHTMLCell(
+                      190,5,'','',
                       changeset.comments.to_s, issue.attachments, "")
               end
               pdf.ln
@@ -219,12 +222,14 @@ module Redmine
               if journal.notes?
                 pdf.ln unless journal.details.empty?
                 pdf.SetFontStyle('',8)
-                text = textilizable(journal, :notes,
-                  :only_path => false,
-                  :edit_section_links => false,
-                  :headings => false,
-                  :inline_attachments => false
-                )
+                text =
+                  textilizable(
+                    journal, :notes,
+                    :only_path => false,
+                    :edit_section_links => false,
+                    :headings => false,
+                    :inline_attachments => false
+                  )
                 pdf.RDMwriteFormattedCell(190,5,'','', text, issue.attachments, "")
               end
               pdf.ln