get_running_processes 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -29,9 +29,14 @@ Or install it yourself as:
29
29
 
30
30
  processes = GetRunningProcesses.collect_processes
31
31
 
32
- The last process will always be 'ps -ef'
32
+ The format of the output of 'ps -ef' is as follows:
33
33
 
34
- processes.last.include?('ps -ef')
34
+ UID PID PPID C STIME TTY TIME CMD
35
+ root 1 0 0 Sep12 ? 00:00:00 /sbin/init
36
+
37
+ The return value of GetRunningProcesses.collect_processes is an Array of Arrays:
38
+
39
+ [["root", "1", "0", "0", "Sep12", "?", "00:00:00", "/sbin/init"]]
35
40
 
36
41
  ## Contributing
37
42
 
@@ -1,3 +1,3 @@
1
1
  module GetRunningProcesses
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_running_processes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: 15277316793671316
80
+ hash: -333645854535794971
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements:
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  segments:
88
88
  - 0
89
- hash: 15277316793671316
89
+ hash: -333645854535794971
90
90
  requirements: []
91
91
  rubyforge_project:
92
92
  rubygems_version: 1.8.24