<commit_before>class DockerMachineCompletion < Formula
  desc "docker-machine completion script"
  homepage "https://docs.docker.com/machine/completion/"
  url "https://github.com/docker/machine/archive/v0.11.0.tar.gz"
  sha256 "a29f8f028cad2525c016f5ca6b14a4fd5bf5feb15eb9ad902696991385819e91"
  head "https://github.com/docker/machine.git"

  bottle :unneeded

  conflicts_with "docker-machine",
    :because => "docker-machine already includes completion scripts"

  def install
    bash_completion.install Dir["contrib/completion/bash/*.bash"]
    zsh_completion.install "contrib/completion/zsh/_docker-machine"
  end

  test do
    assert_match "-F _docker_machine",
      shell_output("bash -c 'source #{bash_completion}/docker-machine.bash && complete -p docker-machine'")
  end<commit_msg>docker-machine-completion 0.12.0<commit_after>class DockerMachineCompletion < Formula
  desc "Docker-machine completion script"
  homepage "https://docs.docker.com/machine/completion/"
  url "https://github.com/docker/machine/archive/v0.12.0.tar.gz"
  sha256 "2238dbb8580ca2399c64fa6cda0089a9dde6142d4dcbb8d750aedbeee042fbfe"
  head "https://github.com/docker/machine.git"

  bottle :unneeded

  conflicts_with "docker-machine",
    :because => "docker-machine already includes completion scripts"

  def install
    bash_completion.install Dir["contrib/completion/bash/*.bash"]
    zsh_completion.install "contrib/completion/zsh/_docker-machine"
  end

  test do
    assert_match "-F _docker_machine",
      shell_output("bash -c 'source #{bash_completion}/docker-machine.bash && complete -p docker-machine'")
  end
{'fraction_non_alphanumeric': 0.1153130812151271, 'fraction_numerical': 0.05579665220086795, 'mean_word_length': 4.683098591549296, 'pattern_counts': {'":': 0, '<': 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': '1540702', 'n_tokens_mistral': 613, 'n_tokens_neox': 518, 'n_words': 90}