sys-proctable 0.9.6-universal-mingw32 → 0.9.8-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzI3M2VlYmE1ZmVhNDNkZDAzNGNlM2NmNmEzYzExNDBjOTAwMGM2ZA==
4
+ M2EwZjM4NDczYzJhZDcxMzBhOWMxNGY3MmU3ZTBjNjdiZmJhMWJmOA==
5
5
  data.tar.gz: !binary |-
6
- YTA1N2Q1OGY0YmNjZmRjOTZiOGRkNmZiZTk0NmJiOTI5MDRiYjQ2OA==
6
+ YTI5NTkyNTFhN2UwZDA1OTIzNDI2N2VhMWQxNzg3ODM3MDZkYjNlOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGNjZDYwYmU3NjY2YTgxZjZkZGI1ZTU5NDlkNzU4ZDI2NDZkYjI2YWE1ZjQw
10
- Y2Q3NDVlYTY1YmFiMmViNTcwNGY4MzJmMGJmYWUyODk1MzY0NTc1YzFhM2Qw
11
- MTk0YWQwYzc1YzYyYmFjY2Y2ZGFkZDI2YWZmZWExMzZiMWYwYTA=
9
+ NDRhNWEzYWU1OGM0MTA1NGFkNWQ3OGJkNmRhNzk2ZDJkMWU4NDc5NmQ3MmUy
10
+ MzQyY2FiZDA1Mjg1ZTE4NmRkMzZlMDRiMWY2NDM1NzA5ZDk5YzYxNTNjOTJk
11
+ MDJkYWUzNmZkMjMyNzFiMzc4ZjMyZDkyNDEzYmY0NmQwYTliZTg=
12
12
  data.tar.gz: !binary |-
13
- OTkyZTQ5MDBjZjJkZGE3ZWI2NDgwMDRhNDI5NmE4OGFiOTg2NTQwYjA0NDk4
14
- N2Y5MGU1YjgwNDdkODA2OTg5ZWEwODVkMzNkZWNjZGI4ZTA5YjNjZWUyYjBl
15
- MWNlYTU2NzU4ZWQ0OTZlZTA4YWMzZjBhOGFmZWY1YzdiMmMyNzU=
13
+ NWJhMWY4Yzg0YjgyNzljZWUzZWFjYTM2NjgyZDMyMDBkOTA3ZGQ1MDdiYWRj
14
+ NDdmNGViOTA4NmMyYWJlYjc1NjQ2YTdkZWQxNjVhM2ZlOWI5YWFlMTExZjg4
15
+ ZWNjOGU2MGM1MTQ0OWU0OGI3NjEyNWY4OTQyMmYxZTVlMjFmOTc=
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
 
@@ -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
@@ -1,6 +1,7 @@
1
1
  require 'win32ole'
2
2
  require 'socket'
3
3
  require 'date'
4
+ require 'sys/proctable/version'
4
5
 
5
6
  # The Sys module serves as a namespace only
6
7
  module Sys
@@ -14,9 +15,6 @@ module Sys
14
15
  # Error typically raised if one of the Sys::ProcTable methods fails
15
16
  class Error < StandardError; end
16
17
 
17
- # The version of the sys-proctable library
18
- VERSION = '0.9.6'
19
-
20
18
  # The comm field corresponds to the 'name' field. The 'cmdline' field
21
19
  # is the CommandLine attribute on Windows XP or later, or the
22
20
  # 'executable_path' field on Windows 2000 or earlier.
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-proctable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.8
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-24 00:00:00.000000000 Z
11
+ date: 2015-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -58,13 +58,14 @@ files:
58
58
  - benchmarks/bench_ps.rb
59
59
  - doc/top.txt
60
60
  - examples/example_ps.rb
61
+ - lib/sys/proctable/version.rb
61
62
  - lib/sys/top.rb
62
63
  - lib/windows/sys/proctable.rb
63
64
  - sys-proctable.gemspec
64
65
  - test/test_sys_proctable_all.rb
65
66
  - test/test_sys_proctable_windows.rb
66
67
  - test/test_sys_top.rb
67
- homepage: http://www.rubyforge.org/projects/sysutils
68
+ homepage: http://github.com/djberg96/sys-proctable
68
69
  licenses:
69
70
  - Artistic 2.0
70
71
  metadata: {}
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  - !ruby/object:Gem::Version
85
86
  version: '0'
86
87
  requirements: []
87
- rubyforge_project: sysutils
88
+ rubyforge_project:
88
89
  rubygems_version: 2.4.2
89
90
  signing_key:
90
91
  specification_version: 4