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 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.' + CONFIG['DLEXT'], 'sys'
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', 'mingw'])
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'
@@ -16,7 +16,7 @@ module Sys
16
16
  private_class_method :new
17
17
 
18
18
  # The version of the sys-proctable library
19
- VERSION = '0.9.2'
19
+ VERSION = '0.9.3'
20
20
 
21
21
  private
22
22
 
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'sys-proctable'
5
- spec.version = '0.9.2'
5
+ spec.version = '0.9.3'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
@@ -22,7 +22,7 @@ class TC_ProcTable_All < Test::Unit::TestCase
22
22
  end
23
23
 
24
24
  def test_version
25
- assert_equal('0.9.2', ProcTable::VERSION)
25
+ assert_equal('0.9.3', ProcTable::VERSION)
26
26
  end
27
27
 
28
28
  def test_fields
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
- hash: 63
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
- date: 2012-05-15 00:00:00 Z
19
- dependencies:
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
- prerelease: false
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
- version_requirements: *id001
36
- description: " The sys-proctable library provides an interface for gathering information\n about processes on your system, i.e. the process table. Most major\n platforms are supported and, while different platforms may return\n different information, the external interface is identical across\n platforms.\n"
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
- hash: 3
75
- segments:
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
- hash: 3
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.11
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