prawnto 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +3 -0
  2. data/lib/prawnto.rb +1 -1
  3. data/lib/prawnto/version.rb +1 -1
  4. metadata +6 -6
data/README CHANGED
@@ -6,7 +6,10 @@ for generating pdf files leveraging the new kick-ass prawn library
6
6
 
7
7
  full documentation/demos at: http://cracklabs.com/prawnto
8
8
 
9
+ CHANGE LOG
10
+ ==========
9
11
 
12
+ 0.1.1 Get rid of warning when PDF mime type is already registered (alfonsojimenez)
10
13
 
11
14
 
12
15
  Copyright (c) 2008 cracklabs.com, released under the MIT license
@@ -18,7 +18,7 @@ module Prawnto
18
18
  def enable
19
19
  ActionController::Base.send :include, Prawnto::ActionControllerMixin
20
20
  ActionView::Base.send :include, Prawnto::ActionViewMixin
21
- Mime::Type.register "application/pdf", :pdf
21
+ Mime::Type.register "application/pdf", :pdf unless Mime::Type.lookup_by_extension(:pdf)
22
22
  ActionView::Template.register_template_handler 'prawn', Prawnto::TemplateHandlers::Base
23
23
  ActionView::Template.register_template_handler 'prawn_dsl', Prawnto::TemplateHandlers::Dsl
24
24
  ActionView::Template.register_template_handler 'prawn_xxx', Prawnto::TemplateHandlers::Raw
@@ -1,3 +1,3 @@
1
1
  module Prawnto
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawnto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-02-27 00:00:00.000000000Z
14
+ date: 2012-04-09 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: prawn
18
- requirement: &12515780 !ruby/object:Gem::Requirement
18
+ requirement: &11190880 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *12515780
26
+ version_requirements: *11190880
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
- requirement: &12514940 !ruby/object:Gem::Requirement
29
+ requirement: &11189920 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '2.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *12514940
37
+ version_requirements: *11189920
38
38
  description: Support .prawn templates as Prawn::Document content
39
39
  email:
40
40
  - smecsia@gmail.com