140 Commits

Author SHA1 Message Date
André Cruz
f5999e84a2 Add missing test. 2013-08-10 15:45:24 +01:00
André Cruz
ee2640bc43 Close GH-747: Do not use --depth=1 if the server does not support it, fixes #744. 2013-08-10 15:43:54 +01:00
Sindre Sorhus
4ae1b5e04d Replace colors with chalk
colors.js has serious deficiencies like extending String.prototype which can cause all kinds of problems. Two modules using colors.js can conflict with each others, and it infects imported child modules. It's also better to explicit.

[chalk](https://github.com/sindresorhus/chalk)
2013-08-07 22:06:47 +02:00
Keith Gibbs
a34c8dc502 Close GH-724: Fix for GitHubResolver to use https instead of http for tarball archives. 2013-08-07 14:02:50 +01:00
André Cruz
58921f7422 Improve resolver factory tests and add some failing test cases. 2013-08-07 08:56:40 +01:00
Mat Scales
30fa7f5a7f Keep original environment variables intact in asset creation script 2013-08-05 20:57:05 +02:00
André Cruz
15957bc9ac Close GH-716: Add initial packages script that allows creating of packages usable for tests. 2013-08-04 20:41:42 +01:00
André Cruz
3995ec0ff7 Remove tests temp dirs. 2013-08-03 15:02:38 +01:00
André Cruz
d237522e8c Close GH-679: Prevent renaming of bower.json/component.json to index.json, fixes #674.. 2013-07-29 23:41:55 +01:00
André Cruz
1210ea821a Close GH-669: Interpret as local files only if the path is absolute or relative, closes #666. 2013-07-29 21:44:04 +01:00
Blain Smith
ec86260eb5 Test .tar.gz archives with/without extension and with/witout proper mime-type 2013-07-24 09:12:27 +01:00
André Cruz
3b376a3d3d Move homepage guess logic to the appropriate resolver. 2013-07-22 13:57:39 +01:00
André Cruz
1e724af838 Get response status errors when using request. 2013-07-22 08:39:03 +01:00
André Cruz
01aec3760c Add test for the package repository getters. 2013-07-21 16:35:12 +01:00
André Cruz
0cf8af00b3 Separate logger into its own module. 2013-07-20 20:37:05 +01:00
André Cruz
6e037a4d46 Improve test for #474. 2013-07-18 08:40:04 +01:00
André Cruz
499d9da75f Add test for PR #474. 2013-07-18 01:10:29 +01:00
André Cruz
a73025d20b Fix wrong tests. 2013-07-16 09:28:45 +01:00
André Cruz
0085ebb756 Add tests for isTargetable. 2013-07-16 09:27:28 +01:00
André Cruz
5d5f23cddc Oops. 2013-07-16 09:26:48 +01:00
André Cruz
9b04553fc8 Improve logger implementation. 2013-07-16 09:15:32 +01:00
André Cruz
7d2162b2d2 Fix order of events/interceptors. 2013-07-14 21:46:17 +01:00
André Cruz
b9514692fe GitHub resolver should move contents when extracting. 2013-07-14 15:37:00 +01:00
André Cruz
47f0f1fab8 Add one more test to github resolver to increase coverage. 2013-07-14 14:38:17 +01:00
André Cruz
bb3a5620d3 Add tests for github resolver. 2013-07-14 14:22:38 +01:00
André Cruz
268a1475f0 Add new test for the resolver factory related with failing when a package is not found in the registry. 2013-07-14 13:38:59 +01:00
André Cruz
a46dad9fde Complete logger tests. 2013-07-14 13:31:09 +01:00
André Cruz
3f7bf15cdb Add progress tests to be done later. 2013-07-14 12:00:07 +01:00
André Cruz
a47d5f4f12 Implemented missing test. 2013-07-14 08:50:27 +01:00
André Cruz
e809133c25 Complete some pending tests. 2013-07-13 23:47:50 +01:00
André Cruz
4e39979852 Add constructor test for the package repository. 2013-07-13 23:28:02 +01:00
André Cruz
2e0353c725 Complete resolve cache tests. 2013-07-13 23:03:40 +01:00
André Cruz
908fa55674 Fix wrong test, add a few more. 2013-07-13 22:23:43 +01:00
André Cruz
4a26332133 Implemented a few more tests for the package repository. 2013-07-13 22:17:43 +01:00
André Cruz
59da873adf Initial take on the package repository tests. 2013-07-13 21:42:38 +01:00
André Cruz
fb4b1827db Minor tests tweak. 2013-07-13 21:42:24 +01:00
André Cruz
ac18199295 Add minor test in the resolver factory tests. 2013-07-13 21:41:44 +01:00
André Cruz
4a954853f2 Fix minor order issue in resolve cache list. 2013-07-13 14:06:32 +01:00
André Cruz
d36a448aff Test constructor and improve test coverage. 2013-07-13 12:54:30 +01:00
André Cruz
29aa481d2d Implement list tests for the resolve cache.
Tweak existent tests.
2013-07-13 12:10:35 +01:00
André Cruz
bdfb0bb14f Add reset tests for the resolve cache. 2013-07-13 10:12:37 +01:00
André Cruz
6eeb03f159 Fix node 0.8 failure. 2013-07-13 10:05:22 +01:00
André Cruz
f806416b84 Add clear tests to the resolve cache.
Improved existent tests.
2013-07-13 10:00:24 +01:00
André Cruz
7e64e60625 Add eliminate tests to the resolve cache. 2013-07-13 09:40:42 +01:00
André Cruz
b8c3e95068 Add retrieve tests for the resolve cache. 2013-07-12 18:27:42 +01:00
André Cruz
85e55f3be2 Add versions tests for the resolver cache. 2013-07-12 17:39:24 +01:00
André Cruz
eaee9e0e49 Implemented missing test. 2013-07-12 16:45:15 +01:00
André Cruz
e232c42fc5 Rename Logger.js to logger.js 2013-07-12 16:29:08 +01:00
André Cruz
c7c043c898 Add initial resolve cache tests. 2013-07-12 16:23:26 +01:00
André Cruz
57b718ff32 CS. 2013-07-12 16:23:04 +01:00