<commit_before>class Rswift < Formula
  desc "Get strong typed, autocompleted resources like images, fonts and segues"
  homepage "https://github.com/mac-cain13/R.swift"
  url "https://github.com/mac-cain13/R.swift.git",
      :tag => "v4.0.0",
      :revision => "0306ec185ad0f7753e9ea44fefdbf268d9e62184"

  bottle do
    cellar :any_skip_relocation
    sha256 "bb5d11f44ba595f13aa00cfe6439d20e39c84ae78f84a38117cce81150393a30" => :high_sierra
    sha256 "8638bcbaa77fd1861c6d1978bed6d2ff7cbc2bdc7ae6d25df9471428d53b784d" => :sierra
  end

  depends_on :xcode => "9.0"

  def install
    system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc",
           "-static-stdlib"
    bin.install ".build/release/rswift"
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/rswift --version")
  end
end
<commit_msg>rswift 5.0.0.alpha.2 (devel)<commit_after>class Rswift < Formula
  desc "Get strong typed, autocompleted resources like images, fonts and segues"
  homepage "https://github.com/mac-cain13/R.swift"
  url "https://github.com/mac-cain13/R.swift.git",
      :tag => "v4.0.0",
      :revision => "0306ec185ad0f7753e9ea44fefdbf268d9e62184"

  head "https://github.com/mac-cain13/R.swift.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "bb5d11f44ba595f13aa00cfe6439d20e39c84ae78f84a38117cce81150393a30" => :high_sierra
    sha256 "8638bcbaa77fd1861c6d1978bed6d2ff7cbc2bdc7ae6d25df9471428d53b784d" => :sierra
  end

  devel do
    url "https://github.com/mac-cain13/R.swift.git",
        :tag => "v5.0.0.alpha.2",
        :revision => "2ba7dc0f175c824732e9fcd7aca9e152dfc34432"
    depends_on :xcode => "10.0"
  end

  depends_on :xcode => "9.0"

  def install
    system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc",
           "-static-stdlib"
    bin.install ".build/release/rswift"
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/rswift --version")
  end
end

{'fraction_non_alphanumeric': 0.1330603889457523, 'fraction_numerical': 0.13715455475946775, 'mean_word_length': 3.75669099756691, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 6, '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': '1952227', 'n_tokens_mistral': 957, 'n_tokens_neox': 805, 'n_words': 130}