html2pdf-rails 0.3.0 → 0.3.1

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: 44f0e15ca57d6f2925db42486dee5ce6520c70f31c6ab16a7d5b2c1ba328f71e
4
- data.tar.gz: a453b32763147459affa45f9f45ad6ede5e562c1c76d5afe60dce6b03cf008ac
3
+ metadata.gz: 81aa8cae824f6e905835a1c6a4b888c7fbd6be9a921b7f05afc16cabd5e1a97b
4
+ data.tar.gz: 9bd80fd9c5fa427b9a63d82bfa12341b7de3ad382fecb32b86878c22abc4540d
5
5
  SHA512:
6
- metadata.gz: 968683b734f24fe5eb62218f6698b61f04bdda767fb8a274648430b21a5979f537a4b762c1b8ff84917c6ec5e44c1e58325a7d03911031b27a47b4b24581f840
7
- data.tar.gz: 6b1be8598fdd6df2adf8bb8154fc528f55a82c96412293be9407dd3ba1a20c8a32bfb4fae537e5da2c9285ecdea88e77bee8036c6e78f96efe55e970ed796777
6
+ metadata.gz: a73c0aea849dea12e74af2c772d6987429b44b8016fadca7fb6acf6ae407838212cd85c3785b147ec37c1384c16338ad72a20ceb12fddddb6b41073d9e6566d0
7
+ data.tar.gz: 4029e1d519291d5787d2b95f2b780fdea2d42ed341727c10658182274b068a86bd5ed5522045c1304295dcc69aa1b7582ca7c069032e37320fd948406f3c91a1
@@ -13,7 +13,7 @@ module Html2Pdf
13
13
  @uri = URI.parse(endpoint)
14
14
  end
15
15
 
16
- def post(html:, put_to_storage: false, file_name: nil, disposition: null, pdf_options: {})
16
+ def post(html:, put_to_storage: false, file_name: nil, disposition: nil, pdf_options: {})
17
17
  http = Net::HTTP.new(@uri.host, @uri.port).tap { |h| h.use_ssl = @uri.scheme == 'https' }
18
18
  request = Net::HTTP::Post.new(@uri.request_uri, headers)
19
19
  request.body = {
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Html2Pdf
4
4
  module Rails
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2pdf-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki77
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-01 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails