modulesync 2.7.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/release.yml +1 -1
- data/CHANGELOG.md +26 -3
- data/Rakefile +2 -2
- data/lib/modulesync/renderer.rb +1 -5
- data/modulesync.gemspec +3 -3
- metadata +6 -6
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,9 +2,33 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [2.
|
5
|
+
## [3.2.0](https://github.com/voxpupuli/modulesync/tree/3.2.0) (2023-10-31)
|
6
6
|
|
7
|
-
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/
|
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
|
+
|
17
|
+
## [3.1.0](https://github.com/voxpupuli/modulesync/tree/3.1.0) (2023-08-02)
|
18
|
+
|
19
|
+
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.0.0...3.1.0)
|
20
|
+
|
21
|
+
Release 3.0.0 was broken. It was tagged as 3.0.0 but accidentally released as 2.7.0. The only breaking change was dropping support for EoL ruby versions.
|
22
|
+
|
23
|
+
**Merged pull requests:**
|
24
|
+
|
25
|
+
- rubocop: autofix [\#273](https://github.com/voxpupuli/modulesync/pull/273) ([bastelfreak](https://github.com/bastelfreak))
|
26
|
+
- Update octokit requirement from \>= 4, \< 7 to \>= 4, \< 8 [\#272](https://github.com/voxpupuli/modulesync/pull/272) ([dependabot[bot]](https://github.com/apps/dependabot))
|
27
|
+
- Update voxpupuli-rubocop requirement from ~\> 1.3 to ~\> 2.0 [\#271](https://github.com/voxpupuli/modulesync/pull/271) ([dependabot[bot]](https://github.com/apps/dependabot))
|
28
|
+
|
29
|
+
## [3.0.0](https://github.com/voxpupuli/modulesync/tree/3.0.0) (2023-06-16)
|
30
|
+
|
31
|
+
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/2.6.0...3.0.0)
|
8
32
|
|
9
33
|
**Breaking changes:**
|
10
34
|
|
@@ -35,7 +59,6 @@ All notable changes to this project will be documented in this file.
|
|
35
59
|
**Merged pull requests:**
|
36
60
|
|
37
61
|
- Add CI best practices [\#264](https://github.com/voxpupuli/modulesync/pull/264) ([bastelfreak](https://github.com/bastelfreak))
|
38
|
-
- Bump actions/checkout from 2 to 3 [\#262](https://github.com/voxpupuli/modulesync/pull/262) ([dependabot[bot]](https://github.com/apps/dependabot))
|
39
62
|
- dependabot: check for github actions and gems [\#261](https://github.com/voxpupuli/modulesync/pull/261) ([bastelfreak](https://github.com/bastelfreak))
|
40
63
|
|
41
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
|
@@ -42,7 +42,7 @@ begin
|
|
42
42
|
puts 'Fixing line endings...'
|
43
43
|
changelog_file = File.join(__dir__, 'CHANGELOG.md')
|
44
44
|
changelog_txt = File.read(changelog_file)
|
45
|
-
new_contents = changelog_txt.gsub(
|
45
|
+
new_contents = changelog_txt.gsub("\r\n", "\n")
|
46
46
|
File.open(changelog_file, 'w') { |file| file.puts new_contents }
|
47
47
|
end
|
48
48
|
end
|
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 = '2.
|
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'
|
@@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency 'rake'
|
22
22
|
spec.add_development_dependency 'rspec'
|
23
23
|
spec.add_development_dependency 'simplecov'
|
24
|
-
spec.add_development_dependency 'voxpupuli-rubocop', '~>
|
24
|
+
spec.add_development_dependency 'voxpupuli-rubocop', '~> 2.0'
|
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: 2.
|
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
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: git
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|