From 3b8cff4a96614023e84f2d9d0449beb134c278b6 Mon Sep 17 00:00:00 2001 From: quinna-h Date: Tue, 24 Dec 2024 09:42:01 -0500 Subject: [PATCH] cleanup comments --- .github/scripts/generate_table_versions.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/scripts/generate_table_versions.rb b/.github/scripts/generate_table_versions.rb index 1c56232c3ab..bbc8ef62dcd 100644 --- a/.github/scripts/generate_table_versions.rb +++ b/.github/scripts/generate_table_versions.rb @@ -1,13 +1,10 @@ require 'json' -# Input and output file names input_file = 'gem_output.json' output_file = 'integration_versions.md' -# Read JSON data from the input file data = JSON.parse(File.read(input_file)) -# Prepare the Markdown content comment = "# Integrations\n\n" header = "| Integration | Ruby Min | Ruby Max | JRuby Min | JRuby Max |\n" separator = "|-------------|----------|-----------|----------|----------|\n" @@ -16,7 +13,6 @@ "| #{integration_name} | #{ruby_min} | #{ruby_max} | #{jruby_min} | #{jruby_max} |" end -# Write the Markdown file File.open(output_file, 'w') do |file| file.puts comment file.puts header