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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de4fef13495a9b0d229eea6796851de82b4ccadc4a8e45dcea91b42d9f6ec074
4
- data.tar.gz: 6da5868da52f3237d14d42a9a8823292711687957da05bda73136e7936f6946d
3
+ metadata.gz: 4cb6cd9291a34891912b829319c1bfe83076fab74de62c4ed66f0282ac1e511c
4
+ data.tar.gz: 070bfb80aa72fa8d18733d986d2695bb89f82c91d1f1c65bce6dc20a23997039
5
5
  SHA512:
6
- metadata.gz: 07ec871287015c0bb7ab832e7c679156e83d26a48eb78d27258799c301c3e33626496eb6519efe487f206bb3e2239845ba1a405b4050847f2b7099f9d9f79eec
7
- data.tar.gz: dfaa9832d07510d6bea73c8a775404362fa09c3fe945e88331d0486e7be707db0bd756c128350fac4d9fcbf668b3f0e54fca3f295df2f940d93e974684bf530a
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
- �g�ն³}�2s�6G���X*y�����Ӷ���1�a�fN/f��ѦV��ʐ���f=2����wбk��-.|.L���u��
2
- ��1u�.����&7�*��o.�#������3#}�6��ۊ�T�8�=�f9r�|oaS��7��'�ԍ��uy�1a��G]aMB��B[=�Z�y#�'�m��|��<�{}�x<&c9na�T�u��r��,����(���c:�
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ߠFfm9Nk���%�_��=��^�z ���?�".MP͔[
2
+ �٥��B[}ʶ��*��drb����V�=SL�|�o[d��8���?_3���7[q��H͵�f�� �+��5�%>L���J��Ɗ��|���b˞� V��(�͎|C)0RoUdkǒ@�cƬr>sYpnT%����A��yCߤ��IK8F�� ���zǮh���.��2e�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
@@ -1,3 +1,7 @@
1
+ == 0.8.1 - 4-Nov-2018
2
+ * Added metadata to the gemspec.
3
+ * Fixed missing hyphen in license name.
4
+
1
5
  == 0.8.0 - 17-Oct-2018
2
6
  * Switched license to Apache 2.0.
3
7
  * Updated documentation for the cpu_stats method on Linux.
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
@@ -5,7 +5,7 @@ require 'rbconfig'
5
5
  module Sys
6
6
  class CPU
7
7
  # The version of the sys-cpu gem.
8
- VERSION = '0.8.0'.freeze
8
+ VERSION = '0.8.1'.freeze
9
9
  end
10
10
  end
11
11
 
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.0'
5
+ spec.version = '0.8.1'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.email = 'djberg96@gmail.com'
8
- spec.license = 'Apache 2.0'
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.0', Sys::CPU::VERSION)
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.0
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: 2018-10-17 00:00:00.000000000 Z
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
- - doc
98
- - doc/bsd.txt
99
- - doc/hpux.txt
100
- - doc/linux.txt
101
- - doc/sunos.txt
102
- - doc/windows.txt
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/example_sys_cpu_bsd.rb
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
- - lib/sys/windows
120
- - lib/sys/windows/sys
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 2.0
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
- rubyforge_project:
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