puppet-modulebuilder 2.0.2 → 2.1.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: 8a8be33fb0c704acdd28d3a936eb3b2a78721a26a6fefffce05cac3c9540136a
4
- data.tar.gz: a1ea352915a31386e6a3d3876585e2e4d9d03ce13f398e2c89b984b8ab177f01
3
+ metadata.gz: 652ec3244d1a5abe09e727c3f885bac438f389c5bc1f17e4cc500c90247e4adc
4
+ data.tar.gz: 78cf93f4927597def733ecf1d739160d585fa101f0bd17d4d6b8bad080662ca3
5
5
  SHA512:
6
- metadata.gz: c89a70803661ecd3ccf1615cb8a4b148e3da1938b2d75465a86e737d51587a7d957fe80bc473c9e4148d90dff789d2e96017db0e8723f2fdd9ea80ffb58fe539
7
- data.tar.gz: 2e45d7231d102286592210c2cb5a81f5000dcbe5132b2860f11e65e5ca701b25ea21c5e7b86f0771921b5d0efa11f95c4b7c0b806b65f42b2759f533f14d81c1
6
+ metadata.gz: 363013154144f97bc661c0ce6041cbfdc810910a699342fd382227c959123883d92ace3cfc29069893fad9f4703bb806a288fb721ea0d2949770e86be25926c9
7
+ data.tar.gz: 0a4123520e00746a90fe2333d84a0c63144998a6b347e8c2881b6a3fcbd05348017db633bcbe765903b2335bece522ae645a4bda47ed86d4c645f5a80a642a02
@@ -18,11 +18,8 @@ jobs:
18
18
  fail-fast: false
19
19
  matrix:
20
20
  ruby_version:
21
- - "2.7"
22
21
  - "3.2"
23
22
  include:
24
- - ruby-version: '2.7'
25
- puppet_gem_version: '~> 7.0'
26
23
  - ruby_version: '3.2'
27
24
  puppet_gem_version: '~> 8.0' # puppet8'
28
25
  runs_on:
@@ -42,11 +39,8 @@ jobs:
42
39
  strategy:
43
40
  matrix:
44
41
  ruby_version:
45
- - "2.7"
46
42
  - "3.2"
47
43
  include:
48
- - ruby-version: '2.7'
49
- puppet_gem_version: '~> 7.0'
50
44
  - ruby_version: '3.2'
51
45
  puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
52
46
  runs_on:
@@ -11,11 +11,8 @@ jobs:
11
11
  fail-fast: false
12
12
  matrix:
13
13
  ruby_version:
14
- - "2.7"
15
14
  - "3.2"
16
15
  include:
17
- - ruby-version: '2.7'
18
- puppet_gem_version: '~> 7.0'
19
16
  - ruby_version: '3.2'
20
17
  puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
21
18
  runs_on:
@@ -34,11 +31,8 @@ jobs:
34
31
  strategy:
35
32
  matrix:
36
33
  ruby_version:
37
- - "2.7"
38
34
  - "3.2"
39
35
  include:
40
- - ruby-version: '2.7'
41
- puppet_gem_version: '~> 7.0'
42
36
  - ruby_version: '3.2'
43
37
  puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
44
38
  runs_on:
data/.rubocop.yml CHANGED
@@ -4,6 +4,9 @@ inherit_from: .rubocop_todo.yml
4
4
  inherit_gem:
5
5
  voxpupuli-rubocop: rubocop.yml
6
6
 
7
+ AllCops:
8
+ TargetRubyVersion: '3.1'
9
+
7
10
  # Disabled
8
11
  Style/ClassAndModuleChildren:
9
12
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
7
7
 
