Commit graph

391 commits

Author SHA1 Message Date
Peter Camilleri
487f9b9a3b More string formatting tests. 2016-02-08 11:04:24 -05:00
Peter Camilleri
7dd663a81c Added the parse and p" methods to String. 2016-01-28 17:00:07 -05:00
Peter Camilleri
550f8b0ca2 Added .put_all and .append_all to OutStream. 2016-01-27 12:40:57 -05:00
Peter Camilleri
4a9cf22d81 Added better comment to test helper fOOrth file. 2016-01-23 12:49:27 -05:00
Peter Camilleri
f295bb85ad Created a test that exposes a bug in string parsing. 2016-01-22 21:42:31 -05:00
Peter Camilleri
f0425a085f Updated time/date testing for new year. 2016-01-14 15:28:00 -05:00
Peter Camilleri
3ee617164e Added .shell_out to String class. 2015-12-04 15:15:28 -05:00
Peter Camilleri
d3d70b5de2 Fixes to time tests. 2015-11-11 17:17:33 -05:00
Peter Camilleri
d8815ff133 Added default capabilities to the Hash class. 2015-08-25 11:24:24 -04:00
Peter Camilleri
fa10be730e Added default support to the Hash class. 2015-08-24 19:15:35 -04:00
Peter Camilleri
d2692cb4ff Added the Array dequeue methods. 2015-08-21 15:35:43 -04:00
Peter Camilleri
9e9e94a5e3 Added .^mid and .^midlr methods to Array. 2015-08-20 16:06:39 -04:00
Peter Camilleri
feac5295e9 Added the .^right method to Array. 2015-08-20 15:47:31 -04:00
Peter Camilleri
1a6bd9b849 Added Array .^left method. 2015-08-20 15:36:08 -04:00
Peter Camilleri
711f8ae053 Redesigned .map{{ ... }} and .select{{ ... }} for hashes to return hashes.
Updated UG for Hash class.
2015-08-20 12:46:30 -04:00
Peter Camilleri
32028e10ac Hash compatibility updates. 2015-08-19 20:20:58 -04:00
Peter Camilleri
9bf4e18913 Array updates 2015-08-19 19:54:31 -04:00
Peter Camilleri
cfbc07589e Renamed False, True, and Nil classes to remove the superflous Class suffix. 2015-08-19 16:30:11 -04:00
Peter Camilleri
de1cfb3392 Added the vm class method to VirtualMachine to get the current vm or create
one if needed. Started UG add of Appendix D - The fOOrth API.
2015-08-16 14:22:56 -04:00
Peter Camilleri
4b99b8f03c Integer, Object, and String fixes. 2015-08-11 11:22:50 -04:00
Peter Camilleri
a5b095009d Duration fixes. 2015-08-10 18:31:46 -04:00
Peter Camilleri
2b1b534d19 Time fixes 2015-08-10 17:59:03 -04:00
Peter Camilleri
8feadc30ab Numeric fixes. 2015-08-10 16:34:43 -04:00
Peter Camilleri
9adf897a98 Array fixes done, UG updated. 2015-08-10 12:16:49 -04:00
Peter Camilleri
d50b0643f6 Array fixes for .right, .mid, and .midlr families. 2015-08-09 19:08:08 -04:00
Peter Camilleri
3a40f7b3e2 Array fixes for new and left method families. 2015-08-08 19:36:42 -04:00
Peter Camilleri
ba389ba08e UG update; Enhance .gather error messages. 2015-07-28 13:26:52 -04:00
Peter Camilleri
cf67bd8122 Added scatter gather support. 2015-07-28 12:46:05 -04:00
Peter Camilleri
303da0f66a UG update; Seconds now format as a float. 2015-07-24 15:06:12 -04:00
Peter Camilleri
1804a3b457 Corrected the .seconds method to be a float. Added further testing. 2015-07-22 18:27:44 -04:00
Peter Camilleri
fae398d14f Added brief format for Duration. 2015-07-20 16:41:25 -04:00
Peter Camilleri
fdc0dad804 Updates to the Time class to improve intercation with Duration class. 2015-07-20 13:34:45 -04:00
Peter Camilleri
00f6116a9a Redesigned intervals to VmSpec and better names. 2015-07-20 12:00:58 -04:00
Peter Camilleri
2ac0878346 Added tests for interval constants being durations. 2015-07-20 11:14:12 -04:00
Peter Camilleri
a37d7d996b Added basic arithmetic ops to duration class. 2015-07-19 15:07:18 -04:00
Peter Camilleri
a7fc8f06a2 Duration formatting. 2015-07-18 13:17:21 -04:00
Peter Camilleri
fd000f6ce0 Duration formatting progress. 2015-07-17 17:53:54 -04:00
Peter Camilleri
7bc38686ba Fixed alignment of error output to make it easier to spot problems. 2015-07-17 15:39:16 -04:00
Peter Camilleri
c38249840c Added year label format specifiers. 2015-07-17 13:12:33 -04:00
Peter Camilleri
bfeeddc93e Duration class work, reek/rdoc fixes 2015-07-16 17:05:47 -04:00
Peter Camilleri
905ab67e7c Upgraded to reek 3.04. Backed off making Duration act like a numeric. Now
math on duration objects yields rationals that may be converted back to
duration objects if needed.
2015-07-15 15:59:32 -04:00
Peter Camilleri
7bb385abc7 Duration, math issues still... 2015-07-14 19:13:42 -04:00
Peter Camilleri
cb50266e4f Duration, added as_xxx, and intervals now rationals. 2015-07-13 13:27:11 -04:00
Peter Camilleri
7d490f8624 Duration, integer interval access. 2015-07-12 21:34:28 -04:00
Peter Camilleri
edd703d4b0 Added the .to_a method to Duration. 2015-07-12 09:26:22 -04:00
Peter Camilleri
80bd492ee3 Corrected a bug in converting array to duration. 2015-07-11 22:49:51 -04:00
Peter Camilleri
68de808c3a Added .to_a and .to_duration between Array/Duration. 2015-07-11 19:02:27 -04:00
Peter Camilleri
79a2fc3ea9 Corrected behavior of safe_rationalize for nil input. 2015-07-11 19:01:34 -04:00
Peter Camilleri
1990aab190 Refactored .to_d etc to .to_duration etc to avoid conflict with a
possible future big decimal class.
2015-07-11 13:28:48 -04:00
Peter Camilleri
9d69257e96 Added the ,largest)interval method to Duration. Minor cleanup. 2015-07-09 23:26:11 -04:00