kibana 5.2.2

Closes #10451.

Signed-off-by: Alexander Hamann <neutric@users.noreply.github.com>
This commit is contained in:
Jason Tedor 2017-02-28 12:56:08 -05:00 committed by Alexander Hamann
parent 3eb8911378
commit 9e4b49d0f3

View file

@ -4,8 +4,8 @@ class Kibana < Formula
desc "Analytics and search dashboard for Elasticsearch"
homepage "https://www.elastic.co/products/kibana"
url "https://github.com/elastic/kibana.git",
:tag => "v5.2.1",
:revision => "03953ddae5c505842cc39d2df349b7e35f30ee5b"
:tag => "v5.2.2",
:revision => "6538112a1d244727704f4f11d152113a5133e871"
head "https://github.com/elastic/kibana.git"
bottle do
@ -16,8 +16,8 @@ class Kibana < Formula
end
resource "node" do
url "https://nodejs.org/dist/v6.9.0/node-v6.9.0.tar.xz" # N.B. includes vendored dependencies
sha256 "656342ed8a84c95a36af902f309aeeca7103b16d61c02925bd37bd47d2194915"
url "https://nodejs.org/dist/v6.9.5/node-v6.9.5.tar.xz"
sha256 "d7fed1a354b29503f3e176d7fdb90b1a9de248e0ce9b3eb56cc26bb1f3d5b6b3"
end
def install
@ -37,6 +37,7 @@ class Kibana < Formula
platforms.delete(platform)
sub = platforms.to_a.join("|")
inreplace buildpath/"tasks/config/platforms.js", /('(#{sub})',?(?!;))/, "// \\1"
inreplace buildpath/"tasks/build/notice.js", /linux-x64/, "darwin-x64"
# trick the build into thinking we've already downloaded the Node.js binary
mkdir_p buildpath/".node_binaries/#{resource("node").version}/#{platform}"