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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 178279b019c8dc96f99326c315c1830208ab3857
4
- data.tar.gz: 7946b1d75ffdb50e8d1db84ae5b8958921b66fe8
2
+ SHA256:
3
+ metadata.gz: 1f8d57ab6c83d496681d19d20bf623e023039927fe83acf9dae16cb14c669ba4
4
+ data.tar.gz: ab1e11643e0b5de253da6a77e6df860f27689541002fbfb5c58c09d7ef8121db
5
5
  SHA512:
6
- metadata.gz: 37a50612b94ca216e2afcc4e62af42b80783168ef262477b347d4b176f38ca67b84df3c0512e7c7569349165752be2c3d14a714a4379314b0095d426c3f2af40
7
- data.tar.gz: 37d21554f457de8ce6856a4c2d49a52f7967d7c58d4ca96c01fcbb1c1f6282fb5a5400dec85084057aaf073d9e7c871630f99a1904c564963c9da5b3041d84ef
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 /x86_64-darwin.*/
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", <<~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
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 = 1
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.1
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
- rubyforge_project:
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