prawn_plus 6.0.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.md +6 -7
- data/lib/prawn_plus/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +7 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5decb42a2b2edfda5fc8c2bb2fd53c317292b562
|
4
|
+
data.tar.gz: e98f48f7a5d94291e543da28414ecbfd75522620
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6999bdb664d3bbce1fbd6f9a7a233952a268680207246c01018867765aca85713abcfd24c00547cbca0c1aa08cf8086bdf5d3f0938c4ea0c5a08778a4b44b6f7
|
7
|
+
data.tar.gz: ed48ee158fed10efe597e5a5ed22ceb2ed13f8e78d5e9a600078ca7b53a6c693c52f4132f7f52b6864a1b960b26e9925576e87b059191f2cd53b8411e08caead
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -49,11 +49,11 @@ then the following structure might exist:
|
|
49
49
|
/views/documents/show.html.slim
|
50
50
|
/views/documents/show.pdf.prawn
|
51
51
|
|
52
|
-
The show.html.slim could have a link to the PDF download. Example:
|
52
|
+
The `show.html.slim` could have a link to the PDF download. Example:
|
53
53
|
|
54
54
|
= link_to "PDF Download", action: "show", id: @document.id, format: "pdf"
|
55
55
|
|
56
|
-
The show.pdf.prawn file would contain the Prawn syntax for crafting the PDF. A simple example
|
56
|
+
The `show.pdf.prawn` file would contain the Prawn syntax for crafting the PDF. A simple example
|
57
57
|
might look like this:
|
58
58
|
|
59
59
|
pdf.text "Hello, I'm a PDF!"
|
@@ -88,13 +88,12 @@ You could also render a more complex PDF with tabular information, for example:
|
|
88
88
|
|
89
89
|
[![Complex Example](https://github.com/bkuhlmann/prawn_plus/raw/master/doc/examples/complex.png)](https://github.com/bkuhlmann/prawn_plus)
|
90
90
|
|
91
|
-
NOTE: The
|
92
|
-
|
91
|
+
*NOTE: The `pdf` object must always be referenced when making using of the Prawn syntax - it is initialized for you as a
|
92
|
+
Prawn::Document instance.*
|
93
93
|
|
94
94
|
## Controllers
|
95
95
|
|
96
|
-
Within your controller, only the respond_to method is required.
|
97
|
-
would be necessary:
|
96
|
+
Within your controller, only the `respond_to` method is required. Example:
|
98
97
|
|
99
98
|
class DocumentsController < ApplicationController
|
100
99
|
respond_to :pdf
|
@@ -125,7 +124,7 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
|
|
125
124
|
|
126
125
|
# Credits
|
127
126
|
|
128
|
-
Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io)
|
127
|
+
Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io).
|
129
128
|
|
130
129
|
# License
|
131
130
|
|
data/lib/prawn_plus/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
fMlZDUGx3lQarp/vPjK+6XH7DLXjBEKqeIGBIpLthYUvDxJRp23C+T3liGSL32vg
|
31
31
|
mSpxxwmK95GDFuEy2mNPaxnazdkw8c+7DbrSpzd/CnNZkRgitxOavs8=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sqlite3
|
@@ -94,28 +94,28 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '2.0'
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
104
|
+
version: '2.0'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: prawn-table
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0.
|
111
|
+
version: '0.2'
|
112
112
|
type: :runtime
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0.
|
118
|
+
version: '0.2'
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: rake
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
@@ -306,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
306
|
version: '0'
|
307
307
|
requirements: []
|
308
308
|
rubyforge_project:
|
309
|
-
rubygems_version: 2.4.
|
309
|
+
rubygems_version: 2.4.6
|
310
310
|
signing_key:
|
311
311
|
specification_version: 4
|
312
312
|
summary: Enhances default Prawn PDF functionality.
|
metadata.gz.sig
CHANGED
Binary file
|