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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b41363f2082735169f5f59ef530b697635f02fe189a217ce2709a2169774909
4
- data.tar.gz: 68d900d78098bc423e3eab0844263c851bc1bf5771c04f1d9173775b36445f96
3
+ metadata.gz: a3d5f0aeaef1a9f1931977a20b9d2e1ccc8791336f99643492f0d0a3a22d4566
4
+ data.tar.gz: a4ba51d9b0d1652255478df9bd980a80eea9113125f867c65ed15b96ec223343
5
5
  SHA512:
6
- metadata.gz: 2bf91667d4f67255917c8accd52de69600544d256c1802c67eea94d12ef96b2463e10ed3056045cf2694e54dd788446f8c3432e0a7ea0a6954b8460db31a7864
7
- data.tar.gz: d0aa6f428d9db4fa5af7046af60ee76cb310c325b09427833184d3d3f0d6f9179b2fd07c41ac472240f5e93ae211201e137791edfcdba1ef3a38dea32452a3b9
6
+ metadata.gz: 2f91356d53a10ebb48d686c964bb17f5a4ed636c91ad16b9c76a9639ee42b935956287f461c4a35b47af132760d6fc1f84912c4f4420525a6123d3827028e865
7
+ data.tar.gz: 2c9ecf3e76db7f5439953d29bd0bf6a19b09a51d6dcc87b3e64fdc412214870db6a3de17b5e19a46c82a06214053367428178a8ade31b13e8a363d19a62f90cc
@@ -14,7 +14,7 @@ jobs:
14
14
  rubocop:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v3
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@v3
40
+ - uses: actions/checkout@v4
41
41
  - name: Install Ruby ${{ matrix.ruby }}
42
42
  uses: ruby/setup-ruby@v1
43
43
  with:
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  if: github.repository_owner == 'voxpupuli'
12
12
  steps:
13
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
14
  - name: Install Ruby 3.2
15
15
  uses: ruby/setup-ruby@v1
16
16
  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.7.0](https://github.com/voxpupuli/modulesync/tree/2.7.0) (2023-06-16)
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/2.6.0...2.7.0)
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(/\r\n/, "\n")
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
@@ -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 = if RUBY_VERSION >= '2.7'
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.7.0'
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', '~> 1.3'
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', '<7'
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.7.0
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-06-16 00:00:00.000000000 Z
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: '1.3'
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: '1.3'
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: '7'
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: '7'
144
+ version: '9'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: puppet-blacksmith
147
147
  requirement: !ruby/object:Gem::Requirement