Commit Graph

31 Commits

Author SHA1 Message Date
Kieran Sedgwick baf593ee82 Excluded the request module from browserify builds and updated CONTRIBUTING.md 2014-05-27 10:32:41 -04:00
Kieran Sedgwick 823232fc67 Review fixes 2014-05-26 17:35:41 -04:00
Kieran Sedgwick a4c0874668 Browserify test suite
Our tests run in the browser and on node! Switching to browserify made this necessary.
2014-05-26 16:51:42 -04:00
Kieran Sedgwick 9df84d1227 Retooled grunt release to use browserify instead of requirejs 2014-05-26 13:57:20 -04:00
Kieran Sedgwick 4efa4a91f3 Review fixes from PR #195 2014-05-26 12:31:34 -04:00
Kieran Sedgwick 3ef2a4e07d Split the distribution of Filer into two files
The AMD-module system Filer uses can't handle require() calls that reference a node module. By creating two distributions we allow the node version to use a full implementation of RequireJS, which gracefully falls back to Node's require() when RequireJS can't find the module in its registered paths.
2014-05-22 23:04:08 -04:00
Kieran Sedgwick 9f33d8503e Swapped out XMLHttpRequest for a custom module
We made a module to encapsulate the logic that chooses the nodejs or browser dependency that actually downloads a file when the module is used.
2014-05-22 23:04:08 -04:00
David Humphrey 9426a700b5 Generate separate filer for testing in node so we don't overwrite dist/filer.js 2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b0744a7489 Fix grunt to rebuild dist/filer.js on test runs, alter default grunt task to be test 2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2d6b4644df Make it possible to run node tests from npm/grunt 2014-05-22 23:04:08 -04:00
Kieran Sedgwick 3cbc0d2440 Grunt automation of build/tag/publish
Filer's build process was a multi-step process, and grunt is powerful enough to automate it. Now we have :)
2014-05-20 16:48:45 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 3e11408f44 Fix failing travis/phantomjs tests by adding testing web server--run npm install 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2418b4a634 Split up fs.js 2014-03-18 14:16:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8dcc38de82 Start refactoring of fs.js 2014-03-18 12:29:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4a0ffb5f5a Fix EventEmitter to match that expected by Intercom 2014-03-12 16:49:20 -04:00
David Humphrey ef40ff7d68 Expose errors on Filer.Errors, refactor how they get used internally, add docs 2014-03-10 14:28:22 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 98b40c5045 Review fixes 2014-03-07 20:21:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a365144e97 First passing tests for fs.watch(), use EventEmitter2 via bower 2014-03-06 22:27:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2d3b15d310 Deal with jshint hating the Function constructor 2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4812861dcf Refactor tests: switch to Mocha, make providers and filer source configurable. Fixes #59
Make provider configurable via URL. Convert fs.close test to use it. Still have timing issue with WebSQL.

Indent fix

Use bower to install mocha

Converting to mocha, Memory provider failing still in fs.close

Got mocha tests working with all providers

Converted more tests

Move more tests over to mocha

Move more tests over

Move more tests over

More tests moved over

More tests converted

More tests moved over

Move more tests over

Move last tests over

Convert more tests

Remove Jasmine and other unnecessary test files, rename tests/spec/regression to tests/bugs

Get tests running with grunt+mocha+phantomjs

Add docs on new tests
2014-02-14 15:44:57 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 641eb870a7 s/IDBFS/Filer/ in all files, docs, tests. Fixes #54 2014-01-14 11:36:18 -05:00
Alan Kligman e17acff0b1 reorganized for building 2013-12-14 22:36:24 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8c9127d798 Remove need for encoding-indexes.js, trim bits of lodash.js we don't need. Fixes #57 2013-12-02 15:10:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d2790a4703 Review fixes, move crypto to src/adapters, update tests, update README, rebuild files in dist/ 2013-12-01 16:45:24 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6ebbdc5915 Finish WebSQL implementation, all tests passing. Fixes #21. 2013-11-29 10:29:04 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8a33cb0449 Fix load order for TextEncoder/TextDecoder in require.js, update dist/ 2013-11-27 13:08:26 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6e16f86208 Make backends pluggable via FileSystem ctor, fixes #36. 2013-11-25 19:23:51 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2a8705ed0b Add fs.readFile, fs.writeFile with tests 2013-11-08 15:33:44 -05:00
Alan Kligman 28add9cebd rename source files 2013-11-07 16:29:23 -05:00
Alan Kligman 63980ad1d2 Updated gruntfile. 2013-05-30 21:44:32 -04:00
Alan Kligman ced78ca040 Added gruntfile, now builds optimized library. 2013-03-11 15:14:26 -04:00