Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-10-01 Thread Kurt Wall (JIRA)
Title: Message Title










 

 Kurt Wall updated an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Kurt Wall




QA Status:

 Reviewed












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










As Andy points out, .3 and 5. have never been supported by the language, and are not specified to work in Puppet 4.0. It is unlikely that these will be supported in the future.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










Peter Huene, I believe .2 and 5. are not valid numbers in the puppet language. The specification defines the string->numeric conversion on the basis of what is a valid number in the puppet language (plus the sign as an extra item).












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Josh Cooper (JIRA)
Title: Message Title










 

 Josh Cooper updated an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Josh Cooper




Assignee:

 Peter Huene












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Peter Huene (JIRA)
Title: Message Title










 

 Peter Huene commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










I've confirmed the issue of not treating a trailing or leading period as a floating point value isn't a regression and unrelated to this fix anyway. It's also a simple work around for users to have to slap in a 0, but is that something we want to fix in the spec for 4 Andy Parker or Henrik Lindberg?












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Peter Huene (JIRA)
Title: Message Title










 

 Peter Huene commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










One thing to note is that we do not consider a trailing or leading decimal place to be valid with an assumed 0:
"2." is not numeric, neither is ".5".












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Peter Huene (JIRA)
Title: Message Title










 

 Peter Huene commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










This is looking good in "pre-FR". I tested with and without whitespace before '-' and '+', decimal, hexadecimal, octal, floating point, and invalid characters.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-25 Thread Peter Huene (JIRA)
Title: Message Title










 

 Peter Huene assigned an issue to Peter Huene











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Peter Huene




Assignee:

 Peter Huene












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










Specification updated in commit 43bd2e












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










Merged into master in 289bfa












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Henrik Lindberg











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Assignee:

 Andy Parker Henrik Lindberg












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Andy Parker











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Assignee:

 Andy Parker












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










that, and I think that the ^ and $ should be changed to \A and \z. That is actually what the rest of the regexes in that file use.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










We should use [[:blank:]]












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










Oh no... \s includes newlines, not just spaces... the intent is to allow '- 1' and '-\t1' etc. to both be interpreted as -1, also accepting newline was a surprise.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Henrik Lindberg











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Assignee:

 Andy Parker Henrik Lindberg












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










Failing code review because the change in PR-2700 right now allows some really strange behavior for converting strings to numbers when multiple lines are present in the string.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Andy Parker











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Assignee:

 Andy Parker












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-23 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Sprint:

 Week 2014-6- 25 18  to 2014- 7 6 - 2 25












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-18 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Sprint:

 Week 2014-6- 18 25  to 2014- 6 7 - 25 2












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-06-17 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Andy Parker




Sprint:

 Week 2014-6-18 to 2014-6-25












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-05-27 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg assigned an issue to Henrik Lindberg











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Change By:

 Henrik Lindberg




Assignee:

 Andy Parker Henrik Lindberg












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-05-27 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue











 






  Re: Allow string to numeric conversion to start with + or - 










This functionality should be the same as the future "value of" function that takes a type and a string to convert into an instance of the given type.












   

 Add Comment











 













 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 







 The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2663) Allow string to numeric conversion to start with + or -

2014-05-27 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg created an issue











 






 Puppet /  PUP-2663



  Allow string to numeric conversion to start with + or - 










Issue Type:

  New Feature




Assignee:

 Andy Parker




Components:


 DSL




Created:


 27/May/14 5:22 AM




Fix Versions:


 3.7.0




Priority:

  Normal




Reporter:

 Henrik Lindberg










The automatic string to numeric conversion should handle a leading + or - in the converted string to set the resulting sign of the numeric value.












   

 Add Comment