nk-wkhtmltopdf 0.10.0.rc2

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.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in nk-wkhtmltopdf.gemspec
4
+ gemspec
data/README ADDED
@@ -0,0 +1,2 @@
1
+ This gem provides static binary packages for wkhtmltopdf for both linux i386 and darwin i386.
2
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
data/bin/wkhtmltopdf ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/ruby
2
+
3
+ if RUBY_PLATFORM =~ /linux/
4
+ executable = 'wkhtmltopdf_linux_i386'
5
+ elsif RUBY_PLATFORM =~ /darwin/
6
+ executable = 'wkhtmltopdf_darwin_i386'
7
+ else
8
+ raise "A linux and/or Intel based OSX system is required to use this installation."
9
+ end
10
+
11
+ executable = File.join(File.dirname(__FILE__), executable)
12
+ system(executable + " " + $*.join(" "))
Binary file
Binary file
@@ -0,0 +1,5 @@
1
+ module Nk
2
+ module Wkhtmltopdf
3
+ VERSION = "0.10.0.rc2"
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Nk
2
+ module Wkhtmltopdf
3
+ # Your code goes here...
4
+ end
5
+ end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "nk-wkhtmltopdf/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "nk-wkhtmltopdf"
7
+ s.version = Nk::Wkhtmltopdf::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Rob Flynn"]
10
+ s.email = ["rob@thingerly.com"]
11
+ s.homepage = "http://github.com/robflynn/nk-wkhtmltopdf"
12
+ s.summary = %q{Provides binaries for WKHTMLTOPDF.}
13
+ s.description = %q{Provides binaries for WKHTMLTOPDF project in an easily accessible package.}
14
+
15
+ s.rubyforge_project = "nk-wkhtmltopdf"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nk-wkhtmltopdf
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 7
5
+ version: 0.10.0.rc2
6
+ platform: ruby
7
+ authors:
8
+ - Rob Flynn
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-03-24 00:00:00 -04:00
14
+ default_executable:
15
+ dependencies: []
16
+
17
+ description: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
18
+ email:
19
+ - rob@thingerly.com
20
+ executables:
21
+ - wkhtmltopdf
22
+ - wkhtmltopdf_darwin_i386
23
+ - wkhtmltopdf_linux_i386
24
+ extensions: []
25
+
26
+ extra_rdoc_files: []
27
+
28
+ files:
29
+ - .gitignore
30
+ - Gemfile
31
+ - README
32
+ - Rakefile
33
+ - bin/wkhtmltopdf
34
+ - bin/wkhtmltopdf_darwin_i386
35
+ - bin/wkhtmltopdf_linux_i386
36
+ - lib/nk-wkhtmltopdf.rb
37
+ - lib/nk-wkhtmltopdf/version.rb
38
+ - nk-wkhtmltopdf.gemspec
39
+ has_rdoc: true
40
+ homepage: http://github.com/robflynn/nk-wkhtmltopdf
41
+ licenses: []
42
+
43
+ post_install_message:
44
+ rdoc_options: []
45
+
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">"
58
+ - !ruby/object:Gem::Version
59
+ version: 1.3.1
60
+ requirements: []
61
+
62
+ rubyforge_project: nk-wkhtmltopdf
63
+ rubygems_version: 1.6.2
64
+ signing_key:
65
+ specification_version: 3
66
+ summary: Provides binaries for WKHTMLTOPDF.
67
+ test_files: []
68
+