Mayank Jain
4695c96998
Add cljs tests to travis
...
* Add lein-doo plugin to run cljs tests. This is the new recommended
approach.
* Update project.clj to add cljsbuild config
* Update .travis.yml file to run cljs tests as well.
* Also to speed up travis builds add ~/.m2 dir in cache
To run do:
$ lein do javac, doo phantom test-build once
Note that you'll need phantomjs installed for above to work.
2017-03-11 02:31:10 +05:30
nathanmarz
6b080a2575
update test.check to 0.9.0
2017-03-10 12:32:02 -05:00
nathanmarz
b13b8d3c35
add remove with NONE functionality to FIRST and LAST
2017-03-01 10:40:17 -05:00
nathanmarz
2504b7849a
add specialized MAP-KEYS navigator
2017-02-28 15:55:25 -05:00
nathanmarz
e7b595c4ca
fix issue with NONE-ELEM on nil value
2017-02-17 17:54:11 -05:00
nathanmarz
ef5ad1de6d
fix transforms on subvectors to maintain the type as a vector type
2017-02-17 12:05:12 -05:00
nathanmarz
b79a71decd
Add BEFORE-ELEM, AFTER-ELEM, and NONE-ELEM navigators
2017-02-15 20:34:44 -05:00
nathanmarz
7c798c1e3b
extend srange, BEGINNING, END, FIRST, and LAST to strings
2017-02-15 18:30:44 -05:00
nathanmarz
48efea55ab
Added NAME and NAMESPACE navigators
2017-02-14 08:47:19 -05:00
nathanmarz
3dbc775334
fix if-path/selected?/not-selected? so that vals are passed along to condition paths
2017-02-14 08:25:54 -05:00
nathanmarz
baf658365e
add test for select-any with value collection
2017-02-14 08:11:39 -05:00
nathanmarz
646e03a227
Add nthpath navigator
2017-02-12 21:13:08 -05:00
nathanmarz
e2b6f63f99
fix traverse with early termination to unwrap reduced vals
2017-02-12 15:24:13 -05:00
nathanmarz
3693d307fc
fix traverse-all to properly propagate reduced vals, add tests
2017-02-12 11:37:14 -05:00
nathanmarz
f521409482
add with-fresh-collected higher order navigator
2017-02-11 08:56:45 -05:00
nathanmarz
9505ac6dd1
Implement #165
2017-01-08 19:15:14 -05:00
nathanmarz
3dfda1e293
finish unit tests for #117
2017-01-08 17:48:49 -05:00
nathanmarz
b127a6c428
add basic NONE removal tests
2017-01-08 17:39:15 -05:00
Nathan Marz
0ddb811326
add traversed test
2016-11-07 11:17:36 -05:00
Nathan Marz
dfedd30b29
Implemented #146 , dynamic navigator enhancements
2016-10-31 23:57:12 -04:00
Nathan Marz
ce38883e64
fix flattening/type-conversion of sequential params during inline caching
2016-10-29 16:02:56 -04:00
Nathan Marz
ea1f851d94
Fix #148
2016-10-02 07:48:53 -04:00
Nathan Marz
2e85cedcc4
merge macros namespace into core com.rpl.specter namespace
2016-09-05 07:48:05 -04:00
Nathan Marz
37d985e5f0
added test for nested dynamic navs
2016-09-02 08:47:24 -04:00
Nathan Marz
0c50e1859d
fix + test for when dynamic navs ignore dynamic params
2016-09-02 08:41:02 -04:00
Nathan Marz
939378fcd1
fix transformed, all tests passing
2016-09-01 22:16:39 -04:00
Nathan Marz
c80bf573a5
updated tests, lots of errors
2016-09-01 20:32:38 -04:00
Nathan Marz
21f117503e
allow non-dynamic vars to be treated as constants and add test for constant detection
2016-08-13 15:59:38 -04:00
Nathan Marz
ac3f604211
reformat code with parinfer
2016-08-11 10:13:27 -04:00
Nathan Marz
74f38d93a9
switch from cljx to cljc
2016-08-06 10:40:45 -04:00
Nathan Marz
56da47aca5
generate a real higher order function from defnav and defcollector that returns a lean compiled path when invoked but coerces to equivalent paramsneededpath when composed, change nav constructors to recognize this and use a lean proxy for this case
2016-08-05 17:59:12 -04:00
Nathan Marz
b060339573
major optimization to multi-path by removing sequence operations at runtime
2016-06-23 12:35:47 -04:00
Nathan Marz
1497aacf59
fix tests for cljs
2016-06-23 12:30:17 -04:00
Nathan Marz
7dcc589495
added multi-transform tests
2016-06-23 11:56:29 -04:00
Nathan Marz
a8f48baced
add vals collection + setval test, update changelog
2016-06-22 21:17:02 -04:00
Nathan Marz
9ff9ef6650
Fix #128
2016-06-21 18:38:00 -04:00
Nathan Marz
ba908284b9
tests for multi-path and if-path with vals collection
2016-06-16 09:52:41 -04:00
Nathan Marz
66f555ab73
fix multi-path + val collection and minor problem in if-path
2016-06-16 09:42:24 -04:00
Nathan Marz
8c128816f5
get macroexpansion for clojurescript working correctly so that collected? works inside inline paths
2016-06-13 17:23:23 -04:00
Nathan Marz
c82c3b71d8
add note about not being able to use collected? inline in a path when using cljs, disable that test for cljs
2016-06-13 15:26:08 -04:00
Nathan Marz
a687f4a0bc
test for traverse + make it work in cljs
2016-06-13 14:51:20 -04:00
Nathan Marz
f26aa001eb
make MAP-VALS work on nil
2016-06-11 09:51:28 -04:00
Nathan Marz
589e6aa471
added a collected?/DISPENSE test case for transform path
2016-06-10 08:09:11 -04:00
Nathan Marz
3dc7ad25ff
added collected? and DISPENSE navigators
2016-06-10 07:57:18 -04:00
Nathan Marz
14c404c552
more tests for all/last/first on nil
2016-06-09 10:33:14 -04:00
Nathan Marz
4565a7e7d6
fail cljs build on any warnings, eliminate warning about com.rpl.specter.transient namespace by renaming to transients
2016-06-09 08:06:17 -04:00
Nathan Marz
98343784bf
fix end, last, beginning, and first to work on nil
2016-06-08 14:42:24 -04:00
Nathan Marz
9045e13386
merge
2016-06-08 13:58:15 -04:00
Alex Engelberg
fbb7a17197
Add META navigator, test case, and benchmarks
2016-06-08 08:18:10 -07:00
Nathan Marz
49957f2536
Merge pull request #107 from aengelberg/transient-navigators
...
Transient navigators
2016-06-08 05:48:51 -04:00