sys-cpu 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -5
- data/CHANGES +4 -0
- data/README +3 -0
- data/lib/sys/cpu.rb +1 -1
- data/sys-cpu.gemspec +11 -2
- data/test/test_sys_cpu_version.rb +1 -1
- metadata +37 -32
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cb6cd9291a34891912b829319c1bfe83076fab74de62c4ed66f0282ac1e511c
|
4
|
+
data.tar.gz: 070bfb80aa72fa8d18733d986d2695bb89f82c91d1f1c65bce6dc20a23997039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0095267433095258cc36bc7eef165589c7d8022c24687c926b16f0a8f8a50ff1ad8a4f40ad99ab248b3c9829e16dadb5d9c55675d7b936f108ce42dd34f3f352'
|
7
|
+
data.tar.gz: db3d73bf53eb38c1dba4f24b60b3bc3643d1f0e1bc2ca5d53bff5a70126ac955db0b9298d921871203795fc6c41ec1261e8fd48510235bd7b70101899eeb0b9a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,5 +1,2 @@
|
|
1
|
-
|
2
|
-
��
|
3
|
-
{c��S����Q��A�j"q�.B^6�na �����(�^+2��!^��/j���*���.�
|
4
|
-
�>8��c�
|
5
|
-
I&�rY����[i�����pOSOS�s1��y����}cQ-��+6�?��5u�@i��%��C6��ZA�&[
|
1
|
+
=.�Q,��p5��.�e&](;_痰@�����sߠFf�m9Nk���%�_��=��^�z���?�".MP͔[
|
2
|
+
�٥��B[}ʶ��*��drb����V�=SL�|�o[d��8���?_�3���7[q��H͵�f�� �+��5�%>L���J��Ɗ��|���b˞�V��(�͎|C)0R�o�Udkǒ@�cƬr>sYpnT%����A��yCߤ��IK�8F�� ���zǮh���.��2�e�k~�Q�J&����g$�RƁ�2T���~y�.�bɕ���6��R�)A=i�nX����qΣ4���EA�}��B�u�6�|�����B���|%�)��0�j',(����Tq+�+4Κ�U�0��>_��t��s1�
|
data/CHANGES
CHANGED
data/README
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
= Installation
|
5
5
|
gem install sys-cpu
|
6
6
|
|
7
|
+
= Adding the trusted cert
|
8
|
+
gem cert --add <(curl -Ls https://raw.githubusercontent.com/djberg96/sys-cpu/ffi/certs/djberg96_pub.pem)
|
9
|
+
|
7
10
|
= Notes
|
8
11
|
== Solaris
|
9
12
|
Currently there is no 'processors()' iterative method for multi-cpu systems.
|
data/lib/sys/cpu.rb
CHANGED
data/sys-cpu.gemspec
CHANGED
@@ -2,10 +2,10 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'sys-cpu'
|
5
|
-
spec.version = '0.8.
|
5
|
+
spec.version = '0.8.1'
|
6
6
|
spec.author = 'Daniel J. Berger'
|
7
7
|
spec.email = 'djberg96@gmail.com'
|
8
|
-
spec.license = 'Apache
|
8
|
+
spec.license = 'Apache-2.0'
|
9
9
|
spec.homepage = 'https://github.com/djberg96/sys-cpu'
|
10
10
|
spec.summary = 'A Ruby interface for providing CPU information'
|
11
11
|
spec.test_file = 'test/test_sys_cpu.rb'
|
@@ -22,6 +22,15 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency('test-unit')
|
23
23
|
spec.add_development_dependency('rake')
|
24
24
|
|
25
|
+
spec.metadata = {
|
26
|
+
'homepage_uri' => 'https://github.com/djberg96/sys-cpu',
|
27
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/sys-cpu/issues',
|
28
|
+
'changelog_uri' => 'https://github.com/djberg96/sys-cpu/blob/ffi/CHANGES',
|
29
|
+
'documentation_uri' => 'https://github.com/djberg96/sys-cpu/wiki',
|
30
|
+
'source_code_uri' => 'https://github.com/djberg96/sys-cpu',
|
31
|
+
'wiki_uri' => 'https://github.com/djberg96/sys-cpu/wiki'
|
32
|
+
}
|
33
|
+
|
25
34
|
spec.description = <<-EOF
|
26
35
|
The sys-cpu library provides an interface for gathering information
|
27
36
|
about your system's processor(s). Information includes speed, type,
|
@@ -10,7 +10,7 @@ require 'test-unit'
|
|
10
10
|
|
11
11
|
class TC_Sys_CPU_VERSION < Test::Unit::TestCase
|
12
12
|
test "version number is set to the expected value" do
|
13
|
-
assert_equal('0.8.
|
13
|
+
assert_equal('0.8.1', Sys::CPU::VERSION)
|
14
14
|
end
|
15
15
|
|
16
16
|
test "version number is frozen" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sys-cpu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
36
36
|
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date:
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: ffi
|
@@ -91,51 +91,57 @@ extra_rdoc_files:
|
|
91
91
|
- README
|
92
92
|
- MANIFEST
|
93
93
|
files:
|
94
|
-
- certs
|
95
|
-
- certs/djberg96_pub.pem
|
96
94
|
- CHANGES
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
95
|
+
- test
|
96
|
+
- test/test_sys_cpu_hpux.rb
|
97
|
+
- test/test_sys_cpu_bsd.rb
|
98
|
+
- test/test_sys_cpu_version.rb
|
99
|
+
- test/test_sys_cpu_sunos.rb
|
100
|
+
- test/test_sys_cpu_windows.rb
|
101
|
+
- test/test_sys_cpu_linux.rb
|
102
|
+
- test/test_sys_cpu.rb
|
103
103
|
- examples
|
104
|
-
- examples/
|
104
|
+
- examples/example_sys_cpu_sunos.rb
|
105
105
|
- examples/example_sys_cpu_hpux.rb
|
106
106
|
- examples/example_sys_cpu_linux.rb
|
107
|
-
- examples/example_sys_cpu_sunos.rb
|
108
107
|
- examples/example_sys_cpu_windows.rb
|
108
|
+
- examples/example_sys_cpu_bsd.rb
|
109
|
+
- doc
|
110
|
+
- doc/linux.txt
|
111
|
+
- doc/sunos.txt
|
112
|
+
- doc/bsd.txt
|
113
|
+
- doc/windows.txt
|
114
|
+
- doc/hpux.txt
|
115
|
+
- sys-cpu.gemspec
|
109
116
|
- install.rb
|
117
|
+
- README
|
118
|
+
- Rakefile
|
119
|
+
- MANIFEST
|
110
120
|
- lib
|
121
|
+
- lib/sys-cpu.rb
|
111
122
|
- lib/sys
|
112
123
|
- lib/sys/cpu.rb
|
124
|
+
- lib/sys/windows
|
125
|
+
- lib/sys/windows/sys
|
126
|
+
- lib/sys/windows/sys/cpu.rb
|
113
127
|
- lib/sys/linux
|
114
128
|
- lib/sys/linux/sys
|
115
129
|
- lib/sys/linux/sys/cpu.rb
|
116
130
|
- lib/sys/unix
|
117
131
|
- lib/sys/unix/sys
|
118
132
|
- lib/sys/unix/sys/cpu.rb
|
119
|
-
-
|
120
|
-
-
|
121
|
-
- lib/sys/windows/sys/cpu.rb
|
122
|
-
- lib/sys-cpu.rb
|
123
|
-
- MANIFEST
|
124
|
-
- Rakefile
|
125
|
-
- README
|
126
|
-
- sys-cpu.gemspec
|
127
|
-
- test
|
128
|
-
- test/test_sys_cpu.rb
|
129
|
-
- test/test_sys_cpu_bsd.rb
|
130
|
-
- test/test_sys_cpu_hpux.rb
|
131
|
-
- test/test_sys_cpu_linux.rb
|
132
|
-
- test/test_sys_cpu_sunos.rb
|
133
|
-
- test/test_sys_cpu_version.rb
|
134
|
-
- test/test_sys_cpu_windows.rb
|
133
|
+
- certs
|
134
|
+
- certs/djberg96_pub.pem
|
135
135
|
homepage: https://github.com/djberg96/sys-cpu
|
136
136
|
licenses:
|
137
|
-
- Apache
|
138
|
-
metadata:
|
137
|
+
- Apache-2.0
|
138
|
+
metadata:
|
139
|
+
homepage_uri: https://github.com/djberg96/sys-cpu
|
140
|
+
bug_tracker_uri: https://github.com/djberg96/sys-cpu/issues
|
141
|
+
changelog_uri: https://github.com/djberg96/sys-cpu/blob/ffi/CHANGES
|
142
|
+
documentation_uri: https://github.com/djberg96/sys-cpu/wiki
|
143
|
+
source_code_uri: https://github.com/djberg96/sys-cpu
|
144
|
+
wiki_uri: https://github.com/djberg96/sys-cpu/wiki
|
139
145
|
post_install_message:
|
140
146
|
rdoc_options: []
|
141
147
|
require_paths:
|
@@ -151,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
157
|
- !ruby/object:Gem::Version
|
152
158
|
version: '0'
|
153
159
|
requirements: []
|
154
|
-
|
155
|
-
rubygems_version: 2.7.6
|
160
|
+
rubygems_version: 3.0.6
|
156
161
|
signing_key:
|
157
162
|
specification_version: 4
|
158
163
|
summary: A Ruby interface for providing CPU information
|
metadata.gz.sig
CHANGED
Binary file
|