prawn-fillform 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/prawn-fillform.rb +2 -1
- data/lib/prawn-fillform/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -28,13 +28,13 @@ end
|
|
28
28
|
|
29
29
|
Take a look in `examples` folder
|
30
30
|
|
31
|
-
##
|
31
|
+
## Thanks to netinlet for fix field placement bug
|
32
32
|
|
33
33
|
I was having issue with the form field placement (see https://github.com/moessimple/prawn-fillform/issues/1)
|
34
34
|
Scribus and Adobe Acrobat don't open pdf's in the same way so the formatting comes out differently. Much like
|
35
35
|
opening a Word document in OpenOffice can some render with funny formatting.
|
36
36
|
|
37
|
-
|
37
|
+
Added the ability to set :x_offset and :y_offset at the class level and on a per form basis.
|
38
38
|
|
39
39
|
#Class Methods
|
40
40
|
```ruby
|
data/lib/prawn-fillform.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
require 'prawn-fillform/version'
|
3
3
|
require 'open-uri'
|
4
|
-
OpenURI::Buffer
|
4
|
+
OpenURI::Buffer.send :remove_const, 'StringMax' if OpenURI::Buffer.const_defined?('StringMax')
|
5
|
+
OpenURI::Buffer.const_set 'StringMax', 0
|
5
6
|
|
6
7
|
module Prawn
|
7
8
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-fillform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|