Skip to content

Commit 2bc8823

Browse files
committed
Formatting lib deprecation output
1 parent 1f8d97f commit 2bc8823

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

lib/puppet/parser/functions/empty.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ module Puppet::Parser::Functions
77
DOC
88
) do |arguments|
99

10-
function_deprecation([:empty, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later.
11-
For more information please see Puppet 5.5.0 Release Notes.'])
10+
function_deprecation([:empty, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes.'])
1211

1312
raise(Puppet::ParseError, "empty(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.empty?
1413
value = arguments[0]

lib/puppet/parser/functions/flatten.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ module Puppet::Parser::Functions
1414
DOC
1515
) do |arguments|
1616

17-
function_deprecation([:flatten, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later.
18-
For more information please see Puppet 5.5.0 Release Notes'])
17+
function_deprecation([:flatten, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes'])
1918

2019
raise(Puppet::ParseError, "flatten(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.size != 1
2120

lib/puppet/parser/functions/join.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ module Puppet::Parser::Functions
1313
DOC
1414
) do |arguments|
1515

16-
function_deprecation([:join, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later.
17-
For more information please see Puppet 5.5.0 Release Notes'])
16+
function_deprecation([:join, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes'])
1817

1918
# Technically we support two arguments but only first is mandatory ...
2019
raise(Puppet::ParseError, "join(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.empty?

lib/puppet/parser/functions/keys.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ module Puppet::Parser::Functions
77
DOC
88
) do |arguments|
99

10-
function_deprecation([:keys, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later.
11-
For more information please see Puppet 5.5.0 Release Notes.'])
10+
function_deprecation([:keys, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes.'])
1211

1312
raise(Puppet::ParseError, "keys(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.empty?
1413

lib/puppet/parser/functions/values.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ module Puppet::Parser::Functions
2020
DOC
2121
) do |arguments|
2222

23-
function_deprecation([:values, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later.
24-
For more information please see Puppet 5.5.0 Release Notes.'])
23+
function_deprecation([:values, 'This method is deprecated, this function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes.'])
2524

2625
raise(Puppet::ParseError, "values(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.empty?
2726

0 commit comments

Comments
 (0)