Package not found. Please check the package name and try again.

puppet_pdf 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7e2fd0f6f67523d32c4014d3b856288e2744995c9ccacbdeb495b7b362c3eb9
4
- data.tar.gz: 7a8677b7dadc73e3d9903b323063fb1fe09f94319c20534ce7520835afb8cab7
3
+ metadata.gz: 151e16b5224894366e76b0e2ba15a66314d624edc0c803fd6062326b6969634d
4
+ data.tar.gz: 0aab9f841da9b2f7c169043fe0e9c3cb5902bc9b3cc390f5e27a35c2b5a4df44
5
5
  SHA512:
6
- metadata.gz: e1a235b1546b3d088cbd2d1f3e6372c706b9b1ce2a496d6da1f0d5b947fcc8dbb5dbe1ae242b5dce94fce3ebf4d9c197d82498d0573c0287170ee636accf10d1
7
- data.tar.gz: becab4ac18f1c40c9b42beb111d08ad128e05c2c25e5857a1c494d10257d447a8b350163c0cce3f2695764e550a85a9ba861fceddee1ede4fdde9607efb21d3d
6
+ metadata.gz: 00c0c663360f49e1887039afbd916ef75df7a65bd0fa6908486e32014a68f9b572894238e58830fa5d1d74a1de5d0605399bd4eef13559401b3292f7d0400e13
7
+ data.tar.gz: df81297ee31a224c25bf430e8507a520f7490e5313f92d8f8e1117538a2445208172be79a7ac18d133176603752b74e44b0d9594e688732afd0a0a700c7e5f1f
@@ -1,55 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puppet_pdf (0.2.0)
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.3)
12
- actionview (= 5.2.3)
13
- activesupport (= 5.2.3)
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.3)
19
- activesupport (= 5.2.3)
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.3)
25
- activesupport (= 5.2.3)
26
- activerecord (5.2.3)
27
- activemodel (= 5.2.3)
28
- activesupport (= 5.2.3)
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.3)
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.3)
37
+ builder (3.2.4)
38
38
  coderay (1.1.2)
39
- concurrent-ruby (1.1.5)
40
- crass (1.0.5)
39
+ concurrent-ruby (1.1.6)
40
+ crass (1.0.6)
41
41
  diff-lcs (1.3)
42
- erubi (1.8.0)
43
- i18n (1.6.0)
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.3.1)
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.11.3)
52
- nokogiri (1.10.8)
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.0.8)
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.4)
67
- loofah (~> 2.2, >= 2.2.2)
68
- railties (5.2.3)
69
- actionpack (= 5.2.3)
70
- activesupport (= 5.2.3)
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.20.3)
97
+ thor (1.0.1)
98
98
  thread_safe (0.3.6)
99
- tzinfo (1.2.5)
99
+ tzinfo (1.2.6)
100
100
  thread_safe (~> 0.1)
101
101
  unicode-display_width (1.6.0)
102
102
 
@@ -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(:html, html, options).call
7
+ pdf_creator(html, options).call
12
8
  end
13
9
 
14
- private_class_method def self.pdf_creator(source_type, source, options)
15
- ::PuppetPdf::PdfCreator.new(source_type, source, options)
10
+ private_class_method def self.pdf_creator(source, options)
11
+ ::PuppetPdf::PdfCreator.new(source, options)
16
12
  end
17
13
  end
@@ -1,3 +1,3 @@
1
1
  module PuppetPdf
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
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.1
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-02 00:00:00.000000000 Z
11
+ date: 2020-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler