<commit_before>HOMEBREW_OPENSHIFT_VERSION="v1.0.2"

class Openshift < Formula
  homepage "https://github.com/openshift/origin"
  url "https://github.com/openshift/origin.git", :tag => "#{HOMEBREW_OPENSHIFT_VERSION}"
  head "https://github.com/openshift/origin.git", :branch => "master"
  depends_on "go" => :build

  def install
    output_dir = "_output/local/go/bin"

    system "make", "all", "WHAT=cmd/openshift", "GOFLAGS=-v"

    bin.install "#{output_dir}/openshift"
    bin.install_symlink "openshift" => "oc"
    bin.install_symlink "openshift" => "oadm"
  end

  test do
    assert_match /^OpenShift for Admins/, shell_output("#{bin}/openshift 2>&1", 0)
    assert_match /^OpenShift Client/, shell_output("#{bin}/oc 2>&1", 0)
  end
end<commit_msg>Update to v1.0.3<commit_after>HOMEBREW_OPENSHIFT_VERSION="v1.0.3"

class Openshift < Formula
  homepage "https://github.com/openshift/origin"
  url "https://github.com/openshift/origin.git", :tag => "#{HOMEBREW_OPENSHIFT_VERSION}"
  head "https://github.com/openshift/origin.git", :branch => "master"
  depends_on "go" => :build

  def install
    output_dir = "_output/local/go/bin"

    system "make", "all", "WHAT=cmd/openshift", "GOFLAGS=-v"

    bin.install "#{output_dir}/openshift"
    bin.install_symlink "openshift" => "oc"
    bin.install_symlink "openshift" => "oadm"
  end

  test do
    assert_match /^OpenShift for Admins/, shell_output("#{bin}/openshift 2>&1", 0)
    assert_match /^OpenShift Client/, shell_output("#{bin}/oc 2>&1", 0)
  end
end
{'fraction_non_alphanumeric': 0.16875411997363216, 'fraction_numerical': 0.013843111404087014, 'mean_word_length': 4.289198606271777, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '6558105', 'n_tokens_mistral': 582, 'n_tokens_neox': 543, 'n_words': 105}