prawnto 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prawnto.rb +3 -1
- data/lib/prawnto/railtie.rb +9 -0
- data/rails/init.rb +1 -3
- metadata +41 -20
- data/reference_pdfs +0 -0
data/lib/prawnto.rb
CHANGED
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
3
|
|
4
4
|
module Prawnto
|
5
|
-
VERSION='0.0.
|
5
|
+
VERSION='0.0.4'
|
6
6
|
autoload :ActionControllerMixin, 'prawnto/action_controller_mixin'
|
7
7
|
autoload :ActionViewMixin, 'prawnto/action_view_mixin'
|
8
8
|
module TemplateHandlers
|
@@ -25,5 +25,7 @@ module Prawnto
|
|
25
25
|
ActionView::Template.register_template_handler 'prawn_xxx', Prawnto::TemplateHandlers::Raw
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
29
|
+
require "prawnto/railtie"
|
28
30
|
end
|
29
31
|
|
data/rails/init.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawnto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 23
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- smecsia
|
@@ -9,29 +15,38 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-11-10 00:00:00 +03:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: rails
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 1
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 1
|
23
33
|
version: "2.1"
|
24
|
-
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: prawn
|
27
|
-
|
28
|
-
|
29
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
30
41
|
requirements:
|
31
42
|
- - ">="
|
32
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
33
47
|
version: "0"
|
34
|
-
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
35
50
|
description:
|
36
51
|
email: smecsia@gmail.com
|
37
52
|
executables: []
|
@@ -41,22 +56,22 @@ extensions: []
|
|
41
56
|
extra_rdoc_files:
|
42
57
|
- README
|
43
58
|
files:
|
44
|
-
- reference_pdfs
|
45
|
-
- README
|
46
59
|
- Rakefile
|
60
|
+
- README
|
47
61
|
- MIT-LICENSE
|
48
|
-
- lib/prawnto/action_view_mixin.rb
|
49
|
-
- lib/prawnto/action_controller_mixin.rb
|
50
62
|
- lib/prawnto/template_handler/compile_support.rb
|
51
|
-
- lib/prawnto/template_handlers/raw.rb
|
52
63
|
- lib/prawnto/template_handlers/dsl.rb
|
64
|
+
- lib/prawnto/template_handlers/raw.rb
|
53
65
|
- lib/prawnto/template_handlers/base.rb
|
66
|
+
- lib/prawnto/action_controller_mixin.rb
|
67
|
+
- lib/prawnto/action_view_mixin.rb
|
68
|
+
- lib/prawnto/railtie.rb
|
54
69
|
- lib/prawnto.rb
|
55
70
|
- test/base_template_handler_test.rb
|
56
|
-
- test/action_controller_test.rb
|
57
|
-
- test/dsl_template_handler_test.rb
|
58
71
|
- test/template_handler_test_mocks.rb
|
59
72
|
- test/raw_template_handler_test.rb
|
73
|
+
- test/dsl_template_handler_test.rb
|
74
|
+
- test/action_controller_test.rb
|
60
75
|
- rails/init.rb
|
61
76
|
has_rdoc: true
|
62
77
|
homepage:
|
@@ -68,21 +83,27 @@ rdoc_options: []
|
|
68
83
|
require_paths:
|
69
84
|
- lib
|
70
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
71
87
|
requirements:
|
72
88
|
- - ">="
|
73
89
|
- !ruby/object:Gem::Version
|
90
|
+
hash: 3
|
91
|
+
segments:
|
92
|
+
- 0
|
74
93
|
version: "0"
|
75
|
-
version:
|
76
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
77
96
|
requirements:
|
78
97
|
- - ">="
|
79
98
|
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
80
102
|
version: "0"
|
81
|
-
version:
|
82
103
|
requirements: []
|
83
104
|
|
84
105
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.3.
|
106
|
+
rubygems_version: 1.3.7
|
86
107
|
signing_key:
|
87
108
|
specification_version: 3
|
88
109
|
summary: Prawnto rails plugin implemented as a gem (see prawnto)
|
data/reference_pdfs
DELETED
File without changes
|