Permalink
Commits on Jul 4, 2011
  1. Support :except option in middleware.

    The :except option in the middleware specification accepts the same kind
    of parameters as the :only option. A possible usecase is to use direct
    PDF rendering using prawn or another library for specific views but use
    PDFKit for all other pages.
    huerlisi committed Jul 4, 2011
Commits on Jul 2, 2011
  1. Version bump in prep for release. History update. Bundle update to ma…

    …ke sure we are keeping up with the times.
    mdeering committed Jul 2, 2011
  2. Quick fixes. REE 1.8.7 meta tag changes getting dropped due to hash m…

    …erge differences. Deeper bundler detection to avoid issues with gems that are only partialy including the bundler environment and do not have a Gemfile.
    mdeering committed Jul 2, 2011
Commits on Jun 17, 2011
  1. Merge pull request #89 from lcowell/master

    gsub error on body in translate_paths --> gsub called for #<Array...>
    mdeering committed Jun 17, 2011
  2. Merge pull request #88 from daphonz/master

    PDFKit cannot find the wkhtmltopdf binary file in the gem wkhtmltopdf-binary when using Bundler
    mdeering committed Jun 17, 2011
Commits on May 28, 2011
Commits on May 25, 2011
  1. Add awareness of Bundler so PDFKit can properly load the binary file

    provided by a vendored wkhtmltopdf-binary gem or the like.
    daphonz committed May 25, 2011
Commits on May 9, 2011
Commits on May 7, 2011
Commits on May 6, 2011
  1. README.md updated with troubleshooting.

    Angelo Michel committed May 6, 2011
  2. README.md updated to describe the use of root_url

    Angelo Michel committed May 6, 2011
  3. Merge pull request #74 from vanderhoorn/master

    Some typo fixes
    mdeering committed May 6, 2011
Commits on Mar 28, 2011
  1. Add the binary mode to write the return stream, IO.popen(invoke, "wb+…

    …"). otherwise the method of to_pdf will gets truncated since pdf is a binary stream, I got this problem in Ruby 1.8.6 and Rails 1.2.3.
    bxu689 committed Mar 28, 2011
Commits on Feb 22, 2011
  1. Fix a link.

    jszakmeister committed Feb 22, 2011
Commits on Feb 21, 2011
  1. Typo fixes.

    vanderhoorn committed Feb 21, 2011
Commits on Jan 27, 2011
  1. Added root_url as configuration option to use instead of env['HTTP_HO…

    …ST'] in PDFKit::Middleware#translate_paths.
    Angelo Michel committed Jan 27, 2011
Commits on Jan 10, 2011
  1. More robust meta tag detection.

    Meta tag detection used rexml. While this gives all the power of parsing
    and working with XML, it is very strict on the input it accepts. On
    bad markup it simply throw the towel and gave up on parsing.
    
    As the detection of meta tags should not depend on bad (html) markup
    much later in the file, the parsing is now ported to using Regular
    Expression.
    huerlisi committed Jan 10, 2011
Commits on Jan 6, 2011
  1. Set @render_pdf variable to false on each Rack request.

    This fixes a bug when using PDFKit with WEBrick for testing.
    The Middleware instance seems to be reused and starts rendering
    every request as PDF. Even if the path does not include .pdf.
    huerlisi committed Jan 6, 2011
Commits on Dec 27, 2010
  1. Update gemfile.lock

    jdpace committed Dec 27, 2010
  2. Update history

    jdpace committed Dec 27, 2010
  3. Reorganize gemspec

    jdpace committed Dec 27, 2010
  4. Remove Jeweler from the equation

    Alex Redington committed Dec 27, 2010
  5. Document some known issues

    jdpace committed Dec 27, 2010