sys-proctable 0.9.6-universal-solaris → 0.9.8-universal-solaris

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f5aa751b17404444244ce20ceb6f8de4f470bba0
4
+ data.tar.gz: 89b19da64b6263de4443be773164b196fc02f2f2
5
+ SHA512:
6
+ metadata.gz: 9899154d8a7cb8aebb1a4ddc07ac199f02d0cc99963c43fb2558f52de7c5742079e5de7242fd9decc6b7cdfbffc16658dcacaca09be86b7bda27cbe5443f8691
7
+ data.tar.gz: f5abdb495cd309a3c81aba0c99e7f46dd8da4db71e01b3514fd72e92df56196566a36a92b5e92cad469b2229e2a1df29b7a6104218dd94f5c97aa9a163c586d0
data/CHANGES CHANGED
@@ -1,3 +1,15 @@
1
+ == 0.9.8 - 18-Apr-2015
2
+ * Fixed a bug in the gemspec. Last version got yanked.
3
+
4
+ == 0.9.7 - 18-Apr-2015
5
+ * Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
6
+ go to Koshevoy Anton for the spot.
7
+ * Some internal refactoring of version handling. Now all platforms use a
8
+ single version file.
9
+ * Replaced vm_size_t and lwpid_t with universal data types on FreeBSD because
10
+ FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
11
+ the spot.
12
+
1
13
  == 0.9.6 - 24-Feb-2015
2
14
  * Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
3
15
 
data/MANIFEST CHANGED
@@ -16,6 +16,7 @@
16
16
  * ext/hpux/extconf.rb
17
17
  * ext/hpux/sys/proctable.c
18
18
  * lib/sys/top.rb
19
+ * lib/sys/proctable/version.rb
19
20
  * lib/aix/sys/proctable.rb
20
21
  * lib/freebsd/sys/proctable.rb
21
22
  * lib/linux/sys/proctable.rb
data/README CHANGED
@@ -43,7 +43,7 @@
43
43
  # Return the results as an array of ProcTableStructs
44
44
  a = ProcTable.ps
45
45
  a.each do |p|
46
- puts a.pid
46
+ puts p.pid
47
47
  # ...
48
48
  end
49
49
 
data/Rakefile CHANGED
@@ -191,7 +191,7 @@ namespace :gem do
191
191
  desc 'Install the sys-proctable library as a gem'
192
192
  task :install => [:create] do
193
193
  gem_name = Dir['*.gem'].first
194
- sh "gem install #{gem_name}"
194
+ sh "gem install -l #{gem_name}"
195
195
  end
196
196
  end
197
197
 
@@ -4,6 +4,7 @@
4
4
  # A pure Ruby version of sys-proctable for SunOS 5.8 or later.
5
5
  ########################################################################
6
6
  require 'ffi'
7
+ require 'sys/proctable/version'
7
8
 
8
9
  # The Sys module serves as a namespace only.
9
10
  module Sys
@@ -17,9 +18,6 @@ module Sys
17
18
  # There is no constructor
18
19
  private_class_method :new
19
20
 
20
- # The version of the sys-proctable library
21
- VERSION = '0.9.6'
22
-
23
21
  private
24
22
 
25
23
  class Timeval < FFI::Struct
@@ -0,0 +1,6 @@
1
+ module Sys
2
+ class ProcTable
3
+ # The version of the sys-proctable library
4
+ VERSION = '0.9.8'
5
+ end
6
+ end
@@ -2,11 +2,11 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'sys-proctable'
5
- spec.version = '0.9.6'
5
+ spec.version = '0.9.8'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://www.rubyforge.org/projects/sysutils'
9
+ spec.homepage = 'http://github.com/djberg96/sys-proctable'
10
10
  spec.platform = Gem::Platform::CURRENT # Probably altered by Rake task
11
11
  spec.summary = 'An interface for providing process table information'
