Commit Graph

49 Commits

Author SHA1 Message Date
Alan K 8c0f8eaac8 add tests/ and perf/ to gh-pages update 2014-12-17 02:42:40 -05:00
Alan K 9e3f48d783 fix up perf tests 2014-12-16 18:53:29 -05:00
yoavgurevich 32265e92d7 PR corrections 2014-12-04 09:23:38 -05:00
yoavgurevich b4efa7d2a4 Initial work 2014-12-03 17:25:30 -05:00
Kieran Sedgwick 63f5fdeb6c Fix #208 - Prevent grunt publish from destroying the gh-pages branch 2014-11-14 12:18:36 -05:00
Kieran Sedgwick 483d3fef72 Fix #312 - Bundle filer-test.js with gh-pages branch only 2014-11-06 11:24:02 -05:00
Ali Al Dallal ab1c793137 Add filer-js test 2014-09-30 16:10:53 -04:00
Ali Al Dallal a37f262f41 Make it possible to run the test 2014-09-30 14:47:13 -04:00
Pomax 3344338c2e grunt fix for running on windows 2014-09-09 09:43:20 -07:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a38a32d5fb Make browser-request happy and provide a global shim for XHR in issue225 test 2014-07-02 15:17:22 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 5c9ba07706 Test for Filer as AMD module use in require.js with Buffer, regression issue 225 2014-07-02 15:17:22 -04:00
Ali Al Dallal ab7a59a875 Remove builtin option from browserify 2014-06-10 11:50:27 -07:00
Kieran Sedgwick 73b6379449 Added standalone option to Filer's browserify build step 2014-05-28 14:50:19 -04:00
Alan K 9811403d3c fix port blocking 2014-05-27 14:57:46 -04:00
Alan K 405e8b3ea3 fix release & test-node targets 2014-05-27 14:51:55 -04:00
Alan K 808735918e Allow publishing from dirty working copy. 2014-05-27 14:47:52 -04:00
David Humphrey 10c3271faa Merge pull request #2 from sedge/browserify
Excluded the request module from browserify builds and updated CONTRIBUT...
2014-05-27 10:49:49 -04:00
Kieran Sedgwick baf593ee82 Excluded the request module from browserify builds and updated CONTRIBUTING.md 2014-05-27 10:32:41 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 747dadb1c3 Remove grunt-mocha from gruntfile too 2014-05-26 19:20:42 -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