lucarecord 0.5.0 → 0.5.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: 7741bc3462c9b4bb661789bfb04d7b0ff72de0ac799ffd94f392024601f01252
4
- data.tar.gz: '0396d2996311932d601f30f971bee36f85e1b361339371c2075c1a2accac80be'
3
+ metadata.gz: a08f1701d74d851bed03a7715a3732cdd7250c7ea819785965a7bfbb612d5ded
4
+ data.tar.gz: a0859eae9aeef68a80eac597c5f2fe3b1cf3f72c285b22451b0312df99f98d98
5
5
  SHA512:
6
- metadata.gz: bfee9c41fca0234febda5614cca159b3b6b3d7c02215f216604dd0fc1a65e54ba819656ecf340a063b64115c86dbd83c424da2ba58bd3efb154b567801552dfe
7
- data.tar.gz: 7c5b56ee7275218ba98c95cd75203f252243b5cfb304e0d6b6302e99d7cda7bf791b8400684ecdc762d7a3a8215d6dde0c9887215dedaa798a5397feac2e77a2
6
+ metadata.gz: 40b5cebc5335ca1d7f67f47c73b5964614fb576e5acd3788d82cabd35df8552552584e5d6a218841c3ea69109bb950879d039e94801126c2f6b789c81fde646a
7
+ data.tar.gz: fc64a3de02ddc1b61f8806999ddc20fff4199ee836a0a9b612f0172f710ebb4ebe976424f1a22b136438074797a6cf96bb5b2372499ac5cb29f80123c50d4091
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## LucaRecord 0.5.1
2
+
3
+ * add `--enable-local-file-access` option to `wkhtmltopdf` command.
4
+
1
5
  ## LucaRecord 0.5.0
2
6
 
3
7
  * Exclude mail gem from dependencies. Just install it separately if you use mail functionality.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaRecord
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
@@ -29,8 +29,8 @@ module LucaSupport
29
29
  # Requires wkhtmltopdf command
30
30
  #
31
31
  def html2pdf(html_dat)
32
- out, err, stat = Open3.capture3('wkhtmltopdf - -', stdin_data: html_dat)
33
- puts err
32
+ out, err, stat = Open3.capture3('wkhtmltopdf --enable-local-file-access - -', stdin_data: html_dat)
33
+ STDERR.puts err
34
34
  out
35
35
  end
36
36
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucarecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuma Takahiro
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-19 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,7 +81,7 @@ metadata:
81
81
  homepage_uri: https://github.com/chumaltd/luca/tree/master/lucarecord
82
82
  source_code_uri: https://github.com/chumaltd/luca/tree/master/lucarecord
83
83
  changelog_uri: https://github.com/chumaltd/luca/tree/master/lucarecord/CHANGELOG.md
84
- post_install_message:
84
+ post_install_message:
85
85
  rdoc_options: []
86
86
  require_paths:
87
87
  - lib
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubygems_version: 3.3.5
100
- signing_key:
100
+ signing_key:
101
101
  specification_version: 4
102
102
  summary: ERP File operation framework
103
103
  test_files: []