pdfcraft 1.0.1 → 2.0.0

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.
@@ -3,6 +3,7 @@ ENV["RAILS_ENV"] = "test"
3
3
 
4
4
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
5
  require "rails/test_help"
6
+ require "pdf-reader"
6
7
 
7
8
  Rails.backtrace_cleaner.remove_silencers!
8
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfcraft
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan L. Bell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,32 +28,18 @@ dependencies:
28
28
  name: prawn
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.13'
33
+ version: '2.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: '0.13'
41
- - !ruby/object:Gem::Dependency
42
- name: guard
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: '2.1'
55
41
  - !ruby/object:Gem::Dependency
56
- name: guard-minitest
42
+ name: pdf-reader
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
@@ -74,7 +60,6 @@ executables: []
74
60
  extensions: []
75
61
  extra_rdoc_files: []
76
62
  files:
77
- - CHANGELOG.rdoc
78
63
  - MIT-LICENSE
79
64
  - README.rdoc
80
65
  - Rakefile
@@ -118,7 +103,6 @@ files:
118
103
  - test/dummy/config/initializers/wrap_parameters.rb
119
104
  - test/dummy/config/locales/en.yml
120
105
  - test/dummy/config/routes.rb
121
- - test/dummy/log/development.log
122
106
  - test/dummy/log/test.log
123
107
  - test/dummy/public/404.html
124
108
  - test/dummy/public/422.html
@@ -147,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
131
  version: '0'
148
132
  requirements: []
149
133
  rubyforge_project:
150
- rubygems_version: 2.2.2
134
+ rubygems_version: 2.6.4
151
135
  signing_key:
152
136
  specification_version: 4
153
137
  summary: Templated PDF generation for Rails
@@ -184,7 +168,6 @@ test_files:
184
168
  - test/dummy/config/locales/en.yml
185
169
  - test/dummy/config/routes.rb
186
170
  - test/dummy/config.ru
187
- - test/dummy/log/development.log
188
171
  - test/dummy/log/test.log
189
172
  - test/dummy/public/404.html
190
173
  - test/dummy/public/422.html
