pdfkit 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pdfkit might be problematic. Click here for more details.

data/README.md CHANGED
@@ -5,10 +5,11 @@ Create PDFs using plain old HTML+CSS. Uses [wkhtmltopdf](http://github.com/antia
5
5
  ## Installation
6
6
 
7
7
  1. Install wkhtmltopdf
8
- # Download the latest binary from http://code.google.com/p/wkhtmltopdf/downloads/list
9
- # Place the binary somewhere on your path (e.g /usr/local/bin)
8
+ ## Download the latest binary from http://code.google.com/p/wkhtmltopdf/downloads/list
9
+ ## Place the binary somewhere on your path (e.g /usr/local/bin)
10
10
  2. Install PDFKit
11
- # $ gem install pdfkit
11
+
12
+ $ gem install pdfkit
12
13
 
13
14
  ## Usage
14
15
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/pdfkit/pdfkit.rb CHANGED
@@ -56,7 +56,7 @@ class PDFKit
56
56
  def append_stylesheets
57
57
  stylesheets.each do |stylesheet|
58
58
  if @html.match(/<\/head>/)
59
- @html.gsub!(/(<\/head>)/, "#{style_tag_for(stylesheet)}$1")
59
+ @html.gsub!(/(<\/head>)/, style_tag_for(stylesheet)+'\1')
60
60
  else
61
61
  @html.insert(0, style_tag_for(stylesheet))
62
62
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pdfkit}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jdpace"]
12
- s.date = %q{2010-05-21}
12
+ s.date = %q{2010-05-24}
13
13
  s.description = %q{Uses wkhtmltopdf to create PDFs using HTML}
14
14
  s.email = %q{jared@codewordstudios.com}
15
15
  s.extra_rdoc_files = [
@@ -20,13 +20,13 @@ Gem::Specification.new do |s|
20
20
  ".document",
21
21
  ".gitignore",
22
22
  "LICENSE",
23
- "PDFKit.gemspec",
24
23
  "README.md",
25
24
  "Rakefile",
26
25
  "VERSION",
27
26
  "lib/PDFKit.rb",
28
27
  "lib/pdfkit/middleware.rb",
29
28
  "lib/pdfkit/pdfkit.rb",
29
+ "pdfkit.gemspec",
30
30
  "spec/PDFKit_spec.rb",
31
31
  "spec/fixtures/example.css",
32
32
  "spec/spec.opts",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - jdpace
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-21 00:00:00 -04:00
17
+ date: 2010-05-24 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -58,13 +58,13 @@ files:
58
58
  - .document
59
59
  - .gitignore
60
60
  - LICENSE
61
- - PDFKit.gemspec
62
61
  - README.md
63
62
  - Rakefile
64
63
  - VERSION
65
64
  - lib/PDFKit.rb
66
65
  - lib/pdfkit/middleware.rb
67
66
  - lib/pdfkit/pdfkit.rb
67
+ - pdfkit.gemspec
68
68
  - spec/PDFKit_spec.rb
69
69
  - spec/fixtures/example.css
70
70
  - spec/spec.opts