spiffy 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/spiffy +4 -4
- data/lib/spiffy.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: 8fd7207321a4862e5d721ceec8c5f8a5da9aee23
|
|
4
|
+
data.tar.gz: 5c50cbdc02cb7a5e4530d04069578808a5908d0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b946ec0af3015da987bc908e55cf2a0cd608780943fa045b0872c8143958c76d25f88253627d2a184a25c7d7f21df1b8488f6a30bd5fcd84128cff1f1cf7703a
|
|
7
|
+
data.tar.gz: ea2cb7e0be61583c3be582aa82a22fbaa8bae14aa87988c65f5fdd5b4dbfaae37c97fed7a80a02706e1476a0362cc91f126721b3da51a997dc44cf9f63a9ca71
|
data/bin/spiffy
CHANGED
|
@@ -56,7 +56,7 @@ case
|
|
|
56
56
|
when ARGV.any?
|
|
57
57
|
warn "Ignoring .spiffy.yml as arguments provided." if has_dot_file
|
|
58
58
|
sets = ARGV.map do |arg|
|
|
59
|
-
{ "markdown_files" => [arg] }
|
|
59
|
+
{ "markdown_files" => [arg] }
|
|
60
60
|
end
|
|
61
61
|
when has_dot_file
|
|
62
62
|
sets = YAML.load_file(DOT_FILE)
|
|
@@ -72,9 +72,9 @@ sets.each do |set|
|
|
|
72
72
|
Dir[input].each do |file|
|
|
73
73
|
print "Converting #{file}..."
|
|
74
74
|
Spiffy.markup_to_html(file,
|
|
75
|
-
css_file: set["css_file"],
|
|
76
|
-
template_file: set["template_file"],
|
|
77
|
-
pdf: set["pdf"])
|
|
75
|
+
css_file: set["css_file"] || options["css_file"],
|
|
76
|
+
template_file: set["template_file"] || options["template_file"],
|
|
77
|
+
pdf: set["pdf"] || options["pdf"])
|
|
78
78
|
puts "done"
|
|
79
79
|
end
|
|
80
80
|
end
|
data/lib/spiffy.rb
CHANGED