Jira (PUP-11050) Ruby 3 doesn't accept an opts hash

1 view
Skip to first unread message

Ewoud Kohl van Wijngaarden (Jira)

unread,
Apr 30, 2021, 8:07:03 AM4/30/21
to puppe...@googlegroups.com
Ewoud Kohl van Wijngaarden created an issue
 
Puppet / Improvement PUP-11050
Ruby 3 doesn't accept an opts hash
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2021/04/30 5:06 AM
Priority: Normal Normal
Reporter: Ewoud Kohl van Wijngaarden

This code no longer works in Ruby 3:

FileUtils.install(mf, omf, {:mode => 0644, :preserve => true, :verbose => true}) 

This does:

 FileUtils.install(mf, omf, mode: 0644, preserve: true, verbose: true)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
May 3, 2021, 1:25:01 PM5/3/21
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Josh Cooper
Change By: Josh Cooper
Assignee: Josh Cooper

Josh Cooper (Jira)

unread,
May 3, 2021, 1:25:01 PM5/3/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Platform Core KANBAN

Josh Cooper (Jira)

unread,
May 4, 2021, 3:56:02 PM5/4/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.7.0

Josh Cooper (Jira)

unread,
May 4, 2021, 3:56:04 PM5/4/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
May 6, 2021, 1:14:02 PM5/6/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
May 6, 2021, 1:14:04 PM5/6/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Not Needed
Reply all
Reply to author
Forward
0 new messages