fontcustom 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fontcustom/cli.rb +7 -7
- data/lib/fontcustom/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07fe620667f4b198f8932d4d292b8173750041ec
|
4
|
+
data.tar.gz: 0a27e24f0f58a26536944252b0f0de451609be2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d88ed9b44deefc17413178e3b0a7c7a56dde9b916fcf0685911514e03758f49c1c0c83bc66aa6f5d7ac51aef58789726c7aa2c4ac3d6f12c4dc643edefdd2aa
|
7
|
+
data.tar.gz: dcb22b7c462e32216cd4c7f15be86a57f7e8d0588c7072ab28478e9031b006e73c5cea9dcadb2204d4a4a41122052be8003794b08f35a0ed00a0677f0a848668
|
data/lib/fontcustom/cli.rb
CHANGED
@@ -22,31 +22,31 @@ module Fontcustom
|
|
22
22
|
:enum => %w|preview css scss scss-rails|,
|
23
23
|
:default => EXAMPLE_OPTIONS[:templates]
|
24
24
|
|
25
|
-
class_option :font_name, :aliases => %w
|
25
|
+
class_option :font_name, :aliases => %w|--name -n|, :type => :string,
|
26
26
|
:desc => "The font's name. Also determines the file names of generated templates.",
|
27
27
|
:default => DEFAULT_OPTIONS[:font_name]
|
28
28
|
|
29
|
-
class_option :font_design_size, :aliases => %s
|
29
|
+
class_option :font_design_size, :aliases => %s|--size -s|, :type => :numeric,
|
30
30
|
:desc => "Size (in pica points) for which this font is designed.",
|
31
31
|
:default => DEFAULT_OPTIONS[:font_design_size]
|
32
32
|
|
33
|
-
class_option :font_em, :aliases => %w
|
33
|
+
class_option :font_em, :aliases => %w|--em -e|, :type => :numeric,
|
34
34
|
:desc => "The em size. Setting this will scale the entire font to the given size.",
|
35
35
|
:default => DEFAULT_OPTIONS[:font_em]
|
36
36
|
|
37
|
-
class_option :font_ascent, :aliases => %w
|
37
|
+
class_option :font_ascent, :aliases => %w|--ascent -a|, :type => :numeric,
|
38
38
|
:desc => "The font's ascent. Used to calculate the baseline.",
|
39
39
|
:default => DEFAULT_OPTIONS[:font_ascent]
|
40
40
|
|
41
|
-
class_option :font_descent, :aliases => %w
|
41
|
+
class_option :font_descent, :aliases => %w|--descent -d|, :type => :numeric,
|
42
42
|
:desc => "The font's descent. Used to calculate the baseline.",
|
43
43
|
:default => DEFAULT_OPTIONS[:font_descent]
|
44
44
|
|
45
|
-
class_option :css_selector, :aliases => %w
|
45
|
+
class_option :css_selector, :aliases => %w|--selector -S|, :type => :string,
|
46
46
|
:desc => "Format of CSS selectors. \"{{glyph}}\" is substituted for the glyph name.",
|
47
47
|
:default => DEFAULT_OPTIONS[:css_selector]
|
48
48
|
|
49
|
-
class_option :preprocessor_path, :aliases => %w
|
49
|
+
class_option :preprocessor_path, :aliases => %w|--prepath -p|, :type => :string,
|
50
50
|
:desc => "For Rails and Compass templates, set this as the relative path from your compiled CSS to your font output directory."
|
51
51
|
|
52
52
|
class_option :autowidth, :aliases => "-A", :type => :boolean,
|
data/lib/fontcustom/version.rb
CHANGED