sys-proctable 1.2.6 → 1.2.7
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
- checksums.yaml.gz.sig +0 -0
- data/{CHANGES.rdoc → CHANGES.md} +64 -49
- data/Gemfile +2 -0
- data/{MANIFEST.rdoc → MANIFEST.md} +1 -0
- data/README.md +8 -3
- data/Rakefile +7 -4
- data/certs/djberg96_pub.pem +26 -0
- data/lib/darwin/sys/proctable.rb +53 -20
- data/lib/freebsd/sys/proctable.rb +1 -1
- data/lib/linux/sys/proctable/cgroup_entry.rb +4 -2
- data/lib/linux/sys/proctable/smaps.rb +29 -17
- data/lib/linux/sys/proctable.rb +41 -35
- data/lib/sunos/sys/proctable.rb +2 -2
- data/lib/sys/proctable/version.rb +1 -1
- data/lib/sys/top.rb +1 -1
- data/lib/windows/sys/proctable.rb +36 -32
- data/spec/spec_helper.rb +13 -0
- data/spec/sys_proctable_aix_spec.rb +74 -76
- data/spec/sys_proctable_all_spec.rb +45 -45
- data/spec/sys_proctable_darwin_spec.rb +85 -58
- data/spec/sys_proctable_freebsd_spec.rb +111 -113
- data/spec/sys_proctable_linux_spec.rb +196 -195
- data/spec/sys_proctable_sunos_spec.rb +190 -192
- data/spec/sys_proctable_windows_spec.rb +153 -153
- data/spec/sys_top_spec.rb +20 -21
- data/sys-proctable.gemspec +15 -24
- data.tar.gz.sig +0 -0
- metadata +54 -16
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc04e64b1355f4df7eef6d44666c323d45bb3d6dde7ced1d078ab7b3a0108367
|
4
|
+
data.tar.gz: 64227d33681d13797ca0911199d2040f097e32de56656506d28f232d2adb7938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fa256e92c462347cabca2d4992c74dc5cbfdf7985159668b74617863b321d663209239d4d5c3e00f3cf4cf8275ace09d464fe1782024b2c21855c7128c4a4f1
|
7
|
+
data.tar.gz: 6c16116b746153a4f75932c5d2f1f5ab560100d648dd5bc904b4f1aca3b434b8667ef41fd89d34e23b303fff38fa6e7a9f089d42be60d8f4628c34e46aeb87af
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/{CHANGES.rdoc → CHANGES.md}
RENAMED
@@ -1,4 +1,19 @@
|
|
1
|
-
|
1
|
+
## 1.2.7 - 28-Oct-2022
|
2
|
+
* Fix bug on Solaris where it would fail trying to read zero-byte pseudo-kernel
|
3
|
+
processes. Thanks go to Robert Waffen for the spot and the patch.
|
4
|
+
* Fixed a bug for MacOS that potentially caused it to miss thread info.
|
5
|
+
* Fixed specs for AIX that had gotten mangled when I switched to rspec
|
6
|
+
* Some gemspec updates, including the addition of rubocop as a development
|
7
|
+
dependency, and mandatory MFA.
|
8
|
+
* Lots of rubocop related updates, mostly stylistic, but in some cases things
|
9
|
+
that were always meant to be private (like C struct wrappers) have been
|
10
|
+
explicitly marked as private.
|
11
|
+
* Lots of general spec refactoring, including updates for MacOS since Catalina
|
12
|
+
and later that no longer allow you to collect env information for spawned
|
13
|
+
processes.
|
14
|
+
* Switched to github actions.
|
15
|
+
|
16
|
+
## 1.2.6 - 25-Aug-2020
|
2
17
|
* Made some updates so that it worked properly with TruffleRuby on Mac.
|
3
18
|
* Fixed an issue on Linux where non-ascii environ strings could cause failure.
|
4
19
|
Thanks go to deemytch for the spot and original patch.
|
@@ -7,22 +22,22 @@
|
|
7
22
|
that don't support fork.
|
8
23
|
* Updated the MANIFEST.
|
9
24
|
|
10
|
-
|
25
|
+
## 1.2.5 - 19-Jun-2020
|
11
26
|
* Added the delayacct_blkio_ticks, guest_time, and cguest_time fields on Linux.
|
12
27
|
These require 2.6.18 or later, but will simply be nil on earlier versions.
|
13
28
|
* Added the rsslim synonym for the rlim field for Linux.
|
14
29
|
|
15
|
-
|
30
|
+
## 1.2.4 - 18-Jun-2020
|
16
31
|
* Added the num_threads field for Linux. This was originally a dead field in
|
17
32
|
older versions of Linux that was skipped, but as of Linux 2.6+ it actually
|
18
33
|
holds meaningful data.
|
19
34
|
* Updated the specs for Linux.
|
20
35
|
|
21
|
-
|
36
|
+
## 1.2.3 - 17-Mar-2020
|
22
37
|
* Properly include a copy of Apache-2.0 in LICENSE file as part of library.
|
23
38
|
* Add explicit .rdoc extensions to CHANGES and MANIFEST files.
|
24
39
|
|
25
|
-
|
40
|
+
## 1.2.2 - 12-Aug-2019
|
26
41
|
* Added compatibility for JRuby on Mac which apparently doesn't define a
|
27
42
|
read_uint64 method, nor a CharArray. Thanks go to Adithya Pentela for
|
28
43
|
the spot.
|
@@ -35,7 +50,7 @@
|
|
35
50
|
* Cleaned up the MANIFEST file, updated the gemspec, and fixed the
|
36
51
|
license name, which was missing a hyphen.
|
37
52
|
|
38
|
-
|
53
|
+
## 1.2.1 - 8-Jun-2018
|
39
54
|
* The code for OSX is now more efficient when a pid argument is provided.
|
40
55
|
Thanks go to Nick LaMuro for his efforts.
|
41
56
|
* Added metadata to the gemspec.
|
@@ -43,7 +58,7 @@
|
|
43
58
|
Tim Meusel for the update.
|
44
59
|
* Updated the cert. Should be good for ten years now.
|
45
60
|
|
46
|
-
|
61
|
+
## 1.2.0 - 20-Feb-2018
|
47
62
|
* There has been an API change. The ProcTable.ps method now uses keyword
|
48
63
|
arguments. The 'pid' option is universal, the rest depend on the platform.
|
49
64
|
As part of this change, support for Ruby < 2.0 has been dropped.
|
@@ -55,27 +70,27 @@
|
|
55
70
|
* Lots of Rakefile updates based on the above changes.
|
56
71
|
* The cert was updated.
|
57
72
|
|
58
|
-
|
73
|
+
## 1.1.5 - 10-Aug-2017
|
59
74
|
* Fixed a warning that cropped up in Ruby 2.4.x because I was type checking
|
60
75
|
against Fixnum. Those have been replaced with Numeric.
|
61
76
|
|
62
|
-
|
77
|
+
## 1.1.4 - 30-Mar-2017
|
63
78
|
* Fixed a potential issue where OSX could return a struct with invalid data.
|
64
79
|
* Set the default field to :pid for OSX when using Sys::Top.
|
65
80
|
* Fixed a duplicate test warning for OSX.
|
66
81
|
|
67
|
-
|
82
|
+
## 1.1.3 - 28-Sep-2016
|
68
83
|
* Fixed an issue on OSX where the value returned for argc is invalid.
|
69
84
|
|
70
|
-
|
85
|
+
## 1.1.2 - 18-Sep-2016
|
71
86
|
* Fixed cmdline parsing and handling for OSX. Thanks go to Ben Mathwig for
|
72
87
|
the spot and the patch.
|
73
88
|
|
74
|
-
|
89
|
+
## 1.1.1 - 30-Jun-2016
|
75
90
|
* Added thread information for OS X.
|
76
91
|
* Fixed VERSION constant for HP-UX.
|
77
92
|
|
78
|
-
|
93
|
+
## 1.1.0 - 27-Jun-2016
|
79
94
|
* License was changed to Apache 2.0.
|
80
95
|
* The OS X version now requires OS X 10.7 or later.
|
81
96
|
* Scrapped the C implementation for OS X, and replaced it with a libproc wrapper
|
@@ -85,20 +100,20 @@
|
|
85
100
|
* Rakefile updates to accomodate the changes for OS X.
|
86
101
|
* Some test suite updates and refactoring.
|
87
102
|
|
88
|
-
|
103
|
+
## 1.0.0 - 11-Jan-2016
|
89
104
|
* Added smaps information for Linux. Thanks go to Joe Rafaniello for the patch.
|
90
105
|
* This really should not have been a major release, sorry.
|
91
106
|
|
92
|
-
|
107
|
+
## 0.9.9 - 8-Nov-2015
|
93
108
|
* Added support for cgroups on Linux. Thanks go to Dennis Günnewig for the patch.
|
94
109
|
* Added a sys-proctable.rb file for convenience.
|
95
110
|
* This gem is now signed.
|
96
111
|
* Gem related tasks in the Rakefile now assume Rubygems 2.x.
|
97
112
|
|
98
|
-
|
113
|
+
## 0.9.8 - 18-Apr-2015
|
99
114
|
* Fixed a bug in the gemspec. Last version got yanked.
|
100
115
|
|
101
|
-
|
116
|
+
## 0.9.7 - 18-Apr-2015
|
102
117
|
* Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
|
103
118
|
go to Koshevoy Anton for the spot.
|
104
119
|
* Some internal refactoring of version handling. Now all platforms use a
|
@@ -107,16 +122,16 @@
|
|
107
122
|
FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
|
108
123
|
the spot.
|
109
124
|
|
110
|
-
|
125
|
+
## 0.9.6 - 24-Feb-2015
|
111
126
|
* Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
|
112
127
|
|
113
|
-
|
128
|
+
## 0.9.5 - 10-Feb-2015
|
114
129
|
* Significant cleanup and memory reduction of the OSX code. Thanks go
|
115
130
|
to Ivan (toy) for the patches.
|
116
131
|
* Skip over /proc/<file>/status if unreadable on Linux. Thanks go to Jianjun
|
117
132
|
Mao for the patch.
|
118
133
|
|
119
|
-
|
134
|
+
## 0.9.4 - 4-Mar-2014
|
120
135
|
* Added support for AIX 5.3 or later courtesy of Rick Ohnemus.
|
121
136
|
* The Solaris version now uses FFI structs instead of a packed array.
|
122
137
|
It solved issues with 64-bit versions of Ruby and it's self-documenting.
|
@@ -127,12 +142,12 @@
|
|
127
142
|
that the C code did not build on those platforms anyway, I doubt most of
|
128
143
|
you will notice. Patches for those platforms are welcome, but only using FFI.
|
129
144
|
|
130
|
-
|
145
|
+
## 0.9.3 - 17-Mar-2013
|
131
146
|
* Fixed a bug on OSX where a long command string arg could cause
|
132
147
|
a segfault. Thanks go to Nathaniel Bibler for the spot.
|
133
148
|
* Changed the gem platform from mingw to mingw32 for Windows.
|
134
149
|
|
135
|
-
|
150
|
+
## 0.9.2 - 8-Oct-2012
|
136
151
|
* Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
|
137
152
|
the patch.
|
138
153
|
* Warning cleanup for 1.9.
|
@@ -140,7 +155,7 @@
|
|
140
155
|
with a two element array for Gem::Platform.new.
|
141
156
|
* MS date strings are now parse with DateTime instead of Date.
|
142
157
|
|
143
|
-
|
158
|
+
## 0.9.1 - 3-Aug-2011
|
144
159
|
* Added the pctcpu and pctmem members for Linux.
|
145
160
|
* Added Errno::ESRCH to a rescue clause on Linux that fixed a bug
|
146
161
|
where a missing entry wasn't being skipped when run as root. Thanks
|
@@ -153,7 +168,7 @@
|
|
153
168
|
* Altered the platform settings in the Rakefile so that generated gems
|
154
169
|
use 'universal' platform architectures for any particular operating system.
|
155
170
|
|
156
|
-
|
171
|
+
## 0.9.0 - 14-Oct-2009
|
157
172
|
* Changed the license to Artistic 2.0.
|
158
173
|
* Fixed a bug in the OS X code where a segfault would occur when an attempt
|
159
174
|
was made to gather resource usage information on zombie processes. From
|
@@ -172,7 +187,7 @@
|
|
172
187
|
license change and some minor formatting changes.
|
173
188
|
* The test-unit library was changed from a runtime to a development dependency.
|
174
189
|
|
175
|
-
|
190
|
+
## 0.8.1 - 6-Apr-2009
|
176
191
|
* The Linux and Solaris libraries now handle the possibility of a process
|
177
192
|
terminating in the middle of a read more gracefully. If that happens, they
|
178
193
|
merely skip to the next record, i.e. it's all or nothing. Thanks go to
|
@@ -182,7 +197,7 @@
|
|
182
197
|
* Added the comm alias back to the Solaris version. Thanks go to Jun Young Kim
|
183
198
|
for the spot.
|
184
199
|
|
185
|
-
|
200
|
+
## 0.8.0 - 26-Jan-2009
|
186
201
|
* The Linux and Solaris versions of this library are now pure Ruby. Be warned,
|
187
202
|
however, that only Solaris 8 and later are now supported. This may change
|
188
203
|
in a future release if there's demand to support 2.6 and 2.7.
|
@@ -209,7 +224,7 @@
|
|
209
224
|
confusion with actual test files.
|
210
225
|
* Added an 'example' rake task to run the example file.
|
211
226
|
|
212
|
-
|
227
|
+
## 0.7.6 - 11-Jul-2007
|
213
228
|
* Fixed the starttime for Linux. Thanks go to Yaroslav Dmitriev for the spot.
|
214
229
|
* Fixed a bug in the MS Windows version within a private method that parsed
|
215
230
|
an MS specific date format. This was caused by a backwards incompatible
|
@@ -225,11 +240,11 @@
|
|
225
240
|
to David Felstead for the code. However, see the README for more information
|
226
241
|
specific to OS X, as there are shortcomings.
|
227
242
|
|
228
|
-
|
243
|
+
## 0.7.5 - 23-Nov-2006
|
229
244
|
* Fixed int/long issues for Linux. Thanks go to Matt Lightner for the spot.
|
230
245
|
* Minor documentation fixes and changes to the extconf.rb file.
|
231
246
|
|
232
|
-
|
247
|
+
## 0.7.4 - 20-Nov-2006
|
233
248
|
* Added a patch that deals with the large file compilation issue on Solaris.
|
234
249
|
You no longer need to build Ruby with --disable-largefile, or build a
|
235
250
|
64 bit Ruby, in order for this package to work. Thanks go to Steven Jenkins
|
@@ -240,11 +255,11 @@
|
|
240
255
|
* Added preliminary support for Darwin (OS X). The code was provided by
|
241
256
|
David Felstead, but does not appear to compile successfully. Help wanted.
|
242
257
|
|
243
|
-
|
258
|
+
## 0.7.3 - 27-Oct-2005
|
244
259
|
* Fix for 1.8.3 and later (rb_pid_t). This should have only affected
|
245
260
|
Solaris.
|
246
261
|
|
247
|
-
|
262
|
+
## 0.7.2 - 15-May-2005
|
248
263
|
* Bug fix for the FreeBSD version that reads from /proc.
|
249
264
|
* Eliminated the test bug on Linux (inexplicably caused by File.copy). The
|
250
265
|
test suite should now run without segfaulting.
|
@@ -253,13 +268,13 @@
|
|
253
268
|
* The 'pct_cpu' member for the BSD/kvm version has been changed to 'pctcpu'
|
254
269
|
for consistency with other platforms.
|
255
270
|
|
256
|
-
|
271
|
+
## 0.7.1 - 8-May-2005
|
257
272
|
* Bug fixed for the cmdline info on Linux. Thanks go to Arash Abedinzadeh
|
258
273
|
for the spot.
|
259
274
|
* Added an example program.
|
260
275
|
* Minor setup fix for Win32 in tc_all.rb.
|
261
276
|
|
262
|
-
|
277
|
+
## 0.7.0 - 25-Apr-2005
|
263
278
|
* Scrapped the C implementation for Windows in favor of an OLE + WMI pure Ruby
|
264
279
|
approach. See documentation for details.
|
265
280
|
* Added an optional lkvm implementation for BSD users. This is automatically
|
@@ -282,7 +297,7 @@
|
|
282
297
|
* Some test suite cleanup and reorganization.
|
283
298
|
* Moved project to RubyForge.
|
284
299
|
|
285
|
-
|
300
|
+
## 0.6.4 - 31-Mar-2004
|
286
301
|
* Fixed a bug in the pure Ruby version for Win32. Thanks go to Mark Hudson
|
287
302
|
for the spot.
|
288
303
|
* Fixed a bug in the C implementation for Win32 where the cmdline and path
|
@@ -301,16 +316,16 @@
|
|
301
316
|
* Minor change to way process state is handled on HP-UX.
|
302
317
|
* Documentation additions and updates, including warranty information.
|
303
318
|
|
304
|
-
|
319
|
+
## 0.6.3 - 24-Feb-2004
|
305
320
|
* Fixed a bug in the Solaris version where the cmd_args array did not
|
306
321
|
necessarily contain data on 2.7 and later. The current patch still
|
307
322
|
does not quite fix the problem for 2.6 and earlier but can be easily
|
308
323
|
derived manually by parsing the cmdline string.
|
309
324
|
|
310
|
-
|
325
|
+
## 0.6.2 - 20-Jan-2004
|
311
326
|
* Fixed a small memory leak in the solaris version.
|
312
327
|
|
313
|
-
|
328
|
+
## 0.6.1 - 31-Dec-2003
|
314
329
|
* Fixed a minor bug in the cmdline field on Linux where a blank character
|
315
330
|
was being appended to the end of the field.
|
316
331
|
* Fixed a minor annoyance where the windows.rb file was being copied into
|
@@ -321,7 +336,7 @@
|
|
321
336
|
* Minor test suite changes
|
322
337
|
* MANIFEST correction and update.
|
323
338
|
|
324
|
-
|
339
|
+
## 0.6.0 - 22-Oct-2003
|
325
340
|
* Significant API change (and thus, a version jump) - only a
|
326
341
|
single argument is now accepted to the ps() method, and only a PID
|
327
342
|
(Fixnum) is regarded as a valid argument.
|
@@ -346,7 +361,7 @@
|
|
346
361
|
* Some test suite cleanup.
|
347
362
|
* Changed .rd2 extension to just '.rd'.
|
348
363
|
|
349
|
-
|
364
|
+
## 0.5.2 - 18-Jul-2003
|
350
365
|
* Modified cmdline to extend past the traditional 80 character limit on
|
351
366
|
Solaris, where possible (Solaris 2.6+ only).
|
352
367
|
* Added the cmdline_args and num_args fields on Solaris, which returns
|
@@ -359,14 +374,14 @@
|
|
359
374
|
* Added solaris.txt to doc directory.
|
360
375
|
* MANIFEST corrections.
|
361
376
|
|
362
|
-
|
377
|
+
## 0.5.1 - 16-Jul-2003
|
363
378
|
* Fixed a nasty file descriptor bug in the Linux code, where file descriptors
|
364
379
|
were continuously being used up.
|
365
380
|
* Added the BTIME (boot time) constant for Linux.
|
366
381
|
* Fixed up the test/test.rb file a bit.
|
367
382
|
* Added BTIME tests to tc_linux.rb.
|
368
383
|
|
369
|
-
|
384
|
+
## 0.5.0 - 11-Jul-200
|
370
385
|
* Added HP-UX support!
|
371
386
|
* Note that passing PID's or strings as arguments to ps() is not supported
|
372
387
|
in the HP-UX version. This functionality will be stripped out of the
|
@@ -377,7 +392,7 @@
|
|
377
392
|
* Got rid of the interactive html generation in extconf.rb.
|
378
393
|
* Changed License to Artistic.
|
379
394
|
|
380
|
-
|
395
|
+
## 0.4.3 - 30-May-2003
|
381
396
|
* Added a version.h file to store the version number. Modified all of the
|
382
397
|
C source files to use that instead of hard coding the version everywhere.
|
383
398
|
* Added a generic test.rb script for those without TestUnit installed, or
|
@@ -387,13 +402,13 @@
|
|
387
402
|
Peter Fischer for the spot and patch.
|
388
403
|
* Modified test suite to work with TestUnit 0.1.6 or 0.1.8.
|
389
404
|
|
390
|
-
|
405
|
+
## 0.4.2 - 14-Apr-2003
|
391
406
|
* Added pure Ruby version for Win32 - thanks Park Heesob.
|
392
407
|
* Modified extconf.rb file to handle pure Ruby versions.
|
393
408
|
* Added install_pure_ruby.rb file, an alternate installation
|
394
409
|
script for pure Ruby versions.
|
395
410
|
|
396
|
-
|
411
|
+
## 0.4.1 - 31-Mar-2003
|
397
412
|
* Added support for Solaris 2.5.x.
|
398
413
|
* All exceptions are now a direct subclass of StandardError.
|
399
414
|
* Value returned for wchan now more meaningful (2.5.x only for now).
|
@@ -403,7 +418,7 @@
|
|
403
418
|
* Minor doc changes.
|
404
419
|
* Added License and Copyright info.
|
405
420
|
|
406
|
-
|
421
|
+
## 0.4.0 - 10-Mar-2003
|
407
422
|
* Added MS Windows support (non-cygwin).
|
408
423
|
* Added environment information for Linux version.
|
409
424
|
* Added real exceptions (type depends on platform).
|
@@ -416,14 +431,14 @@
|
|
416
431
|
* Changed package name to lower case.
|
417
432
|
* Doc changes, including license information.
|
418
433
|
|
419
|
-
|
434
|
+
## 0.3.1 - 16-Aug-2002
|
420
435
|
* Added a "comm" field to the sunos version. I am going to try to make this a
|
421
436
|
common field for all platforms to help reduce RUBY_PLATFORM checking.
|
422
437
|
* Fixed the release date for 0.3.0 (was accidentally marked *July*).
|
423
438
|
* Added an INSTALL file.
|
424
439
|
* Minor documentation change to the sunos.c source file.
|
425
440
|
|
426
|
-
|
441
|
+
## 0.3.0 - 11-Aug-2002
|
427
442
|
* Added FreeBSD support!
|
428
443
|
* Struct name changed to just "ProcTableStruct" to be compliant with future
|
429
444
|
versions of Ruby.
|
@@ -435,10 +450,10 @@
|
|
435
450
|
with access to a FreeBSD box, which is how I was able to provide FreeBSD
|
436
451
|
support. Thanks Sean!
|
437
452
|
|
438
|
-
|
453
|
+
## 0.2.0 - 19-Jul-2002
|
439
454
|
* Added the ability to search by process name.
|
440
455
|
* test.rb modified to be cross-platform.
|
441
456
|
* Solaris - fixed bug with fname (was accidentally called "name").
|
442
457
|
|
443
|
-
|
458
|
+
## 0.1.0 - 2-Jul-2002
|
444
459
|
- Initial release.
|
data/Gemfile
ADDED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[](https://github.com/djberg96/sys-proctable/actions/workflows/ruby.yml)
|
2
|
+
|
1
3
|
# sys-proctable
|
2
4
|
|
3
5
|
## Description
|
@@ -6,7 +8,10 @@
|
|
6
8
|
|
7
9
|
## Prerequisites
|
8
10
|
|
9
|
-
*
|
11
|
+
* ffi
|
12
|
+
* rspec (development only)
|
13
|
+
* rake (development only)
|
14
|
+
* rubocop (development only)
|
10
15
|
|
11
16
|
## Supported Platforms
|
12
17
|
|
@@ -146,11 +151,11 @@ including platform specific notes and issues.
|
|
146
151
|
|
147
152
|
## License
|
148
153
|
|
149
|
-
Apache
|
154
|
+
Apache-2.0
|
150
155
|
|
151
156
|
## Copyright
|
152
157
|
|
153
|
-
(C) 2003-
|
158
|
+
(C) 2003-2022 Daniel J. Berger
|
154
159
|
All Rights Reserved.
|
155
160
|
|
156
161
|
## Author
|
data/Rakefile
CHANGED
@@ -3,9 +3,12 @@ require 'rake/clean'
|
|
3
3
|
require 'rake/testtask'
|
4
4
|
require 'rbconfig'
|
5
5
|
require 'rspec/core/rake_task'
|
6
|
+
require 'rubocop/rake_task'
|
6
7
|
include RbConfig
|
7
8
|
|
8
|
-
CLEAN.include('**/*.gem', '**/*.rbc')
|
9
|
+
CLEAN.include('**/*.gem', '**/*.rbc', '**/*.lock')
|
10
|
+
|
11
|
+
RuboCop::RakeTask.new
|
9
12
|
|
10
13
|
desc 'Install the sys-proctable library'
|
11
14
|
task :install do
|
@@ -51,7 +54,7 @@ end
|
|
51
54
|
|
52
55
|
desc 'Run the test suite for the sys-proctable library'
|
53
56
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
54
|
-
t.pattern = ['spec/sys_proctable_all_spec.rb']
|
57
|
+
t.pattern = ['spec/sys_proctable_all_spec.rb', 'spec/sys_top_spec.rb']
|
55
58
|
|
56
59
|
case CONFIG['host_os']
|
57
60
|
when /aix/i
|
@@ -79,9 +82,9 @@ namespace :gem do
|
|
79
82
|
desc 'Create a gem for the specified OS, or your current OS by default'
|
80
83
|
task :create => [:clean] do
|
81
84
|
require 'rubygems/package'
|
82
|
-
spec =
|
85
|
+
spec = Gem::Specification.load('sys-proctable.gemspec')
|
83
86
|
spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
|
84
|
-
Gem::Package.build(spec
|
87
|
+
Gem::Package.build(spec)
|
85
88
|
end
|
86
89
|
|
87
90
|
desc 'Install the sys-proctable library as a gem'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
3
|
+
cmc5NjEVMBMGCgmSJomT8ix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