sys-admin 1.8.3 → 1.8.4

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: 2ea8a73dbb3ee22a4e429f99209448968e6ec348157a26e0b00be8f664dbbdce
4
- data.tar.gz: 84e774eb93edcda1debe1297b35171b2fcdba9feafde99fc7829ff2f3017de49
3
+ metadata.gz: 71c3663b6e540ada2dcca2c54a181b92269549bb5ee6bb129d2bb513edd61283
4
+ data.tar.gz: 0dc5d42a1e970f9af5920e4e20c5cadbf9521712ef6d00bdbb555158b758f205
5
5
  SHA512:
6
- metadata.gz: c31661d8f953153948dae7410990996989b925ce92eacd5af6d8ea83a1e0d527d26e19b6b3eb66d0d9ec5dd35a044225d586c0fff971eb41c97fb167a0cbc96b
7
- data.tar.gz: 73e7ca82c6abf0da81c7a2586554bdaaf376de31f3838c0f6a40b6826e7c29d8563a6b0674e81cb7fc5c4b30985515087f9c91fe67509cbdb64b38cf8825982f
6
+ metadata.gz: 99090f3e3d87d4f13d896845a9432815d8f9ff5287fab78c295263edbec8d40859025b6b1880c1ddde98b40efdee10fd8ef161c5a41a2cab8b52db2103f4c03a
7
+ data.tar.gz: d9ba7025f7254feaae09eb4feb2bde3cf915b7bf7b4ffaa546c1ff9ef9d6fe2f3c9b57511a6a9f893b0d93269cd546d5ff02b5fa0fd533c64c33fbbb6bdc42bf
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGES.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.8.4 - 12-Jun-2024
2
+ * Fixes for DragonFly BSD support.
3
+
1
4
  ## 1.8.3 - 20-Apr-2024
2
5
  * Fixed up the get_group method on most platforms. Previously it was allocating
3
6
  slightly more memory than it needed (wrong struct, oops). In addition, the
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
31
31
  t.rspec_opts = '-Ilib/linux'
32
32
  when /sunos|solaris/i
33
33
  t.rspec_opts = '-Ilib/sunos'
34
- when /bsd/i
34
+ when /bsd|dragonfly/i
35
35
  t.rspec_opts = '-Ilib/bsd'
36
36
  when /windows|win32|mingw|cygwin|dos/i
37
37
  t.rspec_opts = '-Ilib/windows'
data/lib/bsd/sys/admin.rb CHANGED
@@ -43,7 +43,7 @@ module Sys
43
43
  pw_expire time_t
44
44
  ]
45
45
 
46
- if RbConfig::CONFIG['host_os'] =~ /freebsd/i
46
+ if RbConfig::CONFIG['host_os'] =~ /freebsd|dragonfly/i
47
47
  fields.push(:pw_fields, :int)
48
48
  end
49
49
 
data/lib/sys/admin.rb CHANGED
@@ -5,7 +5,7 @@ module Sys
5
5
  # The Admin class provides a unified, cross platform replacement for the Etc module.
6
6
  class Admin
7
7
  # The version of the sys-admin library.
8
- VERSION = '1.8.3'
8
+ VERSION = '1.8.4'
9
9
 
10
10
  private_class_method :new
11
11
  end
@@ -23,7 +23,7 @@ case RbConfig::CONFIG['host_os']
23
23
  require 'windows/sys/admin'
24
24
  when /darwin|mach/i
25
25
  require 'darwin/sys/admin'
26
- when /bsd/i
26
+ when /bsd|dragonfly/i
27
27
  require 'bsd/sys/admin'
28
28
  else
29
29
  require 'unix/sys/admin'
@@ -2,7 +2,7 @@
2
2
 
3
3
  RSpec.shared_examples Sys::Admin do
4
4
  example 'version is set to expected value' do
5
- expect(described_class::VERSION).to eq('1.8.3')
5
+ expect(described_class::VERSION).to eq('1.8.4')
6
6
  end
7
7
 
8
8
  example 'version constant is frozen' do
data/sys-admin.gemspec CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'sys-admin'
6
- spec.version = '1.8.3'
6
+ spec.version = '1.8.4'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.license = 'Apache-2.0'
9
9
  spec.email = 'djberg96@gmail.com'
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.8.4
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: 2024-04-20 00:00:00.000000000 Z
38
+ date: 2024-06-12 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: ffi
metadata.gz.sig CHANGED
Binary file