summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-30Added Apache license.Ken Barber
2011-04-30Change README.Ken Barber
2011-04-30Convert to module format.Ken Barber
2011-04-30Add number of stub code for future functions.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30First version. Simple swapcase function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Making sure that the function hash will also work on older Rubies.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Add number of stub code for future functions.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30First version. Simple hash function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Change boolean detecion from string to make entire function more robust.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Changed wording of the note in the comment.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Small re-factor. Remove not needed complexity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added body of the function flatten.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to improve code clarity. ChangedKrzysztof Wilczynski
wording of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to improve code clarity. Added TODOKrzysztof Wilczynski
for future reference. Changed wording of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added TODO for future reference.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to make code more clear. Plus a variableKrzysztof Wilczynski
name change for simplicity. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Small change to code formatting.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added comment line.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added comment line.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Corrected function name from chop to strip. Moved to unless from if notKrzysztof Wilczynski
to improve code clarity. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Function has now more robust error detection.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Now prefix will convert everything into string which is the sameKrzysztof Wilczynski
as join would do. Also function is now more robust in error detection. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added ability to flatten the resulting array in the function zip.Krzysztof Wilczynski
This would allow for creating hashes on the fly from two arrays. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not and changed wording of few error messages.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not plus removed surplus empty lines.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not and removed TODO.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not for code clarity and changed wordingKrzysztof Wilczynski
of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Adding support for hash and string to the function count.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Small re-factor. Changed if not to unless for code clarity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Small re-factor. Changed if not to unless for code clarity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor changes.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Changed wording in the error message.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Removing old file includes.rbKrzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Renaming the file from includes.rb to member.rb.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Renaming from includes to member in order to avoid confusion andKrzysztof Wilczynski
possibility of a clash with Puppet built-in function include. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor change.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Added check to ensure that given fact name is a string.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor changes.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple str2bool function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Reverting name back to bool2num.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Added proper handling of both FalseClass and TrueClass. We alsoKrzysztof Wilczynski
return real integer values now over string-encoded integers. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Added FalseClass and TrueClass to be identified as Boolean to the type function.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Adding TODO for future reference.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Adding support for strings to the the function unique.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Make sure that we have string-encoded integer value.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Adding support for strings and hashes to the function empty.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple chomp function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple chop function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple lstrip function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple rstrip function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>