puppet_pdf 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +29 -29
- data/lib/puppet_pdf.rb +3 -7
- data/lib/puppet_pdf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 151e16b5224894366e76b0e2ba15a66314d624edc0c803fd6062326b6969634d
|
4
|
+
data.tar.gz: 0aab9f841da9b2f7c169043fe0e9c3cb5902bc9b3cc390f5e27a35c2b5a4df44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c0c663360f49e1887039afbd916ef75df7a65bd0fa6908486e32014a68f9b572894238e58830fa5d1d74a1de5d0605399bd4eef13559401b3292f7d0400e13
|
7
|
+
data.tar.gz: df81297ee31a224c25bf430e8507a520f7490e5313f92d8f8e1117538a2445208172be79a7ac18d133176603752b74e44b0d9594e688732afd0a0a700c7e5f1f
|
data/Gemfile.lock
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
puppet_pdf (0.2.
|
4
|
+
puppet_pdf (0.2.2)
|
5
5
|
activerecord (~> 5.0, >= 5.0.0.1)
|
6
6
|
railties (~> 5.2, >= 5.2.3)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (5.2.
|
12
|
-
actionview (= 5.2.
|
13
|
-
activesupport (= 5.2.
|
14
|
-
rack (~> 2.0)
|
11
|
+
actionpack (5.2.4.2)
|
12
|
+
actionview (= 5.2.4.2)
|
13
|
+
activesupport (= 5.2.4.2)
|
14
|
+
rack (~> 2.0, >= 2.0.8)
|
15
15
|
rack-test (>= 0.6.3)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
18
|
-
actionview (5.2.
|
19
|
-
activesupport (= 5.2.
|
18
|
+
actionview (5.2.4.2)
|
19
|
+
activesupport (= 5.2.4.2)
|
20
20
|
builder (~> 3.1)
|
21
21
|
erubi (~> 1.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
23
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
24
|
-
activemodel (5.2.
|
25
|
-
activesupport (= 5.2.
|
26
|
-
activerecord (5.2.
|
27
|
-
activemodel (= 5.2.
|
28
|
-
activesupport (= 5.2.
|
24
|
+
activemodel (5.2.4.2)
|
25
|
+
activesupport (= 5.2.4.2)
|
26
|
+
activerecord (5.2.4.2)
|
27
|
+
activemodel (= 5.2.4.2)
|
28
|
+
activesupport (= 5.2.4.2)
|
29
29
|
arel (>= 9.0)
|
30
|
-
activesupport (5.2.
|
30
|
+
activesupport (5.2.4.2)
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
32
|
i18n (>= 0.7, < 2)
|
33
33
|
minitest (~> 5.1)
|
34
34
|
tzinfo (~> 1.1)
|
35
35
|
arel (9.0.0)
|
36
36
|
ast (2.4.0)
|
37
|
-
builder (3.2.
|
37
|
+
builder (3.2.4)
|
38
38
|
coderay (1.1.2)
|
39
|
-
concurrent-ruby (1.1.
|
40
|
-
crass (1.0.
|
39
|
+
concurrent-ruby (1.1.6)
|
40
|
+
crass (1.0.6)
|
41
41
|
diff-lcs (1.3)
|
42
|
-
erubi (1.
|
43
|
-
i18n (1.
|
42
|
+
erubi (1.9.0)
|
43
|
+
i18n (1.8.2)
|
44
44
|
concurrent-ruby (~> 1.0)
|
45
45
|
jaro_winkler (1.5.3)
|
46
|
-
loofah (2.
|
46
|
+
loofah (2.4.0)
|
47
47
|
crass (~> 1.0.2)
|
48
48
|
nokogiri (>= 1.5.9)
|
49
49
|
method_source (0.9.2)
|
50
50
|
mini_portile2 (2.4.0)
|
51
|
-
minitest (5.
|
52
|
-
nokogiri (1.10.
|
51
|
+
minitest (5.14.0)
|
52
|
+
nokogiri (1.10.9)
|
53
53
|
mini_portile2 (~> 2.4.0)
|
54
54
|
parallel (1.17.0)
|
55
55
|
parser (2.6.3.0)
|
@@ -57,17 +57,17 @@ GEM
|
|
57
57
|
pry (0.12.2)
|
58
58
|
coderay (~> 1.1.0)
|
59
59
|
method_source (~> 0.9.0)
|
60
|
-
rack (2.
|
60
|
+
rack (2.2.2)
|
61
61
|
rack-test (1.1.0)
|
62
62
|
rack (>= 1.0, < 3)
|
63
63
|
rails-dom-testing (2.0.3)
|
64
64
|
activesupport (>= 4.2.0)
|
65
65
|
nokogiri (>= 1.6)
|
66
|
-
rails-html-sanitizer (1.0
|
67
|
-
loofah (~> 2.
|
68
|
-
railties (5.2.
|
69
|
-
actionpack (= 5.2.
|
70
|
-
activesupport (= 5.2.
|
66
|
+
rails-html-sanitizer (1.3.0)
|
67
|
+
loofah (~> 2.3)
|
68
|
+
railties (5.2.4.2)
|
69
|
+
actionpack (= 5.2.4.2)
|
70
|
+
activesupport (= 5.2.4.2)
|
71
71
|
method_source
|
72
72
|
rake (>= 0.8.7)
|
73
73
|
thor (>= 0.19.0, < 2.0)
|
@@ -94,9 +94,9 @@ GEM
|
|
94
94
|
ruby-progressbar (~> 1.7)
|
95
95
|
unicode-display_width (>= 1.4.0, < 1.7)
|
96
96
|
ruby-progressbar (1.10.1)
|
97
|
-
thor (0.
|
97
|
+
thor (1.0.1)
|
98
98
|
thread_safe (0.3.6)
|
99
|
-
tzinfo (1.2.
|
99
|
+
tzinfo (1.2.6)
|
100
100
|
thread_safe (~> 0.1)
|
101
101
|
unicode-display_width (1.6.0)
|
102
102
|
|
data/lib/puppet_pdf.rb
CHANGED
@@ -3,15 +3,11 @@ require 'puppet_pdf/pdf_creator'
|
|
3
3
|
require 'puppet_pdf/railtie' if defined?(Rails)
|
4
4
|
|
5
5
|
module PuppetPdf
|
6
|
-
def self.pdf_from_url(url, options = {})
|
7
|
-
pdf_creator(:url, url, options).call
|
8
|
-
end
|
9
|
-
|
10
6
|
def self.pdf_from_html(html, options = {})
|
11
|
-
pdf_creator(
|
7
|
+
pdf_creator(html, options).call
|
12
8
|
end
|
13
9
|
|
14
|
-
private_class_method def self.pdf_creator(
|
15
|
-
::PuppetPdf::PdfCreator.new(
|
10
|
+
private_class_method def self.pdf_creator(source, options)
|
11
|
+
::PuppetPdf::PdfCreator.new(source, options)
|
16
12
|
end
|
17
13
|
end
|
data/lib/puppet_pdf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anderson Fernandes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|