sys-uname 1.4.1 → 1.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4778a7cf939da364277bcbd8fe4037a8c534d69dc66918a0a4dd3f70ef67c9b
4
- data.tar.gz: 11d9784867d9bb331aebfe4041ace78db674da3229c637c2d92516c2035cb209
3
+ metadata.gz: 2a8383cd3c829c4d7f250f6fcbf1ee30a298bb9dc5590370917bea2be74aa284
4
+ data.tar.gz: 58deb0a7a66011788838a863dcc7e3327f719c0d3397be4ff9e900824a7a43dd
5
5
  SHA512:
6
- metadata.gz: 3074d90bc921e2a16e8ecaf26861a15ad8db97a3f542b07950b326713d95d142c2f9544de3a982024521102d7937faff28bcf0b88e58e5353083496b9f665be9
7
- data.tar.gz: bf3fef9a599aa334084eccf5cb0d36712089ec374bf560e257ab067b8995b3d652ed7a0a67290dc300146f841f179e71b983842805acffb83d7416f86ae3f61f
6
+ metadata.gz: ca1cc2a91dbd258862b9b9c5ba2fde1805b10f132f78d518777da7a346f86e0e8b9c8dd58689ef6e79c9c9f2f85d8d50aeb68a8d07ef52b85d47f22d5be3025e
7
+ data.tar.gz: 93cd815795509344dd4b99a169c2750345fe062b4c3559b26a810ca4d0a144182e4e67bcb7f6f1b3f666d122377496bed6b13ec276f9f94e1c9798679184c73e
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.5.0 - 16-Feb-2026
2
+ * The win32ole gem is now a dependency for Windows since it's no longer
3
+ bundled with Ruby 4.x.
4
+
1
5
  ## 1.4.1 - 1-Sep-2025
2
6
  * Use memoist3 instead of memoist since the latter is unmaintained. Thanks
3
7
  got to Matijs van Zuijlen for the suggestion.
data/README.md CHANGED
@@ -29,11 +29,11 @@ p Sys::Platform::ARCH # => :x86_64
29
29
 
30
30
  ## Memoist Notes
31
31
  As of version 1.4.0 most methods are memoized via the memoist gem since
32
- these values are unlikely to change during without a restart/reboot. As
32
+ these values are extremely unlikely to change without a restart/reboot. As
33
33
  per the memoist documentation, you can force a cache flush if desired to
34
34
  refresh the values.
35
35
 
36
- https://github.com/matthewrudy/memoist
36
+ https://github.com/honzasterba/memoist
37
37
 
38
38
  ## BSD flavors, including OS X
39
39
  Users on BSD platforms get the extra `Uname.model` method.
data/Rakefile CHANGED
@@ -36,7 +36,7 @@ RuboCop::RakeTask.new
36
36
  desc "Run the test suite"
37
37
  RSpec::Core::RakeTask.new(:spec) do |t|
38
38
  t.verbose = true
39
- t.rspec_opts = '-f documentation'
39
+ t.rspec_opts = '-f documentation -w'
40
40
  end
41
41
 
42
42
  task :default => :spec
data/doc/uname.rdoc CHANGED
@@ -80,7 +80,7 @@ https://github.com/djberg96/sys-uname
80
80
  Apache-2.0
81
81
 
82
82
  == Copyright
83
- (C) 2002-2025 Daniel J. Berger
83
+ (C) 2002-2026 Daniel J. Berger
84
84
  All Rights Reserved
85
85
 
86
86
  == Warranty
data/lib/sys/uname.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Sys
4
4
  class Uname
5
5
  # The version of the sys-uname gem.
6
- VERSION = '1.4.1'
6
+ VERSION = '1.5.0'
7
7
  end
8
8
 
9
9
  class Platform
@@ -9,7 +9,7 @@ require 'spec_helper'
9
9
 
10
10
  RSpec.describe Sys::Platform do
11
11
  example 'the VERSION constant is set to the expected value' do
12
- expect(Sys::Platform::VERSION).to eql('1.4.1')
12
+ expect(Sys::Platform::VERSION).to eql('1.5.0')
13
13
  expect(Sys::Platform::VERSION).to be_frozen
14
14
  end
15
15
 
@@ -26,7 +26,7 @@ RSpec.describe Sys::Uname do
26
26
 
27
27
  context 'universal singleton methods' do
28
28
  example 'version constant is set to expected value' do
29
- expect(Sys::Uname::VERSION).to eql('1.4.1')
29
+ expect(Sys::Uname::VERSION).to eql('1.5.0')
30
30
  expect(Sys::Uname::VERSION).to be_frozen
31
31
  end
32
32
 
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.4.1'
5
+ spec.version = '1.5.0'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.email = 'djberg96@gmail.com'
8
8
  spec.homepage = 'http://github.com/djberg96/sys-uname'
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.add_dependency('ffi', '~> 1.1')
18
18
  spec.add_dependency('memoist3', '~> 1.0.0')
19
+ spec.add_dependency('win32ole') if Gem.win_platform?
19
20
 
20
21
  spec.add_development_dependency('rspec', '~> 3.9')
21
22
  spec.add_development_dependency('rake')
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-uname
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
@@ -35,7 +34,7 @@ cert_chain:
35
34
  ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
35
  WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
36
  -----END CERTIFICATE-----
38
- date: 2025-09-01 00:00:00.000000000 Z
37
+ date: 1980-01-02 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: ffi
@@ -164,7 +163,6 @@ metadata:
164
163
  rubygems_mfa_required: 'true'
165
164
  github_repo: https://github.com/djberg96/sys-uname
166
165
  funding_uri: https://github.com/sponsors/djberg96
167
- post_install_message:
168
166
  rdoc_options: []
169
167
  require_paths:
170
168
  - lib
@@ -179,8 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
177
  - !ruby/object:Gem::Version
180
178
  version: '0'
181
179
  requirements: []
182
- rubygems_version: 3.5.22
183
- signing_key:
180
+ rubygems_version: 4.0.3
184
181
  specification_version: 4
185
182
  summary: An interface for returning uname (platform) information
186
183
  test_files:
metadata.gz.sig CHANGED
Binary file