@@ -1,10 +0,0 @@
1
- == 1.0.1
2
- * Changed rails dependency to include Rail 4.*
3
-
4
- == 1.0.0
5
- * Replaced pdf ivar (@pdf) in views with configurable variable.
6
-
7
-
8
- == 0.0.1
9
- * Initial release.
10
- * Basic page rendering through Rails views.
@@ -1,962 +0,0 @@
1
-
2
-
3
- Started GET "/home.pdf" for 127.0.0.1 at 2013-12-29 13:52:15 -0500
4
- Processing by HomeController#index as PDF
5
- Rendered home/index.pdf.erb (0.8ms)
6
- Rendered text template (0.0ms)
7
- Sent data contents.pdf (1.1ms)
8
- Completed 200 OK in 37ms (Views: 36.4ms | ActiveRecord: 0.0ms)
9
-
10
-
11
- Started GET "/home.pdf" for 127.0.0.1 at 2013-12-29 17:17:33 -0500
12
- Processing by HomeController#index as PDF
13
- Rendered home/index.pdf.pdfcraft (33.5ms)
14
- Rendered text template (0.0ms)
15
- Sent data contents.pdf (1.1ms)
16
- Completed 200 OK in 39ms (Views: 39.0ms | ActiveRecord: 0.0ms)
17
-
18
-
19
- Started GET "/" for 127.0.0.1 at 2013-12-29 17:24:53 -0500
20
- Processing by Rails::WelcomeController#index as HTML
21
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (1.8ms)
22
- Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms)
23
-
24
-
25
- Started GET "/home.pdf" for 127.0.0.1 at 2013-12-29 17:25:00 -0500
26
- Processing by HomeController#index as PDF
27
- Rendered home/index.pdf.pdfcraft (31.6ms)
28
- Rendered text template (0.0ms)
29
- Sent data contents.pdf (1.0ms)
30
- Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms)
31
-
32
-
33
- Started GET "/" for 127.0.0.1 at 2013-12-29 17:45:44 -0500
34
- Processing by Rails::WelcomeController#index as HTML
35
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (1.1ms)
36
- Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
37
-
38
-
39
- Started GET "/partials.pdf" for 127.0.0.1 at 2013-12-29 17:45:49 -0500
40
- Processing by HomeController#partials as PDF
41
- Rendered home/_the_partial.pdf.pdfcraft (4.7ms)
42
- Rendered home/partials.pdf.pdfcraft (39.7ms)
43
- Rendered text template (0.0ms)
44
- Sent data contents.pdf (1.2ms)
45
- Completed 200 OK in 44ms (Views: 43.0ms | ActiveRecord: 0.0ms)
46
-
47
-
48
- Started GET "/" for 127.0.0.1 at 2013-12-29 18:23:22 -0500
49
- Processing by Rails::WelcomeController#index as HTML
50
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (1.1ms)
51
- Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
52
-
53
-
54
- Started GET "/home.pdf" for 127.0.0.1 at 2013-12-29 18:23:29 -0500
55
- Processing by HomeController#index as PDF
56
- Rendered home/index.pdf.pdfcraft (38.4ms)
57
- Rendered text template (0.0ms)
58
- Sent data contents.pdf (1.5ms)
59
- Completed 200 OK in 42ms (Views: 41.9ms | ActiveRecord: 0.0ms)
60
-
61
-
62
- Started GET "/another.pdf" for 127.0.0.1 at 2013-12-29 18:23:37 -0500
63
- Processing by HomeController#another as PDF
64
- Rendered home/index.pdf.pdfcraft (2.7ms)
65
- Rendered text template (0.0ms)
66
- Sent data contents.pdf (0.3ms)
67
- Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
68
-
69
-
70
- Started GET "/partials.pdf" for 127.0.0.1 at 2013-12-29 18:23:49 -0500
71
- Processing by HomeController#partials as PDF
72
- Rendered home/_the_partial.pdf.pdfcraft (1.8ms)
73
- Rendered home/partials.pdf.pdfcraft (6.6ms)
74
- Rendered text template (0.0ms)
75
- Sent data contents.pdf (0.4ms)
76
- Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
77
-
78
-
79
- Started GET "/" for 127.0.0.1 at 2013-12-29 18:52:17 -0500
80
- Processing by Rails::WelcomeController#index as HTML
81
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (1.0ms)
82
- Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
83
-
84
-
85
- Started GET "/helpers.pdf" for 127.0.0.1 at 2013-12-29 18:52:22 -0500
86
- Processing by HomeController#helpers as PDF
87
- Rendered home/helpers.pdf.pdfcraft (33.8ms)
88
- Rendered text template (0.0ms)
89
- Sent data contents.pdf (1.5ms)
90
- Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
91
-
92
-
93
- Started GET "/" for 127.0.0.1 at 2014-01-02 20:28:43 -0500
94
- Processing by Rails::WelcomeController#index as HTML
95
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
96
- Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
97
-
98
-
99
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:28:48 -0500
100
- Processing by HomeController#index as PDF
101
- Rendered home/index.pdf.pdfcraft within layouts/application (29.6ms)
102
- Rendered text template (0.0ms)
103
- Sent data contents.pdf (1.0ms)
104
- Completed 200 OK in 35ms (Views: 34.1ms | ActiveRecord: 0.0ms)
105
-
106
-
107
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:29:44 -0500
108
- Processing by HomeController#index as PDF
109
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
110
- Rendered text template (0.0ms)
111
- Sent data contents.pdf (0.4ms)
112
- Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
113
-
114
-
115
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:29:50 -0500
116
- Processing by HomeController#index as PDF
117
- Rendered home/index.pdf.pdfcraft within layouts/application (2.2ms)
118
- Rendered text template (0.0ms)
119
- Sent data contents.pdf (0.6ms)
120
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
121
-
122
-
123
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:30:12 -0500
124
- Processing by HomeController#index as PDF
125
- Rendered home/index.pdf.pdfcraft within layouts/application (28.6ms)
126
- Rendered text template (0.0ms)
127
- Sent data contents.pdf (1.2ms)
128
- Completed 200 OK in 37ms (Views: 36.3ms | ActiveRecord: 0.0ms)
129
-
130
-
131
- Started GET "/" for 127.0.0.1 at 2014-01-02 20:33:00 -0500
132
- Processing by Rails::WelcomeController#index as HTML
133
- Rendered /Users/ryan/.gem/ruby/2.0.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.0ms)
134
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
135
-
136
-
137
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:33:10 -0500
138
- Processing by HomeController#index as PDF
139
- Rendered home/index.pdf.pdfcraft within layouts/application (6.5ms)
140
- Rendered text template (0.0ms)
141
- Sent data contents.pdf (0.7ms)
142
- Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
143
-
144
-
145
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:34:30 -0500
146
- Processing by HomeController#index as PDF
147
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
148
- Rendered text template (0.0ms)
149
- Sent data contents.pdf (0.4ms)
150
- Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
151
-
152
-
153
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-02 20:34:35 -0500
154
- Processing by HomeController#index as PDF
155
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
156
- Rendered text template (0.0ms)
157
- Sent data contents.pdf (0.3ms)
158
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
159
-
160
-
161
- Started GET "/" for 127.0.0.1 at 2014-01-04 21:17:06 -0500
162
- Processing by Rails::WelcomeController#index as HTML
163
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (1.3ms)
164
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
165
-
166
-
167
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:17:15 -0500
168
- Processing by HomeController#pdf_layout as PDF
169
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (39.8ms)
170
- Rendered text template (0.0ms)
171
- Sent data contents.pdf (1.5ms)
172
- Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms)
173
-
174
-
175
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:18:21 -0500
176
- Processing by HomeController#pdf_layout as PDF
177
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.1ms)
178
- Rendered text template (0.0ms)
179
- Sent data contents.pdf (0.4ms)
180
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
181
-
182
-
183
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:18:23 -0500
184
- Processing by HomeController#pdf_layout as PDF
185
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.5ms)
186
- Rendered text template (0.0ms)
187
- Sent data contents.pdf (0.3ms)
188
- Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)
189
-
190
-
191
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:18:45 -0500
192
- Processing by HomeController#pdf_layout as PDF
193
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.7ms)
194
- Rendered text template (0.0ms)
195
- Sent data contents.pdf (0.3ms)
196
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
197
-
198
-
199
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:18:45 -0500
200
- Processing by HomeController#pdf_layout as PDF
201
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.4ms)
202
- Rendered text template (0.0ms)
203
- Sent data contents.pdf (0.4ms)
204
- Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
205
-
206
-
207
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:18:57 -0500
208
- Processing by HomeController#pdf_layout as PDF
209
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (36.6ms)
210
- Rendered text template (0.0ms)
211
- Sent data contents.pdf (1.1ms)
212
- Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
213
-
214
-
215
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:19:00 -0500
216
- Processing by HomeController#pdf_layout as PDF
217
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.4ms)
218
- Rendered text template (0.0ms)
219
- Sent data contents.pdf (0.3ms)
220
- Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
221
-
222
-
223
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:20:37 -0500
224
- Processing by HomeController#index as PDF
225
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
226
- Rendered text template (0.0ms)
227
- Sent data contents.pdf (0.4ms)
228
- Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
229
-
230
-
231
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:21:22 -0500
232
- Processing by HomeController#index as PDF
233
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
234
- Rendered text template (0.0ms)
235
- Sent data contents.pdf (0.3ms)
236
- Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
237
-
238
-
239
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:21:23 -0500
240
- Processing by HomeController#index as PDF
241
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
242
- Rendered text template (0.0ms)
243
- Sent data contents.pdf (0.5ms)
244
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
245
-
246
-
247
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:22:05 -0500
248
- Processing by HomeController#index as PDF
249
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
250
- ERROR: compiling _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154090869000 RAISED /Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:36: syntax error, unexpected keyword_ensure, expecting end-of-input
251
- Function body: def _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154090869000(local_assigns, output_buffer)
252
- _old_virtual_path, @virtual_path = @virtual_path, "layouts/application";_old_output_buffer = @output_buffer;;@pdf ||= ::Pdfcraft::Document.new;# @pdf.repeat :all do
253
- # Header
254
- @pdf.canvas do
255
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top], width: @pdf.bounds.width do
256
- @pdf.cell content: "This is the Header",
257
- width: @pdf.bounds.width,
258
- height: 50,
259
- align: :center,
260
- borders: [:bottom],
261
- border_width: 2,
262
- padding: 12
263
- end
264
- end
265
-
266
- # Footer
267
- @pdf.canvas do
268
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.bottom + 50], width: @pdf.bounds.width do
269
- @pdf.cell content: "This is the Footer",
270
- width: @pdf.bounds.width,
271
- height: 50,
272
- align: :center,
273
- borders: [:top],
274
- border_width: 2,
275
- padding: 12
276
- end
277
- end
278
- # end
279
-
280
- # body
281
- @pdf.canvas
282
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top - 25], width: @pdf.bounds.width, height: @pdf.bounds.height - 50 do
283
- yield
284
- end
285
- end
286
- ;@pdf.render;
287
- ensure
288
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
289
- end
290
-
291
- Backtrace: /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
292
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
293
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
294
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
295
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
296
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
297
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:161:in `instrument'
298
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
299
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
300
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
301
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
302
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
303
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
304
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
305
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
306
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
307
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
308
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
309
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:113:in `render_to_string'
310
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:23:in `render_to_string'
311
- /Users/ryan/src/ruby/pdfcraft/lib/pdfcraft/pdf_renderer.rb:4:in `block in <top (required)>'
312
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
313
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/set.rb:263:in `each_key'
314
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/set.rb:263:in `each'
315
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
316
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
317
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
318
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
319
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
320
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
321
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
322
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
323
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
324
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
325
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
326
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
327
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/controllers/home_controller.rb:6:in `block (2 levels) in index'
328
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
329
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
330
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/controllers/home_controller.rb:4:in `index'
331
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
332
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
333
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
334
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
335
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:383:in `_run__30155370548712426__process_action__callbacks'
336
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
337
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
338
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
339
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
340
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
341
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
342
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
343
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
344
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
345
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
346
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
347
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
348
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:195:in `dispatch'
349
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
350
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:231:in `block in action'
351
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `call'
352
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
353
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:48:in `call'
354
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:71:in `block in call'
355
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `each'
356
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `call'
357
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:680:in `call'
358
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
359
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
360
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
361
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
362
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/flash.rb:241:in `call'
363
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
364
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
365
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486:in `call'
366
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/query_cache.rb:36:in `call'
367
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
368
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:369:in `call'
369
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
370
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__1047787737412960345__call__callbacks'
371
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
372
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
373
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/reloader.rb:64:in `call'
374
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
375
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
376
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
377
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
378
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
379
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
380
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
381
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
382
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
383
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
384
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
385
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
386
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
387
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
388
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64:in `call'
389
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
390
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
391
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
392
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
393
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
394
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
395
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
396
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
397
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
398
- Completed 500 Internal Server Error in 14ms
399
-
400
- ActionView::Template::Error (/Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:36: syntax error, unexpected keyword_ensure, expecting end-of-input):
401
- 33: end
402
- 34: end
403
- app/controllers/home_controller.rb:6:in `block (2 levels) in index'
404
- app/controllers/home_controller.rb:4:in `index'
405
-
406
-
407
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
408
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.5ms)
409
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (30.4ms)
410
-
411
-
412
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:22:15 -0500
413
- Processing by HomeController#index as PDF
414
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
415
- Rendered text template (0.0ms)
416
- Sent data contents.pdf (0.3ms)
417
- Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
418
-
419
-
420
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:22:58 -0500
421
- Processing by HomeController#index as PDF
422
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
423
- Rendered text template (0.0ms)
424
- Sent data contents.pdf (0.3ms)
425
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
426
-
427
-
428
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:24:24 -0500
429
- Processing by HomeController#index as PDF
430
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
431
- Rendered text template (0.0ms)
432
- Sent data contents.pdf (0.3ms)
433
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
434
-
435
-
436
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:30:05 -0500
437
- Processing by HomeController#index as PDF
438
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
439
- ERROR: compiling _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154106726720 RAISED /Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:5: syntax error, unexpected '{', expecting keyword_end
440
- @pdf.font_size 36 { @pdf.text "This is the Heade...
441
- ^
442
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:5: syntax error, unexpected '}', expecting keyword_end
443
- Function body: def _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154106726720(local_assigns, output_buffer)
444
- _old_virtual_path, @virtual_path = @virtual_path, "layouts/application";_old_output_buffer = @output_buffer;;@pdf ||= ::Pdfcraft::Document.new;# @pdf.repeat :all do
445
- # Header
446
- @pdf.canvas do
447
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top], width: @pdf.bounds.width, height: 50 do
448
- @pdf.font_size 36 { @pdf.text "This is the Header", align: :center }
449
- @pdf.hoizontal_rule
450
- end
451
- end
452
-
453
- # Footer
454
- @pdf.canvas do
455
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.bottom + 50], width: @pdf.bounds.width do
456
- @pdf.cell content: "This is the Footer",
457
- width: @pdf.bounds.width,
458
- height: 50,
459
- align: :center,
460
- borders: [:top],
461
- border_width: 2,
462
- padding: 12
463
- end
464
- end
465
- # end
466
-
467
- # body
468
- @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top - 25], width: @pdf.bounds.width, height: @pdf.bounds.height - 50 do
469
- yield
470
- end
471
- ;@pdf.render;
472
- ensure
473
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
474
- end
475
-
476
- Backtrace: /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
477
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
478
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
479
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
480
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
481
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
482
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:161:in `instrument'
483
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
484
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
485
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
486
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
487
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
488
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
489
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
490
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
491
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
492
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
493
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
494
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:113:in `render_to_string'
495
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:23:in `render_to_string'
496
- /Users/ryan/src/ruby/pdfcraft/lib/pdfcraft/pdf_renderer.rb:4:in `block in <top (required)>'
497
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
498
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/set.rb:263:in `each_key'
499
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/set.rb:263:in `each'
500
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
501
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
502
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
503
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
504
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
505
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
506
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
507
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
508
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
509
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
510
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
511
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
512
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/controllers/home_controller.rb:6:in `block (2 levels) in index'
513
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
514
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
515
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/controllers/home_controller.rb:4:in `index'
516
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
517
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
518
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
519
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
520
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:383:in `_run__30155370548712426__process_action__callbacks'
521
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
522
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
523
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
524
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
525
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
526
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
527
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
528
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
529
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
530
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
531
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
532
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
533
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:195:in `dispatch'
534
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
535
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:231:in `block in action'
536
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `call'
537
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
538
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:48:in `call'
539
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:71:in `block in call'
540
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `each'
541
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `call'
542
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:680:in `call'
543
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
544
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
545
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
546
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
547
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/flash.rb:241:in `call'
548
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
549
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
550
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486:in `call'
551
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/query_cache.rb:36:in `call'
552
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
553
- /Users/ryan/.gem/ruby/2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:369:in `call'
554
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
555
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__1047787737412960345__call__callbacks'
556
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
557
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
558
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/reloader.rb:64:in `call'
559
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
560
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
561
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
562
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
563
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
564
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
565
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
566
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
567
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
568
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
569
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
570
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
571
- /Users/ryan/.gem/ruby/2.1.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
572
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
573
- /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64:in `call'
574
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
575
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
576
- /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
577
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
578
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
579
- /Users/ryan/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
580
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
581
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
582
- /Users/ryan/.rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
583
- Completed 500 Internal Server Error in 18ms
584
-
585
- ActionView::Template::Error (/Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:5: syntax error, unexpected '{', expecting keyword_end
586
- @pdf.font_size 36 { @pdf.text "This is the Heade...
587
- ^
588
- /Users/ryan/src/ruby/pdfcraft/test/dummy/app/views/layouts/application.pdf.pdfcraft:5: syntax error, unexpected '}', expecting keyword_end):
589
- 2: # Header
590
- 3: @pdf.canvas do
591
- 4: @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top], width: @pdf.bounds.width, height: 50 do
592
- 5: @pdf.font_size 36 { @pdf.text "This is the Header", align: :center }
593
- 6: @pdf.hoizontal_rule
594
- 7: end
595
- 8: end
596
- app/controllers/home_controller.rb:6:in `block (2 levels) in index'
597
- app/controllers/home_controller.rb:4:in `index'
598
-
599
-
600
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
601
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
602
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.2ms)
603
-
604
-
605
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:30:24 -0500
606
- Processing by HomeController#index as PDF
607
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
608
- Completed 500 Internal Server Error in 7ms
609
-
610
- ActionView::Template::Error (undefined method `hoizontal_rule' for #<Pdfcraft::Document:0x007f9c0f33a498>):
611
- 3: @pdf.canvas do
612
- 4: @pdf.bounding_box [@pdf.bounds.left, @pdf.bounds.top], width: @pdf.bounds.width, height: 50 do
613
- 5: @pdf.font_size(36) { @pdf.text "This is the Header", align: :center }
614
- 6: @pdf.hoizontal_rule
615
- 7: end
616
- 8: end
617
- 9:
618
- app/views/layouts/application.pdf.pdfcraft:6:in `block (2 levels) in _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154123335040'
619
- app/views/layouts/application.pdf.pdfcraft:4:in `block in _app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154123335040'
620
- app/views/layouts/application.pdf.pdfcraft:3:in `_app_views_layouts_application_pdf_pdfcraft___1941488342444786228_70154123335040'
621
- app/controllers/home_controller.rb:6:in `block (2 levels) in index'
622
- app/controllers/home_controller.rb:4:in `index'
623
-
624
-
625
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.8ms)
626
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
627
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.9ms)
628
-
629
-
630
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:30:38 -0500
631
- Processing by HomeController#index as PDF
632
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
633
- Rendered text template (0.0ms)
634
- Sent data contents.pdf (0.4ms)
635
- Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
636
-
637
-
638
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:30:55 -0500
639
- Processing by HomeController#index as PDF
640
- Rendered home/index.pdf.pdfcraft within layouts/application (2.5ms)
641
- Rendered text template (0.0ms)
642
- Sent data contents.pdf (0.4ms)
643
- Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
644
-
645
-
646
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:31:19 -0500
647
- Processing by HomeController#index as PDF
648
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
649
- Rendered text template (0.0ms)
650
- Sent data contents.pdf (0.3ms)
651
- Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
652
-
653
-
654
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:31:42 -0500
655
- Processing by HomeController#index as PDF
656
- Rendered home/index.pdf.pdfcraft within layouts/application (2.7ms)
657
- Rendered text template (0.0ms)
658
- Sent data contents.pdf (0.4ms)
659
- Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)
660
-
661
-
662
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:31:43 -0500
663
- Processing by HomeController#index as PDF
664
- Rendered home/index.pdf.pdfcraft within layouts/application (2.7ms)
665
- Rendered text template (0.0ms)
666
- Sent data contents.pdf (0.3ms)
667
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
668
-
669
-
670
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:32:15 -0500
671
- Processing by HomeController#index as PDF
672
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
673
- Rendered text template (0.0ms)
674
- Sent data contents.pdf (0.3ms)
675
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
676
-
677
-
678
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:32:16 -0500
679
- Processing by HomeController#index as PDF
680
- Rendered home/index.pdf.pdfcraft within layouts/application (1.9ms)
681
- Rendered text template (0.0ms)
682
- Sent data contents.pdf (0.3ms)
683
- Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
684
-
685
-
686
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:32:24 -0500
687
- Processing by HomeController#index as PDF
688
- Rendered home/index.pdf.pdfcraft within layouts/application (3.4ms)
689
- Rendered text template (0.0ms)
690
- Sent data contents.pdf (0.7ms)
691
- Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
692
-
693
-
694
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:33:38 -0500
695
- Processing by HomeController#index as PDF
696
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
697
- Rendered text template (0.0ms)
698
- Sent data contents.pdf (0.4ms)
699
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
700
-
701
-
702
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:34:50 -0500
703
- Processing by HomeController#index as PDF
704
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
705
- Rendered text template (0.0ms)
706
- Sent data contents.pdf (0.3ms)
707
- Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
708
-
709
-
710
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:34:51 -0500
711
- Processing by HomeController#index as PDF
712
- Rendered home/index.pdf.pdfcraft within layouts/application (2.4ms)
713
- Rendered text template (0.0ms)
714
- Sent data contents.pdf (0.4ms)
715
- Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
716
-
717
-
718
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:36:32 -0500
719
- Processing by HomeController#index as PDF
720
- Rendered home/index.pdf.pdfcraft within layouts/application (1.5ms)
721
- Rendered text template (0.0ms)
722
- Sent data contents.pdf (0.3ms)
723
- Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
724
-
725
-
726
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:37:35 -0500
727
- Processing by HomeController#index as PDF
728
- Rendered home/index.pdf.pdfcraft within layouts/application (1.5ms)
729
- Rendered text template (0.0ms)
730
- Sent data contents.pdf (0.4ms)
731
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
732
-
733
-
734
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:37:53 -0500
735
- Processing by HomeController#index as PDF
736
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
737
- Rendered text template (0.0ms)
738
- Sent data contents.pdf (0.3ms)
739
- Completed 200 OK in 6ms (Views: 6.3ms | ActiveRecord: 0.0ms)
740
-
741
-
742
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:16 -0500
743
- Processing by HomeController#index as PDF
744
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
745
- Rendered text template (0.0ms)
746
- Sent data contents.pdf (0.3ms)
747
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
748
-
749
-
750
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:26 -0500
751
- Processing by HomeController#index as PDF
752
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
753
- Rendered text template (0.0ms)
754
- Sent data contents.pdf (0.3ms)
755
- Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms)
756
-
757
-
758
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:57 -0500
759
- Processing by HomeController#index as PDF
760
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
761
- Rendered text template (0.0ms)
762
- Sent data contents.pdf (0.4ms)
763
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
764
-
765
-
766
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:58 -0500
767
- Processing by HomeController#index as PDF
768
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
769
- Rendered text template (0.0ms)
770
- Sent data contents.pdf (0.4ms)
771
- Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
772
-
773
-
774
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:59 -0500
775
- Processing by HomeController#index as PDF
776
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
777
- Rendered text template (0.0ms)
778
- Sent data contents.pdf (0.3ms)
779
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
780
-
781
-
782
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:38:59 -0500
783
- Processing by HomeController#index as PDF
784
- Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
785
- Rendered text template (0.0ms)
786
- Sent data contents.pdf (0.4ms)
787
- Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms)
788
-
789
-
790
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:00 -0500
791
- Processing by HomeController#index as PDF
792
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
793
- Rendered text template (0.0ms)
794
- Sent data contents.pdf (0.4ms)
795
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
796
-
797
-
798
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:00 -0500
799
- Processing by HomeController#index as PDF
800
- Rendered home/index.pdf.pdfcraft within layouts/application (4.5ms)
801
- Rendered text template (0.0ms)
802
- Sent data contents.pdf (0.4ms)
803
- Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
804
-
805
-
806
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:00 -0500
807
- Processing by HomeController#index as PDF
808
- Rendered home/index.pdf.pdfcraft within layouts/application (4.1ms)
809
- Rendered text template (0.0ms)
810
- Sent data contents.pdf (0.4ms)
811
- Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
812
-
813
-
814
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:01 -0500
815
- Processing by HomeController#index as PDF
816
- Rendered home/index.pdf.pdfcraft within layouts/application (1.9ms)
817
- Rendered text template (0.0ms)
818
- Sent data contents.pdf (0.4ms)
819
- Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
820
-
821
-
822
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:01 -0500
823
- Processing by HomeController#index as PDF
824
- Rendered home/index.pdf.pdfcraft within layouts/application (2.0ms)
825
- Rendered text template (0.0ms)
826
- Sent data contents.pdf (0.3ms)
827
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
828
-
829
-
830
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:01 -0500
831
- Processing by HomeController#index as PDF
832
- Rendered home/index.pdf.pdfcraft within layouts/application (1.9ms)
833
- Rendered text template (0.0ms)
834
- Sent data contents.pdf (0.5ms)
835
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
836
-
837
-
838
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:39:44 -0500
839
- Processing by HomeController#index as PDF
840
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
841
- Rendered text template (0.0ms)
842
- Sent data contents.pdf (0.3ms)
843
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
844
-
845
-
846
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:34 -0500
847
- Processing by HomeController#index as PDF
848
- Rendered home/index.pdf.pdfcraft within layouts/application (33.4ms)
849
- Rendered text template (0.0ms)
850
- Sent data contents.pdf (1.8ms)
851
- Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms)
852
-
853
-
854
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:35 -0500
855
- Processing by HomeController#index as PDF
856
- Rendered home/index.pdf.pdfcraft within layouts/application (1.9ms)
857
- Rendered text template (0.0ms)
858
- Sent data contents.pdf (0.3ms)
859
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
860
-
861
-
862
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:36 -0500
863
- Processing by HomeController#index as PDF
864
- Rendered home/index.pdf.pdfcraft within layouts/application (1.9ms)
865
- Rendered text template (0.0ms)
866
- Sent data contents.pdf (0.3ms)
867
- Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
868
-
869
-
870
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:36 -0500
871
- Processing by HomeController#index as PDF
872
- Rendered home/index.pdf.pdfcraft within layouts/application (2.3ms)
873
- Rendered text template (0.0ms)
874
- Sent data contents.pdf (0.4ms)
875
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
876
-
877
-
878
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:36 -0500
879
- Processing by HomeController#index as PDF
880
- Rendered home/index.pdf.pdfcraft within layouts/application (2.5ms)
881
- Rendered text template (0.0ms)
882
- Sent data contents.pdf (0.4ms)
883
- Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
884
-
885
-
886
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:36 -0500
887
- Processing by HomeController#index as PDF
888
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
889
- Rendered text template (0.0ms)
890
- Sent data contents.pdf (0.4ms)
891
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
892
-
893
-
894
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:37 -0500
895
- Processing by HomeController#index as PDF
896
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
897
- Rendered text template (0.0ms)
898
- Sent data contents.pdf (0.4ms)
899
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
900
-
901
-
902
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:37 -0500
903
- Processing by HomeController#index as PDF
904
- Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
905
- Rendered text template (0.0ms)
906
- Sent data contents.pdf (0.6ms)
907
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
908
-
909
-
910
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:37 -0500
911
- Processing by HomeController#index as PDF
912
- Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
913
- Rendered text template (0.0ms)
914
- Sent data contents.pdf (0.4ms)
915
- Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
916
-
917
-
918
- Started GET "/" for 127.0.0.1 at 2014-01-04 21:47:44 -0500
919
- Processing by Rails::WelcomeController#index as HTML
920
- Rendered /Users/ryan/.gem/ruby/2.1.0/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
921
- Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
922
-
923
-
924
- Started GET "/home.pdf" for 127.0.0.1 at 2014-01-04 21:47:50 -0500
925
- Processing by HomeController#index as PDF
926
- Rendered home/index.pdf.pdfcraft within layouts/application (2.5ms)
927
- Rendered text template (0.0ms)
928
- Sent data contents.pdf (0.4ms)
929
- Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
930
-
931
-
932
- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-01-04 21:47:58 -0500
933
- Processing by HomeController#pdf_layout as PDF
934
- Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.2ms)
935
- Rendered text template (0.0ms)
936
- Sent data contents.pdf (0.6ms)
937
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
938
-
939
-
940
- Started GET "/helpers.pdf" for 127.0.0.1 at 2014-01-04 21:48:27 -0500
941
- Processing by HomeController#helpers as PDF
942
- Rendered home/helpers.pdf.pdfcraft within layouts/application (1.9ms)
943
- Rendered text template (0.0ms)
944
- Sent data contents.pdf (0.4ms)
945
- Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
946
-
947
-
948
- Started GET "/partials.pdf" for 127.0.0.1 at 2014-01-04 21:48:33 -0500
949
- Processing by HomeController#partials as PDF
950
- Rendered home/_the_partial.pdf.pdfcraft (2.1ms)
951
- Rendered home/partials.pdf.pdfcraft within layouts/application (8.5ms)
952
- Rendered text template (0.0ms)
953
- Sent data contents.pdf (0.4ms)
954
- Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms)
955
-
956
-
957
- Started GET "/another.pdf" for 127.0.0.1 at 2014-01-04 21:48:46 -0500
958
- Processing by HomeController#another as PDF
959
- Rendered home/index.pdf.pdfcraft within layouts/application (2.3ms)
960
- Rendered text template (0.0ms)
961
- Sent data contents.pdf (0.3ms)
962
- Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)