lib/squib/conf.rb in squib-0.9.0 vs lib/squib/conf.rb in squib-0.10.0
- old
+ new
@@ -1,9 +1,8 @@
require 'forwardable'
-require 'squib'
-require 'squib/args/typographer'
require 'yaml'
+require_relative 'args/typographer'
module Squib
# @api private
class Conf
@@ -14,23 +13,24 @@
'custom_colors' => {},
'dir' => '_output',
'hint' => :none,
'img_dir' => '.',
'progress_bars' => false,
+ 'prefix' => 'card_',
'ldquote' => "\u201C", # UTF8 chars
'rdquote' => "\u201D",
'lsquote' => "\u2018",
'rsquote' => "\u2019",
'em_dash' => "\u2014",
'en_dash' => "\u2013",
'ellipsis' => "\u2026",
'smart_quotes' => true,
'text_hint' => 'off',
- 'warn_ellipsize'=> true,
- 'warn_png_scale'=> true,
+ 'warn_ellipsize' => true,
+ 'warn_png_scale' => true,
}
- #Translate the hints to the methods.
+ # Translate the hints to the methods.
ANTIALIAS_OPTS = {
nil => 'subpixel',
'best' => 'subpixel',
'good' => 'gray',
'fast' => 'gray',