wkhtmltopdf-hooks 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/wkhtmltopdf-hooks.rb +1 -1
- data/wkhtmltopdf-hooks.gemspec +55 -0
- metadata +3 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/lib/wkhtmltopdf-hooks.rb
CHANGED
@@ -8,7 +8,7 @@ else
|
|
8
8
|
raise "Unsupported. Must be running linux or intel-based Mac OS."
|
9
9
|
end
|
10
10
|
|
11
|
-
wkhtmltopdf_path = File.expand_path '
|
11
|
+
wkhtmltopdf_path = File.expand_path '../../bin/' + wkhtmltopdf_executable, __FILE__
|
12
12
|
|
13
13
|
begin
|
14
14
|
require 'pdfkit'
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "wkhtmltopdf-hooks"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Luke Grecki"]
|
12
|
+
s.date = "2012-11-05"
|
13
|
+
s.description = "Provides wkhtmltopdf binaries and connects them to common pdf libraries"
|
14
|
+
s.email = "lukegrecki@gmail.com"
|
15
|
+
s.executables = ["wkhtmltopdf-amd64", "wkhtmltopdf-i386", "wkhtmltopdf-osx.i368"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/wkhtmltopdf-amd64",
|
29
|
+
"bin/wkhtmltopdf-i386",
|
30
|
+
"bin/wkhtmltopdf-osx.i368",
|
31
|
+
"lib/wkhtmltopdf-hooks.rb",
|
32
|
+
"wkhtmltopdf-hooks.gemspec"
|
33
|
+
]
|
34
|
+
s.homepage = "http://github.com/lukegrecki/wkhtmltopdf-hooks"
|
35
|
+
s.licenses = ["MIT"]
|
36
|
+
s.require_paths = ["lib"]
|
37
|
+
s.rubygems_version = "1.8.23"
|
38
|
+
s.summary = "Provides wkhtmltopdf binaries and connects them to common pdf libraries"
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
s.specification_version = 3
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
45
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
48
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
52
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wkhtmltopdf-hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- bin/wkhtmltopdf-i386
|
66
66
|
- bin/wkhtmltopdf-osx.i368
|
67
67
|
- lib/wkhtmltopdf-hooks.rb
|
68
|
+
- wkhtmltopdf-hooks.gemspec
|
68
69
|
homepage: http://github.com/lukegrecki/wkhtmltopdf-hooks
|
69
70
|
licenses:
|
70
71
|
- MIT
|
@@ -80,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
81
|
version: '0'
|
81
82
|
segments:
|
82
83
|
- 0
|
83
|
-
hash: -
|
84
|
+
hash: -235445649
|
84
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
86
|
none: false
|
86
87
|
requirements:
|