11class Monika < Formula
22 desc "Synthetic monitoring made easy"
33 homepage "https://monika.hyperjump.tech"
4- url "https://registry.npmjs.org/@hyperjumptech/monika/-/monika-1.21.1 .tgz"
5- sha256 "f0f87ce40c771b2b7b4c723ddec41200bf180ff788138559dad0cf4fd731d6b6 "
4+ url "https://registry.npmjs.org/@hyperjumptech/monika/-/monika-1.21.2 .tgz"
5+ sha256 "a9280ac4c288a79c77c28263042fab1d4cc785ef08f94d0cfd3cb25b7e40dce4 "
66 license "MIT"
77
88 bottle do
9- sha256 cellar : :any , arm64_sequoia : "56c00575278cd5392e3a079c4667ba9731137e08a505ce925ec517f4c37f872e "
10- sha256 cellar : :any , arm64_sonoma : "f55a93915b6a3fbc0582d69e42a11db79b0211482cc38bc4248990b6fbf6b58d "
11- sha256 cellar : :any , arm64_ventura : "bbf10fdb8c75aa24ed9e0567fccd363602533db90ec4e64eee89b88b759c1120 "
12- sha256 cellar : :any , sonoma : "4b9a1158642df00c9cbbea384d4285c65c460f326147f64f8ecf9ecaf81ed0b1 "
13- sha256 cellar : :any , ventura : "f7b56c62ec781ce7cd4d54d4c2d5312e16c994b4befc1ef5e330c064ccab6f1f "
14- sha256 cellar : :any_skip_relocation , x86_64_linux : "789fb2bd509df40ca3002bf2886cc560445609517c75d044a991f5d7c3034714 "
9+ sha256 arm64_sequoia : "cf7bd831f3b50b22b53a45be3fc9468fd3449e77d16ecc6a14a7fc91a0c2048e "
10+ sha256 arm64_sonoma : "02f1de44e451e3bf0595b7d12f1905534d9bbb377e062c61828221464f41b370 "
11+ sha256 arm64_ventura : "ee92b0a0707890c6ec213c46e5d2f4812ba1fc4a867eb82129c8e1a8cbb1f95f "
12+ sha256 sonoma : "d7a43499c51096dbfb3c6e75ff208c97f56a455f8280d24d64e99a8e17f959dd "
13+ sha256 ventura : "e29d95f54d6d00802440e3531649ac1253ba2a4843e029cb61f10d7badfb3753 "
14+ sha256 cellar : :any_skip_relocation , x86_64_linux : "ad68335a7a0fad36f34fa12a266e997cbc583f6ade8c160bc70278bf6e3f82ca "
1515 end
1616
1717 depends_on "node"
@@ -32,6 +32,11 @@ def install
3232 node_modules = libexec /"lib/node_modules/@hyperjumptech/monika/node_modules"
3333 node_modules . glob ( "nice-napi/prebuilds/*" )
3434 . each { |dir | rm_r ( dir ) if dir . basename . to_s != "#{ os } -#{ arch } " }
35+
36+ cpu_profiler = "@sentry/profiling-node/lib/sentry_cpu_profiler"
37+ node_modules . glob ( "#{ cpu_profiler } -*" )
38+ . each { |file | rm ( file ) unless file . basename . to_s . start_with? ( "sentry_cpu_profiler-#{ os } -#{ arch } " ) }
39+ node_modules . glob ( "#{ cpu_profiler } -*-musl-*" ) . map ( &:unlink ) if OS . linux?
3540 end
3641
3742 test do
@@ -53,7 +58,8 @@ def install
5358 $stdout. reopen ( monika_stdout )
5459 exec bin /"monika" , "-r" , "1" , "-c" , testpath /"config.yml"
5560 end
56- sleep 14
61+ sleep 15
62+ sleep 15 if OS . mac? && Hardware ::CPU . intel?
5763
5864 assert_match "Starting Monika. Probes: 1. Notifications: 1" , monika_stdout . read
5965 end
0 commit comments