Permalink
Commits on Jul 5, 2013
  1. version bump

    committed Jul 5, 2013
  2. Merge pull request #16 from gaiottino/master

    NoMethodError: undefined method `starts_with?' for nil:NilClass
    committed Jul 5, 2013
  3. part.content_type may be nil

    gaiottino committed Jul 5, 2013
Commits on Sep 16, 2011
  1. Merge pull request #8 from mobalean/master

    transfer content encoding and non-ascii mail
    Macario Ortega committed Sep 16, 2011
Commits on Sep 14, 2011
Commits on Mar 24, 2011
  1. removed facets dependency

    Macario Ortega committed Mar 24, 2011
  2. removed history and manifest

    Macario Ortega committed Mar 24, 2011
  3. Heavy refactoring, better spec coverage for css parser wrappers,

    processing now overrides previously defined colliding declarations for
    cleaner output. gem version bump.
    Macario Ortega committed Mar 24, 2011
Commits on Mar 23, 2011
  1. gem version bump, updated info regarding using maca-csspool-fork inst…

    …ead of csspool
    Macario Ortega committed Mar 23, 2011
  2. refactoring, cosmetic changes, requiring csspool or not before requir…

    …ing the gem determins the css parser gem
    Macario Ortega committed Mar 23, 2011
Commits on Mar 22, 2011
  1. renamed README

    Macario Ortega committed Mar 22, 2011
  2. version bump

    Macario Ortega committed Mar 22, 2011
  3. tiny

    Macario Ortega committed Mar 22, 2011
  4. trying yard tags for documentation

    Macario Ortega committed Mar 22, 2011
  5. fixed broken middleware, gem version bump

    Macario Ortega committed Mar 22, 2011
Commits on Mar 9, 2011
  1. Fixed bugs in pseudo code processing.

    The pseduo code processing was too general. It was targeted at handling
    things like a:hover but not so much for things like a:first-child.
    
    In the first case we want to use the pseudo class inlined using the
    experimental syntax IF the user opts in. But in the second case we simply
    want to inline it on the first child.
    
    The other bug was that it was searching for pseudo classes anywhere in
    the selector instead of just at the end.
    
    The end result of these bugs was that if I had something like:
    
    table td:first-child a {....}
    
    The styles would get zapped is pseudo class processing was disabled
    and incorrectly applied if it was enabled.
    
    We fix this by classifying the pseudo classes into two categories:
    
    * state-based classes (like :hover, :active, etc)
    * location-based classes (like :first-child)
    
    Location-based classes are basically applied to the nodes and then treated
    like a non-pseudo class. State based classes are skipped unless the pseudo
    option is enabled (like before).
    
    The only thing that is still not handled is state-based pseudo classes that
    are not at the end of a selector. For example:
    
      a:hover img
    
    I am guessing this means only apply the image styles if the a is hovered. But
    in the context of inlining I am not sure what this means and doubt it is
    supported. So I think the result is simply don't do it. :)
    eric1234 committed Mar 9, 2011
  2. A big patch but it actually makes no functional change. Purely a refa…

    …ctor.
    
    Adding the pluggable CSS Parser reduced the quality of the code due to
    the fact that a selector was no longer an object but now an array. So the main
    goal was to restore the selector as an object to make the code easier to
    follow. In addition this gives us a place to hang additional functionality
    related to the selector.
    
    In addition to the above major change the following other bits were refactored.
    
    * Made the main module less procedural and more OO by turning it into
      a class. This made it easier to hang auxilary that is re-used in the
      processing.
    * Change the dom parsing to look at if it responds to just css vs. looking
      at the actual class. This allows any Nokogiri compatible API (including
      a Nokogiri document fragment).
    
    There was only a slight change to the test. Other than that the tests run
    as before but I believe it will be easier to fix some bugs now that the
    code is closer (and hopefully better) to how it was before the pluggable
    CSS parser was added.
    eric1234 committed Mar 9, 2011
Commits on Mar 7, 2011
  1. version file updated

    Macario Ortega committed Mar 7, 2011
Commits on Feb 23, 2011
  1. Doc update

    eric1234 committed Feb 23, 2011
  2. Merge from maintainer

    eric1234 committed Feb 23, 2011
Commits on Feb 22, 2011
Commits on Feb 20, 2011
  1. simpler gemspec management without newgem

    Macario Ortega committed Feb 20, 2011
Commits on Feb 18, 2011
  1. Support for pluggable CSS parsers. Currently supports css_parser and …

    …csspool.
    
    csspool has a dependency on libcroco which is a gnome-based library not easy
    to get installed on a shared host environment (e.g. Heroku). css_parser on
    the other hand is pure ruby which is much better. But css_parser I don't
    believe is as full featured of a CSS parser. So the preferred css parser should
    be determined by the needs of the developer.
    
    This is similar to how many library allow for pluggable XML parsers.
    
    The big downside to this patch is the code for inline-style got ugly since
    it was less code to make csspool look like css_parser than trying to make
    css_parser look like csspool.
    eric1234 committed Feb 18, 2011
Commits on Feb 16, 2011
  1. More hoe issues

    eric1234 committed Feb 16, 2011
  2. Regenerate spec

    eric1234 committed Feb 16, 2011
Commits on Feb 13, 2011
  1. Some cleanup.

    Hoe was complaining that file should be named README.txt instead of README.rdoc
    Also Hoe needed to be required. Finally looks like Hoe.new got deprecated for
    Hoe.spec.
    eric1234 committed Feb 13, 2011
Commits on Oct 19, 2010
  1. No commit message

    Macario Ortega committed Oct 19, 2010
Commits on Oct 30, 2009
  1. added spec

    Macario committed Oct 30, 2009
Commits on Oct 29, 2009
  1. fixed dependency issue, gem version bump

    Macario committed Oct 29, 2009
  2. better coverage, fixes, version bump

    Macario committed Oct 29, 2009
Commits on Oct 26, 2009
  1. specking

    Macario committed Oct 26, 2009