proc-wait3 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/ext/extconf.rb +2 -0
- data/ext/proc/wait3.c +7 -2
- data/proc-wait3.gemspec +1 -1
- data/test/test_proc_wait3.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1852b4eba1bbe08fbc94c85af78d36e4d81c8872
|
4
|
+
data.tar.gz: 3c153b9b4e4d764a35879862a1e29d4cbf8ad6c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2874d8519a42b5d0ed2a6d2909bb484ee4bdb1f97dea4b8bd353c49cb3904f71adf7806c641336d49881d0a3f636e695116899bc3c2fea529580b66b3f655b4d
|
7
|
+
data.tar.gz: 8060358bb72b80db9119310a6b80d675840154c69297b1d10ccdf4f3bac580059ec5625b0062d1cd4ac096c8e2896fb39422c6f415f89c6278cb8d513a500eee
|
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 1.7.1 - 24-Apr-2014
|
2
|
+
* Explicitly check for and include sys/resource.h because Debian. Thanks
|
3
|
+
go to Christos Trochalakis for the spot.
|
4
|
+
|
1
5
|
== 1.7.0 - 6-Apr-2014
|
2
6
|
* The wait3 and wait4 methods no longer set $? to a custom struct. The builtin
|
3
7
|
variable is still set, but if you need the custom Struct::ProcStat information
|
data/ext/extconf.rb
CHANGED
data/ext/proc/wait3.c
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
#include <string.h>
|
3
3
|
#include <unistd.h>
|
4
4
|
|
5
|
+
/* Debian */
|
6
|
+
#ifdef HAVE_SYS_RESOURCE_H
|
7
|
+
#include <sys/resource.h>
|
8
|
+
#endif
|
9
|
+
|
5
10
|
#ifdef HAVE_WAIT_H
|
6
11
|
#include <wait.h>
|
7
12
|
#else
|
@@ -961,8 +966,8 @@ void Init_wait3()
|
|
961
966
|
rb_define_const(rb_mProcess, "P_PROJID", INT2FIX(P_PROJID));
|
962
967
|
#endif
|
963
968
|
|
964
|
-
/* 1.7.
|
965
|
-
rb_define_const(rb_mProcess, "WAIT3_VERSION", rb_str_new2("1.7.
|
969
|
+
/* 1.7.1: The version of the proc-wait3 library */
|
970
|
+
rb_define_const(rb_mProcess, "WAIT3_VERSION", rb_str_new2("1.7.1"));
|
966
971
|
|
967
972
|
/* Define this last in our Init_wait3 function */
|
968
973
|
rb_define_readonly_variable("$last_status", &v_last_status);
|
data/proc-wait3.gemspec
CHANGED
data/test/test_proc_wait3.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proc-wait3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|