Sha256: e0b04c8dfcffb99d07ace1c3f1ce7738329918397ecf719a9767534792c37e29
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
require 'rubygems' require 'sinatra/base' require 'json' require 'nokogiri' require 'fileutils' require 'logger' require 'tilt' require 'css_parser' begin require 'RMagick' rescue LoadError $stderr.puts %{ -------------------------------------------------------------------------------- Please install RMagick: $ gem install rmagick RMagick is required for: * Static output to ensure images are included with the documents * Web rendering, auto-re-sizing of images -------------------------------------------------------------------------------- } end begin require 'pdfkit' rescue LoadError $stderr.puts %{ -------------------------------------------------------------------------------- Please install PDFKit and wkhtmltopdf-binary: $ gem install pdfkit $ gem install wkhtmltopdf-binary PDFKit and wkhtmltopdf-binary are required to provide PDF output -------------------------------------------------------------------------------- } end require_relative 'parade/helpers/encode_image' require_relative 'parade/server'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parade-0.8.0 | lib/parade.rb |