68 Commits

Author SHA1 Message Date
André Cruz
755d87338d Add --force-latest flag to allow conflict resolution, #214. 2013-01-31 23:16:27 +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
6a63f97ce8 Add test for resolved deps, #214. 2013-01-31 19:56:25 +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
David DeSandro
3b0d8b37e7 Merge branch 'master' into ignore
Conflicts:
	lib/core/package.js
2013-01-30 11:03:06 -05:00
David DeSandro
f026c6238d add package-ignorables for testing 2013-01-30 10:59:29 -05:00
Manuel Woelker
8488c657af manager: test for #205 (Using another name for .json file leads to unfetchable deps) 2013-01-30 12:49:03 +01:00
André Cruz
e5f40350d2 Fix tests due to the way conflicts are handled, #214. 2013-01-29 19:33:19 +00:00
André Cruz
64ed10530b Fix some issues and also fix CS. 2012-12-30 11:30:24 +00:00
Mickael Daniel
8dbffe6fa7 Move completion cache results to ~/.bower/cache/__bowercompletion__
for cache-clean command to be able to clean it.

__bowercompletion__ to avoid potential naming conflicts.
2012-12-25 15:57:07 +01:00
Mickael Daniel
174c37d75d Tab completion, handler for install command
- results of the first lookup is cached to
  ~/.bower/completion/install.json
- consider caching in ~/.bower/cache instead, so that cache-clean
  command also removes completion cache.
2012-12-01 21:32:07 +01: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
4c3a1dbd91 Fix remote. 2012-11-18 22:13:20 +00:00
André Cruz
fae41c4179 Fix failing test. 2012-11-18 22:10:10 +00:00
André Cruz
91c5bb8c36 Add repo metadata because it is used in a test. 2012-11-18 21:35:20 +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
b0687baa00 Fix tests. 2012-11-03 13:08:53 +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
bff311f8ec Oops. 2012-10-20 17:33:46 +01:00
André Cruz
a74f6630df Add tests for cache-clean, unified some return values. 2012-10-20 16:41:19 +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
Andre Cruz
406ed297ca Oops. 2012-10-17 17:35:18 +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
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +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
3f79247ac2 Add componentsDirectory option, fix and add tests. 2012-10-14 20:10:22 +01:00
André Cruz
da9d553899 Merge branch 'master' of github.com:satazor/bower
Conflicts:
	test/manager.js
2012-10-14 19:53:01 +01:00
André Cruz
bf371acc41 Remove unnecessary code, fix beforeEach in some cases. 2012-10-14 19:48:23 +01:00
André Cruz
6ef92b0c95 Add and fix failing test. 2012-10-14 17:36:06 +01:00
André Cruz
5cd8dd7094 Tweak tests so they don't break in the future. 2012-10-14 16:53:28 +01:00
André Cruz
6823acd0ff Merge branch 'master' of git://github.com/satazor/bower
Conflicts:
	lib/core/package.js
2012-10-14 16:01:53 +01:00
André Cruz
6bd00a0e8e Tweak tests so they don't break in the future. 2012-10-13 14:22:15 +01:00