Commit Graph

126 Commits

Author SHA1 Message Date
Andreas Hofer
2a5205e53c fix problem with escaping zero and other control characters 2016-03-30 19:33:20 +02:00
kikito
a998635207 bumps version to 3.0.3 and updates changelog 2016-03-06 17:15:06 +01:00
kikito
5673f2364d Stops relying on rawlen/# to calculate the length of the sequence part of a table
Fixes #24
2016-03-06 17:06:14 +01:00
kikito
74643aea09 updates travis to include coverage & static analysis 2016-03-06 16:08:55 +01:00
kikito
0d468cb70b adds new rockspec file 2015-11-28 14:11:41 +01:00
kikito
a23e03d037 bumps version to 3.0.2 2015-11-28 14:10:17 +01:00
Enrique García
efa8b85ab1 Merge pull request #23 from mpeterv/fix-weak-tables
Do not allow collecting weak tables while they are being inspected
2015-11-28 14:07:35 +01:00
mpeterv
daaefbd870 Do not allow collecting weak tables while they are being inspected
Fixes #22
2015-11-27 14:53:56 +03:00
kikito
2213313a94 add new rockspec 2015-11-21 17:26:31 +01:00
kikito
d4efbb9ee4 bump version to 3.0.1 2015-11-21 17:23:34 +01:00
kikito
e9dc27ab6e Adds a test for __len and uses _G.rawlen instead of rawlen to avoid warnings 2015-11-21 17:19:53 +01:00
Enrique García
144dec31f7 Merge pull request #21 from Nymphium/get_t_length_with_rawlen
avoid __len metamethod
2015-11-21 17:17:13 +01:00
kikito
4f9761b631 fixes __len issue using rawlen instead of #t in a couple places 2015-11-21 17:13:48 +01:00
kikito
162d497b0d second attempt at fixing travis 2015-11-21 17:10:23 +01:00
kikito
f01a007c91 attempts to fix failing travis 2015-11-21 17:08:09 +01:00
kikito
387a2f683a adds test for rawlen 2015-11-21 17:04:28 +01:00
nymphium
3392fa6314 just use # for Lua 5.1 2015-11-20 23:51:44 +09:00
kikito
3d27a547e0 uses hererocks in travis 2015-11-13 22:11:17 +01:00
nymphium
6c1a22c207 implement simple rawlen function for Lua 5.1 2015-11-13 05:58:04 +09:00
nymphium
ec524dfc6a avoid __len metamethod 2015-11-13 05:35:01 +09:00
Enrique García
96a1e6cc6f Merge pull request #19 from mpeterv/fix-spec
Fix order of arguments in assertions
2014-11-19 17:59:18 +01:00
Enrique García
47e186d1e2 Merge pull request #18 from mpeterv/remove-redundant-function
Remove redundant `escapeChar` function
2014-11-19 17:57:37 +01:00
mpeterv
373d56d4be Fix order of arguments in assertions
The first argument must be the expected value, the second - the actual one.
2014-11-18 20:02:55 +03:00
mpeterv
b2217c6806 Remove redundant escapeChar function
`string.gsub` can accept a table as the third argument, no need to wrap it
in a function.
2014-11-18 19:42:53 +03:00
kikito
54d2c28c7a changelog moved to its own file 2014-09-21 11:39:20 +02:00
kikito
8df8cd8b33 upped version. Fixes #17 2014-09-21 11:27:36 +02:00
Enrique García
334e5cb68f Update README.md 2014-09-20 16:14:47 +02:00
Enrique García
0997a4e846 Update README.md 2014-09-20 10:51:01 +02:00
kikito
cdaefcf744 rockspec for inspect 3.0 2014-09-19 23:05:04 +02:00
kikito
e4a9c872b4 remove redundant describe block 2014-09-19 22:56:57 +02:00
kikito
f153849088 remove unused values & params 2014-09-19 22:54:35 +02:00
kikito
3eb9c65c7b fix inconsistent var name 2014-09-19 22:52:10 +02:00
kikito
182e6f28c1 Fix float keys being masked in tables with array elements 2014-09-19 22:50:48 +02:00
kikito
99deb522f8 refactor out commacontrol method 2014-09-19 22:35:07 +02:00
kikito
e35338984d Touch stuff about license. Add change log 2014-09-15 10:51:02 +02:00
kikito
103e8e843d Remove deprecated stuff from read me 2014-09-15 10:49:48 +02:00
kikito
c22d3381e7 Fix process example in README 2014-09-15 10:49:12 +02:00
kikito
33af4ee2ea update travis 2014-09-13 14:44:56 +02:00
kikito
99e8c03959 newline & indent options 2014-09-13 12:33:20 +02:00
kikito
9054ee1051 <key>, <metatable> -> inspect.KEY, inspect.METATABLE 2014-09-13 12:12:41 +02:00
kikito
1fb5373a45 Use '<key>' and '<metatable> on keys correctly 2014-09-12 15:36:38 +02:00
kikito
b9b780caad unindent in specs 2014-09-07 22:32:31 +02:00
kikito
9ce951f6af updated readme with wishes 2014-09-07 17:54:37 +02:00
kikito
d07147ed54 transform back into metatable-based object-orientation 2014-08-21 20:15:25 +02:00
kikito
2961caa14a process option handles keys as well as items 2014-08-16 19:44:35 +02:00
kikito
5ecaca9205 better test names 2014-08-16 16:50:29 +02:00
kikito
e74c899b7d refactor processRecursive 2014-08-16 16:35:24 +02:00
kikito
a1b30ad8a3 process now handles most values. But what to do with keys? 2014-07-06 18:44:31 +02:00
kikito
7195bfa423 remove filter option 2014-07-06 17:24:37 +02:00
Enrique García
e67a7471d4 Merge pull request #14 from ignacio/patch-1
README still mentions telescope instead of busted
2014-03-16 04:08:55 +01:00