- Breaking changes!
- The
CssSplitter::SprocketsEngineis now registered as a bundle_processor to avoid issues with sprockets directives #29 .split2extension is no longer necessary/supported, now we rely on_splitNat the end of the filename- Now you need to use the
requirerather than theincludedirective in the split stylesheet - Prohibition against using
require_tree .andrequire_selfdirectives no longer applies - Better tests
- Thanks a lot to @Umofomia
- loosen dependency on
rails(depend onsprocketsinstead), to make gem compatible to other frameworks likemiddleman
- loosen dependency to make it compatible with rails 4
- Added license info ("MIT") to gemspec
- [Removal] Removed unused
Splitter#splitmethod - [Bugfix] Fixed little bug in
Splitter#count_selectorsthat was yielding wrong results - [Bugfix] Removed unnecessary files in
app/which were causing #13 and #17
- [Improvement] Made the SprocketEngine addition an initializer, so it will work even when
initialize_on_precompileisn't set - [Bugfix] Removed unnecessary charset extraction from
Splitter#count_selectorsmethod, which had caused the first rule of the stylesheet to be ignored. - [Bugfix] Fixed/refactored charset extraction, so that it doesn't overwrite the first rule of the stylesheet anymore.
- [Bugfix] Fixed
Splitter#strip_commentsmethod, so it doesn't mess with protocol agnostic URLs (e.g.url(//assets.myserver.com/asset.png)) anymore and only strips valid CSS comments #5
Initial commit