Jira (PUP-10471) Accept symbols as names of runtime implementation

21 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Apr 27, 2020, 12:53:04 PM4/27/20
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Bug PUP-10471
Accept symbols as names of runtime implementation
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/04/27 9:52 AM
Fix Versions: PUP 6.16.0
Priority: Normal Normal
Reporter: Josh Cooper

The Puppet.runtime[name] API should use symbols, e.g. :http, because it doesn't require the caller to allocate a string (puppet doesn't use the frozen string pragma yet).

If a string is specified, we may want to covert to a symbol using String#to_sym, but we could also just not do that.

Update API docs to use a symbol.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 27, 2020, 12:54:03 PM4/27/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 27, 2020, 12:54:03 PM4/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming

Josh Cooper (Jira)

unread,
Apr 27, 2020, 2:52:03 PM4/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming Hopper

Josh Cooper (Jira)

unread,
Apr 27, 2020, 5:27:03 PM4/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Hopper Platform Core KANBAN

Josh Cooper (Jira)

unread,
Apr 27, 2020, 5:27:04 PM4/27/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
May 1, 2020, 4:32:04 PM5/1/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
May 1, 2020, 4:33:04 PM5/1/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Changes the `Puppet.runtime` method to take symbols instead of strings

Josh Cooper (Jira)

unread,
May 5, 2020, 11:29:03 PM5/5/20
to puppe...@googlegroups.com

Claire Cadman (Jira)

unread,
May 19, 2020, 9:52:03 AM5/19/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages