prawn-rails 1.2.0 → 1.2.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -4
- data/lib/prawn-rails/document.rb +5 -4
- data/lib/prawn-rails/rails_helper.rb +0 -6
- data/lib/prawn-rails/renderer.rb +2 -2
- data/lib/prawn-rails/version.rb +1 -1
- metadata +24 -57
- data/test/dummy_app/db/test.sqlite3 +0 -0
- data/test/dummy_app/log/test.log +0 -124
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/-T/-Ty2Lif1RQ31LfQ3sdBLOYNu3fwjefNQWZXg61o7S0Q.cache +0 -1
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/-m/-mGgwBQ39pkjNoHzuM7XVbFYsHOyv_6SOM_CmI-kLnw.cache +0 -0
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -2
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/3j/3jV3hjwp5k_C7riQHMv6rtrQUfKwPXzFkJ32sUJuN_E.cache +0 -0
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -2
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/7b/7bJ7ytF6vF1igkdeslMStlJ0FX-qsua3IF_1YPq8oCw.cache +0 -1
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Ac/AcCgT9z272BU3f9VmSXyH6aXg0-fBwSzc8apjB9C0T4.cache +0 -1
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/EG/EGPvvBJ-Qo0bhB9ro0HZH9s4Ln-PNqgz-uYTi5tV_88.cache +0 -1
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -3
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -3
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/SJ/SJ3C0iDdYBBG_yOrab-Sw62moViXQPI90mwV-VCda_o.cache +0 -0
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/ie/ieDr67bZ5kFv-ENcBz8Q7TiuRQETGYgdgzYHyXqVcoI.cache +0 -0
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/qW/qWT2nJzx5CDYl-mSJ0WXKcYzB6yu_HDoZLsoO5mWh7g.cache +0 -1
- data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/se/seL12R6emubM_qf0qkqUQp8lYPC0Sv3ALlPVz2lH5OM.cache +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cf8e2fcbecb181b9a2a09c14fc393dfe94852e556c662f4e1a90254705bc5e2
|
4
|
+
data.tar.gz: 27efe009afe9618dcde1f2fd46b82586ab05ce69fadebb105a6c7234b7c00235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1f204eff5f570c1ba0bebb6602421051d8a983ab84ade21bf36eb8522eb45e30fb42019d251a73bcb5aefed11933c15c084a68bd18adba44ca61fa754e43e78
|
7
|
+
data.tar.gz: a4f1f589c9a9f2dcc90925be191371dac28bc4e700ea719cd59b4f66bdfdcbbe549263d04c19ad7e643d88f1ee607059161c13b02548f6290802d1c2b6ec9473
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
* `Unreleased`
|
4
4
|
- Nothing yet
|
5
5
|
|
6
|
+
* `v1.2.1`
|
7
|
+
- [PR #39](https://github.com/cortiz/prawn-rails/pull/39) - Fix Rails 6 deprecation warning for single arity template handlers
|
8
|
+
- Remove unnecessary option logic from `prawn_document` method
|
9
|
+
|
6
10
|
* `v1.2.0`
|
7
11
|
- [PR #31](https://github.com/cortiz/prawn-rails/pull/31) - Use Prawn::Document.extensions in favor of custom plug-in loading. This removes all changes made in PR #29 and should behave much more appropriately now.
|
8
12
|
- [Undo PR #29](https://github.com/cortiz/prawn-rails/pull/31) - Use Prawn::Document.extensions in favor of custom plug-in loading
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
# Prawn-Rails
|
2
|
-
<a href=
|
1
|
+
# Prawn-Rails
|
2
|
+
<a href="https://badge.fury.io/rb/prawn-rails" target="_blank"><img height="21" style='border:0px;height:21px;' border='0' src="https://badge.fury.io/rb/prawn-rails.svg" alt="Gem Version"></a>
|
3
|
+
<a href='https://rubygems.org/gems/prawn-rails' target='_blank'><img height='21' style='border:0px;height:21px;' src='https://ruby-gem-downloads-badge.herokuapp.com/prawn-rails?label=rubygems&type=total&total_label=downloads&color=brightgreen' border='0' alt='RubyGems Downloads' /></a>
|
4
|
+
<a href='https://ko-fi.com/A5071NK' target='_blank'><img height='22' style='border:0px;height:22px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee' /></a>
|
5
|
+
|
3
6
|
|
4
7
|
# Install
|
5
8
|
```ruby
|
@@ -93,5 +96,3 @@ end
|
|
93
96
|
Maintained by Weston Ganger - @westonganger
|
94
97
|
|
95
98
|
Created by Carlos Ortiz - @cortiz
|
96
|
-
|
97
|
-
<a href='http://ko-fi.com/A552JBK' target='_blank'><img height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee' /></a>
|
data/lib/prawn-rails/document.rb
CHANGED
@@ -10,13 +10,14 @@ module PrawnRails
|
|
10
10
|
Prawn::Document.extensions
|
11
11
|
end
|
12
12
|
|
13
|
-
def initialize(
|
13
|
+
def initialize(options = {})
|
14
14
|
if PrawnRails.config.respond_to?(:to_h)
|
15
|
-
|
15
|
+
options.reverse_merge!(PrawnRails.config.to_h)
|
16
16
|
else
|
17
|
-
|
17
|
+
options.reverse_merge!(PrawnRails.config.marshal_dump)
|
18
18
|
end
|
19
|
-
|
19
|
+
|
20
|
+
super(options)
|
20
21
|
end
|
21
22
|
|
22
23
|
# Typically text expects a string. But Rails views have this interesting concept that they implicitly call `to_s` on all the variables before rendering. So, passing an integer to text fails:
|
@@ -5,17 +5,11 @@ module PrawnRails
|
|
5
5
|
|
6
6
|
def prawn_document(options={})
|
7
7
|
options.reverse_merge!({
|
8
|
-
page_layout: PrawnRails.config.page_layout,
|
9
|
-
page_size: PrawnRails.config.page_size,
|
10
8
|
info: {
|
11
9
|
Title: @filename.sub(/\.(p|P)(d|D)(f|F)$/, '')
|
12
10
|
}
|
13
11
|
})
|
14
12
|
|
15
|
-
if PrawnRails.config.skip_page_creation
|
16
|
-
options.reverse_merge!(skip_page_creation: true)
|
17
|
-
end
|
18
|
-
|
19
13
|
pdf = PrawnRails::Document.new(options)
|
20
14
|
|
21
15
|
yield pdf if block_given?
|
data/lib/prawn-rails/renderer.rb
CHANGED
@@ -4,7 +4,7 @@ module PrawnRails
|
|
4
4
|
class Renderer
|
5
5
|
|
6
6
|
### WARNING: BE VERY CAREFUL IF EDITING THIS METHOD
|
7
|
-
def self.call(template)
|
7
|
+
def self.call(template, source = nil)
|
8
8
|
%{
|
9
9
|
@filename ||= "\#{controller.action_name}.pdf"
|
10
10
|
|
@@ -12,7 +12,7 @@ module PrawnRails
|
|
12
12
|
controller.response.headers['Content-Disposition'] = "inline; filename=\\\"\#{@filename}\\\""
|
13
13
|
end
|
14
14
|
|
15
|
-
#{template.source.strip}
|
15
|
+
#{(source || template.source).strip}
|
16
16
|
}
|
17
17
|
end
|
18
18
|
|
data/lib/prawn-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Ortiz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|
@@ -170,22 +170,6 @@ files:
|
|
170
170
|
- test/dummy_app/config/routes.rb
|
171
171
|
- test/dummy_app/config/secrets.yml
|
172
172
|
- test/dummy_app/db/schema.rb
|
173
|
-
- test/dummy_app/db/test.sqlite3
|
174
|
-
- test/dummy_app/log/test.log
|
175
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/-T/-Ty2Lif1RQ31LfQ3sdBLOYNu3fwjefNQWZXg61o7S0Q.cache
|
176
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/-m/-mGgwBQ39pkjNoHzuM7XVbFYsHOyv_6SOM_CmI-kLnw.cache
|
177
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
178
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/3j/3jV3hjwp5k_C7riQHMv6rtrQUfKwPXzFkJ32sUJuN_E.cache
|
179
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache
|
180
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/7b/7bJ7ytF6vF1igkdeslMStlJ0FX-qsua3IF_1YPq8oCw.cache
|
181
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/Ac/AcCgT9z272BU3f9VmSXyH6aXg0-fBwSzc8apjB9C0T4.cache
|
182
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/EG/EGPvvBJ-Qo0bhB9ro0HZH9s4Ln-PNqgz-uYTi5tV_88.cache
|
183
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache
|
184
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
185
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/SJ/SJ3C0iDdYBBG_yOrab-Sw62moViXQPI90mwV-VCda_o.cache
|
186
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/ie/ieDr67bZ5kFv-ENcBz8Q7TiuRQETGYgdgzYHyXqVcoI.cache
|
187
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/qW/qWT2nJzx5CDYl-mSJ0WXKcYzB6yu_HDoZLsoO5mWh7g.cache
|
188
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/se/seL12R6emubM_qf0qkqUQp8lYPC0Sv3ALlPVz2lH5OM.cache
|
189
173
|
- test/integration/prawn_rails_test.rb
|
190
174
|
- test/prawn_rails_test.rb
|
191
175
|
- test/test_helper.rb
|
@@ -207,58 +191,41 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
191
|
- !ruby/object:Gem::Version
|
208
192
|
version: '0'
|
209
193
|
requirements: []
|
210
|
-
|
211
|
-
rubygems_version: 2.7.6
|
194
|
+
rubygems_version: 3.0.3
|
212
195
|
signing_key:
|
213
196
|
specification_version: 4
|
214
197
|
summary: Prawn Handler for Rails
|
215
198
|
test_files:
|
199
|
+
- test/integration/prawn_rails_test.rb
|
200
|
+
- test/prawn_rails_test.rb
|
201
|
+
- test/test_helper.rb
|
202
|
+
- test/dummy_app/Rakefile
|
203
|
+
- test/dummy_app/db/schema.rb
|
204
|
+
- test/dummy_app/app/mailers/reports_mailer.rb
|
205
|
+
- test/dummy_app/app/controllers/reports_controller.rb
|
206
|
+
- test/dummy_app/app/controllers/application_controller.rb
|
216
207
|
- test/dummy_app/app/assets/javascripts/application.js
|
217
208
|
- test/dummy_app/app/assets/stylesheets/application.css
|
218
|
-
- test/dummy_app/app/
|
219
|
-
- test/dummy_app/app/controllers/reports_controller.rb
|
220
|
-
- test/dummy_app/app/mailers/reports_mailer.rb
|
209
|
+
- test/dummy_app/app/views/reports_mailer/send_report.html.erb
|
221
210
|
- test/dummy_app/app/views/layouts/application.html.erb
|
222
|
-
- test/dummy_app/app/views/reports/sample.html.erb
|
223
|
-
- test/dummy_app/app/views/reports/sample.pdf.prawn
|
224
211
|
- test/dummy_app/app/views/reports/table.pdf.prawn
|
225
|
-
- test/dummy_app/app/views/
|
212
|
+
- test/dummy_app/app/views/reports/sample.pdf.prawn
|
213
|
+
- test/dummy_app/app/views/reports/sample.html.erb
|
214
|
+
- test/dummy_app/config.ru
|
226
215
|
- test/dummy_app/config/application.rb
|
227
|
-
- test/dummy_app/config/boot.rb
|
228
|
-
- test/dummy_app/config/database.yml
|
229
|
-
- test/dummy_app/config/environment.rb
|
230
|
-
- test/dummy_app/config/environments/development.rb
|
231
216
|
- test/dummy_app/config/environments/production.rb
|
217
|
+
- test/dummy_app/config/environments/development.rb
|
232
218
|
- test/dummy_app/config/environments/test.rb
|
233
|
-
- test/dummy_app/config/
|
234
|
-
- test/dummy_app/config/
|
219
|
+
- test/dummy_app/config/locales/en.yml
|
220
|
+
- test/dummy_app/config/routes.rb
|
221
|
+
- test/dummy_app/config/secrets.yml
|
222
|
+
- test/dummy_app/config/environment.rb
|
235
223
|
- test/dummy_app/config/initializers/mime_types.rb
|
236
224
|
- test/dummy_app/config/initializers/prawn-rails.rb
|
237
225
|
- test/dummy_app/config/initializers/secret_token.rb
|
226
|
+
- test/dummy_app/config/initializers/backtrace_silencers.rb
|
227
|
+
- test/dummy_app/config/initializers/inflections.rb
|
238
228
|
- test/dummy_app/config/initializers/session_store.rb
|
239
229
|
- test/dummy_app/config/initializers/wrap_parameters.rb
|
240
|
-
- test/dummy_app/config/
|
241
|
-
- test/dummy_app/config/
|
242
|
-
- test/dummy_app/config/secrets.yml
|
243
|
-
- test/dummy_app/config.ru
|
244
|
-
- test/dummy_app/db/schema.rb
|
245
|
-
- test/dummy_app/db/test.sqlite3
|
246
|
-
- test/dummy_app/log/test.log
|
247
|
-
- test/dummy_app/Rakefile
|
248
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/-m/-mGgwBQ39pkjNoHzuM7XVbFYsHOyv_6SOM_CmI-kLnw.cache
|
249
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/-T/-Ty2Lif1RQ31LfQ3sdBLOYNu3fwjefNQWZXg61o7S0Q.cache
|
250
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/3j/3jV3hjwp5k_C7riQHMv6rtrQUfKwPXzFkJ32sUJuN_E.cache
|
251
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
252
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache
|
253
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/7b/7bJ7ytF6vF1igkdeslMStlJ0FX-qsua3IF_1YPq8oCw.cache
|
254
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/Ac/AcCgT9z272BU3f9VmSXyH6aXg0-fBwSzc8apjB9C0T4.cache
|
255
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/EG/EGPvvBJ-Qo0bhB9ro0HZH9s4Ln-PNqgz-uYTi5tV_88.cache
|
256
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/ie/ieDr67bZ5kFv-ENcBz8Q7TiuRQETGYgdgzYHyXqVcoI.cache
|
257
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache
|
258
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
259
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/qW/qWT2nJzx5CDYl-mSJ0WXKcYzB6yu_HDoZLsoO5mWh7g.cache
|
260
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/se/seL12R6emubM_qf0qkqUQp8lYPC0Sv3ALlPVz2lH5OM.cache
|
261
|
-
- test/dummy_app/tmp/cache/assets/sprockets/v3.0/SJ/SJ3C0iDdYBBG_yOrab-Sw62moViXQPI90mwV-VCda_o.cache
|
262
|
-
- test/integration/prawn_rails_test.rb
|
263
|
-
- test/prawn_rails_test.rb
|
264
|
-
- test/test_helper.rb
|
230
|
+
- test/dummy_app/config/database.yml
|
231
|
+
- test/dummy_app/config/boot.rb
|
File without changes
|
data/test/dummy_app/log/test.log
DELETED
@@ -1,124 +0,0 @@
|
|
1
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2
|
-
------------------------------------------
|
3
|
-
NavigationTest: test_Renders_pdf_to_string
|
4
|
-
------------------------------------------
|
5
|
-
Rendering reports/sample.pdf.prawn
|
6
|
-
Rendered reports/sample.pdf.prawn (87.9ms)
|
7
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
9
|
-
------------------------------------------------------
|
10
|
-
NavigationTest: test_Registers_:prawn_template_handler
|
11
|
-
------------------------------------------------------
|
12
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
13
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14
|
-
---------------------------------------------
|
15
|
-
NavigationTest: test_Registers_:pdf_mime_type
|
16
|
-
---------------------------------------------
|
17
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
18
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
19
|
-
----------------------------------------------
|
20
|
-
NavigationTest: test_Renders_sample_pdf_action
|
21
|
-
----------------------------------------------
|
22
|
-
Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2018-06-28 06:47:20 -0700
|
23
|
-
Processing by ReportsController#sample as PDF
|
24
|
-
Rendering reports/sample.pdf.prawn
|
25
|
-
Rendered reports/sample.pdf.prawn (17.0ms)
|
26
|
-
Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.0ms)
|
27
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
28
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29
|
-
------------------------------------------------------------------------------------
|
30
|
-
NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
|
31
|
-
------------------------------------------------------------------------------------
|
32
|
-
Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2018-06-28 06:47:20 -0700
|
33
|
-
Processing by ReportsController#table as PDF
|
34
|
-
Rendering reports/table.pdf.prawn
|
35
|
-
Rendered reports/table.pdf.prawn (22.8ms)
|
36
|
-
Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.0ms)
|
37
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
38
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
39
|
-
----------------------------------------
|
40
|
-
NavigationTest: test_Renders_html_action
|
41
|
-
----------------------------------------
|
42
|
-
Started GET "/reports/sample" for 127.0.0.1 at 2018-06-28 06:47:20 -0700
|
43
|
-
Processing by ReportsController#sample as HTML
|
44
|
-
Rendering reports/sample.html.erb within layouts/application
|
45
|
-
Rendered reports/sample.html.erb within layouts/application (1.6ms)
|
46
|
-
Completed 200 OK in 325ms (Views: 321.7ms | ActiveRecord: 0.0ms)
|
47
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
48
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
49
|
-
-----------------------------------------------
|
50
|
-
NavigationTest: test_render_to_string_in_mailer
|
51
|
-
-----------------------------------------------
|
52
|
-
Rendering reports/sample.pdf.prawn
|
53
|
-
Rendered reports/sample.pdf.prawn (18.9ms)
|
54
|
-
Rendering reports_mailer/send_report.html.erb
|
55
|
-
Rendered reports_mailer/send_report.html.erb (0.4ms)
|
56
|
-
ReportsMailer#send_report: processed outbound mail in 367.1ms
|
57
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
58
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
59
|
-
----------------------------------------------
|
60
|
-
PrawnRailsTest: test_text_can_take_non_strings
|
61
|
-
----------------------------------------------
|
62
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
63
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
-
----------------------------------------------
|
65
|
-
PrawnRailsTest: test_text_can_take_non_strings
|
66
|
-
----------------------------------------------
|
67
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
68
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
69
|
-
------------------------------------------------------------------------------------
|
70
|
-
NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
|
71
|
-
------------------------------------------------------------------------------------
|
72
|
-
Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2018-06-28 06:53:41 -0700
|
73
|
-
Processing by ReportsController#table as PDF
|
74
|
-
Rendering reports/table.pdf.prawn
|
75
|
-
Rendered reports/table.pdf.prawn (16.8ms)
|
76
|
-
Completed 200 OK in 31ms (Views: 27.5ms | ActiveRecord: 0.0ms)
|
77
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
78
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
79
|
-
------------------------------------------
|
80
|
-
NavigationTest: test_Renders_pdf_to_string
|
81
|
-
------------------------------------------
|
82
|
-
Rendering reports/sample.pdf.prawn
|
83
|
-
Rendered reports/sample.pdf.prawn (23.4ms)
|
84
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
85
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
86
|
-
----------------------------------------------
|
87
|
-
NavigationTest: test_Renders_sample_pdf_action
|
88
|
-
----------------------------------------------
|
89
|
-
Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2018-06-28 06:53:41 -0700
|
90
|
-
Processing by ReportsController#sample as PDF
|
91
|
-
Rendering reports/sample.pdf.prawn
|
92
|
-
Rendered reports/sample.pdf.prawn (20.2ms)
|
93
|
-
Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.0ms)
|
94
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
95
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
96
|
-
-----------------------------------------------
|
97
|
-
NavigationTest: test_render_to_string_in_mailer
|
98
|
-
-----------------------------------------------
|
99
|
-
Rendering reports/sample.pdf.prawn
|
100
|
-
Rendered reports/sample.pdf.prawn (18.0ms)
|
101
|
-
Rendering reports_mailer/send_report.html.erb
|
102
|
-
Rendered reports_mailer/send_report.html.erb (2.3ms)
|
103
|
-
ReportsMailer#send_report: processed outbound mail in 479.1ms
|
104
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
105
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
106
|
-
------------------------------------------------------
|
107
|
-
NavigationTest: test_Registers_:prawn_template_handler
|
108
|
-
------------------------------------------------------
|
109
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
110
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
111
|
-
----------------------------------------
|
112
|
-
NavigationTest: test_Renders_html_action
|
113
|
-
----------------------------------------
|
114
|
-
Started GET "/reports/sample" for 127.0.0.1 at 2018-06-28 06:53:42 -0700
|
115
|
-
Processing by ReportsController#sample as HTML
|
116
|
-
Rendering reports/sample.html.erb within layouts/application
|
117
|
-
Rendered reports/sample.html.erb within layouts/application (0.5ms)
|
118
|
-
Completed 200 OK in 279ms (Views: 273.8ms | ActiveRecord: 0.0ms)
|
119
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
120
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
121
|
-
---------------------------------------------
|
122
|
-
NavigationTest: test_Registers_:pdf_mime_type
|
123
|
-
---------------------------------------------
|
124
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&id=cb3b727b4096110dd5e8049526d219e5c85df923272026571e5b5ed1e223a86f:ET
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=96ba9dc308e6dfde737ea84d13c263f9b5937647e23b63e472144dafd52010cb:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
"%�汷g�d�Q~�A�fǟ��#�R��&�j�
|
@@ -1 +0,0 @@
|
|
1
|
-
"%��B�����șo�$'�A�d��L���xR�U
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=25b676af84f7cd240d4c80f3db016cee345a44e4d0068c66fefd9ce02c93e345:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"}app/assets/stylesheets/application.css?type=text/css&id=cf9c582bdcb56262355ef6970cbffcece431a36641349c5001d510fd84d74906:ET
|