sys-proctable 0.9.6-universal-linux → 0.9.8-universal-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6acee7cc47351454fd011763cc450bc245553ed5
4
- data.tar.gz: 932bcdd1ef0b3f2ed44c24ca5ca8379c9a8f8abb
3
+ metadata.gz: c0f7b6e2b99153aa8c0095ef07fd9a682d2c5b63
4
+ data.tar.gz: 91fb8f80a4cf9e108f81b646c04d719aae532075
5
5
  SHA512:
6
- metadata.gz: 60bc5d1992a2b9902d439a38301741b42f26f97b05a2fe1d735986fa0b6225c9f5d8ddc84a994e55390631ce0ba98d51beb31f954c6d3aad2e08389d2688110d
7
- data.tar.gz: 64cda85c92b65f607ee85ab863f8ba3c5fd416b1724ae20099d4e2a71e61ea70d42a913ae92910ad60072f2722a59f8c7cb1e6eeed6bb5b97866f59b4d9b6a1f
6
+ metadata.gz: 72790583c7695cdb38feaaf579d2cf96142432fe7642ee9e47d2975d14002cf2afb64e96babcd4cf1610bf3a84b157c428ec32ff66e7907ca3677aa729dd92f0
7
+ data.tar.gz: 6a7e1051b83d71f5359f9f576abbb148ce7937bc4dee1be794299b6b20508d5868f57408132cbffa533f7e0abdb326af8bef3b8ae906bef1a3b6374a01d8370b
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
 
@@ -1,3 +1,5 @@
1
+ require 'sys/proctable/version'
2
+
1
3
  # The Sys module serves as a namespace only.
2
4
  module Sys
3
5
 
@@ -10,9 +12,6 @@ module Sys
10
12
  # There is no constructor
11
13
  private_class_method :new
12
14
 
13
- # The version of the sys-proctable library
14
- VERSION = '0.9.6'
15
-
16
15
  private
17
16
 
18
17
  @mem_total = IO.read("/proc/meminfo")[/MemTotal.*/].split[1].to_i * 1024 rescue nil
@@ -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,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-linux
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
@@ -61,12 +61,13 @@ files:
61
61
  - doc/top.txt
62
62
  - examples/example_ps.rb
63
63
  - lib/linux/sys/proctable.rb
64
+ - lib/sys/proctable/version.rb
64
65
  - lib/sys/top.rb
65
66
  - sys-proctable.gemspec
66
67
  - test/test_sys_proctable_all.rb
67
68
  - test/test_sys_proctable_linux.rb
68
69
  - test/test_sys_top.rb
69
- homepage: http://www.rubyforge.org/projects/sysutils
70
+ homepage: http://github.com/djberg96/sys-proctable
70
71
  licenses:
71
72
  - Artistic 2.0
72
73
  metadata: {}
@@ -86,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  - !ruby/object:Gem::Version
87
88
  version: '0'
88
89
  requirements: []
89
- rubyforge_project: sysutils
90
+ rubyforge_project:
90
91
  rubygems_version: 2.4.5
91
92
  signing_key:
92
93
  specification_version: 4