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 +4 -4
- data/ext/Makefile.linux +3 -6
- data/ext/extconf.rb +4 -4
- data/lib/wkhtmltopdf_installer/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba4e1c72abb27b386338621ab9750e97a08a869
|
4
|
+
data.tar.gz: d26843c1c044cfb431d21f79fef837eb830df1ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdce29b8af569b39156afed2dcd5cfdfcbc4c5567368141db378e06a5d59635dfa2345162e6a9b5b07220673d54c8e7c2b0f3338d44617fb7d17cbb0cd0532ce
|
7
|
+
data.tar.gz: 1b640e06786948a86fe6de47a0fe7196068b639565530e96f5c42d3d0e551d07482712438ffe8a5ccb0ebcbb52ce311ffd24661b0c73076dcf4f38afe9c11470
|
data/ext/Makefile.linux
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
DOWNLOADED = wkhtmltox.
|
2
|
-
BINARY = $(TMPDIR)/
|
1
|
+
DOWNLOADED = wkhtmltox.tar.xz
|
2
|
+
BINARY = $(TMPDIR)/wkhtmltox/bin/wkhtmltopdf
|
3
3
|
|
4
4
|
unpack: tmp $(DOWNLOADED)
|
5
|
-
|
6
|
-
cd $(TMPDIR) && ar -x wkhtmltox.deb
|
7
|
-
cd $(TMPDIR) && tar -xf data.*
|
8
|
-
|
5
|
+
tar -C $(TMPDIR) -xf $(DOWNLOADED)
|
data/ext/extconf.rb
CHANGED
@@ -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-
|
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-
|
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-
|
30
|
-
# "http://download.gna.org/wkhtmltopdf/0.12/#{version}/wkhtmltox-#{version}_linux-
|
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}"
|
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.
|
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.
|
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:
|