spiffy 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/spiffy +7 -1
  3. data/lib/spiffy.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec28c740557bb3568fc5aae07e15b8d24bb653bc
4
- data.tar.gz: 3f12221b5c21935d12c67fd618fa3e6ba8dc1b75
3
+ metadata.gz: a98634a6d2e36a063cdb530761470c10d96af17c
4
+ data.tar.gz: 1005f0d72d78f30b69d0a4dfe87f4fa7d5fe1899
5
5
  SHA512:
6
- metadata.gz: 692c75bbb2375da1f6bb72e91aac373d48848d94c78f56cfd6de76bdf51cdd2b1c546745541b3882cb4764dc6b6df0ce29cf13d2c025e3313500474105c06fc3
7
- data.tar.gz: db8a1b403fdbdc6370cd8937371b58ea9ca44576e2071e22c3c7679191b814852f0c84d8a688cc3d662ca17b0935482c1251a5ab9281546761be90f58118e779
6
+ metadata.gz: b02bfba964ba03a1cdb148a36dd75e63e5f1c054a0a0ebda6a6dfe1cd76ac0f3da8196d52a926de455089b06f5ea24b299f734d7ee4b924fb7273b2d22fa60a5
7
+ data.tar.gz: aa530aac3a0ccbfdcf3bdfa2a3d9ca09a1928d7aedc78ff8d3880cc8a568414dd329fba0551ec51c11e69d5eb04873a6b1f10cb4c83d463b25dc04450da58304
data/bin/spiffy CHANGED
@@ -35,9 +35,15 @@ opt_parser = OptionParser.new do |opt|
35
35
  options["pdf"] = true
36
36
  end
37
37
 
38
- opt.on("-h", "--help", "help") do
38
+ opt.on("-h", "--help", "This usage outline.") do
39
39
  puts opt_parser
40
40
  end
41
+
42
+ opt.separator("")
43
+
44
+ opt.separator("Alternatively:")
45
+ opt.separator("Create a .spiffy.yml in this directory with options within.")
46
+ opt.separator("See https://github.com/leighmcculloch/spiffy.")
41
47
 
42
48
  opt.separator("")
43
49
  end
data/lib/spiffy.rb CHANGED
@@ -4,7 +4,7 @@ require "haml"
4
4
  require "pdfkit"
5
5
 
6
6
  module Spiffy
7
- VERSION = "0.0.7"
7
+ VERSION = "0.0.8"
8
8
 
9
9
  def self.markup_to_html(markup_file, css_file: nil, template_file: nil, pdf: false)
10
10
  markup_file_name = File.basename(markup_file, ".*")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spiffy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh McCulloch