Skip to content

Commit

Permalink
Restore Ruby 3 compatibility
Browse files Browse the repository at this point in the history
fc5673e added parantheses around the parameters which broke Ruby 3
support.
  • Loading branch information
bastelfreak committed Oct 23, 2021
1 parent 4576138 commit 099ec63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CHANGELOG
Unreleased
----------

- Restore Ruby 3 compatibility [#1234](https://github.com/puppetlabs/r10k/pull/1234)
- (RK-381) Do not recurse into symlinked dirs when finding files to purge. [#1233](https://github.com/puppetlabs/r10k/pull/1233)
- Purge should remove unmanaged directories, in addition to unmanaged files. [#1222](https://github.com/puppetlabs/r10k/pull/1222)

Expand Down
4 changes: 2 additions & 2 deletions spec/unit/action/puppetfile/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
describe R10K::Action::Puppetfile::Install do
let(:default_opts) { { root: "/some/nonexistent/path" } }
let(:loader) {
R10K::ModuleLoader::Puppetfile.new({
R10K::ModuleLoader::Puppetfile.new(
basedir: '/some/nonexistent/path',
overrides: {force: false}})
overrides: {force: false})
}

def installer(opts = {}, argv = [], settings = {})
Expand Down

0 comments on commit 099ec63

Please sign in to comment.