rxi
d8027db54d
Version 2.2.0
2015-07-31 18:58:24 +01:00
rxi
6bff74e856
Changed lume.round() such that 0 results in 0 rather than -0
2015-05-12 20:30:05 +01:00
rxi
037f5e3325
Missing '.' in README
2015-05-09 15:44:52 +01:00
rxi
6dec4a8f56
Added lume.pick() to README
2015-05-09 15:42:38 +01:00
rxi
044141fefa
Added lume.pick() and tests
2015-05-09 15:40:53 +01:00
rxi
e0d55c8446
Fixed lume.color example in README
2015-05-09 15:21:08 +01:00
rxi
84e23cb82c
Added README section for lume.color()
2015-05-09 15:19:38 +01:00
rxi
a753f6e9a2
Added function lume.color() and tests
2015-05-09 15:12:52 +01:00
rxi
9b48d704d2
Removed unused function iternil()
2015-05-09 14:30:32 +01:00
rxi
6c350d81d9
Removed support of nil in lume.ripairs(), updated tests
2015-05-09 14:29:56 +01:00
rxi
300f47456f
Improved description of lume.extend() in README
2015-05-09 14:27:38 +01:00
rxi
cb95fea004
Missing language hint on lume.extend's README example
2015-05-05 19:37:52 +01:00
rxi
2e00c753d8
Added function lume.extend(), updated README and tests
2015-05-05 19:32:46 +01:00
rxi
fce4a5e5df
Updated test for lume.wordwrap()
2015-05-05 19:13:38 +01:00
rxi
b25fee071f
Changed lume.wordwrap() to better retain existing whitespace
2015-05-05 19:12:41 +01:00
rxi
a6744d4ab3
Version 2.1.0
2015-02-28 21:03:42 +00:00
rxi
c3c2d31d37
Changed lume.reduce() to support non-array tables, updated tests
2015-02-24 21:02:04 +00:00
rxi
886bd43bce
Changed getiter() to disallow nil values
2015-02-24 20:42:44 +00:00
rxi
976f813de9
Fixed example mistake in reject()'s README section
2015-02-20 19:52:10 +00:00
rxi
7911d62c53
Updated Iteratee functions part of README for lume.reject()
2015-02-20 19:27:34 +00:00
rxi
b1c9e3ec2e
Changed lume.filter()'s implementation to mimic lume.reject()
2015-02-20 19:24:48 +00:00
rxi
48a4b43640
Added lume.reject(), updated tests and README.md
2015-02-20 19:22:42 +00:00
rxi
63e6d1daed
Small fix to iteratee functions README section
2015-02-14 16:09:43 +00:00
rxi
685b7dc9c4
Added iteratee functions section to README
2015-02-14 16:02:40 +00:00
rxi
d2b26fa681
Changed lume.clear() to return the table, updated doc & tests
2015-02-08 15:13:05 +00:00
rxi
0a84bcd0d6
Fixed internal func isarray()
2015-02-08 15:01:17 +00:00
rxi
8e0b2d2ef8
Updated lume.push()'s README section
2015-02-07 23:04:23 +00:00
rxi
f27b15f9a2
Added tests for lume.remove()/lume.push() return values
2015-02-07 22:59:38 +00:00
rxi
abecb5b718
Updated README.md with new functions
2015-02-07 22:57:49 +00:00
rxi
fa85f83d70
Added lume.clear() and tests
2015-02-07 22:51:28 +00:00
rxi
14b9ee0ca2
Added lume.remove() and tests
2015-02-07 22:48:58 +00:00
rxi
3bec7b356d
Added lume.push(), updated tests
2015-02-07 22:38:08 +00:00
rxi
9cdbc27b66
Minor optimisations to lume.combine(), updated tests
2015-02-05 21:32:21 +00:00
rxi
c6ab30cf7d
Version 2.0.0
2015-01-24 15:21:35 +00:00
rxi
c07194490b
Updated license copyright year
2015-01-24 15:20:58 +00:00
rxi
5305cb34c8
Lua 5.3 compatibility fixes
2015-01-12 19:51:24 +00:00
rxi
f7b3eb64bb
Fixed typo in lume.sort()'s README section
2015-01-11 15:27:06 +00:00
rxi
edd7c99382
Added lume.ripairs() function, updated README and tests
2015-01-11 14:58:57 +00:00
rxi
c773acdcf4
Removed retainkeys argument from lume.set()
2015-01-11 14:33:56 +00:00
rxi
756d30416d
Added lume.wordwrap(); updated README.md and tests
2015-01-10 21:53:52 +00:00
rxi
9b5abf3d58
Changed lume.merge() functionality, updated README and doc
...
- The old functionality of lume.merge() is now spread across
lume.merge() (for tables) and lume.concat() (for arrays). Both these
functions create new tables rather than operating in-place
- Changed lume.fn() to use lume.concat() internally
2015-01-10 17:31:35 +00:00
rxi
397dce4c5e
Added lume.concat(), updated README and tests
2015-01-10 17:13:15 +00:00
rxi
ce86f4b0ea
Fixed nil iterator in internal getiter()
2015-01-10 17:08:14 +00:00
rxi
c565f0739b
Fixed lume.call() section of README.md
2015-01-10 16:56:32 +00:00
rxi
7a0f5a0831
Added lume.sort(), updated tests & README
2015-01-10 16:54:23 +00:00
rxi
b873c043c5
Added lume.call(), updated tests and README
2015-01-10 16:29:13 +00:00
rxi
4373a202dc
Changed lume.shuffle() to not operate in-place, updated doc + tests
2015-01-10 16:24:31 +00:00
rxi
ac10d54b47
Changed internal func isarray() to handle nil
2015-01-10 14:32:58 +00:00
rxi
067e58b30f
Changed lume.count() to return length if table is array
2015-01-10 14:31:55 +00:00
rxi
a42cbb12f0
Changed all applicable functions to use iter func based on table
2015-01-10 14:23:25 +00:00
rxi
0c21cfcf5b
Updated lume.each() to use iter func based on table type
2015-01-10 14:13:07 +00:00
rxi
0e4256ef0d
Version 1.5.0
2014-12-21 12:25:38 +00:00
rxi
bcad07fc5f
Added explanation of calling lume() to the README
2014-12-13 01:00:47 +00:00
rxi
8f1267f967
Added lume.first() and .last(), updated README.md and tests
2014-12-12 21:33:41 +00:00
rxi
de37bd6d65
Added lume.keys() and tests, updated docs
2014-12-12 20:40:25 +00:00
rxi
ac920c8f5e
Fixed lume.invert test name
2014-12-12 20:28:48 +00:00
rxi
5d258d4fd0
Made calling lume table an alias to calling lume.chain()
...
Updated tests
2014-12-12 20:25:54 +00:00
rxi
df26e7939d
Added tests for funcitons which now use iteratee()
2014-12-12 20:22:29 +00:00
rxi
16e370cdf0
Changed all applicable functions to use iteratee() internally
2014-12-12 19:45:22 +00:00
rxi
0b991d7ea5
Added identity() and iteratee() local funcs
2014-12-12 18:56:13 +00:00
rxi
f6174a4b68
Version 1.4.1
2014-07-17 22:02:39 +01:00
rxi
d99bf9549a
Removed unnecessary pack & unpack from lume.array()
2014-06-16 21:07:40 +01:00
rxi
0cc52cd24e
Version 1.4.0
2014-05-18 08:46:28 +01:00
rxi
0a8258d608
Made some minor formatting changes
2014-05-07 08:21:36 +01:00
rxi
95c3f8960d
Merge pull request #3 from icrawler/Dev2
...
Stripped all trailing whitespace, changed ease function, and pre-computed po2
2014-05-07 08:18:22 +01:00
rxi
5ab25046a2
Renamed local memoize_nilkey -> memoize_nil
2014-05-01 21:27:57 +01:00
rxi
3f61d823ae
Changed position of lume.time() function
2014-05-01 19:23:44 +01:00
rxi
0716caf6a1
Added lume.memoize(), updated README.md and tests
2014-05-01 18:58:29 +01:00
rxi
6a160a3afe
Fixed iscallable() to handle the lack of metatable properly
2014-04-28 12:52:29 +01:00
rxi
fff0d780bb
Updated README.md and tests for lume.combine()
2014-04-28 12:48:44 +01:00
rxi
283f7ee787
Changed lume.combine() to ignore nil args
2014-04-28 12:46:58 +01:00
rxi
076ca7972c
Version 1.3.1
2014-04-23 20:11:00 +01:00
rxi
c2311f9821
Added missing tostring() call on args in lume.trace()
2014-04-19 09:06:33 +01:00
rxi
beced85d6b
Updated test for lume.trace()
2014-04-18 19:16:33 +01:00
rxi
8a2765a41b
Fixed lume.trace() to handle and print nil argument
2014-04-18 19:15:13 +01:00
rxi
09847bd266
Version 1.3.0
2014-04-17 20:52:54 +01:00
rxi
841cee30e1
Added another test for lume.slice()
2014-04-17 12:30:19 +01:00
rxi
cd3c0a1eea
Made callable tables be accepted as functions
2014-04-17 12:13:50 +01:00
rxi
3190d65130
Removed use of math.min and math.max in lume.slice()
2014-04-17 12:07:59 +01:00
rxi
c7471b32fb
Changed lume.uuid() to use local math_random()
2014-04-05 23:08:03 +01:00
rxi
bb56f1ce3a
Added missing comment for lume.uuid func in test_lua.lua
2014-04-05 16:37:05 +01:00
rxi
098754056a
Added tests for lume.chain()
2014-04-05 16:35:53 +01:00
rxi
330779fb0f
Added lume.chain(), added section to README.md
2014-04-05 16:30:10 +01:00
rxi
acdb58a447
Added lume.uuid(), tests and README.md section
2014-04-05 14:41:31 +01:00
rxi
88b428cb4d
Added lume.count() to README.md
2014-04-05 12:21:36 +01:00
rxi
fdf01937e2
Added lume.count() function and tests
2014-04-05 12:11:41 +01:00
rxi
3a4ce4fe3b
Added type check in lume.fn() and additional tests
2014-04-04 18:38:36 +01:00
rxi
1a087efe99
Added lume.match() to README.md
2014-04-04 18:21:21 +01:00
rxi
9a82d6318e
Added tests for lume.match()
2014-04-04 18:09:23 +01:00
rxi
30991649f8
Added lume.match()
2014-04-04 18:08:39 +01:00
rxi
dbd93b3861
Moved position of lume.combine() in readme and other files
2014-04-03 20:17:31 +01:00
rxi
8311519e3f
Added test for lume.combine() to test_lume.lua
2014-04-03 20:10:08 +01:00
rxi
82c697b08e
Added lume.combine() to README.md
2014-04-03 20:09:56 +01:00
rxi
5db6be936a
Added lume.combine() function
2014-04-03 20:09:40 +01:00
rxi
335b928cae
Removed function in lume.slice()
...
Moved the function index() from lume.slice()'s body to local var
absindex, this improves the performance of lume.slice() on luajit
significantly and improves it to a lesser extent on non-jit lua.
2014-04-01 20:16:39 +01:00
rxi
94977b4f7e
Updated test for lume.trace()
2014-03-30 18:38:45 +01:00
rxi
e6246834b7
Changed lume.trace() to round numbers to 2 decimal places
2014-03-30 18:31:14 +01:00
rxi
9bf2d24ee2
table.unpack() is now used if unpack() is not available.
2014-03-29 10:02:48 +00:00
rxi
89931c1ad8
Version 1.2.1
2014-03-27 17:57:19 +00:00
rxi
9ff4637201
Moved shared code of lume.split/trim() to local func
2014-03-19 21:05:34 +00:00