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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/perf_check +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1222bbfad39f4b3a2548c0aa98c1c023058ea372
4
- data.tar.gz: 2abea4ceb71a1cae59a1c4670b1e22509368a8a6
3
+ metadata.gz: 23884a41bf4dfbacdb78a7bdcefca40f04be31d6
4
+ data.tar.gz: b681691b4d719917a2bd4457d0515c2724099d7d
5
5
  SHA512:
6
- metadata.gz: 4df488c90e3318b794ce05ffab9446710cec0ebbe08ddd52e9bfe5cd947daec15a6a123c143b3be0c40ed2442887635b631a7fcedf2086a7a3824a0001d20f5a
7
- data.tar.gz: 50fdb14b44816d3a253f33d032e807887613e1055c4a266f1d01d4907ae5faf61a56f639bca900a3cfaffc4b18c6797c8b0990f3107ddfe63d35cbe4a5156060
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune