wkhtmltopdf-installer 0.12.2.1.3 → 0.12.3.3

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
  SHA1:
3
- metadata.gz: 0a465c41c6870d64d08381fdfa1c7b1c4a78bc5e
4
- data.tar.gz: df759b72362e5046b5d8dab0afb681aef506e030
3
+ metadata.gz: 7ba4e1c72abb27b386338621ab9750e97a08a869
4
+ data.tar.gz: d26843c1c044cfb431d21f79fef837eb830df1ea
5
5
  SHA512:
6
- metadata.gz: 725cdcef420b1e4aa43769d18a484e2a4215baae53c8eab7004adfc744914a39877d6f08f50e1813d8d5322b644256b02575419d7d409976e3b66a1009140da7
7
- data.tar.gz: 32e286da26699e12a25cf2be9253d11238f11f0d5803cef64d494187e98b25f5bc21dd960ef1319363923d80bd062fbd5e36ba714f04c626ff3ec71ad05af4fd
6
+ metadata.gz: fdce29b8af569b39156afed2dcd5cfdfcbc4c5567368141db378e06a5d59635dfa2345162e6a9b5b07220673d54c8e7c2b0f3338d44617fb7d17cbb0cd0532ce
7
+ data.tar.gz: 1b640e06786948a86fe6de47a0fe7196068b639565530e96f5c42d3d0e551d07482712438ffe8a5ccb0ebcbb52ce311ffd24661b0c73076dcf4f38afe9c11470
@@ -1,8 +1,5 @@
1
- DOWNLOADED = wkhtmltox.deb
2
- BINARY = $(TMPDIR)/usr/local/bin/wkhtmltopdf
1
+ DOWNLOADED = wkhtmltox.tar.xz
2
+ BINARY = $(TMPDIR)/wkhtmltox/bin/wkhtmltopdf
3
3
 
4
4
  unpack: tmp $(DOWNLOADED)
5
- cp $(DOWNLOADED) $(TMPDIR)/
6
- cd $(TMPDIR) && ar -x wkhtmltox.deb
7
- cd $(TMPDIR) && tar -xf data.*
8
-
5
+ tar -C $(TMPDIR) -xf $(DOWNLOADED)
@@ -8,9 +8,9 @@ def probe
8
8
  when /x86_64-darwin.*/
9
9
  OpenStruct.new(script: 'macos', platform: 'osx-cocoa-x86-64', ext: 'pkg')
10
10
  when /x86_64-linux/
11
- OpenStruct.new(script: 'linux', platform: 'linux-trusty-amd64', ext: 'deb')
11
+ OpenStruct.new(script: 'linux', platform: 'linux-generic-amd64', ext: 'tar.xz')
12
12
  when /i[3456]86-linux/
13
- OpenStruct.new(script: 'linux', platform: 'linux-trusty-i386', ext: 'deb')
13
+ OpenStruct.new(script: 'linux', platform: 'linux-generic-i386', ext: 'tar.xz')
14
14
  else
15
15
  raise NotImplementedError "Unsupported ruby platform #{RUBY_PLATFORM}"
16
16
  end
@@ -26,8 +26,8 @@ end
26
26
 
27
27
  # Some examples:
28
28
  # "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_osx-cocoa-x86-64.pkg"
29
- # "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_linux-trusty-amd64.deb"
30
- # "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_linux-trusty-i386.deb"
29
+ # "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_linux-generic-amd64.deb"
30
+ # "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_linux-generic-i386.deb"
31
31
  def package_url
32
32
  major_version = version.gsub(/^(\d+\.\d+).*$/, '\1')
33
33
  "http://download.gna.org/wkhtmltopdf/#{major_version}/#{version}/wkhtmltox-#{version}_#{probe.platform}.#{probe.ext}"
@@ -1,5 +1,5 @@
1
1
  module WkhtmltopdfInstaller
2
- VERSION = '0.12.2.1'.freeze
2
+ VERSION = '0.12.3'.freeze
3
3
  RELEASE_ITERATION = 3
4
4
  GEM_VERSION = "#{VERSION}.#{RELEASE_ITERATION}"
5
5
  end
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.2.1.3
4
+ version: 0.12.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Yartsev
@@ -45,9 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project:
48
- rubygems_version: 2.2.2
48
+ rubygems_version: 2.5.1
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: Light-weight cross-platform wkhtmltopdf binary installer
52
52
  test_files: []
53
- has_rdoc: