Skip to content

Commit a31d87e

Browse files
committed
flyway 11.10.2
Signed-off-by: Patrick Linnane <[email protected]>
1 parent 3747cf5 commit a31d87e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Formula/f/flyway.rb

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
class Flyway < Formula
22
desc "Database version control to control migrations"
3-
homepage "https://flywaydb.org/"
4-
url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/11.8.2/flyway-commandline-11.8.2.tar.gz"
5-
sha256 "b01677117b6be97e669314cc502da85bdce20b426bafc291738368ab980c8ca5"
3+
homepage "https://www.red-gate.com/products/flyway/community/"
4+
url "https://github.com/flyway/flyway/releases/download/flyway-11.10.2/flyway-commandline-11.10.2.tar.gz"
5+
sha256 "d51fc28303d5dbaeaf0b8f8b3bc1d964d36b7d60d98d79b51eda557200c3c410"
66
license "Apache-2.0"
77

8-
livecheck do
9-
url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/maven-metadata.xml"
10-
regex(%r{<version>v?(\d+(?:\.\d+)+)</version>}i)
11-
end
12-
138
bottle do
149
sha256 cellar: :any_skip_relocation, all: "b1f1d5efdc6f0e724f8fec9021585313d6a9f444318c37355372e90f91b719ab"
1510
end
@@ -24,6 +19,9 @@ def install
2419
end
2520

2621
test do
27-
system bin/"flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
22+
assert_match version.to_s, shell_output("#{bin}/flyway --version")
23+
24+
assert_match "Successfully validated 0 migrations",
25+
shell_output("#{bin}/flyway -url=jdbc:h2:mem:flywaydb validate")
2826
end
2927
end

0 commit comments

Comments
 (0)