puppet-lint-stdlib_deprecations 0.0.2 → 0.0.4

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: 8432e4a6d53d4dbfb91f6d390283b1be87c2b1c8ec2f41ef4a54832d59a9f400
4
- data.tar.gz: e1c4b3f2c5f7c56d9e66f2dabd7c1b5e4b4416927464d2213fdb8debe34f43e1
3
+ metadata.gz: 9494032f738fd166acd7a82458fbc1571bfca67874599a83a11753e4a328f923
4
+ data.tar.gz: db771d494c88f36d158ba92a61484a15e6977d6adc22afa2e3d68167c0c49997
5
5
  SHA512:
6
- metadata.gz: abc878c18d4b0681163b4dd762827834dd74a43351bcd49b8f453c98fed8c3e2111ba03544b562bb894fa9778d05bbbd369bbbf5189ea150cd8df6439435e98d
7
- data.tar.gz: 34120c899d0db4e76ba7f3de00f9419324ddf94f44c5c02dc302c71520f45aa3924ebdef1eca5b0acc04319f3969d65544d454cf8f9692f5a37898488911e9ed
6
+ metadata.gz: 78be922a2b13505850a0640440c95bce017b0959b8d6f1b07d575bd822e38981d9cff5129e882069408303db0aa689cb4b264ae6cdda4c0a38aca4b42a94710c
7
+ data.tar.gz: 90173975ea4cc3d480e06075c422298a53ebe9263f579bc075694e6edb900f4b534b769f89c383dcded87455135ee0dda2dc81e3c0f87c33560908b50649edd9
@@ -3,9 +3,9 @@
3
3
  # Public: A puppet-lint custom check to detect deprecated functions.
4
4
  DEPRECATED_FUNCTIONS_VAR_TYPES = Set[:FUNCTION_NAME]
5
5
 
6
- # These functions have been removed in stdlib 9.x.
6
+ # These functions have been removed/scheduled for removal in stdlib 9.x.
7
7
  REMOVED_FUNCTIONS = %w[
8
- is_absolute_path type3x private is_bool validate_bool
8
+ is_absolute_path type3x private is_bool validate_legacy validate_bool
9
9
  is_string validate_string is_integer validate_integer is_hash
10
10
  is_float validate_hash absolute_path validate_re validate_slength
11
11
  is_ipv6_address validate_ipv6_address is_ipv4_address validate_ipv4_address
@@ -19,7 +19,8 @@ REPLACED_FUNCTIONS = {
19
19
  'size' => 'length()',
20
20
  'sprintf_hash' => 'sprintf()',
21
21
  'hash' => 'Puppets built-in Hash.new()',
22
- 'has_key' => '"if \'key\' in $my_hash"'
22
+ 'has_key' => '"if \'key\' in $my_hash"',
23
+ 'validate_legacy' => 'Puppet data types to validate parameters'
23
24
  }.freeze
24
25
 
25
26
  # These functions have been namespaced in stdlib 9.x.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class StdlibDeprecations
4
- VERSION ||= '0.0.2'
4
+ VERSION ||= '0.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-stdlib_deprecations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-03 00:00:00.000000000 Z
11
+ date: 2026-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint
@@ -16,18 +16,18 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '4'
27
27
  description: |2
28
28
  Helps to detect deprecated, removed and non-namespaced puppetlabs-stdlib functions and datatypes during your upgrade to puppetlabs-stdlib 9.x,
29
29
  and puppet 8.
30
- email:
30
+ email:
31
31
  executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
@@ -45,7 +45,7 @@ licenses:
45
45
  - Apache-2.0
46
46
  metadata:
47
47
  rubygems_mfa_required: 'true'
48
- post_install_message:
48
+ post_install_message:
49
49
  rdoc_options: []
50
50
  require_paths:
51
51
  - lib
@@ -60,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubygems_version: 3.1.6
64
- signing_key:
63
+ rubygems_version: 3.4.19
64
+ signing_key:
65
65
  specification_version: 4
66
66
  summary: A puppet-lint plugin to aid your puppetlabs-stdlib 9.x upgrade.
67
67
  test_files: []