what 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +12 -4
- data/lib/what/modules/process.rb +1 -1
- data/lib/what/modules/unicorn.rb +1 -1
- data/lib/what/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGIxNDQ2Y2I1Njg2YTllNzYwZDg5ZDVlNGIyNzQ2NzcxNTlmY2M4Zg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTRkMzcxY2Y0Yjg5Zjc0NDllZGQ3ZjZjNGZjNzFhZmVkODk2MTE1MQ==
|
5
7
|
!binary "U0hBNTEy":
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTJlZmY5NTNlZTE4MTc3YmM1MTc3YWJkYzNmM2JjMjY0MTA1MWM4ODY3MmIx
|
10
|
+
NmRjZDE4YzUwZWQ3ODUxZGMxMjU5ZGU3NmU1NGY0ZTljOTVhNjcxMWY3Yzk4
|
11
|
+
NjMzZjVjMmFlZmU5Y2MyZjY2MzU3ZjgwYmQxNjZkZTVmZDFmYWY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
M2Y2OTA2ZWI3Mjk0ZDRmMzY3MDQ1NDNjNmVlODQ4YTM4YmUxZDJkYzVkOGYw
|
14
|
+
NzUyNzA3Mzk4MzJmNWUwZWJmNjJkNjljMDFiZDY2ZDJkODIyZTE0ZmQ5NzNm
|
15
|
+
MDk2NDcwOWU0N2ExMjllOTg2Nzg3OTI1OTgzMGRhYzM5MzdiOTU=
|
data/lib/what/modules/process.rb
CHANGED
@@ -6,7 +6,7 @@ module What
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def check
|
9
|
-
@processes =
|
9
|
+
@processes = Helpers.process_lines.grep(@regexp).map do |ln|
|
10
10
|
ln =~ /^\w+\s+(\d+).*(\d+:\d\d(?:\.\d\d)?) (.*)$/
|
11
11
|
{'pid' => $1, 'cpu_time' => $2, 'proctitle' => $3.strip}
|
12
12
|
end
|
data/lib/what/modules/unicorn.rb
CHANGED
@@ -10,7 +10,7 @@ module What
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def check
|
13
|
-
@unicorns =
|
13
|
+
@unicorns = Helpers.process_lines.split("\n").grep(/unicorn_rails worker/).map do |ln|
|
14
14
|
ln =~ /^\w+\s+(\d+).*(\d+:\d\d(?:\.\d\d)?) unicorn/
|
15
15
|
{'pid' => $1, 'cpu_time' => $2}
|
16
16
|
end
|
data/lib/what/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: what
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Fitzgerald
|
@@ -10,46 +10,46 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
18
|
- - ! '>='
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 1.1.2
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
name: rack
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ! '>='
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 1.1.2
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
31
|
requirements:
|
33
32
|
- - ! '>='
|
34
33
|
- !ruby/object:Gem::Version
|
35
34
|
version: '0'
|
36
35
|
type: :runtime
|
37
36
|
prerelease: false
|
38
|
-
|
37
|
+
name: json
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ! '>='
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
45
|
requirements:
|
47
46
|
- - ! '>='
|
48
47
|
- !ruby/object:Gem::Version
|
49
48
|
version: '0'
|
50
49
|
type: :runtime
|
51
50
|
prerelease: false
|
52
|
-
|
51
|
+
name: celluloid
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
55
55
|
- !ruby/object:Gem::Version
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project: what
|
126
|
-
rubygems_version: 2.0.
|
126
|
+
rubygems_version: 2.0.4
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Simple server monitoring tool
|