wkhtmltopdf 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -0,0 +1,13 @@
1
+ module WKHTMLTOPDF
2
+ def self.get_binary_path
3
+ if RUBY_PLATFORM =~ /linux/
4
+ executable = 'wkhtmltopdf_linux_386'
5
+ elsif RUBY_PLATFORM =~ /darwin/
6
+ executable = 'wkhtmltopdf_darwin_386'
7
+ else
8
+ raise "Invalid platform. Must be running linux or intel-based Mac OS."
9
+ end
10
+ bin_path = File.join(File.dirname(File.dirname( __FILE__)), 'bin')
11
+ return File.join(bin_path, executable)
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wkhtmltopdf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Research Information Systems, The University of Iowa
8
+ autorequire: name
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-01-14 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: vpr-ris-developers@iowa.uiowa.edu
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - bin/wkhtmltopdf_darwin_386
26
+ - bin/wkhtmltopdf_linux_386
27
+ - lib/wkpdftohtml.rb
28
+ has_rdoc: false
29
+ homepage:
30
+ post_install_message:
31
+ rdoc_options: []
32
+
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: "0"
40
+ version:
41
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
46
+ version:
47
+ requirements: []
48
+
49
+ rubyforge_project:
50
+ rubygems_version: 1.3.1
51
+ signing_key:
52
+ specification_version: 2
53
+ summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
54
+ test_files: []
55
+