<commit_before>class Dasel < Formula
  desc "JSON, YAML, TOML, XML, and CSV query and modification tool"
  homepage "https://github.com/TomWright/dasel"
  url "https://github.com/TomWright/dasel/archive/v1.16.0.tar.gz"
  sha256 "1dcfcdfb96db17331cbdfaf32a3d43d0a413d39a2a20c57b476fb993189f3444"
  license "MIT"
  head "https://github.com/TomWright/dasel.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "c55a87da42e4be8748a80d2a0e8d68f1271afa3644ae76afd0ba72a1738a3462"
    sha256 cellar: :any_skip_relocation, big_sur:       "052614cb3f628662351a614211c0915135d75e28085fccb29ac209acf8f491c5"
    sha256 cellar: :any_skip_relocation, catalina:      "60b80b3589604edcbdbd19d84d392607804cc41067d7085305a054a0d0419d54"
    sha256 cellar: :any_skip_relocation, mojave:        "522d12bd141b61ad4cb6319918f9cd45476c666b7a5f398ff8d5ee4de944c099"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "141252b7b2448fc213e744e24552629a4f864f3fef937fc9e7e8fdde1c40b60a"
  end

  depends_on "go" => :build

  def install
    ldflags = "-X 'github.com/tomwright/dasel/internal.Version=#{version}'"
    system "go", "build", *std_go_args, "-ldflags", ldflags, "./cmd/dasel"
  end

  test do
    json = "[{\"name\": \"Tom\"}, {\"name\": \"Jim\"}]"<commit_msg>dasel: update 1.16.0 bottle.<commit_after>class Dasel < Formula
  desc "JSON, YAML, TOML, XML, and CSV query and modification tool"
  homepage "https://github.com/TomWright/dasel"
  url "https://github.com/TomWright/dasel/archive/v1.16.0.tar.gz"
  sha256 "1dcfcdfb96db17331cbdfaf32a3d43d0a413d39a2a20c57b476fb993189f3444"
  license "MIT"
  head "https://github.com/TomWright/dasel.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "8280106b8778c12220a1bc178ff9c9856f29d4a120569e713a662f7c0e0e9487"
    sha256 cellar: :any_skip_relocation, big_sur:       "d9bb259933a2f24df633163b88bbb66c14093a58476134e5adda323bdf543e94"
    sha256 cellar: :any_skip_relocation, catalina:      "a397d678cd5f1d5264ae718eadf5e0a26dc194ef1cc7e9dff730eaf34c0759f6"
    sha256 cellar: :any_skip_relocation, mojave:        "582a698518311b599a4913b115f2765a6b2770278d47fd8e2a6079f49c9e1304"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "8e87e00fc512f8a4fdf7f8f3eda9c9b1278f0a0e5313437485680496c59480d9"
  end

  depends_on "go" => :build

  def install
    ldflags = "-X 'github.com/tomwright/dasel/internal.Version=#{version}'"
    system "go", "build", *std_go_args, "-ldflags", ldflags, "./cmd/dasel"
  end

  test do
    json = "[{\"name\": \"Tom\"}, {\"name\": \"Jim\"}]"
{'fraction_non_alphanumeric': 0.11176240719030871, 'fraction_numerical': 0.22000781555295038, 'mean_word_length': 5.384039900249377, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '7101297', 'n_tokens_mistral': 1432, 'n_tokens_neox': 1129, 'n_words': 152}