public
Description: DRY stylesheets with nested selectors and variables. No new syntax to learn :-)
Homepage: http://blog.airbladesoftware.com/2006/12/11/cssdryer-dry-up-your-css
Clone URL: git://github.com/airblade/css_dryer.git
airblade (author)
Thu Apr 23 09:48:35 -0700 2009
commit  2e7f75cb6d5284bbedd52ff77092dabc630f2726
tree    e20e15b19caebac6827fb6712f0a7c1367fb1b01
parent  a2edf0fd104a332f280cf38caec4ff5b21feabb3
css_dryer / CHANGELOG
100644 126 lines (74 sloc) 3.917 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
= Change Log
 
Below is a complete list of changes for each revision of CssDryer.
 
== 0.4.2
 
* Rails 2.3.2 and Ruby 1.9 support (thanks David Balatero).
 
== 0.4.1
 
* Rack support.
* Updated test nested stylesheet to render a partial and call a helper.
 
== 0.4.0
 
* Refactored file layout so tests run again.
 
== 0.3.1
 
* Merged Mina Guib's refactoring of the template handling code. Partials now work again. Thanks Mina!
 
== 0.3.0
 
* Rails 2.2 compatibility (thanks to Josh Peek for help).
* The self_clear helper accepts a :clear option.
 
== 0.2.8
 
* Fixed bug in Stylesheets Helper affecting ie6 method (thanks to René).
* Removed code in +render+ method made redundant by Rails 2.1.
 
== 0.2.7
 
* Rails 2.1 compatibility (thanks to Pete Yandell).
 
== 0.2.6
 
* Added a few browser hacks to StylesheetsHelper (thanks to René for the idea).
* Add self-clearing to StylesheetsHelper.
* Added test that reproduces bug where css_dryer forgives missing closing brace. Just need to make it pass :-)
* Added section on StylesheetsHelper to README.
 
== 0.2.5
 
* Added a generator for convenience.
 
== 0.2.4
 
* Fixed README to use proper Markdown syntax for links.
 
== 0.2.3
 
* Fixed typo in NcssHandler#render (reported by Ryan Kuykendall).
 
== 0.2.2
 
* Removed compilation step because it doesn't allow post-processing.
 
== 0.2.1
 
* Fixed typo with name of NcssHandler's compile method.
* Elaborated README's partials example.
 
== 0.2.0
 
* Supports partial templates.
* Works with Rails's template compilation mechanism.
* Requires Rails 2.
 
== 0.1.5
 
* Achieved compatibility with Markaby by adding filepath paramater to template rendering (NcssHandler#render) method signature (incompatibility reported by Ray Carrasco).
 
== 0.1.4
 
* Commas in comments are sometimes replaced with a space to prevent them from being interpreted as selectors (thanks to Adrian Prodan for the bug report). Yes, this is a shameful hack.
* Added tests for multiline comments and comments containing blank lines (suggested by Phil Crosby).
* Added a section on how comments are handled to the README.
* Removed page_cache_extension line from the StylesheetsController code. It was unnecessary and forced all cached pages, including HTML ones, to have a .css extension.
 
== 0.1.3
 
* Instance and local variables from the controller now available within stylesheets (thanks to Rifraf for prodding me into action).
 
== 0.1.2
 
* Incompatible with Rails 1.1.6 and below thanks to the use of <code>:format</code> in a route. Update to Rails 1.2RC1 :)
* Caches correctly with <code>.css</code> extension. Updated the README with the necessary changes to the controller and routes.
* Works with the <code>stylesheet_link_tag</code> helper. Updated the README with the changes to make this work.
 
== 0.1.1
 
* Fixed bug where comma separated style values, e.g. font families, were misinterpreted as comma separated selectors.
 
== 0.1.0
 
* Handles comma separated selectors (suggested by John Nunemaker).
* No longer outputs nested blank lines (noticed by Adi).
 
== 0.0.5
 
* Changed extension from <code>.dcss</code> to <code>.ncss</code> to avoid clashing with Miles Byrne's DCSS stylesheets (suggested by Miles).
* Clarified the lack of support for nested, multiple, comma separated selectors by adding a paragraph to the README's Which Selectors Are Supported section.
 
== 0.0.4
 
* Handles class, pseudo-class, attribute, id, child and adjacent selectors (suggested by Adi and Maxim Kulkin).
* No longer outputs empty selectors (noticed by Adi).
* Fixed typo in nesting example in README.
 
== 0.0.3
 
* Fixed bug where parameter was passed to the wrong method.
 
== 0.0.2
 
* Added support for <code>@media</code> blocks.
* Fixed bug in handling of non-nested descendant selectors.
* Handles whitespace consistently, preserving the original as much as possible.
 
== 0.0.1
 
* Initial public release.
* Handles descendant selectors.
* Handles ERB.