Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add correct namespace for start_with function #1095

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

baurmatt
Copy link
Contributor

@baurmatt baurmatt commented Mar 4, 2020

This function was originally introduced in #1086 but never got a
decision about the correct namespace. This commit adds the stdlib::
namespace to the start_with function after a discussion I had with
Daneel on Slack about this. This will at least align the namespace with
the corresponding end_with function to not confuse people.

I'm not considering this a breaking change because the function was never released.

This function was originally introduced in puppetlabs#1086 but never got a
decision about the correct namespace. This commit adds the stdlib::
namespace to the start_with function after a discussion I had with
Daneel on Slack about this. This will at least align the namespace with
the corresponding end_with function to not confuse people.
@baurmatt baurmatt requested a review from a team as a code owner March 4, 2020 12:28
@codecov-io
Copy link

codecov-io commented Mar 4, 2020

Codecov Report

Merging #1095 into master will increase coverage by 0.89%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1095      +/-   ##
=========================================
+ Coverage    3.74%   4.64%   +0.89%     
=========================================
  Files         186     186              
  Lines        5338    5338              
=========================================
+ Hits          200     248      +48     
+ Misses       5138    5090      -48
Impacted Files Coverage Δ
lib/puppet/functions/stdlib/start_with.rb 0% <0%> (ø)
lib/puppet/type/file_line.rb 96.36% <0%> (+1.81%) ⬆️
lib/puppet/provider/file_line/ruby.rb 62.62% <0%> (+47.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 397d0eb...e4712fa. Read the comment docs.

@sanfrancrisko
Copy link
Contributor

Thanks for the tweak @baurmatt !

@sanfrancrisko sanfrancrisko merged commit caa2fee into puppetlabs:master Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants