slim2pdf 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -1
- data/lib/slim2pdf/version.rb +1 -1
- data/lib/slim2pdf/writer.rb +2 -0
- data/slim2pdf.gemspec +3 -2
- data/test/writer_test.rb +1 -1
- metadata +21 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ef8e004d2f50a7b474c91fd8f762e128db4c50f08dca5cbe9bc14bb5b80e71f0
|
4
|
+
data.tar.gz: 954e640d1f1a67be96c12a51c7a1f3333ecb1cc4a871f79888b830147dd8f64f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8d3438a077f40ca8b711681958df0685c5a6944e2ff5067c875dc6315ed28f8c8b67b10d5c1f50423b937267878ae6f5c00ebb067553a25c4c282f3fa72586f
|
7
|
+
data.tar.gz: 15eae9440f3f54004176d2c78cf8fe7cffef55ae2f813c2027e95ef552bfd95de7b4750509175c721814a2464439a12f8db1cc5644c52f88a87a223310812354
|
data/.travis.yml
CHANGED
data/lib/slim2pdf/version.rb
CHANGED
data/lib/slim2pdf/writer.rb
CHANGED
data/slim2pdf.gemspec
CHANGED
@@ -20,8 +20,9 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "minitest"
|
23
24
|
spec.add_development_dependency "simplecov"
|
24
25
|
|
25
|
-
spec.add_dependency 'slim', '~>
|
26
|
-
spec.add_dependency "wkhtmltopdf-binary", "~> 0.12.
|
26
|
+
spec.add_dependency 'slim', '~> 4.0.1'
|
27
|
+
spec.add_dependency "wkhtmltopdf-binary", "~> 0.12.4"
|
27
28
|
end
|
data/test/writer_test.rb
CHANGED
@@ -3,7 +3,7 @@ require 'logger'
|
|
3
3
|
require 'stringio'
|
4
4
|
|
5
5
|
module Slim2pdf
|
6
|
-
class WriterTest <
|
6
|
+
class WriterTest < Minitest::Test
|
7
7
|
def setup
|
8
8
|
@data = { title: 'Slim2pdf', content: 'Slim to PDF conversion gem' }
|
9
9
|
@template = File.expand_path('../tpl/test.slim', __FILE__)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Macuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: simplecov
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +72,28 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: 4.0.1
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: 4.0.1
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: wkhtmltopdf-binary
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.12.
|
89
|
+
version: 0.12.4
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.12.
|
96
|
+
version: 0.12.4
|
83
97
|
description: Slim2pdf renders slim template with data hash and save the results as
|
84
98
|
pdf file.
|
85
99
|
email:
|
@@ -132,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
146
|
- !ruby/object:Gem::Version
|
133
147
|
version: '0'
|
134
148
|
requirements: []
|
135
|
-
|
136
|
-
rubygems_version: 2.4.8
|
149
|
+
rubygems_version: 3.0.3
|
137
150
|
signing_key:
|
138
151
|
specification_version: 4
|
139
152
|
summary: Slim template to pdf file conversion tool.
|