perf_check 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/perf_check +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23884a41bf4dfbacdb78a7bdcefca40f04be31d6
|
4
|
+
data.tar.gz: b681691b4d719917a2bd4457d0515c2724099d7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5dcc15c1175d612b3f5b6d1ec23b45ec554b3504701ad5862fe3cda08f51f9ae7280e2a2fdf5efc82be74262fec6aa1b878905b2cde4665c1ad3b989bf23702
|
7
|
+
data.tar.gz: 45ebdf7dec8ec81257f6d772c5117cdb70d940fa973f86c97478121faa83ca12aed03668ef2efafd5841cee2f7c0083a168e45682026ef28c42082d667b26a72
|
data/bin/perf_check
CHANGED
@@ -4,6 +4,10 @@ require 'perf_check'
|
|
4
4
|
|
5
5
|
ORIGINAL_ARGV = ARGV.clone
|
6
6
|
|
7
|
+
if File.exists?("#{PerfCheck.app_root}/tmp/pids/server.pid")
|
8
|
+
abort("It looks like a rails server is already running. Shut it down before continuing with perf_check.")
|
9
|
+
end
|
10
|
+
|
7
11
|
perf_check = PerfCheck.new
|
8
12
|
|
9
13
|
at_exit do
|