140 Commits

Author SHA1 Message Date
Zhigang Fang
754deaf36a Update package.json 2014-08-11 13:49:59 +08:00
Zhigang Fang
d607279b32 Update package.json v1.9.1 2014-08-11 13:37:13 +08:00
Dan Hough
81234cbf8a Ah forgot to bump version. Fail. v1.9.0 2014-08-09 16:06:24 +01:00
Dan Hough
b063e6f179 Markdown fail. 2014-08-09 16:03:56 +01:00
Dan Hough
7176719626 Travis badge works! 2014-08-09 16:02:57 +01:00
Dan Hough
e509776756 Trying to fix travis 2014-08-09 15:58:35 +01:00
Dan Hough
a2cc2a8cb4 Improved CRUD example yet again 2014-08-09 15:45:32 +01:00
Dan Hough
5014d9c2e4 Updated example, shortened readme and links to wiki. Removed dependency. 2014-08-09 15:39:59 +01:00
Dan Hough
635209e11a Fixed some readme stuff 2014-08-09 14:58:55 +01:00
Dan Hough
88342798f5 Updated deepmerge and crud example 2014-08-09 14:57:40 +01:00
Dan Hough
396d320efa Good example of creates and extends together 2014-08-09 14:42:42 +01:00
Dan Hough
13f95ce74f Added some explanation of the extends behaviour 2014-08-09 14:37:23 +01:00
Dan Hough
19cac85c84 Arrays are handled as expected by extends #23 2014-08-09 14:06:44 +01:00
Dan Hough
4223e8f5de Finally added LICENCE.md 2014-08-09 12:39:15 +01:00
Dan Hough
e1620fa85b Merged 2014-08-09 12:34:39 +01:00
Dan Hough
d675a2e950 Added to contributing file 2014-08-08 21:55:44 +01:00
Dan Hough
1727567661 Deleted unnecessary method 2014-08-08 21:35:31 +01:00
Dan Hough
41c16b5906 Added url require 2014-08-08 21:35:10 +01:00
Dan Hough
3863e30aab Fixed #25. This was a unix/windows path error. TLDR: / != \ Upped to V1.8.2
Conflicts:
	lib/server.js
2014-08-08 21:33:59 +01:00
Dan Hough
6eaf966853 Moved fluent tests to their own file and finished all the required modify stuff for #23 2014-08-08 21:23:53 +01:00
Dan Hough
afe3ca6469 #23 Moved the tests a bit. 2014-08-08 20:13:00 +01:00
Dan Hough
42b92e2f24 #23 Useful error messages when trying to do extra complex stuff covered by #26 2014-08-08 20:02:26 +01:00
Dan Hough
3d01dc2557 Middle of query 2014-08-08 19:08:24 +01:00
Dan Hough
bc60a81b82 #23 Can now modify response headers 2014-08-08 18:51:49 +01:00
Dan Hough
231b7faba7 #23 Proper delay support. Works for non-existant routes before they've been created 2014-08-08 18:35:29 +01:00
Dan Hough
ce19c8efe7 #23 Can now add delays 2014-08-08 18:27:37 +01:00
Dan Hough
9f09fffeef #23 Can now add delays 2014-08-08 18:23:17 +01:00
Dan Hough
5b5105248b #23 Modify now has its own method in the fluent interface. 2014-08-08 18:07:06 +01:00
Dan Hough
ddf40ca31b So confused 2014-08-07 22:26:41 +01:00
Dan Hough
b0117611a4 Made a badass test to check for some complex behaviour of creates following modifies 2014-08-07 17:43:37 +01:00
Dan Hough
bea658c172 Will now modify body after response is sent!! 2014-08-07 12:22:15 +01:00
Dan Hough
c6250f6b25 Can now modify a route, but only before it is called. Should only happen once call has happened 2014-08-07 12:05:46 +01:00
Dan Hough
839d2c948f Added a note. 2014-08-07 09:15:36 +01:00
Dan Hough
e5e9a941d9 Made good progress with modifies. Need to merge, not replace 2014-08-06 23:08:00 +01:00
Dan Hough
7b0e9fcead Successfully rearchitected. Need to do some comment adjustment now 2014-08-06 22:56:10 +01:00
Dan Hough
6745fb7306 Added Route class to separate stuff more cleanly 2014-08-06 17:43:35 +01:00
Dan Hough
892612d6b9 Fixed #25. This was a unix/windows path error. TLDR: / != \ Upped to V1.8.2 v1.8.2 2014-08-04 15:40:48 +01:00
Dan Hough
5cef1a6c60 Ah everything is broken. Turned routes into classes 2014-07-17 17:53:40 +01:00
Dan Hough
f267882a3c Almost there. Need to store routes as standalone things with state rather than as simple objects, and return them from the createroute method. 2014-07-10 19:51:14 +01:00
Dan Hough
9faf6b3589 Started with the MODIFIES stuff 2014-07-10 18:10:52 +01:00
Dan Hough
1e750b74b8 Took something from readme. Also travis. 2014-07-04 14:02:51 +01:00
Dan Hough
5922c5cd75 Bumped version v1.8.1 2014-07-03 17:42:45 +01:00
Dan Hough
87adbe9d09 Fixed #24 can now use other fluent methods after responseHeaders 2014-07-03 17:42:12 +01:00
Dan Hough
20006c6fae Upped v and updated readme v1.8.0 2014-06-20 12:58:23 +01:00
Dan Hough
e917ceac6a Merge branch '20-partial-request-match' of github.com:basicallydan/interfake into 20-partial-request-match 2014-06-20 11:16:16 +01:00
Dan Hough
219e5c935e Can now create partially-matched query string request endpoints. Closes #20 2014-06-20 11:14:57 +01:00
Dan Hough
54362db964 Fixed a bug where delay wasn't working in the fluent interface. Bumped v to 1.7.2 v1.7.2 2014-06-20 11:13:21 +01:00
Dan Hough
3d9c6ecc42 Can now create partially-matched query string request endpoints. Closes #20 2014-06-12 17:59:50 +01:00
Dan Hough
9d3732b6fb v1.7.1 Made root path work by more traditional methods v1.7.1 2014-06-06 10:13:39 +01:00
Dan Hough
484f0577d0 Merge branch 'master' of github.com:basicallydan/interfake 2014-06-06 09:27:45 +01:00