<commit_before>class Flyway < Formula
  desc "Database version control to control migrations"
  homepage "https://flywaydb.org/"
  url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/6.2.3/flyway-commandline-6.2.3.tar.gz"
  sha256 "86c743b79820ef5e165ebc81cc87a7fc0a4fe85bc27db00a105790d7ac078596"

  bottle :unneeded

  depends_on :java

  def install
    rm Dir["*.cmd"]
    libexec.install Dir["*"]
    bin.install_symlink Dir["#{libexec}/flyway"]
  end

  test do
    system "#{bin}/flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
  end
end<commit_msg>flyway: depend on openjdk<commit_after>class Flyway < Formula
  desc "Database version control to control migrations"
  homepage "https://flywaydb.org/"
  url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/6.2.3/flyway-commandline-6.2.3.tar.gz"
  sha256 "86c743b79820ef5e165ebc81cc87a7fc0a4fe85bc27db00a105790d7ac078596"
  revision 1

  bottle :unneeded

  depends_on "openjdk"

  def install
    rm Dir["*.cmd"]
    libexec.install Dir["*"]
    (bin/"flyway").write_env_script libexec/"flyway", :JAVA_HOME => Formula["openjdk"].opt_prefix
  end

  test do
    system "#{bin}/flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
  end
end
{'fraction_non_alphanumeric': 0.1327503974562798, 'fraction_numerical': 0.08028616852146264, 'mean_word_length': 4.645739910313901, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1020573', 'n_tokens_mistral': 536, 'n_tokens_neox': 489, 'n_words': 80}