sys-uname 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/{CHANGES.rdoc → CHANGES.md} +41 -35
- data/Gemfile +7 -0
- data/{MANIFEST.rdoc → MANIFEST.md} +2 -1
- data/{README.rdoc → README.md} +22 -20
- data/Rakefile +2 -2
- data/doc/uname.rdoc +1 -1
- data/lib/sys/uname.rb +1 -1
- data/spec/sys_platform_spec.rb +1 -1
- data/spec/sys_uname_spec.rb +2 -2
- data/sys-uname.gemspec +5 -4
- metadata +36 -31
- 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: e5cbd8721570c3681f05f66562a956b366d7839da185a309acc136fceab2f9b8
|
4
|
+
data.tar.gz: 315ba4bc84cbfb0e1201a78062858218f6652148a37d9e62f90a7200c70d3d50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c22800edea9dfd5b9057fb3fae10a76e88ecbead21e02b8d66ce7b1105294f01efe661d9ae9e9fe9653293acd8966aabd667296c40d1891225fd54289422845
|
7
|
+
data.tar.gz: 10cad4749fee0e1e6fcd5f531e046ba8f9ce9af354401d065b8d786365aa7e87d6691745e84f164cf3ef87f1a5849b52f815d7c9a517ec839005963c5ca75d7b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/{CHANGES.rdoc → CHANGES.md}
RENAMED
@@ -1,34 +1,40 @@
|
|
1
|
-
|
1
|
+
## 1.2.2 - 30-Oct-2020
|
2
|
+
* Added a Gemfile.
|
3
|
+
* The ffi dependency is now slightly more restrictive.
|
4
|
+
* Added rake as a development dependency (which it really always was).
|
5
|
+
* Switched from rdoc to markdown because github wouldn't render it properly.
|
6
|
+
|
7
|
+
## 1.2.1 - 17-Mar-2020
|
2
8
|
* Properly include a LICENSE file as per the Apache-2.0 license.
|
3
9
|
|
4
|
-
|
10
|
+
## 1.2.0 - 5-Jan-2020
|
5
11
|
* Changed test suite from test-unit to rspec, which was also added as a
|
6
12
|
development dependency.
|
7
13
|
* Several new fields were added to the returned object on Windows. The fields
|
8
14
|
are encryption_level, product_type, suite_mask and system_drive.
|
9
15
|
|
10
|
-
|
16
|
+
## 1.1.1 - 10-Dec-2019
|
11
17
|
* Renamed various text files to include explicit .rdoc extension so that
|
12
18
|
they show up more nicely on github.
|
13
19
|
|
14
|
-
|
20
|
+
## 1.1.0 - 29-Aug-2019
|
15
21
|
* Changed license to Apache-2.0.
|
16
22
|
* Updated the doc/uname.txt file.
|
17
23
|
* Minor test updates.
|
18
24
|
|
19
|
-
|
25
|
+
## 1.0.4 - 4-Nov-2018
|
20
26
|
* Added metadata to the gemspec.
|
21
27
|
* Updated the cert, which will expire in about 10 years.
|
22
28
|
|
23
|
-
|
29
|
+
## 1.0.3 - 31-Oct-2016
|
24
30
|
* Updated the gem cert. It will expire on 31-Oct-2019.
|
25
31
|
* Minor updates to the Rakefile and gemspec.
|
26
32
|
|
27
|
-
|
33
|
+
## 1.0.2 - 3-Sep-2015
|
28
34
|
* The gem is now signed.
|
29
35
|
* Modified gemspec and Rakefile to support signing.
|
30
36
|
|
31
|
-
|
37
|
+
## 1.0.1 - 19-Aug-2015
|
32
38
|
* Modified Platform::IMPL so that it does not include "32" as part of the
|
33
39
|
symbol name. This isn't useful since it's the same on 32 or 64-bit Windows.
|
34
40
|
* Reorganized code a bit so that the VERSION constant is in a single place.
|
@@ -36,7 +42,7 @@
|
|
36
42
|
as Uname::VERSION.
|
37
43
|
* Added a test for Sys::Platform::IMPL on Windows.
|
38
44
|
|
39
|
-
|
45
|
+
## 1.0.0 - 19-Aug-2015
|
40
46
|
* Added a sys-uname.rb shim so that you can require this library with
|
41
47
|
"sys-uname" or "sys/uname".
|
42
48
|
* Added the architecture method for MS Windows.
|
@@ -46,32 +52,32 @@
|
|
46
52
|
* There is now just a single gem, instead of a separate gem for Windows
|
47
53
|
and Unix, so you shouldn't need to worry about platform checking.
|
48
54
|
|
49
|
-
|
55
|
+
## 0.9.2 - 1-May-2013
|
50
56
|
* Added a workaround for a win32ole thread bug. Thanks go to Tianlong Wu
|
51
57
|
for the spot.
|
52
58
|
* Altered platform handling slightly for Windows in the Rakefile.
|
53
59
|
|
54
|
-
|
60
|
+
## 0.9.1 - 3-Jan-2013
|
55
61
|
* Made FFI functions private.
|
56
62
|
* Properly alias uname FFI function.
|
57
63
|
* Fixed the QuantumLength and QuantumType bug again (see 0.8.4), which I
|
58
64
|
somehow accidentally reintroduced.
|
59
65
|
|
60
|
-
|
66
|
+
## 0.9.0 - 8-Dec-2011
|
61
67
|
* Conversion to FFI.
|
62
68
|
* Added some additional methods and information for Solaris.
|
63
69
|
* Minor tweaks for 1.9 to silence warnings.
|
64
70
|
|
65
|
-
|
71
|
+
## 0.8.6 - 2-Sep-2011
|
66
72
|
* Fixed a failing test for Ruby 1.9.x.
|
67
73
|
* The gemspec for Windows is now 'universal'.
|
68
74
|
* Some minor doc updates.
|
69
75
|
|
70
|
-
|
76
|
+
## 0.8.5 - 11-Dec-2010
|
71
77
|
* Removed some non-ascii characters that somehow made it into the source.
|
72
78
|
* Some updates to the Rakefile, including a default task.
|
73
79
|
|
74
|
-
|
80
|
+
## 0.8.4 - 29-Jan-2010
|
75
81
|
* Bug fix for Windows 7, which appears to have removed the QuantumLength and
|
76
82
|
QuantumType members of the Win32_OperatingSystem class. Thanks go to Mark
|
77
83
|
Seymour for the spot. RubyForge bug # 27645.
|
@@ -80,23 +86,23 @@
|
|
80
86
|
now all inlined within the Rakefile build task itself.
|
81
87
|
* Minor doc updates and some code reformatting.
|
82
88
|
|
83
|
-
|
89
|
+
## 0.8.3 - 26-Apr-2008
|
84
90
|
* Added an explicit "require 'time'" in the Windows version because recent
|
85
91
|
versions of Ruby now need it.
|
86
92
|
* Changed the way I do platform checks in the Rakefile.
|
87
93
|
|
88
|
-
|
94
|
+
## 0.8.2 - 22-Nov-2007
|
89
95
|
* Fixed an issue where Ruby no longer parsed a certain type of date that
|
90
96
|
MS Windows uses. See RubyForge Bug #10646 for more information.
|
91
97
|
|
92
|
-
|
98
|
+
## 0.8.1 - 29-Aug-2007
|
93
99
|
* Made a minor modification to the build script for Linux. It turns out Linux
|
94
100
|
has sysctl, but not the necessary mibs for the Uname.model method. Thanks go
|
95
101
|
to Mickey Knox (?) for the spot.
|
96
102
|
* Removed the install.rb file. The code from that program was integrated
|
97
103
|
directly into the Rakefile.
|
98
104
|
|
99
|
-
|
105
|
+
## 0.8.0 - 10-Apr-2007
|
100
106
|
* The Uname.model method should now work on most BSD platforms, not just OS X,
|
101
107
|
since it uses the sysctl() function behind the scenes.
|
102
108
|
* The 'id' method was changed to 'id_number' on HP-UX to avoid confusion with
|
@@ -107,22 +113,22 @@
|
|
107
113
|
* Removed some pre-setup code from the test suite that was no longer necessary
|
108
114
|
as a result of the Rake test task.
|
109
115
|
|
110
|
-
|
116
|
+
## 0.7.4 - 19-Nov-2006
|
111
117
|
* Internal layout changes, doc updates and gemspec improvements.
|
112
118
|
* No code changes.
|
113
119
|
|
114
|
-
|
120
|
+
## 0.7.3 - 30-Jul-2006
|
115
121
|
* Bug fix for 64 bit platforms.
|
116
122
|
* Minor modification of the extconf.rb file.
|
117
123
|
|
118
|
-
|
124
|
+
## 0.7.2 - 5-Jul-2006
|
119
125
|
* Removed '?' from the struct member names on MS Windows since these are no
|
120
126
|
longer legal.
|
121
127
|
* Removed duplicate definition of Uname.version on MS Windows (oops).
|
122
128
|
* Added a gemspec.
|
123
129
|
* Added inline rdoc documentation to the source files.
|
124
130
|
|
125
|
-
|
131
|
+
## 0.7.1 - 5-May-2005
|
126
132
|
* Removed the uname.rd file. The uname.txt file is rdoc friendly, so you
|
127
133
|
can autogenerate html from that file if you wish.
|
128
134
|
* Removed the version.h file - no longer needed now that the Windows version
|
@@ -131,7 +137,7 @@
|
|
131
137
|
* Minor setup modifications to the test suite.
|
132
138
|
* This package is now hosted on RubyForge.
|
133
139
|
|
134
|
-
|
140
|
+
## 0.7.0 - 11-Jan-2004
|
135
141
|
* Scrapped the C version for Windows in favor of a pure Ruby version that uses
|
136
142
|
WMI + OLE. I highly recommend using Ruby 1.8.2 or later on Win32 systems.
|
137
143
|
Earlier versions may cause segfaults.
|
@@ -143,18 +149,18 @@
|
|
143
149
|
* Removed the INSTALL file. That information is now included in the README.
|
144
150
|
* Documentation updates.
|
145
151
|
|
146
|
-
|
152
|
+
## 0.6.1 - 25-Apr-2004
|
147
153
|
* Simplified extconf.rb script and installation instructions.
|
148
154
|
* Combined three test scripts into a single test script.
|
149
155
|
* Warranty information added.
|
150
156
|
|
151
|
-
|
157
|
+
## 0.6.0 - 25-Jun-2003
|
152
158
|
* Added HP-UX support, including the id() class method (HP-UX only)
|
153
159
|
* Fixed minor bug in extconf.rb (forgot 'require ftools' at top)
|
154
160
|
* Added HP-UX specific tests and support
|
155
161
|
* Made test.rb friendlier for folks without TestUnit installed
|
156
162
|
|
157
|
-
|
163
|
+
## 0.5.0 - 16-Jun-2003
|
158
164
|
* Added OS X support, including the "model" method. Thanks to Mike Hall
|
159
165
|
for the patch
|
160
166
|
* Removed VERSION() class method. Use the constant instead
|
@@ -167,17 +173,17 @@
|
|
167
173
|
* Fixed up test suite. Added OS X specific tests and support. Should now
|
168
174
|
work with TestUnit 0.1.6 or later
|
169
175
|
|
170
|
-
|
176
|
+
## 0.4.1 - 7-Feb-2003
|
171
177
|
* Fixed C89 issue (again) - thanks go to Daniel Zepeda for the spot
|
172
178
|
* Fixed bugs in extconf.rb file (rescue clause, ftools)
|
173
179
|
|
174
|
-
|
180
|
+
## 0.4.0 - 6-Feb-2003
|
175
181
|
* MS Windows support!
|
176
182
|
* Added a test suite and automatic test.rb creation
|
177
183
|
* Documentation additions/fixes
|
178
184
|
* Internal directory layout and filename changes (Changelog -> CHANGES)
|
179
185
|
|
180
|
-
|
186
|
+
## 0.3.3 - 6-Jan-2003
|
181
187
|
* Made the code C89 compliant for older compilers. Thanks to Paul Brannan
|
182
188
|
for teaching me how to fix this in general.
|
183
189
|
* Moved README to doc/uname.txt
|
@@ -187,14 +193,14 @@
|
|
187
193
|
* Changed tarball name to reflect RAA package name
|
188
194
|
* Minor doc changes
|
189
195
|
|
190
|
-
|
196
|
+
## 0.3.2 - 8-Aug-2002
|
191
197
|
* Changed the struct name returned by the 'uname()' method from
|
192
198
|
"Uname::UnameStruct" to just "UnameStruct". This was to make it
|
193
199
|
compliant with future versions of Ruby. The extra namespace was
|
194
200
|
redundant anyway.
|
195
201
|
* I include the documentation now, instead of making you install rd2 :)
|
196
202
|
|
197
|
-
|
203
|
+
## 0.3.1 - 22-Jul-2002
|
198
204
|
* Added the 'uname' class method, which returns a struct that contains all
|
199
205
|
of the uname information
|
200
206
|
* Added a test script. Do 'ruby test.rb' to run it.
|
@@ -204,7 +210,7 @@
|
|
204
210
|
* Changed version number style to be consistent with other 'Sys' modules
|
205
211
|
* Now installs into 'Sys-Uname-x.x.x' directory (instead of just 'Uname')
|
206
212
|
|
207
|
-
|
213
|
+
## 0.03 - 6-June-2002
|
208
214
|
* rd style documentation now inline
|
209
215
|
* README.html is now uname.html - created via rdtool
|
210
216
|
* The 'platform()' and 'architecture()' methods have been added for Solaris
|
@@ -212,7 +218,7 @@
|
|
212
218
|
* The whole 'Sys' class has been removed. Delete your sys.so file if you
|
213
219
|
installed a previous version of Sys-Uname
|
214
220
|
|
215
|
-
|
221
|
+
## 0.02 - 3-June-2002
|
216
222
|
* Potentially fatal memory problems corrected.
|
217
223
|
* Should now build with C++ as well
|
218
224
|
* Thanks to Mike Hall for both the spot and the fix
|
@@ -220,5 +226,5 @@
|
|
220
226
|
* Added a README.html file
|
221
227
|
* Added a Manifest file
|
222
228
|
|
223
|
-
|
229
|
+
## 0.01 - 31-May-2002
|
224
230
|
* Initial release (unannounced)
|
data/Gemfile
ADDED
data/{README.rdoc → README.md}
RENAMED
@@ -1,51 +1,53 @@
|
|
1
|
-
|
1
|
+
## Description
|
2
2
|
A cross-platform Ruby interface for getting operating system information. The name
|
3
3
|
comes from the Unix 'uname' command, but this library works on MS Windows as well.
|
4
4
|
|
5
|
-
|
5
|
+
## Prerequisites
|
6
6
|
ffi 1.0 or later
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
## Installation
|
9
|
+
`gem install sys-uname`
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
## Synopsis
|
12
|
+
```
|
13
|
+
require 'sys/uname' # require 'sys-uname' works, too
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
# You now have Sys::Uname and Sys::Platform classes available.
|
16
|
+
|
17
|
+
# Get full information about your system
|
18
|
+
p Sys::Uname.uname
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
# Check individual platform details about your system
|
21
|
+
p Sys::Platform.linux? # => true
|
22
|
+
p Sys::Platform::ARCH # => :x86_64
|
23
|
+
```
|
22
24
|
|
23
|
-
|
25
|
+
## Solaris Notes
|
24
26
|
Users on SunOS get several extra methods: architecture, platform,
|
25
27
|
hw_serial, hw_provider, srpc_domain, isa_list, and dhcp_cache.
|
26
28
|
|
27
|
-
|
29
|
+
## BSD flavors, including OS X
|
28
30
|
Users on BSD platforms get the extra Uname.model method.
|
29
31
|
|
30
|
-
|
32
|
+
## HP-UX Notes
|
31
33
|
HP-UX users get the extra Uname.id_number method. This is actually a
|
32
34
|
String, not a Fixnum, because that's how it's defined in the utsname
|
33
35
|
struct.
|
34
36
|
|
35
|
-
|
37
|
+
## MS Windows Notes
|
36
38
|
The C version for Windows has been completely scrapped in favor of an OLE
|
37
39
|
plus WMI approach. It is pure Ruby. Please see the MSDN documentation for
|
38
40
|
the Win32_OperatingSystem class for a complete list of what each of the
|
39
41
|
UnameStruct members mean.
|
40
42
|
|
41
|
-
|
43
|
+
## The Platform Class
|
42
44
|
This was added both as a nicer way to check simple information about your
|
43
45
|
system, and as a replacement for the old 'Platform' gem which is no longer
|
44
46
|
maintained.
|
45
47
|
|
46
|
-
|
48
|
+
## Future Plans
|
47
49
|
I may dump the "Uname" portion of this library, and rename the project
|
48
50
|
to just sys-platform.
|
49
51
|
|
50
|
-
|
52
|
+
## Documentation
|
51
53
|
For more details, see the 'uname.rdoc' file under the 'doc' directory.
|
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake/clean'
|
|
4
4
|
require 'rbconfig'
|
5
5
|
require 'rspec/core/rake_task'
|
6
6
|
|
7
|
-
CLEAN.include("**/*.rbc", "**/*.rbx", "**/*.gem")
|
7
|
+
CLEAN.include("**/*.rbc", "**/*.rbx", "**/*.gem", "**/*.lock")
|
8
8
|
|
9
9
|
desc "Run the example program"
|
10
10
|
task :example do
|
@@ -21,7 +21,7 @@ namespace :gem do
|
|
21
21
|
require 'rubygems/package'
|
22
22
|
spec = eval(IO.read('sys-uname.gemspec'))
|
23
23
|
spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
|
24
|
-
Gem::Package.build(spec
|
24
|
+
Gem::Package.build(spec)
|
25
25
|
end
|
26
26
|
|
27
27
|
desc "Install the sys-uname gem"
|
data/doc/uname.rdoc
CHANGED
data/lib/sys/uname.rb
CHANGED
data/spec/sys_platform_spec.rb
CHANGED
@@ -15,7 +15,7 @@ RSpec.describe Sys::Platform do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
example "the VERSION constant is set to the expected value" do
|
18
|
-
expect(Sys::Platform::VERSION).to eql('1.2.
|
18
|
+
expect(Sys::Platform::VERSION).to eql('1.2.2')
|
19
19
|
expect(Sys::Platform::VERSION).to be_frozen
|
20
20
|
end
|
21
21
|
|
data/spec/sys_uname_spec.rb
CHANGED
@@ -10,8 +10,8 @@ require 'rbconfig'
|
|
10
10
|
RSpec.describe Sys::Uname do
|
11
11
|
context "universal singleton methods" do
|
12
12
|
example "version constant is set to expected value" do
|
13
|
-
expect(Sys::Uname::VERSION).to eql('1.2.
|
14
|
-
expect(Sys::Uname::VERSION
|
13
|
+
expect(Sys::Uname::VERSION).to eql('1.2.2')
|
14
|
+
expect(Sys::Uname::VERSION).to be_frozen
|
15
15
|
end
|
16
16
|
|
17
17
|
example "machine singleton method works as expected" do
|
data/sys-uname.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'sys-uname'
|
5
|
-
spec.version = '1.2.
|
5
|
+
spec.version = '1.2.2'
|
6
6
|
spec.author = 'Daniel J. Berger'
|
7
7
|
spec.email = 'djberg96@gmail.com'
|
8
8
|
spec.homepage = 'http://github.com/djberg96/sys-uname'
|
@@ -12,15 +12,16 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.test_files = Dir['spec/*_spec.rb']
|
13
13
|
spec.cert_chain = ['certs/djberg96_pub.pem']
|
14
14
|
|
15
|
-
spec.extra_rdoc_files = Dir['
|
15
|
+
spec.extra_rdoc_files = Dir['doc/*.rdoc']
|
16
16
|
|
17
|
-
spec.add_dependency('ffi', '
|
17
|
+
spec.add_dependency('ffi', '~> 1.1')
|
18
18
|
spec.add_development_dependency('rspec', '~> 3.9')
|
19
|
+
spec.add_development_dependency('rake')
|
19
20
|
|
20
21
|
spec.metadata = {
|
21
22
|
'homepage_uri' => 'https://github.com/djberg96/sys-uname',
|
22
23
|
'bug_tracker_uri' => 'https://github.com/djberg96/sys-uname/issues',
|
23
|
-
'changelog_uri' => 'https://github.com/djberg96/sys-uname/blob/ffi/CHANGES',
|
24
|
+
'changelog_uri' => 'https://github.com/djberg96/sys-uname/blob/ffi/CHANGES.md',
|
24
25
|
'documentation_uri' => 'https://github.com/djberg96/sys-uname/wiki',
|
25
26
|
'source_code_uri' => 'https://github.com/djberg96/sys-uname',
|
26
27
|
'wiki_uri' => 'https://github.com/djberg96/sys-uname/wiki'
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sys-uname
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
@@ -35,22 +35,22 @@ cert_chain:
|
|
35
35
|
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
36
36
|
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: ffi
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
46
|
+
version: '1.1'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: '1.1'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: rspec
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,6 +65,20 @@ dependencies:
|
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '3.9'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rake
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
68
82
|
description: |2
|
69
83
|
The sys-uname library provides an interface for gathering information
|
70
84
|
about your current platform. The library is named after the Unix 'uname'
|
@@ -75,45 +89,36 @@ email: djberg96@gmail.com
|
|
75
89
|
executables: []
|
76
90
|
extensions: []
|
77
91
|
extra_rdoc_files:
|
78
|
-
-
|
79
|
-
- MANIFEST.rdoc
|
80
|
-
- README.rdoc
|
92
|
+
- doc/uname.rdoc
|
81
93
|
files:
|
94
|
+
- CHANGES.md
|
95
|
+
- Gemfile
|
82
96
|
- LICENSE
|
83
|
-
-
|
84
|
-
-
|
85
|
-
- spec/sys_platform_spec.rb
|
97
|
+
- MANIFEST.md
|
98
|
+
- README.md
|
86
99
|
- Rakefile
|
87
|
-
- certs
|
88
100
|
- certs/djberg96_pub.pem
|
89
|
-
-
|
90
|
-
- examples
|
101
|
+
- doc/uname.rdoc
|
91
102
|
- examples/uname_test.rb
|
92
|
-
- lib
|
93
|
-
- lib/sys
|
103
|
+
- lib/sys-uname.rb
|
94
104
|
- lib/sys/platform.rb
|
95
|
-
- lib/sys/
|
105
|
+
- lib/sys/uname.rb
|
96
106
|
- lib/sys/unix/uname.rb
|
97
|
-
- lib/sys/windows
|
98
107
|
- lib/sys/windows/uname.rb
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
- doc
|
103
|
-
- doc/uname.rdoc
|
104
|
-
- MANIFEST.rdoc
|
105
|
-
- README.rdoc
|
108
|
+
- spec/sys_platform_spec.rb
|
109
|
+
- spec/sys_uname_spec.rb
|
110
|
+
- sys-uname.gemspec
|
106
111
|
homepage: http://github.com/djberg96/sys-uname
|
107
112
|
licenses:
|
108
113
|
- Apache-2.0
|
109
114
|
metadata:
|
110
115
|
homepage_uri: https://github.com/djberg96/sys-uname
|
111
116
|
bug_tracker_uri: https://github.com/djberg96/sys-uname/issues
|
112
|
-
changelog_uri: https://github.com/djberg96/sys-uname/blob/ffi/CHANGES
|
117
|
+
changelog_uri: https://github.com/djberg96/sys-uname/blob/ffi/CHANGES.md
|
113
118
|
documentation_uri: https://github.com/djberg96/sys-uname/wiki
|
114
119
|
source_code_uri: https://github.com/djberg96/sys-uname
|
115
120
|
wiki_uri: https://github.com/djberg96/sys-uname/wiki
|
116
|
-
post_install_message:
|
121
|
+
post_install_message:
|
117
122
|
rdoc_options: []
|
118
123
|
require_paths:
|
119
124
|
- lib
|
@@ -128,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
133
|
- !ruby/object:Gem::Version
|
129
134
|
version: '0'
|
130
135
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
132
|
-
signing_key:
|
136
|
+
rubygems_version: 3.1.4
|
137
|
+
signing_key:
|
133
138
|
specification_version: 4
|
134
139
|
summary: An interface for returning uname (platform) information
|
135
140
|
test_files:
|
metadata.gz.sig
CHANGED
Binary file
|