spiffy 0.0.6 → 0.0.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/spiffy +1 -1
  3. data/lib/spiffy.rb +2 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac18ce6c571c53f9ed882cea152d68ff4758579c
4
- data.tar.gz: 46f7e751eeadfb0e965e27a6da076a1fb2fbfd8b
3
+ metadata.gz: ec28c740557bb3568fc5aae07e15b8d24bb653bc
4
+ data.tar.gz: 3f12221b5c21935d12c67fd618fa3e6ba8dc1b75
5
5
  SHA512:
6
- metadata.gz: cae14686b5e33a7798d05f41a733c6e8367595870832abba523ea40d03328fb782fac3cc2adf6c1ab019bb8bdefdc6be9d75b9213cbf80d54691d45f4e6325c8
7
- data.tar.gz: 1dd296b2ed096fc096f7c8d7de0ace66c48368f267ec858444d994b6bc0d620d596f1cdd2b4037a39ffd1be30a2a78e4c69f8461c01186ca7bb620a2e75f9b7c
6
+ metadata.gz: 692c75bbb2375da1f6bb72e91aac373d48848d94c78f56cfd6de76bdf51cdd2b1c546745541b3882cb4764dc6b6df0ce29cf13d2c025e3313500474105c06fc3
7
+ data.tar.gz: db8a1b403fdbdc6370cd8937371b58ea9ca44576e2071e22c3c7679191b814852f0c84d8a688cc3d662ca17b0935482c1251a5ab9281546761be90f58118e779
data/bin/spiffy CHANGED
@@ -19,7 +19,7 @@ options = {
19
19
 
20
20
  opt_parser = OptionParser.new do |opt|
21
21
  opt.banner = "Usage: spiffy [options] [file] [file] ..."
22
- opt.separator("Version: 0.0.3")
22
+ opt.separator("Version: #{Spiffy::VERSION}")
23
23
  opt.separator("")
24
24
  opt.separator("Options")
25
25
 
@@ -4,6 +4,8 @@ require "haml"
4
4
  require "pdfkit"
5
5
 
6
6
  module Spiffy
7
+ VERSION = "0.0.7"
8
+
7
9
  def self.markup_to_html(markup_file, css_file: nil, template_file: nil, pdf: false)
8
10
  markup_file_name = File.basename(markup_file, ".*")
9
11
  markup = File.open(markup_file, "r:UTF-8", &:read)
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh McCulloch