<commit_before>require "language/go"

class Dockviz < Formula
  desc "Visualizing docker data"
  homepage "https://github.com/justone/dockviz"
  url "https://github.com/justone/dockviz.git",
    :tag => "v0.4.2",
    :revision => "9863e97953bde4fc770c6f1a499513b01f907902"
  head "https://github.com/justone/dockviz.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "498ec9e084a18a4c256fb0a24230773ac9a8bba47a8e897a9cce8767c7d5bad0" => :el_capitan
    sha256 "29d338e965ec9e997163a151e2abfd0e79709929b45604a16040ba9da2125a67" => :yosemite
    sha256 "c8b7e3714715ca235598f029652ab7a3cb38adae63cc103a60f87844f8281a8b" => :mavericks
  end

  depends_on "go" => :build

  go_resource "github.com/Sirupsen/logrus" do
    url "https://github.com/Sirupsen/logrus.git",
    :revision => "f3cfb454f4c209e6668c95216c4744b8fddb2356"
  end

  go_resource "github.com/docker/docker" do
    url "https://github.com/docker/docker.git",
    :revision => "1704914d7cf8318a69ba9712f664cd031b6e61f6"
  end

  go_resource "github.com/docker/engine-api" do
    url "https://github.com/docker/engine-api.git",
    :revision => "de0bc7ec1a2b90b7191e63d3d6f06833188bbd85"
  end

  go_resource "github.com/docker/go-units" do
    url "https://github.com/docker/go-units.git",
    :revision => "f2d77a61e3c169b43402a0a1e84f06daf29b8190"
  end

  go_resource "github.com/fsouza/go-dockerclient" do
    url "https://github.com/fsouza/go-dockerclient.git",
    :revision => "3c8f092cb1e9d1e18a07c1d05d993e69a6676097"
  end

  go_resource "github.com/hashicorp/go-cleanhttp" do
    url "https://github.com/hashicorp/go-cleanhttp.git",
    :revision => "ad28ea4487f05916463e2423a55166280e8254b5"
  end

  go_resource "github.com/jessevdk/go-flags" do
    url "https://github.com/jessevdk/go-flags.git",
    :revision => "b9b882a3990882b05e02765f5df2cd3ad02874ee"
  end

  go_resource "github.com/opencontainers/runc" do
    url "https://github.com/opencontainers/runc.git",
    :revision => "42dfd606437b538ffde4f0640d433916bee928e3"
  end

  go_resource "golang.org/x/net" do
    url "https://go.googlesource.com/net.git",
    :revsion => "3f122ce3dbbe488b7e6a8bdb26f41edec852a40b"
  end

  def install
    ENV["GOPATH"] = buildpath
    Language::Go.stage_deps resources, buildpath/"src"
    system "go", "build", "-o", bin/"dockviz"
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/dockviz --version")
  end
end<commit_msg>dockviz: update go_resource indentation style<commit_after>require "language/go"

class Dockviz < Formula
  desc "Visualizing docker data"
  homepage "https://github.com/justone/dockviz"
  url "https://github.com/justone/dockviz.git",
    :tag => "v0.4.2",
    :revision => "9<PASSWORD>"
  head "https://github.com/justone/dockviz.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "498ec9e084a18a4c256fb0a24230773ac9a8bba47a8e897a9cce8767c7d5bad0" => :el_capitan
    sha256 "29d338e965ec9e997163a151e2abfd0e79709929b45604a16040ba9da2125a67" => :yosemite
    sha256 "c8b7e3714715ca235598f029652ab7a3cb38adae63cc103a60f87844f8281a8b" => :mavericks
  end

  depends_on "go" => :build

  go_resource "github.com/Sirupsen/logrus" do
    url "https://github.com/Sirupsen/logrus.git",
        :revision => "f3cfb454f4c209e6668c95216c4744b8fddb2356"
  end

  go_resource "github.com/docker/docker" do
    url "https://github.com/docker/docker.git",
        :revision => "1704914d7cf8318a69ba9712f664cd031b6e61f6"
  end

  go_resource "github.com/docker/engine-api" do
    url "https://github.com/docker/engine-api.git",
        :revision => "de0bc7ec1a2b90b7191e63d3d6f06833188bbd85"
  end

  go_resource "github.com/docker/go-units" do
    url "https://github.com/docker/go-units.git",
        :revision => "f2d77a61e3c169b43402a0a1e84f06daf29b8190"
  end

  go_resource "github.com/fsouza/go-dockerclient" do
    url "https://github.com/fsouza/go-dockerclient.git",
        :revision => "3c8f092cb1e9d1e18a07c1d05d993e69a6676097"
  end

  go_resource "github.com/hashicorp/go-cleanhttp" do
    url "https://github.com/hashicorp/go-cleanhttp.git",
        :revision => "ad28ea4487f05916463e2423a55166280e8254b5"
  end

  go_resource "github.com/jessevdk/go-flags" do
    url "https://github.com/jessevdk/go-flags.git",
        :revision => "b9b882a3990882b05e02765f5df2cd3ad02874ee"
  end

  go_resource "github.com/opencontainers/runc" do
    url "https://github.com/opencontainers/runc.git",
        :revision => "42dfd606437b538ffde4f0640d433916bee928e3"
  end

  go_resource "golang.org/x/net" do
    url "https://go.googlesource.com/net.git",
        :revsion => "3f122ce3dbbe488b7e6a8bdb26f41edec852a40b"
  end

  def install
    ENV["GOPATH"] = buildpath
    Language::Go.stage_deps resources, buildpath/"src"
    system "go", "build", "-o", bin/"dockviz"
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/dockviz --version")
  end
end
{'fraction_non_alphanumeric': 0.12206092823553466, 'fraction_numerical': 0.15784093232467797, 'mean_word_length': 4.220917822838848, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 34, 'https://': 24, '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': '4395039', 'n_tokens_mistral': 2522, 'n_tokens_neox': 2091, 'n_words': 261}