pdf-forms 0.5.3 → 0.5.4
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.
- data/README.rdoc +3 -0
- data/lib/pdf-forms.rb +1 -0
- data/lib/pdf_forms/version.rb +1 -1
- metadata +5 -4
data/README.rdoc
CHANGED
@@ -10,6 +10,7 @@ Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
|
|
10
10
|
|
11
11
|
=== FDF creation
|
12
12
|
|
13
|
+
require 'pdf_forms'
|
13
14
|
fdf = PdfForms::Fdf.new :key => 'value', :other_key => 'other value'
|
14
15
|
# use to_fdf if you just want the fdf data, without writing it to a file
|
15
16
|
puts fdf.to_fdf
|
@@ -20,6 +21,8 @@ Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
|
|
20
21
|
|
21
22
|
First get pdftk from http://www.accesspdf.com/pdftk/ and install it.
|
22
23
|
|
24
|
+
require 'pdf_forms'
|
25
|
+
|
23
26
|
# adjust the pdftk path to suit your pdftk installation
|
24
27
|
pdftk = PdfForms.new('/usr/local/bin/pdftk')
|
25
28
|
|
data/lib/pdf-forms.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'pdf_forms'
|
data/lib/pdf_forms/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf-forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Jens Kr\xC3\xA4mer"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-15 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
|
@@ -28,6 +28,7 @@ extensions: []
|
|
28
28
|
extra_rdoc_files: []
|
29
29
|
|
30
30
|
files:
|
31
|
+
- lib/pdf-forms.rb
|
31
32
|
- lib/pdf_forms/fdf.rb
|
32
33
|
- lib/pdf_forms/field.rb
|
33
34
|
- lib/pdf_forms/pdf.rb
|