sys-proctable 0.9.2-universal-freebsd → 0.9.3-universal-freebsd
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/ext/bsd/sys/proctable.c +2 -2
- data/sys-proctable.gemspec +1 -1
- data/test/test_sys_proctable_all.rb +1 -1
- metadata +4 -4
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/ext/bsd/sys/proctable.c
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#include <sys/types.h>
|
13
13
|
#include <sys/user.h>
|
14
14
|
|
15
|
-
#define SYS_PROCTABLE_VERSION "0.9.
|
15
|
+
#define SYS_PROCTABLE_VERSION "0.9.3"
|
16
16
|
|
17
17
|
VALUE cProcTableError, sProcStruct;
|
18
18
|
|
@@ -286,7 +286,7 @@ void Init_proctable(){
|
|
286
286
|
|
287
287
|
/* Constants */
|
288
288
|
|
289
|
-
/* 0.9.
|
289
|
+
/* 0.9.3: The version of the sys-proctable library */
|
290
290
|
rb_define_const(cProcTable, "VERSION", rb_str_new2(SYS_PROCTABLE_VERSION));
|
291
291
|
|
292
292
|
/* Structures */
|
data/sys-proctable.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sys-proctable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 3
|
10
|
+
version: 0.9.3
|
11
11
|
platform: universal-freebsd
|
12
12
|
authors:
|
13
13
|
- Daniel J. Berger
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-12-08 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: test-unit
|