-
Notifications
You must be signed in to change notification settings - Fork 580
(19864) Enable num2bool to accept numeric input #137
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
Closed
hakamadare
wants to merge
82
commits into
puppetlabs:master
from
hakamadare:19864_num2bool_match_fix
Closed
Changes from 15 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
0879388
Merge branch '4.x'
f2143e0
Merge branch '4.x'
efb0a85
Merge branch '4.x'
aa22cde
Merge branch '4.x'
23cf7d0
Merge branch '4.x'
34b9cb8
Merge branch '4.x'
747dcc6
Merge branch '4.x'
fda49d4
Merge branch '4.x'
88acc52
puppet-lint cleanup
jfryman f40bb1e
Merge branch '4.x'
326a139
Merge branch 'jfryman-master'
32419e7
Merge branch '4.x'
0695296
Merge branch '4.x'
e590e1b
Merge branch '4.x'
4f91efa
Merge branch '4.x'
06bc5da
Merge branch '4.x'
bdef98d
Merge branch '4.x'
f960a08
Merge branch '4.x'
2dac135
Merge branch '4.x'
7742e5f
maint: style guideline fixes
5e3606f
Merge branch 'dalen-style_fixes'
3a6085f
Clarify that stdlib 3 supports Puppet 3
2df66c0
Merge branch 'maint/master/update_readme'
388cfa5
Merge branch '4.x'
d082046
(maint) Add Travis CI Support
9c97ab8
Merge branch 'feature/master/travis_ci'
cf261e2
Future proof travis build matrix
84f9ca2
Merge pull request #121 from jeffmccune/fix/master/travis
6d4ff99
Fix typo in travis configuration
2da85fa
Merge pull request #122 from jeffmccune/fix/master/travis
43a8cf5
Tell Travis CI to notify the PDC WebHook
dc04917
(maint) Update puppet version in Travis configuration
d674190
Merge pull request #123 from jeffmccune/feature/master/travis_webhook
20e0e07
Add getparam function to get defined resource parameters
offlinehacker 3118e64
Merge branch 'offlinehacker-feature/master/getparam_function'
9dfc583
Ignore bundler turds
2a28ece
(maint) Fix getparam() spec failure on MRI 1.8
2559be9
Merge branch 'fix/master/getparam_failure'
b3fc0a3
Add geppetto project definition
DavidS 562d325
Merge branch 'DavidS-master'
6902cc5
Add validate_cmd function
raphink f6a63ee
Merge branch 'raphink-validate_cmd'
bda25ac
validate_cmd: Make sure tmpfile is always closed and unlinked
raphink 3a97c23
Add validate_augeas function
raphink 41bc722
validate_augeas: Ensure augeas handler gets closed
raphink d568c4e
validate_augeas: Ensure tmpfile is closed and unlinked
raphink 35f9a01
validate_augeas: requires augeas
raphink c5f0309
Add an URL to a doc on how to activate augeas in puppet
raphink 4d24bd3
Merge branch 'raphink-validate_augeas'
5f22933
ammend .should raise_error to .to raise_error
8dd82d3
Merge branch 'stephenrjohnson-bug/master/15572_rspec_tests'
683ac8f
validate_cmd: Use Puppet::Util.execute
raphink 69248df
validate_cmd(): Use Puppet::Util::Execution.execute when available
raphink 3cef5d9
(#19201) Add concat function to join two arrays
15266d9
Merge branch 'fatmcgav-feature_19201'
36a7b29
Merge branch 'pull-126'
adrienthebo 95cf3fe
(#19272) Add has_element() function
f7a1818
Merge pull request #130 from jhoblitt/has_element
a45d4f1
Revert "Merge pull request #130 from jhoblitt/has_element"
5b81c26
Merge branch '4.x'
9a06f11
Merge branch '4.x'
a1510a1
Add missing documentation for validate_augeas and validate_cmd to REA…
raphink d479df6
Merge pull request #132 from raphink/dev/missing_doc
adrienthebo 96e19d0
Add contributing document
5a11279
Fix number of arguments check in flatten()
6dfd7f6
Merge branch '4.x'
adrienthebo 961dcab
(#13610) Add is_function_available to stdlib
fc2352f
Merge branch 'pull-59'
adrienthebo 0527341
Add floor function implementation and unit tests
willaerk 893e610
Merge pull request #135 from willaerk/master
adrienthebo 92e5960
(19864) Enable num2bool to accept numeric input
hakamadare 88a93ac
add suffix function to accompany the prefix function
floatingatoll a83318d
prefix: fix doc typo Examles -> Examples
floatingatoll 29402f3
(maint) better error reporting for prefix and suffix
adrienthebo f0db049
Merge branch 'pull-138'
adrienthebo 4078a6f
Merge branch '4.x'
adrienthebo 5f3e944
ignoring rspec fixtures directory
hakamadare fdadb96
ignoring rspec fixtures directory
hakamadare 84d1e05
Merge branch 'master' of github.com:hakamadare/puppetlabs-stdlib
hakamadare ac6919d
(19864) Enable num2bool to accept numeric input
hakamadare 41b07cd
Reworked number-handling logic
hakamadare 73f91ae
Merge branch '19864_num2bool_match_fix' of github.com:hakamadare/pupp…
hakamadare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ def publicize_methods(*methods) | |
self.class_eval { private(*saved_private_instance_methods) } | ||
end | ||
end | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,3 @@ | |
end | ||
|
||
end | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,3 @@ | |
end | ||
end | ||
end | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to cast a number to a string and do a regex on it, but we already have the number. It would be better to check of
arguments[0]
is a number and if so do the logic on that number.