pdf-rendering-srv-ruby 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dff035b56c29a941c0adba86bcb6ad3c0ea6719fc841c1a5803e6db247552fd9
4
- data.tar.gz: ccea6573976c3b56a600ea058a7d59ee0e6d98fc102b333fc93478dbb7af2ae5
3
+ metadata.gz: 75784a71d7c9c3dadfe557c45bcbfdad003a3f29cac012b5b62e642763175b9d
4
+ data.tar.gz: 8eb86d695c0e9100ddb62fe67813392820cece42593fb38e07d3ac1c6e5f5794
5
5
  SHA512:
6
- metadata.gz: e809ee3f3c8f75318b5b8a718f37d2eed8e49dd382f053a56b7135af49e109322638770b44e9d078337efcfa01c23891f9f70ad2ed7f28c564e975415e8b3986
7
- data.tar.gz: f051799b47b318aa1d63e65c8ae16d3386b294a6fc71067559b35e531eb50851be62c8a02713ea2d22d6089654257fcaefeb20495a5fcbe9632a974edb5dd3ca
6
+ metadata.gz: f0deb46cc1f4994ea851d08e4ffca8054f80fb6c59f7018ab5314b6397631349250fad2696834caa9bf35e7776545ad16db6d64ac2b8079e752dcf4e7c0a6596
7
+ data.tar.gz: 56fb03ac939e5308938cfc19d00aba247357a4887a81dc721f71c409f2f96f7a21d93d5e1a06c1047dfb3b9de8824c2eb6c4139bc361e2abddb9db78fd7fcd38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.3
4
+
5
+ * header/footer pdf attributes
6
+
3
7
  ## 0.1.2
4
8
 
5
9
  * fix nesting on `pdf.margin` and `screenshot.clip`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pdf-rendering-srv-ruby (0.1.2)
4
+ pdf-rendering-srv-ruby (0.1.3)
5
5
  dry-struct (~> 1.3)
6
6
  dry-types (~> 1.4)
7
7
  http (~> 4.4)
@@ -48,11 +48,15 @@ module PdfRenderingSrv
48
48
  attribute? :pdf do
49
49
  attribute? :scale, Types::Coercible::Float.optional
50
50
  attribute? :print_background, Types::Bool.optional
51
+ attribute? :display_header_footer, Types::Bool.optional
52
+ attribute? :header_template, Types::String.optional
53
+ attribute? :footer_template, Types::String.optional
51
54
  attribute? :landscape, Types::Bool.optional
52
55
  attribute? :page_ranges, Types::Coercible::String.optional
53
56
  attribute? :format, Types::Coercible::String.optional
54
57
  attribute? :width, Types::Coercible::String.optional
55
58
  attribute? :height, Types::Coercible::String.optional
59
+ attribute? :full_page, Types::Bool.optional
56
60
  attribute? :margin do
57
61
  attribute? :top, Types::Coercible::String.optional
58
62
  attribute? :right, Types::Coercible::String.optional
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PdfRenderingSrv
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-rendering-srv-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna