lib/squib/constants.rb in squib-0.0.4 vs lib/squib/constants.rb in squib-0.0.5
- old
+ new
@@ -1,17 +1,17 @@
module Squib
# Squib's defaults for when arguments are not specified in the command nor layouts.
- #
+ #
# @api public
- SYSTEM_DEFAULTS = {
+ SYSTEM_DEFAULTS = {
:align => :left,
:alpha => 1.0,
:angle => 0,
:blend => :none,
:color => :black,
:default_font => 'Arial 36',
- :dir => "_output",
+ :dir => '_output',
:ellipsize => :end,
:fill_color => '#0000',
:force_id => false,
:font => :use_set,
:font_size => nil,
@@ -21,11 +21,11 @@
:hint => :off,
:img_dir => '.',
:justify => false,
:margin => 75,
:markup => false,
- :prefix => "card_",
+ :prefix => 'card_',
:progress_bar => false,
:range => :all,
:rotate => false,
:sheet => 0,
:spacing => 0,
@@ -38,31 +38,31 @@
:wrap => true,
:x => 0,
:x1 => 100,
:x2 => 150,
:x3 => 100,
- :x_radius => 0,
+ :x_radius => 0,
:y => 0,
:y1 => 100,
:y2 => 150,
:y3 => 150,
:y_radius => 0,
}
# Squib's configuration defaults
- #
+ #
# @api public
- CONFIG_DEFAULTS = {
+ CONFIG_DEFAULTS = {
'custom_colors' => {},
'dpi' => 300,
'hint' => :none,
'progress_bar' => false,
'img_dir' => '.',
}
- # These are parameters that are intended to be "expanded" across
- # range if they are singletons.
+ # These are parameters that are intended to be "expanded" across
+ # range if they are singletons.
#
# For example, using a different font for each card, using one `text`
#
# key: the internal name of the param (e.g. :files)
# value: the user-facing API key (e.g. file: 'abc.png')
@@ -104,6 +104,6 @@
:y1 => :y1,
:y2 => :y2,
:y3 => :y3,
:y_radius => :y_radius,
}
-end
\ No newline at end of file
+end