finalist-wkhtmltopdf 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in finalist-wkhtmltopdf.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ # Finalist::Wkhtmltopdf
2
+
3
+ Provides binaries for WKHTMLTOPDF project in an easily accessible package.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'finalist-wkhtmltopdf'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install finalist-wkhtmltopdf
18
+
19
+ ## Usage
20
+
21
+ Run `wkhtml2pdf` to see the options.
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ executable = case RUBY_PLATFORM
4
+ when /64.*linux/
5
+ 'wkhtmltopdf_linux_amd64'
6
+ when /linux/
7
+ 'wkhtmltopdf_linux_386'
8
+ when /darwin/
9
+ 'wkhtmltopdf_darwin_386'
10
+ else
11
+ raise "Invalid platform. Must be running linux or intel-based Mac OS."
12
+ end
13
+
14
+ arguments = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
15
+
16
+ executable = File.join(File.dirname(__FILE__), executable)
17
+ r = system(executable + " " + arguments.join(" "))
18
+
19
+ exit r ? 0 : 1
Binary file
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/finalist-wkhtmltopdf/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+
6
+ gem.authors = ['Research Information Systems, The University of Iowa']
7
+ gem.email = ['vpr-ris-developers@iowa.uiowa.edu', 'mcollas@aconex.com']
8
+ gem.description = %q{Provides binaries for WKHTMLTOPDF project in an easily accessible package.}
9
+ gem.summary = %q{Provides binaries for WKHTMLTOPDF project in an easily accessible package.}
10
+ gem.homepage = "http://code.google.com/p/wkhtmltopdf/"
11
+
12
+ gem.name = "finalist-wkhtmltopdf"
13
+
14
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
+ gem.files = `git ls-files`.split("\n")
16
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ gem.require_paths = ["lib"]
18
+
19
+ gem.version = Finalist::Wkhtmltopdf::VERSION
20
+
21
+ gem.bindir = 'bin'
22
+ end
@@ -0,0 +1,7 @@
1
+ require "finalist-wkhtmltopdf/version"
2
+
3
+ module Finalist
4
+ module Wkhtmltopdf
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Finalist
2
+ module Wkhtmltopdf
3
+ VERSION = "0.9.9"
4
+ end
5
+ end
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: finalist-wkhtmltopdf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.9
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Research Information Systems, The University of Iowa
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-03-08 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
15
+ email:
16
+ - vpr-ris-developers@iowa.uiowa.edu
17
+ - mcollas@aconex.com
18
+ executables:
19
+ - wkhtmltopdf
20
+ - wkhtmltopdf_darwin_386
21
+ - wkhtmltopdf_linux_386
22
+ - wkhtmltopdf_linux_amd64
23
+ extensions: []
24
+ extra_rdoc_files: []
25
+ files:
26
+ - .gitignore
27
+ - Gemfile
28
+ - README.md
29
+ - bin/wkhtmltopdf
30
+ - bin/wkhtmltopdf_darwin_386
31
+ - bin/wkhtmltopdf_linux_386
32
+ - bin/wkhtmltopdf_linux_amd64
33
+ - finalist-wkhtmltopdf.gemspec
34
+ - lib/finalist-wkhtmltopdf.rb
35
+ - lib/finalist-wkhtmltopdf/version.rb
36
+ - rakefile
37
+ homepage: http://code.google.com/p/wkhtmltopdf/
38
+ licenses: []
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubyforge_project:
57
+ rubygems_version: 1.8.15
58
+ signing_key:
59
+ specification_version: 3
60
+ summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
61
+ test_files: []