Commit Graph

22 Commits

Author SHA1 Message Date
Chris Eppstein
d014b4105a Different ruby versions have slightly different behavior with respect to @charset. Ignore these differences during testing. 2010-12-10 11:32:25 -08:00
Chris Eppstein
9aea35738d New background image mixin with gradient support and up to 10 images. 2010-11-15 03:52:31 -08:00
Chris Eppstein
7639223dc3 Verify all sass files generate the correct css in the test fixtures. 2010-05-31 13:48:25 -07:00
ltackett
47d4cc4638 Support for the experimental display: box model. 2010-04-27 01:13:52 -07:00
Chris Eppstein
0a3947d320 Add tests, fix some bugs in the image_size helpers, dropped support for bmp because it was broken. 2010-02-22 00:15:16 -08:00
Chris Eppstein
aef52bd57e New linear gradient mixin and support functions. Radial gradient and browser testing are still pending. 2010-02-16 01:47:27 -08:00
Chris Eppstein
4f9faef76f Don't use line comments in tests, because they change from system to system. 2009-11-29 20:31:10 -08:00
Chris Eppstein
9b8830b891 [Tests] Process expected result files thru erb to account for more transient behaviors across different systems. 2009-11-24 08:29:02 -08:00
Chris Eppstein
f7aa26c58e Add a test case for relative asset handling. 2009-11-21 13:29:16 -08:00
Chris Eppstein
bdd1e2de33 Make the tests pass in ruby 1.9 2009-11-19 02:26:35 -08:00
Chris Eppstein
373ac11329 Removes some tests about YUI. 2009-08-29 14:52:30 -07:00
Chris Eppstein
f59ca512ce Refactor of the internal datastructures used to access project
configuration. Configuration is now a singly linked list of configuration objects
that inherit values and defaults from the next configuration instance.
All instances hold a reference to the top of the configuration chain.

There is now a consistent API for reading configuration property values:

                <attr>: Reads the fully-resolved attribute after taking
                        configuration inheritance and defaults into account.
            raw_<attr>: reads attribute from a configuration object without
                        inheritance or defaults.
   default_for(<attr>): reads the default value for an attribute
    default_for_<attr>: specifies the default value for an attribute.
<attr>_without_default: reads the inherited attribute without applying defaults.
    comment_for_<attr>: Specifies a comment that will be emitted above the
                        property when serializing the configuration to a file.

Additionally, method_missing and respond_to both work down the
configuration chain, so any method that is added to a configuration
instance, can be accessed from the top level.

The distinction between default and explicitly set values allows compass
to more correctly manage the serialization of attributes when creating
configuration files for projects.

The compass configuration can still be accessed via
Compass.configuration, however, the configuration object is no longer a
singleton. This means that you can build several configuration chains
to track several projects at once. This should ease the use of compass
in other frameworks and plugins that want to use compass internally.
2009-08-29 13:20:32 -07:00
Chris Eppstein
ef47f3dd9d [Sass Extensions] Allow the asset host and cache busting strategies to be defined as part of the compass configuration. Closes #20. 2009-06-26 12:23:43 -07:00
Chris Eppstein
2b3b781c33 [Examples] Refactor the module and file loading for Sass Extensions and application integration. Fixed broken unit tests. 2009-06-20 12:29:14 -07:00
Chris Eppstein
d4aa36f0f0 Fix some failing tests and refactor the tests to make better use of new compass facilities that didn't exist when the tests were first written. 2009-05-08 08:09:43 -07:00
Chris Eppstein
d5b711170c First pass at testing the command line tool. 2009-01-19 07:53:51 -08:00
Chris Eppstein
6be55d55e5 Remove obsolete code in the test helper. 2009-01-13 08:08:27 -08:00
Chris Eppstein
606aba9df2 Unit tests for compass stylesheets. 2008-12-17 10:07:54 -08:00
Chris Eppstein
c07a89ef3d test blueprint typography output. 2008-12-06 13:46:02 -08:00
Chris Eppstein
dd6fb6473a Added unit tests for YUI and did some cleanup/restructuring of the test fixtures as well as a way to validate generated css. 2008-12-04 12:35:00 -08:00
Chris Eppstein
b5034a917e Added the YUI grids module. It compiles and generates roughly the expected output, but is not well tested yet. 2008-11-29 01:15:12 -08:00
Chris Eppstein
88ed4591cc Initial Checkin of Compass. Used to be Blueprint-Sass. 2008-08-23 10:00:46 -07:00