<commit_before>class Ffsend < Formula
  desc "Fully featured Firefox Send client"
  homepage "https://gitlab.com/timvisee/ffsend"
  url "https://github.com/timvisee/ffsend/archive/v0.2.38.tar.gz"
  sha256 "3e5b0ce8ce4ee2962b8ab96369a785f606e87211e1ecc61cd6446e48e1ee5bf9"

  bottle do
    cellar :any
    sha256 "547a7c5fabd3111ee422c993127dfa281b25b2866ed6fbf82edd3fde478c90b8" => :mojave
    sha256 "60070578e9f9a187767b172bc1de242405063641b0cb2092a539f7f02709e85d" => :high_sierra
    sha256 "4abb91e3d0ab8e03a1b54e116414601cc98503a881cdc790a23508b17ad10064" => :sierra
  end

  depends_on "rust" => :build
  depends_on "openssl"

  def install
    # Ensure that the `openssl` crate picks up the intended library.
    # https://docs.rs/openssl/0.10.19/openssl/#manual
    ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix

    system "cargo", "install", "--root", prefix, "--path", "."
  end

  test do
    system "#{bin}/ffsend"

    (testpath/"file.txt").write("test")
    url = shell_output("#{bin}/ffsend upload -Iq #{testpath}/file.txt").strip
    output = shell_output("#{bin}/ffsend del -I #{url} 2>&1")
    assert_match "File deleted", output
  end
end
<commit_msg>ffsend: update 0.2.38 bottle.<commit_after>class Ffsend < Formula
  desc "Fully featured Firefox Send client"
  homepage "https://gitlab.com/timvisee/ffsend"
  url "https://github.com/timvisee/ffsend/archive/v0.2.38.tar.gz"
  sha256 "3e5b0ce8ce4ee2962b8ab96369a785f606e87211e1ecc61cd6446e48e1ee5bf9"

  bottle do
    cellar :any
    sha256 "ee9ba954a7cc1d1ed485f089b4d7ddbee77577b21b84224a2409835294747c14" => :mojave
    sha256 "63cb63e3afe1895ea7875319d753cea605e7e19fa6465cecdd63aa618d4c749f" => :high_sierra
    sha256 "03ac9baf6505ac3364e8be2c00d072ab7d33b6487d03523c893b7bdc4adfd86e" => :sierra
  end

  depends_on "rust" => :build
  depends_on "openssl"

  def install
    # Ensure that the `openssl` crate picks up the intended library.
    # https://docs.rs/openssl/0.10.19/openssl/#manual
    ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix

    system "cargo", "install", "--root", prefix, "--path", "."
  end

  test do
    system "#{bin}/ffsend"

    (testpath/"file.txt").write("test")
    url = shell_output("#{bin}/ffsend upload -Iq #{testpath}/file.txt").strip
    output = shell_output("#{bin}/ffsend del -I #{url} 2>&1")
    assert_match "File deleted", output
  end
end

{'fraction_non_alphanumeric': 0.12827004219409283, 'fraction_numerical': 0.15654008438818565, 'mean_word_length': 4.450574712643678, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '5240202', 'n_tokens_mistral': 1160, 'n_tokens_neox': 958, 'n_words': 159}