wkhtmltox-binaries 0.12.3 → 0.13.0.pre.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58019b226a871e0230e488cc72436630ef95fb5e
4
- data.tar.gz: 76e2815143b2bba116991fa11412583168d84069
3
+ metadata.gz: 2f8892a9ca103192b53f724d23b79a70d576fa47
4
+ data.tar.gz: b8a0d9903597cce0a3487f5dc10347e877280f51
5
5
  SHA512:
6
- metadata.gz: 56c4ac50567f7be709f5f70515bd15d4b53bab4eab5a03cbfd8a8f4fdfd5a745bc2240179f11bcb4f2930df937a31ea020a4458adaa3301c65855272e0524ad4
7
- data.tar.gz: da189c3ccd1a5dcb2c2bd5f2e4690710df1cc6592447e5c68e5a6f7f1f44f96ff938e7a2a6f80a963619e948013221868c0065276f729f9d1b81fafa8436e059
6
+ metadata.gz: c1ef5f91e40b753f6238c0681b7539e413c30e66b9d6d874f1e866ed3a1e91c0bdc464063d51bfa4013624aa2528331c1ba7837b084e332749dfec1cac0fc164
7
+ data.tar.gz: ced6d97af1cab9a1c14f6a8264dcb7d4fe340aa598007ead51bffa8af7e2b649e104b1091caa6651a80fe663925bb45411b7291aa793ba06a8bb8c4e852fde54
data/README.md CHANGED
@@ -7,17 +7,19 @@
7
7
  [![Dependency Status](https://gemnasium.com/phlegx/wkhtmltox-binaries.svg)](https://gemnasium.com/phlegx/wkhtmltox-binaries)
8
8
  [![License](https://img.shields.io/github/license/phlegx/wkhtmltox-binaries.svg)](http://opensource.org/licenses/MIT)
9
9
 
10
- A gem that provides Linux and Mac binaries for wkhtmltoimage
10
+ A gem that provides Linux binaries for wkhtmltoimage
11
11
  and wkhtmltopdf project in an easily accessible package from
12
12
  [wkhtmltopdf.org](http://wkhtmltopdf.org).
13
13
 
14
14
  ## Features
15
15
 
16
- * Linux generic 64-bit
17
- * Linux generic 32-bit
18
- * Mac OS cocoa 64-bit
19
- * Mac OS carbon 32-bit
20
- * The gem version is the same as the binary files version of wkhtmltox.
16
+ * Linux (Debian Wheezy) 64-bit
17
+ * Linux (Debian Jessie) 64-bit
18
+ * Linux (Ubuntu Trusty) 64-bit
19
+ * Linux (Ubuntu Precise) 64-bit
20
+ * Linux (CentOS 7) 64-bit
21
+ * Linux (CentOS 6) 64-bit
22
+ * The gem version is the same as the binary files version
21
23
 
22
24
  ## Install
23
25
 
@@ -30,7 +32,7 @@ gem install wkhtmltox-binaries
30
32
  Using Gemfile
31
33
 
32
34
  ```
33
- gem 'wkhtmltox-binaries', '~>0.12.3'
35
+ gem 'wkhtmltox-binaries', '~>0.13.0'
34
36
  ```
35
37
 
36
38
  ## Refs
data/bin/wkhtmltoimage CHANGED
@@ -1,28 +1,38 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'os'
4
-
5
3
  arch = case RUBY_PLATFORM
6
- when /linux/
7
- case OS.bits
8
- when 64
9
- 'generic-amd64'
10
- when 32
11
- 'generic-i386'
4
+ when /64.*linux/
5
+ case `cat /etc/*release`
6
+ when /jessie/
7
+ 'jessie-amd64'
8
+ when /wheezy/
9
+ 'wheezy-amd64'
10
+ when /trusty/
11
+ 'trusty-amd64'
12
+ when /precise/
13
+ 'precise-amd64'
14
+ when /CentOS release 6\./
15
+ 'centos6-amd64'
16
+ when /CentOS release 7\./
17
+ 'centos7-amd64'
12
18
  else
13
- raise 'Linux bit system cannot be recognized.'
19
+ raise 'Not supported 64 bit distribution.'
14
20
  end
15
- when /mac|darwin/
16
- case OS.bits
17
- when 64
18
- 'cocoa-x86-64'
19
- when 32
20
- 'carbon-i386'
21
+ when /linux/
22
+ case `cat /etc/*release`
23
+ when /jessie/
24
+ 'jessie-i386'
25
+ when /wheezy/
26
+ 'wheezy-i386'
27
+ when /trusty/
28
+ 'trusty-i386'
29
+ when /precise/
30
+ 'precise-i386'
21
31
  else
22
- raise 'Mac bit system cannot be recognized.'
32
+ raise 'Not supported 32 bit distribution.'
23
33
  end
24
34
  else
25
- raise 'Invalid platform. Must be a Linux or Mac 32 or 64 bit system.'
35
+ raise 'Invalid platform. Must be a Linux 32 or 64 bit system.'
26
36
  end
27
37
 
28
38
  args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
data/bin/wkhtmltopdf CHANGED
@@ -1,28 +1,38 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'os'
4
-
5
3
  arch = case RUBY_PLATFORM
6
- when /linux/
7
- case OS.bits
8
- when 64
9
- 'generic-amd64'
10
- when 32
11
- 'generic-i386'
4
+ when /64.*linux/
5
+ case `cat /etc/*release`
6
+ when /jessie/
7
+ 'jessie-amd64'
8
+ when /wheezy/
9
+ 'wheezy-amd64'
10
+ when /trusty/
11
+ 'trusty-amd64'
12
+ when /precise/
13
+ 'precise-amd64'
14
+ when /CentOS release 6\./
15
+ 'centos6-amd64'
16
+ when /CentOS release 7\./
17
+ 'centos7-amd64'
12
18
  else
13
- raise 'Linux bit system cannot be recognized.'
19
+ raise 'Not supported 64 bit distribution.'
14
20
  end
15
- when /mac|darwin/
16
- case OS.bits
17
- when 64
18
- 'cocoa-x86-64'
19
- when 32
20
- 'carbon-i386'
21
+ when /linux/
22
+ case `cat /etc/*release`
23
+ when /jessie/
24
+ 'jessie-i386'
25
+ when /wheezy/
26
+ 'wheezy-i386'
27
+ when /trusty/
28
+ 'trusty-i386'
29
+ when /precise/
30
+ 'precise-i386'
21
31
  else
22
- raise 'Mac bit system cannot be recognized.'
32
+ raise 'Not supported 32 bit distribution.'
23
33
  end
24
34
  else
25
- raise 'Invalid platform. Must be a Linux or Mac 32 or 64 bit system.'
35
+ raise 'Invalid platform. Must be a Linux 32 or 64 bit system.'
26
36
  end
27
37
 
28
38
  args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,21 +1,19 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'wkhtmltox-binaries'
3
- s.version = '0.12.3'
3
+ s.version = '0.13.0-alpha'
4
4
  s.date = Time.now.utc.strftime('%Y-%m-%d')
5
5
  s.homepage = "http://github.com/phlegx/#{s.name}"
6
6
  s.authors = ['Egon Zemmer']
7
7
  s.email = 'office@phlegx.com'
8
- s.description = 'A gem that provides Linux and Mac binaries for wkhtmltoimage ' \
8
+ s.description = 'A gem that provides Linux binaries for wkhtmltoimage ' \
9
9
  'and wkhtmltopdf project in an easily accessible package from ' \
10
10
  'http://wkhtmltopdf.org.'
11
- s.summary = 'Provides Linux and Mac binaries for wkhtmltoimage and wkhtmltopdf ' \
11
+ s.summary = 'Provides Linux binaries for wkhtmltoimage and wkhtmltopdf ' \
12
12
  'in an easily accessible package. '
13
13
  s.extra_rdoc_files = %w(README.md)
14
14
  s.files = `git ls-files`.split($/)
15
- s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
16
15
  s.license = 'MIT'
17
16
  s.require_paths = ['lib']
18
17
  s.rubygems_version = '1.3.7'
19
- s.add_dependency 'os', '~> 0.9.6'
20
18
  s.add_development_dependency 'rake', '~> 0'
21
19
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wkhtmltox-binaries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.13.0.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Egon Zemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: os
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.9.6
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.9.6
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -38,12 +24,10 @@ dependencies:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
- description: A gem that provides Linux and Mac binaries for wkhtmltoimage and wkhtmltopdf
27
+ description: A gem that provides Linux binaries for wkhtmltoimage and wkhtmltopdf
42
28
  project in an easily accessible package from http://wkhtmltopdf.org.
43
29
  email: office@phlegx.com
44
- executables:
45
- - wkhtmltoimage
46
- - wkhtmltopdf
30
+ executables: []
47
31
  extensions: []
48
32
  extra_rdoc_files:
49
33
  - README.md
@@ -57,14 +41,26 @@ files:
57
41
  - bin/wkhtmltoimage
58
42
  - bin/wkhtmltopdf
59
43
  - lib/wkhtmltox-binaries.rb
60
- - libexec/wkhtmltoimage-carbon-i386
61
- - libexec/wkhtmltoimage-cocoa-x86-64
62
- - libexec/wkhtmltoimage-generic-amd64
63
- - libexec/wkhtmltoimage-generic-i386
64
- - libexec/wkhtmltopdf-carbon-i386
65
- - libexec/wkhtmltopdf-cocoa-x86-64
66
- - libexec/wkhtmltopdf-generic-amd64
67
- - libexec/wkhtmltopdf-generic-i386
44
+ - libexec/wkhtmltoimage-centos6-amd64
45
+ - libexec/wkhtmltoimage-centos7-amd64
46
+ - libexec/wkhtmltoimage-jessie-amd64
47
+ - libexec/wkhtmltoimage-jessie-i386
48
+ - libexec/wkhtmltoimage-precise-amd64
49
+ - libexec/wkhtmltoimage-precise-i386
50
+ - libexec/wkhtmltoimage-trusty-amd64
51
+ - libexec/wkhtmltoimage-trusty-i386
52
+ - libexec/wkhtmltoimage-wheezy-amd64
53
+ - libexec/wkhtmltoimage-wheezy-i386
54
+ - libexec/wkhtmltopdf-centos6-amd64
55
+ - libexec/wkhtmltopdf-centos7-amd64
56
+ - libexec/wkhtmltopdf-jessie-amd64
57
+ - libexec/wkhtmltopdf-jessie-i386
58
+ - libexec/wkhtmltopdf-precise-amd64
59
+ - libexec/wkhtmltopdf-precise-i386
60
+ - libexec/wkhtmltopdf-trusty-amd64
61
+ - libexec/wkhtmltopdf-trusty-i386
62
+ - libexec/wkhtmltopdf-wheezy-amd64
63
+ - libexec/wkhtmltopdf-wheezy-i386
68
64
  - wkhtmltox-binaries.gemspec
69
65
  homepage: http://github.com/phlegx/wkhtmltox-binaries
70
66
  licenses:
@@ -81,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
77
  version: '0'
82
78
  required_rubygems_version: !ruby/object:Gem::Requirement
83
79
  requirements:
84
- - - ">="
80
+ - - ">"
85
81
  - !ruby/object:Gem::Version
86
- version: '0'
82
+ version: 1.3.1
87
83
  requirements: []
88
84
  rubyforge_project:
89
85
  rubygems_version: 2.4.8
90
86
  signing_key:
91
87
  specification_version: 4
92
- summary: Provides Linux and Mac binaries for wkhtmltoimage and wkhtmltopdf in an easily
93
- accessible package.
88
+ summary: Provides Linux binaries for wkhtmltoimage and wkhtmltopdf in an easily accessible
89
+ package.
94
90
  test_files: []
Binary file
Binary file