Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Apr 18, 2012

  1. Marcelo Silveira

    avoid iconv deprecation warning in ruby 1.9.3 (fix #23)

    authored April 02, 2012

Oct 15, 2011

  1. Shairon Toledo

    Merge pull request #14 from meltedice/fix-output-filename-for-multipage

    Fixed output filename for multipage that including more than one ".".
    authored October 15, 2011

Aug 05, 2011

  1. ice

    Fixed output filename for multipage that including more than one ".".

    When invoke RGhost::Convert#to with :filename including multiple dots like this: "sample.1.2.3.jpg",
    rghost generates like this output filename "sample_%04d.1_%04d.2_%04d.3_%04d.jpg".
    Then failed to convert.
    
    So fixed following line in lib/rghost/ruby_ghost_engine.rb:
    -     file_out.gsub!(/\./,"_%04d.") if multipage
    +     file_out.gsub!(/^(.*)\./,'\1_%04d.') if multipage
    
    A minimum reproducible case is:
    
    # % gs --version
    # => 8.71
    
    require 'rghost'
    rg = RGhost::Convert.new("../sample.1.2.3.pdf")
    jpegs = rg.to(:jpeg, :multipage => true, :filename => "../sample.1.2.3.jpg", :debug => true)
    # => GPL Ghostscript 9.02: Unrecoverable error, exit code 1
    # => /opt/local/bin/gs  -dNOPAUSE -dBATCH -dQUIET -dNOPAGEPROMPT -I/path/to/rghost/lib/rghost/ps -I -sDEVICE=jpeg -sstdout=../sample.1.2.3.jpg.rgerr -sOutputFile=_%04d._%04d./sample_%04d.1_%04d.2_%04d.3_%04d.jpg ../sample.1.2.3.pdf
    authored August 05, 2011

Jun 09, 2011

  1. Shairon Toledo

    Merge pull request #13 from cncardoso/master

    Readme
  2. Clair Cardoso

    Returning readme to previous state

    authored June 09, 2011

Jun 07, 2011

  1. Shairon Toledo

    New gem version to External encoding

  2. Shairon Toledo

    Merge pull request #12 from cncardoso/master

    Option to set an external_encoding for Ruby 1.9

May 17, 2011

  1. Clair Cardoso

    added some documentation

    authored May 17, 2011
  2. Clair Cardoso

    Adding external_encoding configuration. Resolve some encoding issues …

    …with Ruby 1.9 like UndefinedConversionError ... from ASCII-8BIT to UTF-8
    authored May 17, 2011

Feb 06, 2011

  1. Shairon Toledo

    Fixing issue with matrix/grid

    authored February 06, 2011

Jan 20, 2011

  1. Shairon Toledo

    Chnages for gem specs

    authored January 20, 2011
  2. Shairon Toledo

    Replacing Dir.glob to static files declaration

    authored January 20, 2011

Jan 19, 2011

  1. Vinicius Teles

    Notei que a gemspec não continha a lista de arquivos da gem. Em funçã…

    …o disso, ao menos no meu ambiente, o bundler não estava conseguindo usar o rghost tal como se encontra em sua versão mais recente, no HEAD.
    
    Alterei o rghost.gemspec fazendo com que passasse a ter toda a lista de arquivos e agora o bundler consegue utilizá-lo corretamente.
    authored January 19, 2011

Dec 21, 2010

  1. dan-fynanz

    fixing circle method typo

    authored December 20, 2010

Dec 02, 2010

  1. Feras Hirzalla

    Updated case statements in image.rb for 1.9.2 compat

    authored November 19, 2010 shairontoledo committed December 02, 2010

Jul 31, 2009

  1. Shairon Toledo

    Fixed platform issue

  2. Shairon Toledo

    Syntax compatible with ruby 1.9

Jul 24, 2009

  1. Shairon Toledo

    Go backing the old escape code

Jun 06, 2009

  1. Shairon Toledo

    Added full path to each require command

May 30, 2009

  1. Shairon Toledo

    using block variable instead of instance_eval

  2. Shairon Toledo

    using block variable instead of instance_eval

  3. Shairon Toledo

    using block variable instead of instance_eval

  4. Shairon Toledo

    No commit message

  5. Shairon Toledo

    No commit message

  6. Shairon Toledo

    No commit message

  7. Shairon Toledo

    lacked a comma, thanks rspec

  8. Shairon Toledo

    new file loader

May 18, 2009

  1. Shairon Toledo

    A couple of changes to prepare it to work together with rghost-rails

Apr 20, 2009

  1. Shairon Toledo

    Added render_stream treatment

    authored April 20, 2009

Apr 14, 2009

  1. Fixed case-when that uses ":" (ruby 1.9 compatibility fix)

    authored April 14, 2009
  2. Ruby 1.9 compatible case-when statements

    authored April 14, 2009

Jan 14, 2009

  1. Shairon Toledo

    fixed pdf to jpg using multipages and incremented version to 0.8.6.3

    authored January 14, 2009
  2. Shairon Toledo

    fixed pdf to jpg using multipages

    authored January 14, 2009

Jan 08, 2009

  1. Shairon Toledo

    incremented version to 0.8.6.2

    authored January 08, 2009
  2. Shairon Toledo

    Solved namespace problem using rails_grid

    authored January 08, 2009
Something went wrong with that request. Please try again.