<commit_before>class Inlets < Formula
  desc "Expose your local endpoints to the Internet"
  homepage "https://github.com/alexellis/inlets"
  url "https://github.com/alexellis/inlets.git",
      :tag      => "2.0.4",
      :revision => "a4b14116fe54e104ae83cb4e1df4360b9ee1b639"

  bottle do
    cellar :any_skip_relocation
    sha256 "ae043173388755cfe95c41b8985262aa3306204be95d75e2e06ffadbf667a96d" => :mojave
    sha256 "94b7edab9f0b79680cb8bd79376043657beb88fd8029d109807210fda87a9012" => :high_sierra
    sha256 "8603c3d0319a55621d96398cd99a7d285aa0355f0c1764f95cfd342c2bdf1d94" => :sierra
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/alexellis/inlets").install buildpath.children
    cd "src/github.com/alexellis/inlets" do
      commit = Utils.popen_read("git", "rev-parse", "HEAD").chomp
      system "go", "build", "-ldflags",
             "-s -w -X main.GitCommit=#{commit} -X main.Version=#{version}",
             "-a",
             "-installsuffix", "cgo", "-o", bin/"inlets"
      prefix.install_metafiles
    end
  end

  def cleanup(name, pid)
    puts "Tearing down #{name} on PID #{pid}"
    Process.kill("TERM", pid)
    Process.wait(pid)<commit_msg>inlets 2.1.0<commit_after>class Inlets < Formula
  desc "Expose your local endpoints to the Internet"
  homepage "https://github.com/alexellis/inlets"
  url "https://github.com/alexellis/inlets.git",
      :tag      => "2.1.0",
      :revision => "c23f6993892a1b4e398e8acf61e3dc7bfcb7c6ed"

  bottle do
    cellar :any_skip_relocation
    sha256 "ae043173388755cfe95c41b8985262aa3306204be95d75e2e06ffadbf667a96d" => :mojave
    sha256 "94b7edab9f0b79680cb8bd79376043657beb88fd8029d109807210fda87a9012" => :high_sierra
    sha256 "8603c3d0319a55621d96398cd99a7d285aa0355f0c1764f95cfd342c2bdf1d94" => :sierra
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/alexellis/inlets").install buildpath.children
    cd "src/github.com/alexellis/inlets" do
      commit = Utils.popen_read("git", "rev-parse", "HEAD").chomp
      system "go", "build", "-ldflags",
             "-s -w -X main.GitCommit=#{commit} -X main.Version=#{version}",
             "-a",
             "-installsuffix", "cgo", "-o", bin/"inlets"
      prefix.install_metafiles
    end
  end

  def cleanup(name, pid)
    puts "Tearing down #{name} on PID #{pid}"
    Process.kill("TERM", pid)
    Process.wait(pid)
{'fraction_non_alphanumeric': 0.13031161473087818, 'fraction_numerical': 0.13273978146499393, 'mean_word_length': 3.5608856088560885, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '3576398', 'n_tokens_mistral': 1154, 'n_tokens_neox': 978, 'n_words': 160}