8
+ ## [v2.1.0](https://github.com/puppetlabs/puppet-modulebuilder/tree/v2.1.0) - 2025-05-21
9
+
10
+ [Full Changelog](https://github.com/puppetlabs/puppet-modulebuilder/compare/v2.0.2...v2.1.0)
11
+
12
+ ### Other
13
+
14
+ - voxpupuli-rubocop: Update 2.8.0->3.0.0 [#107](https://github.com/puppetlabs/puppet-modulebuilder/pull/107) ([bastelfreak](https://github.com/bastelfreak))
15
+
8
16
  ## [v2.0.2](https://github.com/puppetlabs/puppet-modulebuilder/tree/v2.0.2) - 2024-09-24
9
17
 
10
18
  [Full Changelog](https://github.com/puppetlabs/puppet-modulebuilder/compare/v2.0.1...v2.0.2)
data/Gemfile CHANGED
@@ -29,4 +29,8 @@ group :development do
29
29
 
30
30
  # Required for testing on Windows
31
31
  gem 'ffi', platforms: [:x64_mingw]
32
+ # puppet-modulebuilder supports minitar 0.x and 1.x
33
+ # puppet 8.10.0 can use `tar` (the linux CLI tool) *or* minitar 0.x
34
+ # on windows, puppet 8.10 defaults to minitar
35
+ gem 'minitar', '~> 0.9', platforms: [:x64_mingw]
32
36
  end
@@ -339,8 +339,7 @@ module Puppet::Modulebuilder
339
339
  # header format.
340
340
  #
341
341
  # POSIX.1-2001 (which allows paths of infinite length) was adopted by GNU
342
- # tar in 2004 and is supported by minitar 0.7 and above. Unfortunately
343
- # much of the Puppet ecosystem still uses minitar 0.6.1.
342
+ # tar in 2004 and is supported by minitar 0.7 and above.
344
343
  #
345
344
  # POSIX.1-1998 tar format does not allow for paths greater than 256 bytes,
346
345
  # or paths that can't be split into a prefix of 155 bytes (max) and
@@ -377,7 +376,7 @@ module Puppet::Modulebuilder
377
376
 
378
377
  return unless path.bytesize > 100 || prefix.bytesize > 155
379
378
 
380
- raise ArgumentError, \
379
+ raise ArgumentError,
381
380
  format("'%<path>s' could not be split at a directory separator into two " \
382
381
  'parts, the first having a maximum length of 155 bytes and the ' \
383
382
  'second having a maximum length of 100 bytes.', path: path)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Puppet
4
4
  module Modulebuilder
5
- VERSION = '2.0.2'
5
+ VERSION = '2.1.0'
6
6
  end
7
7
  end
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
  # minitar and pathspec is required for building Puppet modules
27
- spec.add_runtime_dependency 'minitar', '~> 0.9'
28
- spec.add_runtime_dependency 'pathspec', '>= 0.2.1', '< 3.0.0'
27
+ spec.add_dependency 'minitar', '>= 0.9', '< 2'
28
+ spec.add_dependency 'pathspec', '>= 0.2.1', '< 3.0.0'
29
29
 
30
- spec.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0'
30
+ spec.add_development_dependency 'voxpupuli-rubocop', '~> 4.0.0'
31
31
 
32
- spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
32
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
33
33
  end
metadata CHANGED
@@ -1,30 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-modulebuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheena
8
8
  - Team IAC
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-09-24 00:00:00.000000000 Z
12
+ date: 2025-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitar
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0.9'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '2'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: '0.9'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: pathspec
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -51,15 +57,15 @@ dependencies:
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 2.8.0
60
+ version: 4.0.0
55
61
  type: :development
56
62
  prerelease: false
57
63
  version_requirements: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: 2.8.0
62
- description:
67
+ version: 4.0.0
68
+ description:
63
69
  email:
64
70
  - sheena@puppet.com
65
71
  - https://puppetlabs.github.io/iac/
@@ -95,7 +101,7 @@ metadata:
95
101
  homepage_uri: https://github.com/puppetlabs/puppet-modulebuilder
96
102
  source_code_uri: https://github.com/puppetlabs/puppet-modulebuilder
97
103
  changelog_uri: https://github.com/puppetlabs/puppet-modulebuilder/blob/main/CHANGELOG.md
98
- post_install_message:
104
+ post_install_message:
99
105
  rdoc_options: []
100
106
  require_paths:
101
107
  - lib
@@ -103,15 +109,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
109
  requirements:
104
110
  - - ">="
105
111
  - !ruby/object:Gem::Version
106
- version: 2.7.0
112
+ version: 3.1.0
107
113
  required_rubygems_version: !ruby/object:Gem::Requirement
108
114
  requirements:
109
115
  - - ">="
110
116
  - !ruby/object:Gem::Version
111
117
  version: '0'
112
118
  requirements: []
113
- rubygems_version: 3.1.6
114
- signing_key:
119
+ rubygems_version: 3.3.27
120
+ signing_key:
115
121
  specification_version: 4
116
122
  summary: A gem to set up puppet-modulebuilder
117
123
  test_files: []