sys-proctable 0.9.8-universal-mingw32 → 0.9.9-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_sys_top.rb CHANGED
@@ -1,46 +1,46 @@
1
- ##############################################################################
2
- # test_sys_top.rb
3
- #
4
- # Test suite for the sys-top library that is included with this distribution.
5
- ##############################################################################
6
- require 'rubygems'
7
- gem 'test-unit'
8
-
9
- require 'test/unit'
10
- require 'sys/top'
11
-
12
- class TC_Top < Test::Unit::TestCase
13
- include Sys
14
-
15
- def test_version
16
- assert_equal('1.0.4', Top::VERSION)
17
- end
18
-
19
- def test_top_basic
20
- assert_respond_to(Top, :top)
21
- assert_nothing_raised{ Top.top }
22
- assert_nothing_raised{ Top.top(5) }
23
- assert_nothing_raised{ Top.top(5, 'cmdline') }
24
- end
25
-
26
- def test_top
27
- assert_equal(10, Top.top.length)
28
- assert_kind_of(Struct::ProcTableStruct, Top.top.first)
29
- end
30
-
31
- def test_top_with_size
32
- assert_equal(5, Top.top(5).length)
33
- end
34
-
35
- def test_top_with_size_and_sort_by_field
36
- assert_equal(5, Top.top(5, :cmdline).length)
37
- end
38
-
39
- def test_top_return_type
40
- assert_kind_of(Array, Top.top)
41
- end
42
-
43
- def test_top_expected_errors
44
- assert_raises(ArgumentError){ Top.top(1, 'foo', 2) }
45
- end
46
- end
1
+ ##############################################################################
2
+ # test_sys_top.rb
3
+ #
4
+ # Test suite for the sys-top library that is included with this distribution.
5
+ ##############################################################################
6
+ require 'rubygems'
7
+ gem 'test-unit'
8
+
9
+ require 'test/unit'
10
+ require 'sys/top'
11
+
12
+ class TC_Top < Test::Unit::TestCase
13
+ include Sys
14
+
15
+ def test_version
16
+ assert_equal('1.0.4', Top::VERSION)
17
+ end
18
+
19
+ def test_top_basic
20
+ assert_respond_to(Top, :top)
21
+ assert_nothing_raised{ Top.top }
22
+ assert_nothing_raised{ Top.top(5) }
23
+ assert_nothing_raised{ Top.top(5, 'cmdline') }
24
+ end
25
+
26
+ def test_top
27
+ assert_equal(10, Top.top.length)
28
+ assert_kind_of(Struct::ProcTableStruct, Top.top.first)
29
+ end
30
+
31
+ def test_top_with_size
32
+ assert_equal(5, Top.top(5).length)
33
+ end
34
+
35
+ def test_top_with_size_and_sort_by_field
36
+ assert_equal(5, Top.top(5, :cmdline).length)
37
+ end
38
+
39
+ def test_top_return_type
40
+ assert_kind_of(Array, Top.top)
41
+ end
42
+
43
+ def test_top_expected_errors
44
+ assert_raises(ArgumentError){ Top.top(1, 'foo', 2) }
45
+ end
46
+ end
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,47 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-proctable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-04-19 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
14
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
16
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
17
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
18
+ Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
19
+ S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
20
+ gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
21
+ FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
22
+ zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl
23
+ DtkCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEwe
24
+ nn6bfJADmuIDiMSOzedOrL+xMB0GA1UdEQQWMBSBEmRqYmVyZzk2QGdtYWlsLmNv
25
+ bTAdBgNVHRIEFjAUgRJkamJlcmc5NkBnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
26
+ ggEBAHmNOCWoDVD75zHFueY0viwGDVP1BNGFC+yXcb7u2GlK+nEMCORqzURbYPf7
27
+ tL+/hzmePIRz7i30UM//64GI1NLv9jl7nIwjhPpXpf7/lu2I9hOTsvwSumb5UiKC
28
+ /sqBxI3sfj9pr79Wpv4MuikX1XPik7Ncb7NPsJPw06Lvyc3Hkg5X2XpPtLtS+Gr2
29
+ wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
30
+ EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
31
+ tGSHgAmcLlkdGgan182qsE/4kKM=
32
+ -----END CERTIFICATE-----
33
+ date: 2015-11-08 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: test-unit
15
37
  requirement: !ruby/object:Gem::Requirement
16
38
  requirements:
17
- - - ! '>='
39
+ - - ">="
18
40
  - !ruby/object:Gem::Version
19
41
  version: '0'
20
42
  type: :development
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
- - - ! '>='
46
+ - - ">="
25
47
  - !ruby/object:Gem::Version
26
48
  version: '0'
27
49
  - !ruby/object:Gem::Dependency
28
50
  name: rake
29
51
  requirement: !ruby/object:Gem::Requirement
30
52
  requirements:
31
- - - ! '>='
53
+ - - ">="
32
54
  - !ruby/object:Gem::Version
33
55
  version: '0'
34
56
  type: :development
35
57
  prerelease: false
36
58
  version_requirements: !ruby/object:Gem::Requirement
37
59
  requirements:
38
- - - ! '>='
60
+ - - ">="
39
61
  - !ruby/object:Gem::Version
40
62
  version: '0'
41
- description: ! " The sys-proctable library provides an interface for gathering
42
- information\n about processes on your system, i.e. the process table. Most major\n
43
- \ platforms are supported and, while different platforms may return\n different
44
- information, the external interface is identical across\n platforms.\n"
63
+ description: |2
64
+ The sys-proctable library provides an interface for gathering information
65
+ about processes on your system, i.e. the process table. Most major
66
+ platforms are supported and, while different platforms may return
67
+ different information, the external interface is identical across
68
+ platforms.
45
69
  email: djberg96@gmail.com
46
70
  executables: []
47
71
  extensions: []
@@ -58,13 +82,12 @@ files:
58
82
  - benchmarks/bench_ps.rb
59
83
  - doc/top.txt
60
84
  - examples/example_ps.rb
85
+ - lib/sys-proctable.rb
61
86
  - lib/sys/proctable/version.rb
62
87
  - lib/sys/top.rb
63
- - lib/windows/sys/proctable.rb
64
88
  - sys-proctable.gemspec
65
89
  - test/test_sys_proctable_all.rb
66
- - test/test_sys_proctable_windows.rb
67
- - test/test_sys_top.rb
90
+ - lib/windows/sys/proctable.rb
68
91
  homepage: http://github.com/djberg96/sys-proctable
69
92
  licenses:
70
93
  - Artistic 2.0
@@ -76,17 +99,17 @@ require_paths:
76
99
  - lib/windows
77
100
  required_ruby_version: !ruby/object:Gem::Requirement
78
101
  requirements:
79
- - - ! '>='
102
+ - - ">="
80
103
  - !ruby/object:Gem::Version
81
104
  version: '0'
82
105
  required_rubygems_version: !ruby/object:Gem::Requirement
83
106
  requirements:
84
- - - ! '>='
107
+ - - ">="
85
108
  - !ruby/object:Gem::Version
86
109
  version: '0'
87
110
  requirements: []
88
111
  rubyforge_project:
89
- rubygems_version: 2.4.2
112
+ rubygems_version: 2.5.0
90
113
  signing_key:
91
114
  specification_version: 4
92
115
  summary: An interface for providing process table information
metadata.gz.sig ADDED
Binary file