wkhtmltopdf-installer 0.12.6.1 → 0.12.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/extconf.rb +11 -11
- data/lib/wkhtmltopdf_installer/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1f8d57ab6c83d496681d19d20bf623e023039927fe83acf9dae16cb14c669ba4
|
4
|
+
data.tar.gz: ab1e11643e0b5de253da6a77e6df860f27689541002fbfb5c58c09d7ef8121db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a639b014792956818e2789abf0c385a6fb25033c55dd269716080208038e482602150d0b080eaf7b4490986f9fba2633fc7f1d5ad8af47889ba239ddf4913079
|
7
|
+
data.tar.gz: e510dffb40dddc63e8691ead0c7f567c16ab0b31cbc5da09833615d31538bf28aeb0c2e0494be69ac765604b7c73b0fb450ea8b68f237431770dec7f4857e1c3
|
data/ext/extconf.rb
CHANGED
@@ -7,14 +7,14 @@ require_relative '../lib/wkhtmltopdf_installer'
|
|
7
7
|
|
8
8
|
def probe
|
9
9
|
@probe ||= case RUBY_PLATFORM
|
10
|
-
when /
|
10
|
+
when /darwin.*/ # both M1 ARM and x86 are supported for macos
|
11
11
|
OpenStruct.new(script: 'macos', platform: 'macos_cocoa', ext: 'pkg')
|
12
12
|
when /x86_64-linux/
|
13
13
|
OpenStruct.new(script: 'linux', platform: 'linux_amd64', ext: 'deb')
|
14
14
|
when /i[3456]86-linux/
|
15
15
|
OpenStruct.new(script: 'linux', platform: 'linux_i386', ext: 'deb')
|
16
16
|
else
|
17
|
-
raise NotImplementedError "Unsupported ruby platform #{RUBY_PLATFORM}"
|
17
|
+
raise NotImplementedError, "Unsupported ruby platform #{RUBY_PLATFORM}"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -36,13 +36,13 @@ def package_url
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# The main Makefile contains settings only. The actual work is done by os-specific Makefile.xxxxx files
|
39
|
-
File.write "#{makefile_dir}/Makefile",
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
39
|
+
File.write "#{makefile_dir}/Makefile", <<-EOF
|
40
|
+
URL = #{package_url}
|
41
|
+
LIBEXEC = #{WkhtmltopdfInstaller.libexec_dir}
|
42
|
+
TARGET = #{WkhtmltopdfInstaller.wkhtmltopdf_path}
|
43
|
+
TMPDIR = #{Dir.mktmpdir}
|
44
|
+
all: unpack
|
45
|
+
install: copy clean
|
46
|
+
include Makefile.#{probe.script}
|
47
|
+
include Makefile.common
|
48
48
|
EOF
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module WkhtmltopdfInstaller
|
4
4
|
# VERSION corresponds to wkhtmltopdf's version
|
5
5
|
VERSION = '0.12.6'
|
6
|
-
RELEASE_ITERATION =
|
6
|
+
RELEASE_ITERATION = 2
|
7
7
|
GEM_VERSION = "#{VERSION}.#{RELEASE_ITERATION}"
|
8
8
|
|
9
9
|
# This is a version of binaries from https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wkhtmltopdf-installer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.6.
|
4
|
+
version: 0.12.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Yartsev
|
@@ -44,8 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|
47
|
-
|
48
|
-
rubygems_version: 2.6.14.4
|
47
|
+
rubygems_version: 3.0.3
|
49
48
|
signing_key:
|
50
49
|
specification_version: 4
|
51
50
|
summary: Light-weight cross-platform wkhtmltopdf binary installer
|