rodolfo 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rodolfo.rb +2 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 721c332031a996a570c5084587a12caa636cec6b
4
- data.tar.gz: 5f1857ff5e61f6cdc3af3493706b8834de5a7faa
3
+ metadata.gz: e2aea565827b23bb3911842c4b4ca1cb4b397a0e
4
+ data.tar.gz: d8cf525429b159f60bc7ce3c151197d2fce9c321
5
5
  SHA512:
6
- metadata.gz: cf72f7910018f6a6b41b369bbe8c59fbf0cfc14745dac772407558b86762f577a21dc8e6a62a92b7e44254beb2fab79897d2e48ef2e1273d06f805505d2cd870
7
- data.tar.gz: c1cd4c02b2d7eddfb204fe59de0c4015d6c4e4f4ba687c4708e432b5499e43699d919f7af0d31201b8986d18dc467411c192078c879debdc3e8f5ec2fae32565
6
+ metadata.gz: 568c789d07d2e53efb55bdf684938f962097fdbafad20aa2157e9ef42fe2913299c99d71ffed5d5007d75f7e931afde5db4a1f9df3d657173df992da38e97569
7
+ data.tar.gz: 7f72556e283a9cd785952503b256e1afafb01747cca348dd4bf8b248a7b55f8c8074cc839adb3b06a7f30cdfb9af26f45b4de6f1d40dd21491eb0fad60afb9d7
data/lib/rodolfo.rb CHANGED
@@ -5,7 +5,7 @@ require 'prawn/measurement_extensions'
5
5
  require 'prawn/table'
6
6
 
7
7
  module Rodolfo
8
- VERSION = '0.0.3'.freeze
8
+ VERSION = '0.0.4'.freeze
9
9
 
10
10
  class Package
11
11
  def initialize(path)
@@ -20,8 +20,7 @@ module Rodolfo
20
20
 
21
21
  def make(data)
22
22
  require @template_file_path
23
- p = Rodolfo::Template.new data
24
- Prawn::Document.new(&p).render
23
+ Rodolfo::Template.new(data).render
25
24
  end
26
25
  end
27
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodolfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Initios
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-15 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create pdfs with Prawn
14
14
  email: dev@initios.com