palapala_pdf 0.1.18 → 0.1.19

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: a2f0246a83bf590a8d69d9b0136e51aa432b01ecf623a9e65f2592305e490efc
4
- data.tar.gz: 440206bd8724f253aa31ed2402497479fca5de32f9a4be2314030278fdb5b279
3
+ metadata.gz: 837d0f0eeca4484a6c8e6ccb8f5113889653d6076eb0a25b2ed13997de2c4656
4
+ data.tar.gz: 34561e1c72d7ff0f363055f0a9264e5a8fe2a30f31888e82679fa62a779fd054
5
5
  SHA512:
6
- metadata.gz: 36ab7d19aae3b30a264472a839b990247a2a3e58c000e85f34b78374ef9bf2514c2b908a4d3bfca7b1aa9831a576822e11be0959b8042b8cf42cd2cc9bb912ab
7
- data.tar.gz: 103be7bc90d547e2f82a03b294e5dad77a4ed707d24e5132925470b78d90a8719efa2f61cbe062b126bf57f3b52a736f13d7e56013e93beccb540295c07b8559
6
+ metadata.gz: 6402a0c71a59806fd91241118a51a993a1439afdde35f2b969ffb23c6df38bc071685801b08490f4789828536b0f1a10c86f6fe5ce48af79e8a7350fe3ff8b21
7
+ data.tar.gz: 40f62b4e5c9e14460c92ead8ed7439044a5d69636b670a6cb823349de069cb8e1be855a3cb2480a7dc9ae63d218d2125d2c7708aad856d64e4a06d3b13877e5f
@@ -83,7 +83,7 @@ module Palapala
83
83
  system("#{chrome_path} --version") if Palapala.debug
84
84
  # Launch chrome-headless-shell with the --remote-debugging-port parameter
85
85
  params = [ "--disable-gpu", "--remote-debugging-port=9222", "--remote-debugging-address=0.0.0.0" ]
86
- params.merge!(Palapala.chrome_params) if Palapala.chrome_params
86
+ params.concat(Palapala.chrome_params) if Palapala.chrome_params
87
87
  pid = if Palapala.debug
88
88
  spawn(chrome_path, *params)
89
89
  else
@@ -98,7 +98,7 @@ module Palapala
98
98
 
99
99
  def self.spawn_chrome_from_path
100
100
  params = [ "--headless", "--disable-gpu", "--remote-debugging-port=9222" ]
101
- params.merge!(Palapala.chrome_params) if Palapala.chrome_params
101
+ params.concat(Palapala.chrome_params) if Palapala.chrome_params
102
102
  # Spawn an existing chrome with the path and parameters
103
103
  Process.spawn(chrome_path, *params)
104
104
  end
@@ -1,3 +1,3 @@
1
1
  module Palapala
2
- VERSION = "0.1.18"
2
+ VERSION = "0.1.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: palapala_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koen Handekyn