Commit Graph

29 Commits

Author SHA1 Message Date
Nathan Weizenbaum c5d2bb774e Make sure all Sass errors have trailing periods. 2008-04-19 10:16:10 -07:00
nex3 c1b21a2d75 Merb handler for Sass. This includes a pretty major restructuring of Sass::Plugin to factor out the Rails-specific code.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@616 7063305b-7217-0410-af8c-cdc13e5119b9
2007-11-17 19:55:26 +00:00
nex3 5ff6c187ea Sass stylesheet_needs_update? logic checks @imported stylesheets for changes as well.
Also, added a :never_update option because Sass now might take a while to check update neccessity.


git-svn-id: svn://hamptoncatlin.com/haml/trunk@599 7063305b-7217-0410-af8c-cdc13e5119b9
2007-09-02 01:48:25 +00:00
nex3 103c564cdc Sass "partials" can be used - starting a Sass filename with an underscore means it won't be rendered, and can be imported without the underscore.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@596 7063305b-7217-0410-af8c-cdc13e5119b9
2007-08-28 05:33:57 +00:00
nex3 dc2cda98c3 Broaden the alternate attribute syntax for Sass.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@541 7063305b-7217-0410-af8c-cdc13e5119b9
2007-06-28 08:43:09 +00:00
nex3 5cd1dd3c11 Added support for nested Sass subdirectories. Credit goes to Robin Ward!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@500 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-03 09:04:20 +00:00
nex3 cc654e0890 Added new "foo: bar" Sass syntax. Patch by Jonah Fox (aka Weepy) - thanks!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@499 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-03 08:46:02 +00:00
nex3 1f112ca018 Forgot to add a whole bunch of files.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@451 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-25 19:07:16 +00:00
nex3 a540b2a4bd Tests - and requisite fixes - for Sassy importing.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@448 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-25 08:20:33 +00:00
nex3 989004d354 Ampersands in Sass selectors refer to the parent selectors.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@420 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 04:17:01 +00:00
nex3 cae1979804 100% RCov.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@352 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-06 05:24:13 +00:00
nex3 f4209db126 Getting rid of a few extraneous tests.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@351 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-06 05:18:05 +00:00
nex3 7cd7e603b1 New, nested Sass style.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@349 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-06 03:34:49 +00:00
nex3 edb938e324 Sass style-setting.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@348 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-06 01:58:23 +00:00
nex3 bbc8dc9582 Nicer error formatting, correct line numbering on errors thrown.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@334 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-02 06:15:28 +00:00
nex3 79d7fef620 100% Sass coverage... only a few Haml things left undone.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@324 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 04:40:55 +00:00
nex3 9a22c3717e Added a bunch of tests for Sass... almost at 100% rcov!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@322 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 04:30:30 +00:00
nex3 e0ed883ae6 Errors raised by Sass::Constant and friends now subclasses of Sass::SyntaxError.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@318 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-28 10:28:19 +00:00
nex3 62f4e6021c Slight test modifications.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@280 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-07 04:08:48 +00:00
nex3 b81a91672d Testing for undefined constant error.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@250 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 09:45:05 +00:00
nex3 8a505a26a9 Testing Sass' exception handling.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@243 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-22 06:59:38 +00:00
nex3 f5001165a6 Line number reported correctly.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@239 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-22 05:09:00 +00:00
nex3 550f458759 Adds constants for Sass.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@238 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-22 01:52:45 +00:00
nex3 c8fa8d68f0 Correctly ordering the files in assert_renders_correctly.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@194 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-04 03:55:34 +00:00
nex3 c4032e6acf Better tests, closer to 100% rcov.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@193 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-04 02:47:37 +00:00
nex3 d10b74e7e9 Made require more sane by messing with $LOAD_PATH. Also fixed rcov in the process.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@190 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 23:56:47 +00:00
nex3 76c6207178 Tests fully functional, if not pretty.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@189 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 23:17:45 +00:00
nex3 01dad1e2e8 Tests work to the extent they did before reorganization.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@187 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:37:17 +00:00
nex3 c6c1fb9886 Moving Sass tests into their own directory.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@186 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:28:25 +00:00