Skip to content

Commit 998d169

Browse files
(maint) Quote Ruby symbols in .sync.yml for PDK 3.4.0 compatibility
Due to stricter YAML parsing rules in Ruby 3.2.5 (used by PDK 3.4.0), unquoted Ruby symbols in .sync.yml cause parsing errors. This updates all Ruby symbols to be properly quoted strings (e.g. ':development' instead of :development). The error encountered was: ```bash Psych::DisallowedClass: Tried to load unspecified class: Symbol from psych/class_loader.rb:99:in `find' ``` This change allows the module to be properly updated using PDK 3.4.0 while maintaining the same functionality. Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent be0fb06 commit 998d169

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.sync.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
Gemfile:
33
required:
4-
:development:
4+
':development':
55
- gem: bolt
66
version: '>= 3.10.0'
77
optional:
8-
:development:
8+
':development':
99
- gem: github_changelog_generator
1010
version: 1.16.4 # Pinned to latest bug fix version
1111
- gem: octokit
1212
version: 4.21.0 # Locked due to https://github.com/octokit/octokit.rb/issues/1391
1313
# The Faraday requirements in orchestrator_client 0.7.1 causes Bundler to
1414
# resolve the dependency in unexpected ways and causes issues in CI
1515
- gem: orchestrator_client
16-
version: < 0.7.1
16+
version: '< 0.7.1'
1717
Rakefile:
1818
changelog_since_tag: 2.5.0
1919
default_disabled_lint_checks:
@@ -23,7 +23,7 @@ Rakefile:
2323
- PuppetSyntax.exclude_paths = ["plans/**/*.pp", "spec/acceptance/**/plans/**/*.pp",
2424
"vendor/**/*"]
2525
spec/spec_helper.rb:
26-
mock_with: :rspec
26+
mock_with: ':rspec'
2727
.gitignore:
2828
paths:
2929
- .rerun.json

0 commit comments

Comments
 (0)