wkhtmltoimage-binary 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,16 @@
2
2
 
3
3
  arch = case RUBY_PLATFORM
4
4
  when /64.*linux/
5
- 'amd64'
5
+ case `lsb_release -c`
6
+ when /jessie/ # Debian 8 - Jessie
7
+ 'jessie-amd64'
8
+ else
9
+ 'amd64'
10
+ end
6
11
  when /linux/
7
12
  'i386'
8
13
  when /darwin/
9
- 'darwin-x86'
14
+ 'darwin-x86'
10
15
  else
11
16
  raise "Invalid platform. Must be running linux or Mac."
12
17
  end
@@ -1,5 +1,5 @@
1
1
  module Wkhtmltoimage
2
2
  module Binary
3
- VERSION = "0.12.1"
3
+ VERSION = "0.12.2"
4
4
  end
5
5
  end
@@ -12,5 +12,5 @@ Gem::Specification.new do |gem|
12
12
 
13
13
  gem.files = `git ls-files`.split($/)
14
14
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
15
- gem.require_paths = ["."]
15
+ gem.require_paths = ["lib"]
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wkhtmltoimage-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-08 00:00:00.000000000 Z
12
+ date: 2015-07-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Provides linux and Mac binaries for wkhtmltoimage project in an easily
15
15
  accessible package. Based on the wkhtmltopdf-binary gem of steerio. wkhtmltoimage
@@ -31,13 +31,14 @@ files:
31
31
  - libexec/wkhtmltoimage-amd64
32
32
  - libexec/wkhtmltoimage-darwin-x86
33
33
  - libexec/wkhtmltoimage-i386
34
+ - libexec/wkhtmltoimage-jessie-amd64
34
35
  - wkhtmltoimage-binary.gemspec
35
36
  homepage:
36
37
  licenses: []
37
38
  post_install_message:
38
39
  rdoc_options: []
39
40
  require_paths:
40
- - .
41
+ - lib
41
42
  required_ruby_version: !ruby/object:Gem::Requirement
42
43
  none: false
43
44
  requirements: