42 Commits

Author SHA1 Message Date
André Cruz
c0a90f78b8 Typo in test. 2013-02-26 00:08:41 +00:00
André Cruz
63ecde0ea7 Merge branch 'master' of github.com:twitter/bower 2013-01-31 20:02:47 +00:00
André Cruz
520e1c4def Fix the way errors are thrown in tests. 2013-01-31 19:58:29 +00:00
André Cruz
6195281e70 Merge pull request #227 from twitter/ignore
Remove ignore paths from .json
2013-01-31 10:57:33 -08:00
David DeSandro
ad359e2659 dot option in glob for ignore 2013-01-31 13:54:54 -05:00
David DeSandro
0cb38676ef test - should remove .git directory 2013-01-30 22:38:31 -05:00
André Cruz
02e3ed4588 Fix some more issues with reading package local configuration, closes #205.
Complete the tests regarding this issue.
2013-01-31 01:29:07 +00:00
David DeSandro
5d45b04b22 fix binding install;
add test for removing ignorables
2013-01-30 11:29:06 -05:00
André Cruz
4b134a3bdb Improve last commit, fix tests. 2012-11-30 00:50:14 +00:00
André Cruz
d561299cdf Fix perm issue with downloaded files, fixes #160. 2012-11-29 22:12:54 +00:00
André Cruz
be02ef81a4 Add test for the previous commit. 2012-11-20 19:05:21 +00:00
André Cruz
fae41c4179 Fix failing test. 2012-11-18 22:10:10 +00:00
André Cruz
bc598a334b Add jshintrc and fix all CS issues related to it. 2012-11-18 20:44:41 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +00:00
André Cruz
2948eae448 Add github shorthands support (with tests), closes #121. 2012-11-11 16:59:00 +00:00
André Cruz
b3d04e9083 Some cleanup, add tests for tar and zip files.
Also improve tests.
2012-11-11 16:28:10 +00:00
André Cruz
8fe0abfc4b Move --force tests from the package to the manager. 2012-10-21 11:48:50 +01:00
André Cruz
6a6eb75a3b Change Package constructor slightly, add rudimentary test for the --force flag. 2012-10-20 17:34:41 +01:00
André Cruz
51bd1f559c Do cleanup also after the tests and not only before each iteration.
This is because the cache could be in an inconsistence state for normal usage afterwards.
2012-10-18 23:20:48 +01:00
André Cruz
8a4963026a Merge branch 'master' of git://github.com/twitter/bower into features_fixes
Conflicts:
	lib/core/config.js
	lib/core/package.js
	package.json
2012-10-17 08:18:57 +01:00
André Cruz
df4ee49726 Remove unnecessary tear down code in test because it is already being done in the beforeEach. 2012-10-16 23:51:05 +01:00
André Cruz
a7e464a902 Merge branch 'master' of git://github.com/satazor/bower into features_fixes
Conflicts:
	test/assets/project/component.json
	test/manager.js
	test/package.js
2012-10-16 23:35:24 +01:00
André Cruz
b7c3aa59a7 Merge branch 'master' of git://github.com/twitter/bower
Conflicts:
	test/package.js
2012-10-16 22:53:33 +01:00
Andre Cruz
2abde5539d Fix CS again. 2012-10-16 02:01:42 +00:00
Andre Cruz
c5a0f0ddcf Fix redirect test not being async, cache and local files are now flushed before each test. 2012-10-16 02:01:31 +00:00
Andre Cruz
760ef7a13a Fix CS. 2012-10-16 01:01:53 +00:00
André Cruz
5967acb15e Add cache-clean command, remove unnecessary code. 2012-10-15 19:27:48 +01:00
André Cruz
71cddb628e Several fixes.
- Fix issue with download() emiting two 'resolve' events.
- Do not fallback to package.json and to tag describe if there was an error parsing the json file
- Move out cache dir to the config.js file
- Tweak, fix and add test to the point 2.
2012-10-15 17:03:08 +01:00
André Cruz
5dbb6d6346 Add install template, fix CS. 2012-10-13 03:19:18 +01:00
Andre Cruz
fd31f247a6 Unit of work implementation.
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81.
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57.

- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +01:00
David DeSandro
ed13cab994 remove leftover assert in test 2012-10-08 08:52:57 -04:00
David DeSandro
b168f09419 chmod temp folder for accessible file permissions
with a test
ref #69 (awww yis)
2012-10-08 08:39:00 -04:00
Manuel van Rijn
0763fe0775 fixed another multiple var statement 2012-09-20 13:44:07 +02:00
Manuel van Rijn
158a894804 changed back to var's 2012-09-20 09:03:49 +02:00
Manuel van Rijn
6bcaa4fc8d fix tests 2012-09-19 09:24:35 +02:00
Manuel van Rijn
f0a9e4c384 Merge branch 'master' into issue-31
Conflicts:
	test/package.js
2012-09-19 09:11:02 +02:00
Manuel van Rijn
0b8297138a added tests for redirection 2012-09-14 11:18:56 +02:00
Nathan Bleigh
c0e03516e5 Test coverage for copy on install 2012-09-13 19:10:54 -05:00
John-David Dalton
a7dca30d9d Replace Underscore with Lo-Dash. 2012-09-11 22:45:02 -07:00
Paul Irish
c0ce0dfa97 Revert "spec: rename jqueryui package to match registry."
Package was misnamed originally. Fixing in the registry instead.

This reverts commit 1a74353d2d.
2012-09-10 15:35:06 -07:00
Paul Irish
1a74353d2d spec: rename jqueryui package to match registry. 2012-09-10 10:44:54 -07:00
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00