prawn_rails 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,6 +13,6 @@ Jeweler::Tasks.new do |gem|
13
13
  gem.extra_rdoc_files = ["README.rdoc"]
14
14
  gem.license = "MIT"
15
15
  gem.add_dependency('rails', '>=3.0.0')
16
- gem.add_dependency('prawn', '>=0.8.4')
16
+ gem.add_dependency('prawn', '>=0.11.1')
17
17
  end
18
- Jeweler::RubygemsDotOrgTasks.new
18
+ Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -30,7 +30,8 @@ module Prawn
30
30
 
31
31
  end
32
32
 
33
- class TemplateHandler < ActionView::Template::Handler
33
+ class TemplateHandler
34
+ class_attribute :default_format
34
35
  self.default_format = :pdf
35
36
 
36
37
  def self.call(template)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{prawn_rails}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Walton Hoops"]
12
- s.date = %q{2011-07-06}
12
+ s.date = %q{2011-08-14}
13
13
  s.description = %q{The prawn_rails gem provides a Prawn based view engine for creating PDFs with rails.}
14
14
  s.email = %q{me@waltonhoops.com}
15
15
  s.extra_rdoc_files = [
@@ -36,14 +36,14 @@ Gem::Specification.new do |s|
36
36
 
37
37
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
38
38
  s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
39
- s.add_runtime_dependency(%q<prawn>, [">= 0.8.4"])
39
+ s.add_runtime_dependency(%q<prawn>, [">= 0.11.1"])
40
40
  else
41
41
  s.add_dependency(%q<rails>, [">= 3.0.0"])
42
- s.add_dependency(%q<prawn>, [">= 0.8.4"])
42
+ s.add_dependency(%q<prawn>, [">= 0.11.1"])
43
43
  end
44
44
  else
45
45
  s.add_dependency(%q<rails>, [">= 3.0.0"])
46
- s.add_dependency(%q<prawn>, [">= 0.8.4"])
46
+ s.add_dependency(%q<prawn>, [">= 0.11.1"])
47
47
  end
48
48
  end
49
49
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: prawn_rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Walton Hoops
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-06 00:00:00 -06:00
13
+ date: 2011-08-14 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirements:
33
33
  - - ">="
34
34
  - !ruby/object:Gem::Version
35
- version: 0.8.4
35
+ version: 0.11.1
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  description: The prawn_rails gem provides a Prawn based view engine for creating PDFs with rails.