modulesync 3.1.0 → 3.2.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 +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/release.yml +1 -1
- data/CHANGELOG.md +12 -1
- data/Rakefile +1 -1
- data/lib/modulesync/renderer.rb +1 -5
- data/modulesync.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3d5f0aeaef1a9f1931977a20b9d2e1ccc8791336f99643492f0d0a3a22d4566
|
|
4
|
+
data.tar.gz: a4ba51d9b0d1652255478df9bd980a80eea9113125f867c65ed15b96ec223343
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f91356d53a10ebb48d686c964bb17f5a4ed636c91ad16b9c76a9639ee42b935956287f461c4a35b47af132760d6fc1f84912c4f4420525a6123d3827028e865
|
|
7
|
+
data.tar.gz: 2c9ecf3e76db7f5439953d29bd0bf6a19b09a51d6dcc87b3e64fdc412214870db6a3de17b5e19a46c82a06214053367428178a8ade31b13e8a363d19a62f90cc
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
rubocop:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
18
|
- name: Setup ruby
|
|
19
19
|
uses: ruby/setup-ruby@v1
|
|
20
20
|
with:
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
env:
|
|
38
38
|
CODECOV: ${{ matrix.codecov }}
|
|
39
39
|
steps:
|
|
40
|
-
- uses: actions/checkout@
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
41
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
42
42
|
uses: ruby/setup-ruby@v1
|
|
43
43
|
with:
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.2.0](https://github.com/voxpupuli/modulesync/tree/3.2.0) (2023-10-31)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.1.0...3.2.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Update octokit requirement from \>= 4, \< 8 to \>= 4, \< 9 [\#278](https://github.com/voxpupuli/modulesync/pull/278) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- Clean up redundant statement [\#276](https://github.com/voxpupuli/modulesync/pull/276) ([ekohl](https://github.com/ekohl))
|
|
16
|
+
|
|
5
17
|
## [3.1.0](https://github.com/voxpupuli/modulesync/tree/3.1.0) (2023-08-02)
|
|
6
18
|
|
|
7
19
|
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.0.0...3.1.0)
|
|
@@ -47,7 +59,6 @@ Release 3.0.0 was broken. It was tagged as 3.0.0 but accidentally released as 2.
|
|
|
47
59
|
**Merged pull requests:**
|
|
48
60
|
|
|
49
61
|
- Add CI best practices [\#264](https://github.com/voxpupuli/modulesync/pull/264) ([bastelfreak](https://github.com/bastelfreak))
|
|
50
|
-
- Bump actions/checkout from 2 to 3 [\#262](https://github.com/voxpupuli/modulesync/pull/262) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
51
62
|
- dependabot: check for github actions and gems [\#261](https://github.com/voxpupuli/modulesync/pull/261) ([bastelfreak](https://github.com/bastelfreak))
|
|
52
63
|
|
|
53
64
|
## [2.5.0](https://github.com/voxpupuli/modulesync/tree/2.5.0) (2022-10-14)
|
data/Rakefile
CHANGED
|
@@ -29,7 +29,7 @@ begin
|
|
|
29
29
|
require 'github_changelog_generator/task'
|
|
30
30
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
31
31
|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
|
32
|
-
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix modulesync skip-changelog]
|
|
32
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix modulesync skip-changelog github_actions]
|
|
33
33
|
config.user = 'voxpupuli'
|
|
34
34
|
config.project = 'modulesync'
|
|
35
35
|
config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
|
data/lib/modulesync/renderer.rb
CHANGED
|
@@ -12,11 +12,7 @@ module ModuleSync
|
|
|
12
12
|
|
|
13
13
|
def self.build(template_file)
|
|
14
14
|
template = File.read(template_file)
|
|
15
|
-
erb_obj =
|
|
16
|
-
ERB.new(template, trim_mode: '-')
|
|
17
|
-
else
|
|
18
|
-
ERB.new(template, trim_mode: '-')
|
|
19
|
-
end
|
|
15
|
+
erb_obj = ERB.new(template, trim_mode: '-')
|
|
20
16
|
erb_obj.filename = template_file
|
|
21
17
|
erb_obj.def_method(ForgeModuleFile, 'render()', template_file)
|
|
22
18
|
erb_obj
|
data/modulesync.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = 'modulesync'
|
|
6
|
-
spec.version = '3.
|
|
6
|
+
spec.version = '3.2.0'
|
|
7
7
|
spec.authors = ['Vox Pupuli']
|
|
8
8
|
spec.email = ['voxpupuli@groups.io']
|
|
9
9
|
spec.summary = 'Puppet Module Synchronizer'
|
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
|
|
26
26
|
spec.add_runtime_dependency 'git', '~>1.7'
|
|
27
27
|
spec.add_runtime_dependency 'gitlab', '~>4.0'
|
|
28
|
-
spec.add_runtime_dependency 'octokit', '>=4', '<
|
|
28
|
+
spec.add_runtime_dependency 'octokit', '>=4', '<9'
|
|
29
29
|
spec.add_runtime_dependency 'puppet-blacksmith', '>= 3.0', '< 8'
|
|
30
30
|
spec.add_runtime_dependency 'thor'
|
|
31
31
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: modulesync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vox Pupuli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aruba
|
|
@@ -131,7 +131,7 @@ dependencies:
|
|
|
131
131
|
version: '4'
|
|
132
132
|
- - "<"
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
|
-
version: '
|
|
134
|
+
version: '9'
|
|
135
135
|
type: :runtime
|
|
136
136
|
prerelease: false
|
|
137
137
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -141,7 +141,7 @@ dependencies:
|
|
|
141
141
|
version: '4'
|
|
142
142
|
- - "<"
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: '
|
|
144
|
+
version: '9'
|
|
145
145
|
- !ruby/object:Gem::Dependency
|
|
146
146
|
name: puppet-blacksmith
|
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|