sys-proctable 0.9.2-universal-solaris → 0.9.3-universal-solaris
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +5 -0
- data/Rakefile +13 -2
- data/lib/sunos/sys/proctable.rb +1 -1
- data/sys-proctable.gemspec +1 -1
- data/test/test_sys_proctable_all.rb +1 -1
- metadata +38 -51
data/CHANGES
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
== 0.9.3 - 17-Mar-2013
|
2
|
+
* Fixed a bug on OSX where a long command string arg could cause
|
3
|
+
a segfault. Thanks go to Nathaniel Bibler for the spot.
|
4
|
+
* Changed the gem platform from mingw to mingw32 for Windows.
|
5
|
+
|
1
6
|
== 0.9.2 - 8-Oct-2012
|
2
7
|
* Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
|
3
8
|
the patch.
|
data/Rakefile
CHANGED
@@ -18,20 +18,31 @@ CLEAN.include(
|
|
18
18
|
|
19
19
|
desc 'Build the sys-proctable library for C versions of sys-proctable'
|
20
20
|
task :build => [:clean] do
|
21
|
+
if RUBY_PLATFORM == 'java'
|
22
|
+
if ENV['JRUBY_OPTS']
|
23
|
+
ENV['JRUBY_OPTS'] += ' -Xcext.enabled=true'
|
24
|
+
else
|
25
|
+
ENV['JRUBY_OPTS'] = '-Xcext.enabled=true'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
21
29
|
case CONFIG['host_os']
|
22
30
|
when /bsd/i
|
23
31
|
dir = 'ext/bsd'
|
32
|
+
ext = '.so'
|
24
33
|
when /darwin/i
|
25
34
|
dir = 'ext/darwin'
|
35
|
+
ext = '.bundle'
|
26
36
|
when /hpux/i
|
27
37
|
dir = 'ext/hpux'
|
38
|
+
ext = '.sl'
|
28
39
|
end
|
29
40
|
|
30
41
|
unless CONFIG['host_os'] =~ /win32|mswin|dos|cygwin|mingw|windows|linux|sunos|solaris/i
|
31
42
|
Dir.chdir(dir) do
|
32
43
|
ruby 'extconf.rb'
|
33
44
|
sh 'make'
|
34
|
-
cp 'proctable
|
45
|
+
cp 'proctable' + ext, 'sys'
|
35
46
|
end
|
36
47
|
end
|
37
48
|
end
|
@@ -152,7 +163,7 @@ namespace :gem do
|
|
152
163
|
spec.files += ['lib/sunos/sys/proctable.rb']
|
153
164
|
spec.test_files << 'test/test_sys_proctable_sunos.rb'
|
154
165
|
when /mswin|win32|dos|cygwin|mingw|windows/i
|
155
|
-
spec.platform = Gem::Platform.new(['universal', '
|
166
|
+
spec.platform = Gem::Platform.new(['universal', 'mingw32'])
|
156
167
|
spec.require_paths = ['lib', 'lib/windows']
|
157
168
|
spec.files += ['lib/windows/sys/proctable.rb']
|
158
169
|
spec.test_files << 'test/test_sys_proctable_windows.rb'
|
data/lib/sunos/sys/proctable.rb
CHANGED
data/sys-proctable.gemspec
CHANGED
metadata
CHANGED
@@ -1,50 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sys-proctable
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
- 2
|
10
|
-
version: 0.9.2
|
11
6
|
platform: universal-solaris
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Daniel J. Berger
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-03-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: test-unit
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 31
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 4
|
32
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 2.4.0
|
34
22
|
type: :development
|
35
|
-
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.4.0
|
30
|
+
description: ! " The sys-proctable library provides an interface for gathering
|
31
|
+
information\n about processes on your system, i.e. the process table. Most major\n
|
32
|
+
\ platforms are supported and, while different platforms may return\n different
|
33
|
+
information, the external interface is identical across\n platforms.\n"
|
37
34
|
email: djberg96@gmail.com
|
38
35
|
executables: []
|
39
|
-
|
40
36
|
extensions: []
|
41
|
-
|
42
|
-
extra_rdoc_files:
|
37
|
+
extra_rdoc_files:
|
43
38
|
- CHANGES
|
44
39
|
- README
|
45
40
|
- MANIFEST
|
46
41
|
- doc/top.txt
|
47
|
-
files:
|
42
|
+
files:
|
48
43
|
- benchmarks/bench_ps.rb
|
49
44
|
- examples/example_ps.rb
|
50
45
|
- lib/sys/top.rb
|
@@ -58,39 +53,31 @@ files:
|
|
58
53
|
- lib/sunos/sys/proctable.rb
|
59
54
|
- test/test_sys_proctable_sunos.rb
|
60
55
|
homepage: http://www.rubyforge.org/projects/sysutils
|
61
|
-
licenses:
|
56
|
+
licenses:
|
62
57
|
- Artistic 2.0
|
63
58
|
post_install_message:
|
64
59
|
rdoc_options: []
|
65
|
-
|
66
|
-
require_paths:
|
60
|
+
require_paths:
|
67
61
|
- lib
|
68
62
|
- lib/sunos
|
69
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
64
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
|
76
|
-
- 0
|
77
|
-
version: "0"
|
78
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
70
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
segments:
|
85
|
-
- 0
|
86
|
-
version: "0"
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
87
75
|
requirements: []
|
88
|
-
|
89
76
|
rubyforge_project: sysutils
|
90
|
-
rubygems_version: 1.8.
|
77
|
+
rubygems_version: 1.8.24
|
91
78
|
signing_key:
|
92
79
|
specification_version: 3
|
93
80
|
summary: An interface for providing process table information
|
94
|
-
test_files:
|
81
|
+
test_files:
|
95
82
|
- test/test_sys_proctable_all.rb
|
96
83
|
- test/test_sys_proctable_sunos.rb
|