gitlab-ruby-shadow 2.5.1 → 2.6.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: aee99b5c59047c6d7c94673bf204a497f40c97541f3d89af29adc98a47675b49
4
- data.tar.gz: 825ad4a839b70a22eecab32781e7fff72bf39fdade301917178c76dcdd9aaa4e
3
+ metadata.gz: 31c29f219a11cb929aa33c9183ffe30ce4efcbc4fb8780ef4e50fd89c83f9f92
4
+ data.tar.gz: b1e94322b6a568dd717a2f4dfde40a2154ff7cc87c87a881d3e0e4ad8d43f614
5
5
  SHA512:
6
- metadata.gz: e6877d3336cb327747d0faec021fe6624137aadd69210fd8c3d924199477bf3461ae0ff124bfbdbc40b97f025ba00ca5bdafb1398e68ead2b5f6aa0d061dc4ee
7
- data.tar.gz: 326c6526713e2f423d5c924c29e4240d2225c5eedd9beaef218b0cc60bb7c644c77b749ae7b6c6fdf9ade060e84622515b46410f11c52ffa20c9715342fb3377
6
+ metadata.gz: a29f21bb131848473761eae5730376b764a4cd66f5817ae2dfd0fa53cea38367bf1e5f28280ced616eacb75139a8e9ab290f59d7936d0be37b34ed22601e1100
7
+ data.tar.gz: fb33e418acecad8849aed26858dba1aabb81dcb2b16f586b9e5ef4e8d5c68456dde94fb2a90306c6b089b40b6f4e4cf7b9bdb9bde3459a68936197e08ef4d15a
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ [2026/03/02]
2
+ * Version 2.6.0
3
+ - Drop old Ruby version support
4
+
1
5
  [2021/12/01]
2
6
  * Version 2.5.1
3
7
  - fixes for compiling for Ruby 3
data/extconf.rb CHANGED
@@ -7,13 +7,6 @@
7
7
  require 'mkmf'
8
8
  require 'rbconfig'
9
9
 
10
- $CFLAGS = case RUBY_VERSION
11
- when /^1\.9/; '-DRUBY19'
12
- when /^2\./; '-DRUBY19'
13
- when /^3\./; '-DRUBY19'
14
- else; ''
15
- end
16
-
17
10
  RbConfig::MAKEFILE_CONFIG["CC"] = ENV["CC"] if ENV["CC"]
18
11
 
19
12
  if RbConfig::MAKEFILE_CONFIG["CC"] =~ /gcc|clang/
data/pwd/shadow.c CHANGED
@@ -23,11 +23,8 @@
23
23
  #include "rubyio.h"
24
24
  #endif
25
25
 
26
- #ifdef RUBY19
26
+ /* Ruby 3.0+ is required, so use the modern Ruby 1.9+ API */
27
27
  #define file_ptr(x) (x)->stdio_file
28
- #else
29
- #define file_ptr(x) (x)->f
30
- #endif
31
28
 
32
29
  static VALUE rb_mShadow;
33
30
  static VALUE rb_mPasswd;
data/ruby-shadow.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  end
18
18
  spec.homepage = 'https://gitlab.com/gitlab-org/ruby/gems/ruby-shadow'
19
19
  spec.name = 'gitlab-ruby-shadow'
20
- spec.required_ruby_version = ['>= 1.8']
20
+ spec.required_ruby_version = ['>= 3.1']
21
21
  spec.summary = '*nix Shadow Password Module'
22
- spec.version = '2.5.1'
22
+ spec.version = '2.6.0'
23
23
  spec.license = "Unlicense"
24
24
  end
data/shadow/shadow.c CHANGED
@@ -15,11 +15,8 @@
15
15
  #include "rubyio.h"
16
16
  #endif
17
17
 
18
- #ifdef RUBY19
18
+ /* Ruby 3.0+ is required, so use the modern Ruby 1.9+ API */
19
19
  #define file_ptr(x) rb_io_stdio_file(x)
20
- #else
21
- #define file_ptr(x) (x)->fd
22
- #endif
23
20
 
24
21
  #define NUM_FIELDS 10
25
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-ruby-shadow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Palmblad
@@ -10,10 +10,9 @@ authors:
10
10
  - Jeff Blaine
11
11
  - Remi Broemeling
12
12
  - Takaaki Tateishi
13
- autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
- date: 2024-02-07 00:00:00.000000000 Z
15
+ date: 1980-01-02 00:00:00.000000000 Z
17
16
  dependencies: []
18
17
  description: This module provides access to shadow passwords on Linux, OSX, FreeBSD,
19
18
  OpenBSD, and Solaris
@@ -39,7 +38,6 @@ homepage: https://gitlab.com/gitlab-org/ruby/gems/ruby-shadow
39
38
  licenses:
40
39
  - Unlicense
41
40
  metadata: {}
42
- post_install_message:
43
41
  rdoc_options: []
44
42
  require_paths:
45
43
  - lib
@@ -47,15 +45,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
45
  requirements:
48
46
  - - ">="
49
47
  - !ruby/object:Gem::Version
50
- version: '1.8'
48
+ version: '3.1'
51
49
  required_rubygems_version: !ruby/object:Gem::Requirement
52
50
  requirements:
53
51
  - - ">="
54
52
  - !ruby/object:Gem::Version
55
53
  version: '0'
56
54
  requirements: []
57
- rubygems_version: 3.5.5
58
- signing_key:
55
+ rubygems_version: 3.7.2
59
56
  specification_version: 4
60
57
  summary: "*nix Shadow Password Module"
61
58
  test_files: []