12
12
  spec.test_files = ['test/test_sys_proctable_all.rb']
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.files = [
16
16
  'benchmarks/bench_ps.rb',
17
17
  'examples/example_ps.rb',
18
+ 'lib/sys/proctable/version.rb',
18
19
  'lib/sys/top.rb',
19
20
  'CHANGES',
20
21
  'MANIFEST',
@@ -23,7 +24,6 @@ Gem::Specification.new do |spec|
23
24
  'sys-proctable.gemspec'
24
25
  ]
25
26
 
26
- spec.rubyforge_project = 'sysutils'
27
27
  spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST', 'doc/top.txt']
28
28
 
29
29
  spec.add_development_dependency('test-unit')
@@ -19,7 +19,7 @@ class TC_ProcTable_All < Test::Unit::TestCase
19
19
  end
20
20
 
21
21
  def test_version
22
- assert_equal('0.9.6', ProcTable::VERSION)
22
+ assert_equal('0.9.8', ProcTable::VERSION)
23
23
  end
24
24
 
25
25
  def test_fields
metadata CHANGED
@@ -1,52 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-proctable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
5
- prerelease:
4
+ version: 0.9.8
6
5
  platform: universal-solaris
7
6
  authors:
8
7
  - Daniel J. Berger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-02-24 00:00:00.000000000 Z
11
+ date: 2015-04-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: test-unit
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- description: ! " The sys-proctable library provides an interface for gathering
47
- information\n about processes on your system, i.e. the process table. Most major\n
48
- \ platforms are supported and, while different platforms may return\n different
49
- information, the external interface is identical across\n platforms.\n"
41
+ description: |2
42
+ The sys-proctable library provides an interface for gathering information
43
+ about processes on your system, i.e. the process table. Most major
44
+ platforms are supported and, while different platforms may return
45
+ different information, the external interface is identical across
46
+ platforms.
50
47
  email: djberg96@gmail.com
51
48
  executables: []
52
49
  extensions: []
@@ -56,44 +53,44 @@ extra_rdoc_files:
56
53
  - MANIFEST
57
54
  - doc/top.txt
58
55
  files:
59
- - benchmarks/bench_ps.rb
60
- - examples/example_ps.rb
61
- - lib/sys/top.rb
62
56
  - CHANGES
63
57
  - MANIFEST
64
- - Rakefile
65
58
  - README
66
- - sys-proctable.gemspec
67
- - test/test_sys_proctable_all.rb
59
+ - Rakefile
60
+ - benchmarks/bench_ps.rb
68
61
  - doc/top.txt
62
+ - examples/example_ps.rb
69
63
  - lib/sunos/sys/proctable.rb
64
+ - lib/sys/proctable/version.rb
65
+ - lib/sys/top.rb
66
+ - sys-proctable.gemspec
67
+ - test/test_sys_proctable_all.rb
70
68
  - test/test_sys_proctable_sunos.rb
71
69
  - test/test_sys_top.rb
72
- homepage: http://www.rubyforge.org/projects/sysutils
70
+ homepage: http://github.com/djberg96/sys-proctable
73
71
  licenses:
74
72
  - Artistic 2.0
73
+ metadata: {}
75
74
  post_install_message:
76
75
  rdoc_options: []
77
76
  require_paths:
78
77
  - lib
79
78
  - lib/sunos
80
79
  required_ruby_version: !ruby/object:Gem::Requirement
81
- none: false
82
80
  requirements:
83
- - - ! '>='
81
+ - - ">="
84
82
  - !ruby/object:Gem::Version
85
83
  version: '0'
86
84
  required_rubygems_version: !ruby/object:Gem::Requirement
87
- none: false
88
85
  requirements:
89
- - - ! '>='
86
+ - - ">="
90
87
  - !ruby/object:Gem::Version
91
88
  version: '0'
92
89
  requirements: []
93
- rubyforge_project: sysutils
94
- rubygems_version: 1.8.23
90
+ rubyforge_project:
91
+ rubygems_version: 2.4.5
95
92
  signing_key:
96
- specification_version: 3
93
+ specification_version: 4
97
94
  summary: An interface for providing process table information
98
95
  test_files:
99
96
  - test/test_sys_proctable_all.rb