<commit_before>class ScalaAT211 < Formula
  desc "JVM-based programming language"
  homepage "https://www.scala-lang.org/"
  url "https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz"
  mirror "https://downloads.typesafe.com/scala/2.10.6/scala-2.11.8.tgz"
  mirror "https://www.scala-lang.org/files/archive/scala-2.11.8.tgz"
  sha256 "87fc86a19d9725edb5fd9866c5ee9424cdb2cd86b767f1bb7d47313e8e391ace"

  option "with-docs", "Also install library documentation"
  option "with-src", "Also install sources for IDE support"

  depends_on :java => "1.6+"

  conflicts_with "scala", :because => "Differing version of same formula"
  conflicts_with "scala@2.10", :because => "Differing version of same formula"

  resource "docs" do
    url "https://downloads.lightbend.com/scala/2.11.8/scala-docs-2.11.8.txz"
    mirror "https://www.scala-lang.org/files/archive/scala-docs-2.11.8.txz"
    sha256 "f79180418c9a4827306c2e30d8de451d29daf72ec441e023ae73d25b39b3c0db"
  end

  resource "src" do
    url "https://github.com/scala/scala/archive/v2.11.8.tar.gz"
    sha256 "4f11273b4b3c771019253b2c09102245d063a7abeb65c7b1c4519bd57605edcf"
  end

  resource "completion" do
    url "https://raw.githubusercontent.com/scala/scala-tool-support/0a217bc/bash-completion/src/main/resources/completion.d/2.9.1/scala"
    sha256 "95aeba51165ce2c0e36e9bf006f2904a90031470ab8d10b456e7611413d7d3fd"
  end

  def install
    rm_f Dir["bin/*.bat"]
    doc.install Dir["doc/*"]
    share.install "man"
    libexec.install "bin", "lib"
    bin.install_symlink Dir["#{libexec}/bin/*"]
    bash_completion.install resource("completion")
    doc.install resource("docs") if build.with? "docs"<commit_msg>scala@2.11: use keg_only :versioned_formula<commit_after>class ScalaAT211 < Formula
  desc "JVM-based programming language"
  homepage "https://www.scala-lang.org/"
  url "https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz"
  mirror "https://downloads.typesafe.com/scala/2.11.8/scala-2.11.8.tgz"
  mirror "https://www.scala-lang.org/files/archive/scala-2.11.8.tgz"
  sha256 "87fc86a19d9725edb5fd9866c5ee9424cdb2cd86b767f1bb7d47313e8e391ace"
  revision 1

  keg_only :versioned_formula

  option "with-docs", "Also install library documentation"
  option "with-src", "Also install sources for IDE support"

  depends_on :java => "1.6+"

  resource "docs" do
    url "https://downloads.lightbend.com/scala/2.11.8/scala-docs-2.11.8.txz"
    mirror "https://www.scala-lang.org/files/archive/scala-docs-2.11.8.txz"
    sha256 "f79180418c9a4827306c2e30d8de451d29daf72ec441e023ae73d25b39b3c0db"
  end

  resource "src" do
    url "https://github.com/scala/scala/archive/v2.11.8.tar.gz"
    sha256 "4f11273b4b3c771019253b2c09102245d063a7abeb65c7b1c4519bd57605edcf"
  end

  resource "completion" do
    url "https://raw.githubusercontent.com/scala/scala-tool-support/0a217bc/bash-completion/src/main/resources/completion.d/2.9.1/scala"
    sha256 "95aeba51165ce2c0e36e9bf006f2904a90031470ab8d10b456e7611413d7d3fd"
  end

  def install
    rm_f Dir["bin/*.bat"]
    doc.install Dir["doc/*"]
    share.install "man"
    libexec.install "bin", "lib"
    bin.install_symlink Dir["#{libexec}/bin/*"]
    bash_completion.install resource("completion")
    doc.install resource("docs") if build.with? "docs"
{'fraction_non_alphanumeric': 0.13724893487522824, 'fraction_numerical': 0.13785757760194767, 'mean_word_length': 4.267628205128205, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7517938', 'n_tokens_mistral': 1593, 'n_tokens_neox': 1323, 'n_words': 182}