Commit Graph

29 Commits

Author SHA1 Message Date
Matt Fawcett
b2b9d57505 Include the Compass logger to prevent "uninitialized constant Compass::Logger"
Closes GH-438.
2011-07-02 21:59:09 -07:00
Chris Eppstein
ea6e15b8a4 Handle homeless users. Closes GH-364. 2011-04-29 06:50:11 -07:00
Chris Eppstein
3272dc7e5a Load extensions found in ~/.compass/extensions, if the directory exists. 2011-03-24 22:57:17 -07:00
Chris Eppstein
cca6474ba2 Don't extend core classes. 2011-03-24 22:57:17 -07:00
Scott Davis
463ee01a12 moved files around 2011-03-23 01:29:51 -04:00
Scott Davis
2142430735 Callbacks for the following events:
* sprite_saved
* sprite_generated
* stylesheet_saved
* stylesheet_error

From the compass configuration file you can attach code to run when the
event occurs like so:

on_stylesheet_error do |filename, message|
  # do something
end
2011-02-20 10:14:34 -08:00
Chris Eppstein
e11f1035bf Refactor the cross browser support and list functions from gradient module. 2010-12-31 12:55:14 -08:00
Chris Eppstein
28a77171e3 Quick cache for burst reads. 2010-12-05 16:13:13 -08:00
Chris Eppstein
757fed8888 Rename Lemonade to Compass::Sprites 2010-12-05 16:13:11 -08:00
Chris Eppstein
ffe967e8c8 Bolt on lemonade to get started. 2010-12-05 16:13:10 -08:00
Chris Eppstein
9e033f7df5 Handle the change from Haml::Util => Sass::Util and haml_warn => sass_warn. 2010-11-21 15:59:37 -08:00
Chris Eppstein
80d812396a Fix some gemspec issues. 2010-04-27 11:32:25 -07:00
Chris Eppstein
d1a155b59a Better handling of the Compass::VERSION scheme. 2010-04-26 23:54:46 -07:00
Chris Eppstein
c1b903024f New APIs for dealing with configuration changes and accessing a compiler instance. 2010-02-13 16:56:53 -08:00
Chris Eppstein
e6b14cf5bb Provide a Compass::VERSION constant. 2009-09-02 21:45:14 -07:00
Chris Eppstein
b13fd43a2e Require relative to the load path instead of using the more convoluted approach of File.join(File.dirname(__FILE__), ...).
Also, don't ever muck with the load paths or rubygems without first
trying to require the library without doing so.
2009-09-02 21:45:08 -07:00
Chris Eppstein
a0036ec0f1 remove some blank lines. 2009-08-29 15:14:51 -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
Sean Schofield
84f657027a Compass now depends on the haml-edge gem instead of haml. 2009-05-06 20:14:31 -04:00
Chris Eppstein
c391ce09c0 Import the configuration module by default and not just for installation. 2009-02-08 13:09:29 -08:00
Chris Eppstein
c0c422c373 Consolodate error classes. 2009-02-08 03:46:46 -08:00
Chris Eppstein
61de5ae125 New base class for Compass Errors. 2009-02-08 03:45:48 -08:00
Chris Eppstein
845fa14e71 Factored out a logger for the command line to tell the user what is happening. 2009-02-08 03:45:47 -08:00
Chris Eppstein
911041f355 Give a better error message to users with an unsupported version of haml installed. 2009-01-25 11:28:11 -08:00
Chris Eppstein
618bd788e1 Require rubygems helps to require sass when running locally instead of out of a gem. 2008-12-08 20:43:13 -08:00
Chris Eppstein
39265bafc3 Added a Sass Function called nest that performs a nesting operation on (possibly) comma delimited selectors and emits the result as a string.
For example:

nest(".foo", "a, em, b")

would render:

.foo a, .foo em, .foo b

The nest function can take any number of arguments and each argument can have any number of comma-delimited selectors.
2008-11-29 01:08:07 -08:00
Chris Eppstein
6efe31a066 Merb support 2008-08-24 12:57:49 -07:00
Chris Eppstein
88ed4591cc Initial Checkin of Compass. Used to be Blueprint-Sass. 2008-08-23 10:00:46 -07:00